Lab 1 (Stats Modified)
Lab 1 (Stats Modified)
starts receiving a newly developed food supplement, the initial weight of the pig and the amount of
weight it gains in a week period supplement. The following information is the result of study of eight
piglets.
2 52 6 6
3 49 7 8
4 46 12 10
5 61 9 9
6 35 6 5
7 25 7 3
8 55 4 4
1. Determine the least square equation that best describes these three variables.
2. Calculate the standard error.
3. How much gain in weight of a pig in a week can we expect with the food supplement if it were 9
weeks old and weighed 48 pounds?
4. Test the significance of regression coefficients and overall fit of the regression equation.
5. Conduct the residual analysis.
6. Test the existence of multicollinearity.
Working Expression:
Multiple Linear Regression is a linear function of one independent variable with two or more
independent variables. With the help of two or one independent variables the value of dependent
variable is predicted.
Standard Error:
Standard is the error of the estimate measure the average variation or scatterness of the observed data
point around the regression line. It is used to measure the reliability of the regression equation.
𝑆𝑆𝐸
It is given as Se = √𝑛−𝑘−1
CALCULATIONS:
Variables Entered/Removeda
Variables
Model Variables Entered Removed Method
1 Initial age, Initial . Enter
weightb
a. Dependent Variable: weight gain
b. All requested variables entered.
Model Summaryb
Model R R Square Square Estimate R Square Change F Change df1 df2 Sig. F Change
a
1 .939 .881 .834 .999 .881 18.539 2 5 .005
Initial .105 .032 .501 3.247 .023 .022 .188 .514 .824 .50 1.000 1.000
weight 0
Initial age .807 .158 .786 5.097 .004 .400 1.213 .794 .916 .78 1.000 1.000
6
Chart:
Observation:
i.The regression equation of weight gain on initial weight(pounds) and initial age(weeks)is:
Y=(-4.192)+0 .105x1+0.807x2
For testing null hypothesis:overall fit of the regression coefficient=0,since here the p value is 0.0048
v.Adjusted 𝑅 2=0.834 which indicates that regression equation can represent 83.36% of the true
observations.