Linear Regression
Linear Regression
METHODS
7lacs of rupees (i.e., x=7). Also determine the coefficient of determination between the
expenditures and sales.
⟹ 𝒓 = 𝟎. 𝟒𝟒 = 𝟎. 𝟔𝟔
Example 2: Let us consider the following amount of pollution at different distances in a river and considered the point
where the flow starts as zero point and no pollution occurs. Using the data set, determine the predicted or
Solution:
10 7 70 100 49
20 21 420 400 441
30 23 690 900 529
40 34 1360 1600 1156
50 36 1800 2500 1296
60 53 3180 3600 2809
Q.4: The Voltage drop across a resistor for some different values of a
current, the results are
I
0.25 0.75 1.25 1.50 2.00
(Amperes)
V (Volts) 0.23 0.38 0.76 1.88 6.00
(a) Estimate the voltage drop for I = 0.9 and Interpret your result.
(b)Compute the coefficient of determination and coefficient of
correlation between voltage and current.
(c) Interpret your results.
Q.5: A sample of six days is produced in the following table showing the
relation between temperature and sale of deep freezers during a month.
Compute the regression line and coefficient of correlation. Estimate the
sale when the temperature reaches at 45oC.
Temperature oC 48 46 42 47 52 51
Sale of Deep-Freezers 26 28 20 25 28 29