Você está na página 1de 3

Method 2

Linear Regression
Before applying linear regression, the equation from the question has to be
converted from non-linear to linear equation.

+ 2 =
= 2 +

= +

Equation 1

Where,

=

=
=
=

The values from the questions are tabulated in Microsoft Excel.

t Y y/t
0.50 0.40 0.80
1.00 0.71 0.71
1.50 0.62 0.41
2.00 0.62 0.31
2.25 0.05
0.02
Table 1
Method 3
Least Square Lines
The general equation for a straight line is = + . The formula below is used to
find

( ) ( )( )
=
( 2 ) ( )2
Equation 2

The formula below is used to find c

( ) ( )
=

The values from the question is tabulated into table 2 and table 3

t y y/t t*(y/t) x^2


0.50 0.40 0.80 0.40 0.25
1.00 0.71 0.71 0.71 1.00
1.50 0.62 0.41 0.62 2.25
2.00 0.62 0.31 0.62 4.00
2.25 0.05 0.02 0.05 5.06
Table 2

Sum of t 7.25
Sum of y 2.25
Sum of t*(y/t) 2.40
sum of x^2 12.56
Table 3

Substituting the values from table 3 into equation 1 and 2, the values of and is
obtained

5(2.4) (7.25)(2.255556)
=
5(12.5625) (7.25)2
= 0.4247
2.255556 (0.4247)(7.25)
=
5
= 1.0669

The values obtained from the calculation is compared to equation 1


= +

=
= 0.4247
= .
=
= .
=
= 0.44
= .
=
= .

Você também pode gostar