0% found this document useful (0 votes)
33 views

CEE384 Recitation 4

The document summarizes two problems from a recitation on regression analysis. Problem 1 considers a table of y values and calculates the mean y-value a that minimizes the sum of squared residuals from the data. It finds that a equals 0.994. Problem 2 performs a regression analysis on force F and displacement x data, finding that the relationship is best modeled by F = kx^2. It calculates the value of k by minimizing the sum of squared residuals, determining k equals 0.9455.

Uploaded by

shags
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

CEE384 Recitation 4

The document summarizes two problems from a recitation on regression analysis. Problem 1 considers a table of y values and calculates the mean y-value a that minimizes the sum of squared residuals from the data. It finds that a equals 0.994. Problem 2 performs a regression analysis on force F and displacement x data, finding that the relationship is best modeled by F = kx^2. It calculates the value of k by minimizing the sum of squared residuals, determining k equals 0.9455.

Uploaded by

shags
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

CEE384 Recitation 4.

Problem 1

Consider the given table in the question.

X 1 2 3 4 5
y 1 1.1 0.9 0.96 1.01

Consider the property of mean is the sum of the square of the deviation of the set of the values is
minimum.

∑(𝑌𝑖 − 𝑌̅)2

Consider the sum of the square of the residual is the minimize as 𝑎 = 𝑌̂ according to the question.

𝑎 = 𝑌̂
Substitute the value in the above equation.
1 + 1.1 + 0.9 + 0.96 + 1.01
𝑎=
5
= 0.994

Hence, the value of a is 0.994

Problem 2

The force vs displacement data regression is defined by

𝐹 = 𝑘𝑥 2
Its normal form

∑ 𝐹𝑥 2 = 𝑘 ∑ 𝑥 4

x F x2 x4 Fx2
10 100 100 10000 10000
15 200 225 50625 45000
20 384 400 160000 153600

∑ 𝐹𝑥 2 = 208600

∑ 𝑥 4 = 220625

208600 = 220625𝑘
𝑘 = 0.9455

You might also like