A mathematics placement test is given to all entering freshmen at Eastern
University. n = 58,x ̄= 4,y ̄ = 12, ∑ni=1 xi2 =232, ∑ni=1 xiyi =318. , .Fit a simple
linear regression model between x and y.
"n = 58 \\\\\n\n\\bar{x} = 4 \\\\\n\n\\bar{y} = 12 \\\\\n\nx_i = X_i - \\bar{x} \\\\\n\ny_i = Y_i - \\bar{y} \\\\\n\ny = \u03b2_1 + \u03b2_2x \\\\\n\n\u03b2_2 = \\frac{\\sum x_iy_i}{\\sum x_i^2} \\\\\n\n= \\frac{318}{232} = 1.37 \\\\\n\n\u03b2_1 = y - \u03b2_2x \\\\\n\n= 12 - (1.37 \\times 4) \\\\\n\n= 6.52"
The simple linear regression model between x and y:
y = 6.52 + 1.37x
Comments
Leave a comment