Table of values <mtable columnalign="center center center center center center" rowspacing="4pt"

Porter Mccullough

Porter Mccullough

Answered question

2022-05-03

Table of values
x 1 2 3 4 5 y 3 6 8 9 0 y 4 6 1 2 4
and know that it is a simple linear regression model, what is the value of n? I think it is either 5 or 10 but am not sure which one.

Answer & Explanation

Alexis Wolf

Alexis Wolf

Beginner2022-05-04Added 13 answers

F ( a , b ) 1 2 i = 1 5 σ = ± ( a x i + b y i σ ) 2
0 = F ( a , b ) a = i = 1 5 σ = ± ( a x i + b y i σ ) x i = i = 1 5 ( 2 x i 2 a + 2 x i b x i σ = ± y i σ ) 0 = F ( a , b ) b = i = 1 5 σ = ± ( a x i + b y i σ ) = i = 1 5 ( 2 x i a + 2 b σ = ± y i σ )
{ ( 2 i = 1 5 x i 2 )   S x x   a + ( 2 i = 1 5 x i )   S x   b = i = 1 5 x i σ = ± y i σ S x y ( 2 i = 1 5 x i ) =   S x   a + 10 b = i = 1 5 σ = ± y i σ S y
S x x = 110 , S x = 30 , S x y = 122 , S y = 43
55 a + 15 b = 61 30 a + 10 b = 43 } { a = 61 × 10 43 × 15 100 = 7 20 b = 51 × 43 30 × 61 100 = 363 100
which yields
y ( x ) = 1 100 ( 35 x + 363 ) , x y 1 82 25 = 3.28 2 293 100 = 2.93 3 129 50 = 2.58 4 223 100 = 2.23 5 47 25 = 1.88

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Inferential Statistics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?