Linear least squares Consider the relation between hours of study and quiz grade for three different students. -- Student 1 did not spend any time and received 5 in the quiz. P : (0, 5) Student 2 spent an hour studying and received 5 in the quiz. P2 = (1, 5) -- -- Student 3 spent two hours studying and received 8 in the quiz. P3 = (2, 8). We want to find a linear relation between hours of study and grade of the quiz y = mx + q where m and q are our unknowns, x represents the hours studied for the quiz and y the quiz grade.

Algebra and Trigonometry (6th Edition)
6th Edition
ISBN:9780134463216
Author:Robert F. Blitzer
Publisher:Robert F. Blitzer
ChapterP: Prerequisites: Fundamental Concepts Of Algebra
Section: Chapter Questions
Problem 1MCCP: In Exercises 1-25, simplify the given expression or perform the indicated operation (and simplify,...
icon
Related questions
Question
Theorem 3.26: Determinant of the Transpose
Let A be a matrix where A" is the transpose of A. Then,
det (A") = det (A)
Theorem 3.28: Determinant of the Inverse
Let A be an n x n matrix. Then A is invertible if and only if det(A) 0. If this is true, it follows that
1
det(A¬1)
det(A)
Transcribed Image Text:Theorem 3.26: Determinant of the Transpose Let A be a matrix where A" is the transpose of A. Then, det (A") = det (A) Theorem 3.28: Determinant of the Inverse Let A be an n x n matrix. Then A is invertible if and only if det(A) 0. If this is true, it follows that 1 det(A¬1) det(A)
Linear least squares
Consider the relation between hours of study and quiz grade for three different students.
- Student 1 did not spend any time and received 5 in the quiz. Pı = (0, 5)
--
- Student 2 spent an hour studying and received 5 in the quiz. P2 = (1, 5)
--
- Student 3 spent two hours studying and received 8 in the quiz. P3 = (2, 8)..
--
We want to find a linear relation between hours of study and grade of the quiz y =
mx + q where m
and q are our unknowns, x represents the hours studied for the quiz and y the quiz grade.
(c) Compute (A?A)-! using the determinant formula in Chapter 3.2 of the Kuttler textbook.
(d) Compute x =
(AT A)-ATb and find m = x1 and q = x2.
(e) Plot the line obtained by replacing m and q and the points P1 , P2 and P3 .
- What do you
observe? In what way is this line a good representative of the data. This method is called least-square
estimation and can be applied to larger sets of points.
Transcribed Image Text:Linear least squares Consider the relation between hours of study and quiz grade for three different students. - Student 1 did not spend any time and received 5 in the quiz. Pı = (0, 5) -- - Student 2 spent an hour studying and received 5 in the quiz. P2 = (1, 5) -- - Student 3 spent two hours studying and received 8 in the quiz. P3 = (2, 8).. -- We want to find a linear relation between hours of study and grade of the quiz y = mx + q where m and q are our unknowns, x represents the hours studied for the quiz and y the quiz grade. (c) Compute (A?A)-! using the determinant formula in Chapter 3.2 of the Kuttler textbook. (d) Compute x = (AT A)-ATb and find m = x1 and q = x2. (e) Plot the line obtained by replacing m and q and the points P1 , P2 and P3 . - What do you observe? In what way is this line a good representative of the data. This method is called least-square estimation and can be applied to larger sets of points.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
Recommended textbooks for you
Algebra and Trigonometry (6th Edition)
Algebra and Trigonometry (6th Edition)
Algebra
ISBN:
9780134463216
Author:
Robert F. Blitzer
Publisher:
PEARSON
Contemporary Abstract Algebra
Contemporary Abstract Algebra
Algebra
ISBN:
9781305657960
Author:
Joseph Gallian
Publisher:
Cengage Learning
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra And Trigonometry (11th Edition)
Algebra And Trigonometry (11th Edition)
Algebra
ISBN:
9780135163078
Author:
Michael Sullivan
Publisher:
PEARSON
Introduction to Linear Algebra, Fifth Edition
Introduction to Linear Algebra, Fifth Edition
Algebra
ISBN:
9780980232776
Author:
Gilbert Strang
Publisher:
Wellesley-Cambridge Press
College Algebra (Collegiate Math)
College Algebra (Collegiate Math)
Algebra
ISBN:
9780077836344
Author:
Julie Miller, Donna Gerken
Publisher:
McGraw-Hill Education