Professional Documents
Culture Documents
Final MM Paper
Final MM Paper
Final MM Paper
BSED 3-MATH
Labordo, Rhona L.
Lago, Jenefer A.
I. INTRODUCTION
Many pig farmers face challenges in accurately estimating the weight of their pigs
without access to weighing scales. In order to provide a cost-effective and accessible method
for estimating pig weight in situations where weighing scales are not available or feasible to
use regularly, the investigators want to find the model of predicting the weight of a pig using
neck circumference, waist circumference and body height. This will assist farmers in making
informed decisions regarding feeding regimes, healthcare interventions, and sale transactions.
This mathematical modeling aims to device a model that would be used to predict the
weight of a weaner pig through its neck circumference, waist circumference and body height.
Specifically, it sought to answer the following question:
1. Is there a linear relationship between the weight of a weaner pig and its neck
circumference, waist circumference, and body height?
2. What model can be used to predict the weight of a weaner pig given the neck
circumference, waist circumference and body height (in cm)?
III. DATA GATHERING and MODEL/S FORMULATED
The collected data were encoded in Microsoft Excel for organization and further
analysis. Subsequently, the data was analyzed utilizing the statistical software SPSS and
linear regression was used as the analytical method to establish mathematical model that
elucidate the connection between pig’s body measurements and their corresponding weights.
The data collection process involved obtaining consent from the slaughterhouse staff
or personnel responsible for the facility’s management. In addition approval was sought from
the pig owners to ensure privacy and confidentiality. It was essential to reassure all involved
parties that the pigs would be measured and weighed with care throughout the process to
prioritize their well-being and comfort.
MODEL
The model for the weight of a weaner pig is given by the equation,
Predicted Weight= -118.328 + (1.129) (NC) + (.542) (WC) + (.848) (BH), NC, WC
and BH is in cm.
where,
Sum of Mean
Model df F Sig.
Squares Square
Total 11073.778 17
a. Dependent Variable: WEIGHT
b. Predictors: (Constant), BODY HEIGHT, NECK CIRCUMFERENCE, WAIST
CIRCUMFERENCE
Sum of squares and mean squares for the regression and residual components of the
model
● The sum of squares is a measure of the total variance in the data.
● The mean squares is the sum of squares divided by the degrees of freedom
(a measure of the number of independent pieces of information in the data).
Unstandardized Standardized
Coefficients Coefficients
Model t Sig.
B Std. Beta
Error
Body Height: This has a positive coefficient of 0.848, which means there is a positive
correlation between body height and weight.
Neck Circumference: This has a positive coefficient of 1.129, which means there is a
positive correlation between neck circumference and weight.
Waist Circumference: This has a positive coefficient of 0.542, which means there is a
positive correlation between waist circumference and weight.
Sig.: This is the significance level, or p-value. A p-value less than 0.05 indicates a
statistically significant relationship.
● Neck circumference (0.025) and body height (0.088) both have a p-value less
than 0.05, which means there is a linear relationship between these
measurements and weight.
● Waist circumference (0.221) has a p-value greater than 0.05, so the evidence for
a relationship is weaker.
Model Summary
In fact, 89% (R²=.890) of the variance in the weight of a pig is accounted for by its neck
circumference, waist circumference and body height.
R - This is the correlation coefficient, which is a measure of how well the model's
predicted values correspond to the actual pig weights. A value of 1 indicates a perfect
positive correlation, 0 indicates no correlation, and -1 indicates a perfect negative
correlation. In this case, 0.943 suggests a strong positive correlation between the
measurements and weight.
R Square (R²) - This is the squared value of the correlation coefficient (R) and represents
the proportion of variance in the dependent variable (weight) explained
by the independent variables (measurements). A value of 0.890 here
means that 89% of the variance in pig weight is explained by the model.
Adjusted R Square - This is a modified version of R-squared that accounts for the number
of predictor variables in the model. It can be used to compare
models with different numbers of predictors.
Std. Error of the Estimate - This is a measure of how much the actual pig weights deviate
from the model's predicted weights. Lower values indicate a
better fit.
The model for the weight of a weaner pig is given by the equation,
Predicted Weight= -118.328 + (1.129) (NC) + (.542) (WC) + (.848) (BH), NC,
WC and BH is in cm.
FOR EXISTING DATA
VI. EXTENSIONS/EVALUATION
1. Consider modeling the weight of a pig through its body measurements using
tape measure.
2. Explore the variation in weight prediction models for different pig breeds.