SlideShare a Scribd company logo
STATS 324 - Multiple Regression Project
We have a dataset with various cereals and their
nutritional breakdowns including: Calories, Total Fat,
Saturated Fat, Carbohydrates, Fiber, Sugar, Protein,
and Trans-Fat.
Our goal is to construct a model based on a subset of
these variables to predict the number of calories a
box of cereal will have.
Simple Regression
Simple Regression
Ho:Carbs have no significant relationship with Calories.
Ha:Carbs have a significant relationship with Calories.
Calories = -2.01654 + 4.61713 Carbs
Results
The R-Sq is 85.76% with an S of 14.6795. From the
scatterplot we can see a strong, positive linear
association between carbs and calories.
From the regression we find that Carbs do have a
statistically significant (t(df=50)=17.3535, p~0)
relationship with Calories. This matches what we would
expect because carbohydrates always contain calories,
so any increase in carbs would lead to an increase in
calories.
Model Formulation:
0 = Transfat
1= No Transfat
Model1:
General Regression Analysis: Calories versus Carbs, Sugar, Trans
Regression Equation: Trans
0 Calories = -5.64709 + 4.49934 Carbs + 0.59055 Sugar
1 Calories = -3.58016 + 4.49934 Carbs + 0.59055 Sugar
Model 2:
General Regression Analysis: Calories versus Carbs, ln(sugar), Trans
Regression Equation: Trans
0 Calories = -4.32483 + 4.36409 Carbs + 3.83766 ln(sugar)
1 Calories = -1.87922 + 4.36409 Carbs + 3.83766 ln(sugar)
Multicollinearity:
-VIFโ€™s of 1st model:
Trans 0 =1.21029
Carbs = 1.14868
Sugar = 1.31693
-VIF of 2nd model:
Trans 0 =1.19284
Carbs = 1.13480
Sugar = 1.29197
Transformations:
Calories as response, carbs, sugar, and trans fat as our first model:
Calories and carbs show to have a moderately strong and positive
association. Calories and sugar show to be not as strong but positive
association. Thus the first thought is to transform sugar, since calories
and carbs are fine. We ln(sugar) since ln is our go to transformation.
Comparing Models
Model 1, F= 2.451 and Pvalue = 0.076850, R- sq =86.18%, R-sq adjusted =85.31%
thus at a 10% level, evidence of lack of fitting a line through data is not doing well.
L:Seems ok, but may want to make it better.
I: OK.
N: OK.
E: OK
Model 2, F= 1.549 and Pvalue = 0.249241 , R-Sq = 89.28%, R-sq adjusted 89.28%
The P-value increased thus less evidence against the null that the linear model is appropriate.
L:Seems ok, but safe to use model one.
I: OK.
N: OK.
E: OK
The VIFโ€™s in model 2 are smaller than model 1, yet model
one did not have high VIFโ€™s values. Thus it is better to
use model 1 with the untransformed data.
Case Influence Diagnostics
-the model remain statistically significant after adding
the interaction between carbs and trans-fat
-adjustment carbs*trans-fat is unnecessary
-did not improve the association between the
interaction and response.
Best Subsets Regression: Calories versus Carbs, Sugar
Response is Calories
C S
a u
r g
Mallows b a
Vars R-Sq R-Sq(adj) Cp S s r
1 85.8 85.5 2.3 14.680 x
1 11.0 9.3 266.4 36.691 x
2 86.1 85.6 3.0 14.631 x x
-Carbs alone has the lowest Mallows Cp
-Carbs and sugar together have a better R2 and S value as they are larger
-We used Carbs as our best predictor.
Conclusion
Analyzing the general regression model with
Calories, Trans Fat, Carbs and Sugar as our variables,
we believe the overall model to be statistically significant since our analysis of variance show - -
an extremely small p-value (โ‰ˆ 0)
- R^2 is fairly large at 86.18% with the adjusted at 85.31% and the predicted at 82.80%.
- VIFs also look to be reasonably small (however it makes intuitive sense for there to be
multicollinearity between sugar and carbs since carbs contain sugar.)
Ho: ฮฒ1=ฮฒ2=0
Ha: ฮฒ1orฮฒ2โ‰ 0
Based on our hypotheses, we have evidence that there is an association between sugar, carb, and
trans-fat to calories since ฮฒ1and ฮฒ2 are not equal to 0 (since trans-fat is categorical binary,
the equations just need to add either 0 or 1 for that value).

More Related Content

What's hot

Non-equilibrium Thermodynamics
Non-equilibrium ThermodynamicsNon-equilibrium Thermodynamics
Non-equilibrium Thermodynamics
VarinderKhepar
ย 
Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...
Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...
Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...
Lumen Learning
ย 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
Ken Plummer
ย 
47rrkmtheory11 190428142321
47rrkmtheory11 19042814232147rrkmtheory11 190428142321
47rrkmtheory11 190428142321
NehaDhansekar
ย 
Chemical dynamics, intro,tst, lindemann theory by dr.y. s. thakare
Chemical dynamics, intro,tst, lindemann theory by dr.y. s. thakareChemical dynamics, intro,tst, lindemann theory by dr.y. s. thakare
Chemical dynamics, intro,tst, lindemann theory by dr.y. s. thakare
pramod padole
ย 
Chemitry Chemical Equilibrium
Chemitry Chemical EquilibriumChemitry Chemical Equilibrium
Chemitry Chemical Equilibrium
Afzal Zubair
ย 
PEShare.co.uk Shared Resource
PEShare.co.uk Shared ResourcePEShare.co.uk Shared Resource
PEShare.co.uk Shared Resourcepeshare.co.uk
ย 
Example paired ttest
Example paired ttestExample paired ttest
Example paired ttestFarheen Iqbal
ย 
Chemical equilibrium
Chemical equilibriumChemical equilibrium
Chemical equilibrium
PriyankaMiss
ย 
4.7 partial correlation
4.7 partial correlation4.7 partial correlation
4.7 partial correlation
Rajeev Kumar
ย 
Rate of reaction =measure rate and intro and collision theory
Rate of reaction =measure rate and intro and collision theoryRate of reaction =measure rate and intro and collision theory
Rate of reaction =measure rate and intro and collision theoryMRSMPC
ย 
Density final version
Density final versionDensity final version
Density final version
Lumen Learning
ย 
Chem 2 - Chemical Equilibrium VI: Heterogeneous Equilibria
Chem 2 - Chemical Equilibrium VI: Heterogeneous EquilibriaChem 2 - Chemical Equilibrium VI: Heterogeneous Equilibria
Chem 2 - Chemical Equilibrium VI: Heterogeneous Equilibria
Lumen Learning
ย 
CBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi Institue
CBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi InstitueCBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi Institue
CBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi Institue
Homi Institute
ย 
What is a Single Linear Regression
What is a Single Linear RegressionWhat is a Single Linear Regression
What is a Single Linear RegressionKen Plummer
ย 
Chem 2 - Introduction to Chemical Kinetics II
Chem 2 - Introduction to Chemical Kinetics IIChem 2 - Introduction to Chemical Kinetics II
Chem 2 - Introduction to Chemical Kinetics II
Lumen Learning
ย 

What's hot (16)

Non-equilibrium Thermodynamics
Non-equilibrium ThermodynamicsNon-equilibrium Thermodynamics
Non-equilibrium Thermodynamics
ย 
Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...
Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...
Chem 2 - Chemical Equilibrium III: The Equilibrium Constant Expression and th...
ย 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
ย 
47rrkmtheory11 190428142321
47rrkmtheory11 19042814232147rrkmtheory11 190428142321
47rrkmtheory11 190428142321
ย 
Chemical dynamics, intro,tst, lindemann theory by dr.y. s. thakare
Chemical dynamics, intro,tst, lindemann theory by dr.y. s. thakareChemical dynamics, intro,tst, lindemann theory by dr.y. s. thakare
Chemical dynamics, intro,tst, lindemann theory by dr.y. s. thakare
ย 
Chemitry Chemical Equilibrium
Chemitry Chemical EquilibriumChemitry Chemical Equilibrium
Chemitry Chemical Equilibrium
ย 
PEShare.co.uk Shared Resource
PEShare.co.uk Shared ResourcePEShare.co.uk Shared Resource
PEShare.co.uk Shared Resource
ย 
Example paired ttest
Example paired ttestExample paired ttest
Example paired ttest
ย 
Chemical equilibrium
Chemical equilibriumChemical equilibrium
Chemical equilibrium
ย 
4.7 partial correlation
4.7 partial correlation4.7 partial correlation
4.7 partial correlation
ย 
Rate of reaction =measure rate and intro and collision theory
Rate of reaction =measure rate and intro and collision theoryRate of reaction =measure rate and intro and collision theory
Rate of reaction =measure rate and intro and collision theory
ย 
Density final version
Density final versionDensity final version
Density final version
ย 
Chem 2 - Chemical Equilibrium VI: Heterogeneous Equilibria
Chem 2 - Chemical Equilibrium VI: Heterogeneous EquilibriaChem 2 - Chemical Equilibrium VI: Heterogeneous Equilibria
Chem 2 - Chemical Equilibrium VI: Heterogeneous Equilibria
ย 
CBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi Institue
CBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi InstitueCBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi Institue
CBSE Class 12 Chemistry Chapter 4 (Chemical Kinetics) | Homi Institue
ย 
What is a Single Linear Regression
What is a Single Linear RegressionWhat is a Single Linear Regression
What is a Single Linear Regression
ย 
Chem 2 - Introduction to Chemical Kinetics II
Chem 2 - Introduction to Chemical Kinetics IIChem 2 - Introduction to Chemical Kinetics II
Chem 2 - Introduction to Chemical Kinetics II
ย 

Viewers also liked

Statistical and Predictive Modelling
Statistical and Predictive ModellingStatistical and Predictive Modelling
Statistical and Predictive Modelling
JMP software from SAS
ย 
Regression analysis project
Regression analysis projectRegression analysis project
Regression analysis projectMAS261
ย 
Statistical Models for Massive Web Data
Statistical Models for Massive Web DataStatistical Models for Massive Web Data
Statistical Models for Massive Web Data
Deepak Agarwal
ย 
3D Scatterplot - R programming
3D Scatterplot - R programming3D Scatterplot - R programming
3D Scatterplot - R programming
Hubert Lo
ย 
Deloitte Case Competition - Finalist
Deloitte Case Competition - FinalistDeloitte Case Competition - Finalist
Deloitte Case Competition - FinalistHubert Lo
ย 
Stat 323 project: Throwing Accuracy with Darts
Stat 323 project: Throwing Accuracy with DartsStat 323 project: Throwing Accuracy with Darts
Stat 323 project: Throwing Accuracy with Darts
Hubert Lo
ย 
Senior Project Analyst Report
Senior Project Analyst ReportSenior Project Analyst Report
Senior Project Analyst ReportHubert Lo
ย 
Topic 18 multiple regression
Topic 18 multiple regressionTopic 18 multiple regression
Topic 18 multiple regressionSizwan Ahammed
ย 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)Harsh Upadhyay
ย 
Regression analysis
Regression analysisRegression analysis
Regression analysisRavi shankar
ย 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
ย 
How To Create Presentation Slides That Are Out Of This World by @slidecomet @...
How To Create Presentation Slides That Are Out Of This World by @slidecomet @...How To Create Presentation Slides That Are Out Of This World by @slidecomet @...
How To Create Presentation Slides That Are Out Of This World by @slidecomet @...
HighSpark | Visual Storytelling Agency
ย 
Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.
Velocity Partners
ย 
SlideShare 101
SlideShare 101SlideShare 101
SlideShare 101
Amit Ranjan
ย 

Viewers also liked (15)

Statistical and Predictive Modelling
Statistical and Predictive ModellingStatistical and Predictive Modelling
Statistical and Predictive Modelling
ย 
Regression analysis project
Regression analysis projectRegression analysis project
Regression analysis project
ย 
Statistical Models for Massive Web Data
Statistical Models for Massive Web DataStatistical Models for Massive Web Data
Statistical Models for Massive Web Data
ย 
3D Scatterplot - R programming
3D Scatterplot - R programming3D Scatterplot - R programming
3D Scatterplot - R programming
ย 
Deloitte Case Competition - Finalist
Deloitte Case Competition - FinalistDeloitte Case Competition - Finalist
Deloitte Case Competition - Finalist
ย 
Stat 323 project: Throwing Accuracy with Darts
Stat 323 project: Throwing Accuracy with DartsStat 323 project: Throwing Accuracy with Darts
Stat 323 project: Throwing Accuracy with Darts
ย 
Senior Project Analyst Report
Senior Project Analyst ReportSenior Project Analyst Report
Senior Project Analyst Report
ย 
Topic 18 multiple regression
Topic 18 multiple regressionTopic 18 multiple regression
Topic 18 multiple regression
ย 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)
ย 
Regression analysis
Regression analysisRegression analysis
Regression analysis
ย 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
ย 
Nutrition
NutritionNutrition
Nutrition
ย 
How To Create Presentation Slides That Are Out Of This World by @slidecomet @...
How To Create Presentation Slides That Are Out Of This World by @slidecomet @...How To Create Presentation Slides That Are Out Of This World by @slidecomet @...
How To Create Presentation Slides That Are Out Of This World by @slidecomet @...
ย 
Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.Crap. The Content Marketing Deluge.
Crap. The Content Marketing Deluge.
ย 
SlideShare 101
SlideShare 101SlideShare 101
SlideShare 101
ย 

Similar to Statistical Modeling - Cereal Data Project

3. 1 2022 prot energy lush pasture FINAL FINAL.pptx
3. 1 2022 prot energy lush pasture FINAL FINAL.pptx3. 1 2022 prot energy lush pasture FINAL FINAL.pptx
3. 1 2022 prot energy lush pasture FINAL FINAL.pptx
2damcreative
ย 
Lecture05 Week 02
Lecture05 Week 02Lecture05 Week 02
Lecture05 Week 02galih
ย 
AP Chemistry Chapter 15 Sample Exercises
AP Chemistry Chapter 15 Sample ExercisesAP Chemistry Chapter 15 Sample Exercises
AP Chemistry Chapter 15 Sample ExercisesJane Hamze
ย 
Methods of analysis .nilhhhhhhhhhhh
Methods of analysis .nilhhhhhhhhhhhMethods of analysis .nilhhhhhhhhhhh
Methods of analysis .nilhhhhhhhhhhhShital Nehere
ย 
A2 Chemistry Unit 4
A2 Chemistry Unit 4A2 Chemistry Unit 4
A2 Chemistry Unit 4
Kelvin Lam
ย 

Similar to Statistical Modeling - Cereal Data Project (6)

3. 1 2022 prot energy lush pasture FINAL FINAL.pptx
3. 1 2022 prot energy lush pasture FINAL FINAL.pptx3. 1 2022 prot energy lush pasture FINAL FINAL.pptx
3. 1 2022 prot energy lush pasture FINAL FINAL.pptx
ย 
poster draft 2
poster draft 2poster draft 2
poster draft 2
ย 
Lecture05 Week 02
Lecture05 Week 02Lecture05 Week 02
Lecture05 Week 02
ย 
AP Chemistry Chapter 15 Sample Exercises
AP Chemistry Chapter 15 Sample ExercisesAP Chemistry Chapter 15 Sample Exercises
AP Chemistry Chapter 15 Sample Exercises
ย 
Methods of analysis .nilhhhhhhhhhhh
Methods of analysis .nilhhhhhhhhhhhMethods of analysis .nilhhhhhhhhhhh
Methods of analysis .nilhhhhhhhhhhh
ย 
A2 Chemistry Unit 4
A2 Chemistry Unit 4A2 Chemistry Unit 4
A2 Chemistry Unit 4
ย 

Recently uploaded

April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
NathanBaughman3
ย 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
fisherameliaisabella
ย 
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-indiafalcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
Falcon Invoice Discounting
ย 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
tjcomstrang
ย 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
DerekIwanaka1
ย 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
BBPMedia1
ย 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
tanyjahb
ย 
What is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdfWhat is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdf
seoforlegalpillers
ย 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
Sam H
ย 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
Lital Barkan
ย 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
uae taxgpt
ย 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
agatadrynko
ย 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
ย 
Skye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto AirportSkye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto Airport
marketingjdass
ย 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
awaisafdar
ย 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
ย 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
balatucanapplelovely
ย 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
ofm712785
ย 
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s DholeraTata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s Dholera
Avirahi City Dholera
ย 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Lviv Startup Club
ย 

Recently uploaded (20)

April 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products NewsletterApril 2024 Nostalgia Products Newsletter
April 2024 Nostalgia Products Newsletter
ย 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ย 
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-indiafalcon-invoice-discounting-a-premier-platform-for-investors-in-india
falcon-invoice-discounting-a-premier-platform-for-investors-in-india
ย 
20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf20240425_ TJ Communications Credentials_compressed.pdf
20240425_ TJ Communications Credentials_compressed.pdf
ย 
BeMetals Presentation_May_22_2024 .pdf
BeMetals Presentation_May_22_2024   .pdfBeMetals Presentation_May_22_2024   .pdf
BeMetals Presentation_May_22_2024 .pdf
ย 
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
RMD24 | Debunking the non-endemic revenue myth Marvin Vacquier Droop | First ...
ย 
3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx3.0 Project 2_ Developing My Brand Identity Kit.pptx
3.0 Project 2_ Developing My Brand Identity Kit.pptx
ย 
What is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdfWhat is the TDS Return Filing Due Date for FY 2024-25.pdf
What is the TDS Return Filing Due Date for FY 2024-25.pdf
ย 
Unveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdfUnveiling the Secrets How Does Generative AI Work.pdf
Unveiling the Secrets How Does Generative AI Work.pdf
ย 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
ย 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
ย 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ย 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
ย 
Skye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto AirportSkye Residences | Extended Stay Residences Near Toronto Airport
Skye Residences | Extended Stay Residences Near Toronto Airport
ย 
The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...The Parable of the Pipeline a book every new businessman or business student ...
The Parable of the Pipeline a book every new businessman or business student ...
ย 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
ย 
The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
ย 
5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer5 Things You Need To Know Before Hiring a Videographer
5 Things You Need To Know Before Hiring a Videographer
ย 
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s DholeraTata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s Dholera
Tata Group Dials Taiwan for Its Chipmaking Ambition in Gujaratโ€™s Dholera
ย 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
ย 

Statistical Modeling - Cereal Data Project

  • 1. STATS 324 - Multiple Regression Project We have a dataset with various cereals and their nutritional breakdowns including: Calories, Total Fat, Saturated Fat, Carbohydrates, Fiber, Sugar, Protein, and Trans-Fat. Our goal is to construct a model based on a subset of these variables to predict the number of calories a box of cereal will have.
  • 3. Simple Regression Ho:Carbs have no significant relationship with Calories. Ha:Carbs have a significant relationship with Calories. Calories = -2.01654 + 4.61713 Carbs
  • 4. Results The R-Sq is 85.76% with an S of 14.6795. From the scatterplot we can see a strong, positive linear association between carbs and calories. From the regression we find that Carbs do have a statistically significant (t(df=50)=17.3535, p~0) relationship with Calories. This matches what we would expect because carbohydrates always contain calories, so any increase in carbs would lead to an increase in calories.
  • 5. Model Formulation: 0 = Transfat 1= No Transfat Model1: General Regression Analysis: Calories versus Carbs, Sugar, Trans Regression Equation: Trans 0 Calories = -5.64709 + 4.49934 Carbs + 0.59055 Sugar 1 Calories = -3.58016 + 4.49934 Carbs + 0.59055 Sugar Model 2: General Regression Analysis: Calories versus Carbs, ln(sugar), Trans Regression Equation: Trans 0 Calories = -4.32483 + 4.36409 Carbs + 3.83766 ln(sugar) 1 Calories = -1.87922 + 4.36409 Carbs + 3.83766 ln(sugar) Multicollinearity: -VIFโ€™s of 1st model: Trans 0 =1.21029 Carbs = 1.14868 Sugar = 1.31693 -VIF of 2nd model: Trans 0 =1.19284 Carbs = 1.13480 Sugar = 1.29197
  • 6. Transformations: Calories as response, carbs, sugar, and trans fat as our first model: Calories and carbs show to have a moderately strong and positive association. Calories and sugar show to be not as strong but positive association. Thus the first thought is to transform sugar, since calories and carbs are fine. We ln(sugar) since ln is our go to transformation.
  • 7. Comparing Models Model 1, F= 2.451 and Pvalue = 0.076850, R- sq =86.18%, R-sq adjusted =85.31% thus at a 10% level, evidence of lack of fitting a line through data is not doing well. L:Seems ok, but may want to make it better. I: OK. N: OK. E: OK Model 2, F= 1.549 and Pvalue = 0.249241 , R-Sq = 89.28%, R-sq adjusted 89.28% The P-value increased thus less evidence against the null that the linear model is appropriate. L:Seems ok, but safe to use model one. I: OK. N: OK. E: OK The VIFโ€™s in model 2 are smaller than model 1, yet model one did not have high VIFโ€™s values. Thus it is better to use model 1 with the untransformed data.
  • 8.
  • 10.
  • 11.
  • 12. -the model remain statistically significant after adding the interaction between carbs and trans-fat -adjustment carbs*trans-fat is unnecessary -did not improve the association between the interaction and response.
  • 13. Best Subsets Regression: Calories versus Carbs, Sugar Response is Calories C S a u r g Mallows b a Vars R-Sq R-Sq(adj) Cp S s r 1 85.8 85.5 2.3 14.680 x 1 11.0 9.3 266.4 36.691 x 2 86.1 85.6 3.0 14.631 x x -Carbs alone has the lowest Mallows Cp -Carbs and sugar together have a better R2 and S value as they are larger -We used Carbs as our best predictor.
  • 14. Conclusion Analyzing the general regression model with Calories, Trans Fat, Carbs and Sugar as our variables, we believe the overall model to be statistically significant since our analysis of variance show - - an extremely small p-value (โ‰ˆ 0) - R^2 is fairly large at 86.18% with the adjusted at 85.31% and the predicted at 82.80%. - VIFs also look to be reasonably small (however it makes intuitive sense for there to be multicollinearity between sugar and carbs since carbs contain sugar.) Ho: ฮฒ1=ฮฒ2=0 Ha: ฮฒ1orฮฒ2โ‰ 0 Based on our hypotheses, we have evidence that there is an association between sugar, carb, and trans-fat to calories since ฮฒ1and ฮฒ2 are not equal to 0 (since trans-fat is categorical binary, the equations just need to add either 0 or 1 for that value).