0% found this document useful (0 votes)
6 views

Lab 1 (Stats Modified)

The document discusses using multiple linear regression to predict weight gain in pigs based on initial weight, initial age, and a food supplement. It provides data on 8 piglets and calculates the regression equation, standard error, predicted weight gain for a pig aged 9 weeks weighing 48 lbs, and tests the significance of the regression coefficients and model.

Uploaded by

basnetbikash4321
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Lab 1 (Stats Modified)

The document discusses using multiple linear regression to predict weight gain in pigs based on initial weight, initial age, and a food supplement. It provides data on 8 piglets and calculates the regression equation, standard error, predicted weight gain for a pig aged 9 weeks weighing 48 lbs, and tests the significance of the regression coefficients and model.

Uploaded by

basnetbikash4321
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

A developer of food for pig wish to determine what relationship exists among ‘age of a pig’ when it

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.

Piglet number Initial weight Initial age(weeks) Weight gain Y


(pounds)X1
1 39 8 7

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

Adjusted R Std. Error of the Change Statistics

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

a. Predictors: (Constant), Initial age, Initial weight

b. Dependent Variable: weight gain


Coefficientsa
Unstandardized Standardized 95.0% Confidence Interval

Coefficients Coefficients for B Correlations Collinearity Statistics


Zero
-
Lower Upper orde Par
Model B Std. Error Beta t Sig. Bound Bound r Partial t Tolerance VIF

1 (Constant) -4.192 1.888 -2.220 .077 -9.045 .662

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

a. Dependent Variable: weight gain

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

ii.The standard error =0.998

iii.weight gain is 35.47 units

iv. For testing null hypothesis B0=0,since p value=0.077.It is significant.

For testing null hypothesis B1=0,since p value=0.023It is significant

For testing null hypothesis B2=0,since p value=0.04.It is significant

For testing null hypothesis:overall fit of the regression coefficient=0,since here the p value is 0.0048

For F test,that indicates overall fit is significant.

v.Adjusted 𝑅 2=0.834 which indicates that regression equation can represent 83.36% of the true
observations.

Conclusion: Hence,calculations of regression analysis is performed using SPSS.

You might also like