Regression Example Suppose you want to predict your average HC/LO score across your next day of classes based on whether you got more or less sleep than your usual 8 hours. You decide to make a regression model b = C + Mt, where b is the output, C and M are the coefficients of your model (what you need to find), and t is the number of hours above (or below for negative values) 8 hours of sleep. You feel lazy and only take five measurements: Hours of sleep above/below 8 (t) Mean HC/LO score (b) -4 1

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Part D needed in 30 minutes Please solve this question correctly in 30 minutes Please don't back it give me Proper solution please
(d) Regression Example Suppose you want to predict your average HC/LO score
across your next day of classes based on whether you got more or less sleep than
your usual 8 hours. You decide to make a regression model b = C+Mt, where
b is the output, C and M are the coefficients of your model (what you need to
find), and t is the number of hours above (or below for negative values) 8 hours
of sleep. You feel lazy and only take five measurements:
Hours of sleep above/below 8 (t) Mean HC/LO score (b)
1
3
4
3
2
-4
-1
1
3
4
i. Inputting the above into the formula for our linear model gives us a system of
five equations and two unknowns - C and M. Write out this system
explicitly, then describe it as the matrix equation Ax = b, where x =
M What are A and 6?
].
ii. Demonstrate that the system is inconsistent and that the columns of A are
independent.
iii. Use the techniques from above to solve for â.
Transcribed Image Text:(d) Regression Example Suppose you want to predict your average HC/LO score across your next day of classes based on whether you got more or less sleep than your usual 8 hours. You decide to make a regression model b = C+Mt, where b is the output, C and M are the coefficients of your model (what you need to find), and t is the number of hours above (or below for negative values) 8 hours of sleep. You feel lazy and only take five measurements: Hours of sleep above/below 8 (t) Mean HC/LO score (b) 1 3 4 3 2 -4 -1 1 3 4 i. Inputting the above into the formula for our linear model gives us a system of five equations and two unknowns - C and M. Write out this system explicitly, then describe it as the matrix equation Ax = b, where x = M What are A and 6? ]. ii. Demonstrate that the system is inconsistent and that the columns of A are independent. iii. Use the techniques from above to solve for â.
(a) Let A =
1 0
01
00
+-·
=
Transcribed Image Text:(a) Let A = 1 0 01 00 +-· =
Expert Solution
steps

Step by step

Solved in 4 steps with 10 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman