SlideShare a Scribd company logo
1 of 32
Diet
Vs
Weight-Loss
Analysis
DESIGNS OF EXPERIMENT PROJECT
Hello!
Presented by:
Vidit Jain - M013
75251219007
Our Mentor:
Prof. Preeti Ravikiran
2
β€œ Did you know β€œDIET”
stands for :
DID I EAT THAT?
3
Table of
Content
β–« Introduction
β–« Methodology
β–« Our Data
β–« Descriptive Statistics
β–« Proposed Hypothesis
β–« Test for Normality & Homogeneity of Variance
β–« Analysis of Variance (ANOVA)
β–« Conclusions
β–« Post –Hoc Tests
β–« Inferences
4
Designs of
Experiment
Designs of experiment (DOE) is defined as a
branch of applied statistics that deals with
planning, conducting, analyzing, and interpreting
tests to evaluate the factors that control the value
of a parameter or group of parameters. DOE is a
powerful data collection and analysis tool that
can be used in a variety of experimental
situations.
5
ANOVA
ANALYSIS OF VARIANCE
Analysis of variance (ANOVA) is a statistical technique that is used to check
if the means of two or more groups are significantly different from each
other. ANOVA checks the impact of one or more factors by comparing the
means of different samples.
7
ASSUMPTIONS
1. All effects are additive.
2. The observations are independent of each
other.
3. eij’s ∼ N(0, Οƒ2)
4. The dependent variables should be
measurable.
5. Parent population from which samples are
drawn should be normal.
6. Homogeneity of variance between the groups
should be satisfied. 8
A test that allows one to make comparisons
between the means of three or more groups
of data, where one independent variables is
considered.
The one-way ANOVA model is given by,
π‘₯𝑖𝑗 = πœ‡ + 𝛼𝑖 + πœ–π‘–π‘—
Dependent variable = overall mean +
treatment effect + random error
9
One-Way ANOVA
10
Null Hypothesis:
𝐻0: πœ‡1 = πœ‡2 = β‹― = πœ‡π‘˜
(There is no difference in the
population means)
VS
Alternative Hypothesis:
𝐻1: πœ‡π‘– β‰  πœ‡π‘—
(At least two population
means are different)
TSS = SSTr + SSE
𝑇𝑆𝑆 = π‘‡π‘œπ‘‘π‘Žπ‘™ π‘†π‘’π‘š π‘œπ‘“ π‘†π‘žπ‘’π‘Žπ‘Ÿπ‘’π‘  =
𝑖 𝑗
(π‘₯𝑖𝑗 βˆ’ π‘₯. . )2
π‘†π‘†π‘‡π‘Ÿ = π‘†π‘’π‘š π‘œπ‘“ π‘†π‘žπ‘’π‘Žπ‘Ÿπ‘’π‘  𝑑𝑒𝑒 π‘‘π‘œ π‘‡π‘Ÿπ‘’π‘Žπ‘‘π‘šπ‘’π‘›π‘‘π‘  =
𝑖 𝑗
(π‘₯𝑖. βˆ’π‘₯. . ) =
𝑖
𝑛𝑖( π‘₯𝑖. βˆ’π‘₯. . )
𝑆𝑆𝐸 = π‘†π‘’π‘š π‘œπ‘“ π‘†π‘žπ‘’π‘Žπ‘Ÿπ‘’π‘  𝑑𝑒𝑒 π‘‘π‘œ πΈπ‘Ÿπ‘Ÿπ‘œπ‘Ÿπ‘  =
𝑖 𝑗
(π‘₯𝑖𝑗 βˆ’ π‘₯𝑖. )2
Source of
Variation
Sum of
Squared
Degree of
Freedom
Mean Sum
of Squares
Fcal Ftab
Treatment SSTr k-1 π‘€π‘†π‘†π‘‡π‘Ÿ
=
π‘†π‘†π‘‡π‘Ÿ
π‘˜ βˆ’ 1
𝐹
=
π‘€π‘†π‘†π‘‡π‘Ÿ
𝑀𝑆𝑆𝐸
𝐹
𝛼(π‘˜ βˆ’ 1, 𝑁 βˆ’ π‘˜)
Error SSE N-k 𝑀𝑆𝑆𝐸
=
𝑆𝑆𝐸
𝑁 βˆ’ π‘˜
Total TSS N-1
11
A test that allows one to make comparisons
between the means of three or more groups of
data, where two independent variables are
considered.
The two-way ANOVA model is given by,
π‘₯𝑖𝑗 = πœ‡ + 𝛼𝑖 + 𝛽𝑗 + πœ–π‘–π‘—
Dependent variable = overall mean + treatment
effect + block effect + random error
12
Two Way ANOVA
13
VS
Null Hypothesis:
𝐻01: πœ‡1 = πœ‡2 = β‹― = πœ‡π‘˜
(There is no treatment effect)
𝐻02: πœ‡1 = πœ‡2 = β‹― = πœ‡β„Ž
(There is no block effect)
Alternative Hypothesis:
𝐻11: πœ‡π‘– β‰  πœ‡π‘—
(There is a treatment effect)
𝐻12: πœ‡π‘– β‰  πœ‡π‘—
(There is a block effect)
If there is an interaction effect between the treatments and blocks, then there is another
hypothesis which is given as
H03 : 𝛾𝑖𝑗 = 0
(There is no interaction effect)
H13 : 𝛾𝑖𝑗 β‰  0
(There is an interaction effect)
14
Source of
Variation
Sum of
Squared
Degree of
Freedom
Mean Sum of
Squares
Fcal Ftab
Treatment SSTr p-1 π‘€π‘†π‘†π‘‡π‘Ÿ
=
π‘†π‘†π‘‡π‘Ÿ
𝑝 βˆ’ 1
𝐹 =
π‘€π‘†π‘†π‘‡π‘Ÿ
𝑀𝑆𝑆𝐸
𝐹
𝛼( 𝑝 βˆ’ 1 , π‘π‘ž(π‘š
Blocks SSB q-1
𝑀𝑆𝑆𝐡 =
𝑆𝑆𝐡
π‘ž βˆ’ 1
𝐹 =
𝑀𝑆𝑆𝐡
𝑀𝑆𝑆𝐸
𝐹
𝛼( π‘ž βˆ’ 1 , π‘π‘ž(π‘š
Interaction SSTr*B (p-1)(q-1) π‘€π‘†π‘†π‘‡π‘Ÿ βˆ— 𝐡
=
π‘†π‘†π‘‡π‘Ÿ βˆ— 𝐡
(𝑝 βˆ’ 1)(π‘ž βˆ’ 1)
𝐹
=
π‘€π‘†π‘†π‘‡π‘Ÿ βˆ— 𝐡
𝑀𝑆𝑆𝐸
𝐹
𝛼( 𝑝 βˆ’ 1 (π‘ž
Error SSE pq(m-1) 𝑀𝑆𝑆𝐸
=
𝑆𝑆𝐸
π‘š βˆ’ 1 π‘π‘ž
Total TSS Mpq-1
METHODOLOGY
1. Designing the experiment
2. Exploratory data analysis
3. Checking for normality
4. Homogeneity of variance
5. ANOVA
6. Conclusion
7. Inferences
15
DATA
This is a diet dataset. The dataset contains
information on 78 people who undertook one of
three diet types (Keto diet, Intermittent fasting
diet and Sattvic diet). There is background
information such as age, gender, and height. The
aim of the study is to see which diet is best for
losing weight.
Keto Diet – A
Intermittent Diet – B
Sattvic Diet – C
16
Descriptive
Statistics
Summary
for Diet and
Gender
17
n Mean (in
kg)
SD Skewness Kurtosis
Diet A 24 3.3 2.24 0.88 0.65
Diet B 27 3.03 2.52 -0.17 -0.74
Diet C 27 5.15 2.4 -0.34 -0.95
Female 45 3.72 2.59 0.01 -0.92
Male 33 4.02 2.53 0.12 -0.22
18
BOX PLOT
SHOWING
WEIGHT
LOSS PER
DIET
19
HYPOTHESIS
H01 : πœ‡1 = πœ‡2
(There is no effect
of gender on weight
loss)
v/s
H11 : πœ‡π‘– β‰  πœ‡π‘—
(There is an effect
of gender on weight
loss)
H02 : πœ‡1 = πœ‡2 = πœ‡3
(There is no effect
of diet type on
weight loss)
v/s
H12 : πœ‡π‘– β‰  πœ‡π‘—
(There is an effect
of diet type on
weight loss)
H03 : 𝛾𝑖𝑗 = 0
(There is no
interaction effect
between gender
and diet)
v/s
H13 : 𝛾𝑖𝑗 β‰  0
(There is an
interaction effect
between gender
and diet)
20
21
TESTING
OUR DATA
FOR
NORMALITY
22
H0: The data is normally distributed Vs H1: The data is not
normally distributed
H0 is accepted
HOMOGENEITY
OF VARIANCE
23
H0: All groups have equal variance Vs H1: Variance of all
groups is not same
H0 is accepted
ANOVA TABLE
24
Degrees
of
Freedom
Sum of
Squares
Mean
Sum of
Squares
F-
calculate
d value
F-table
value
Diet 2 71.09 35.547 6.5925 3.15
Gender 1 1.04 1.035 0.1920 4.00
Diet*Gend
er
2 40.92 20.460 3.7945 3.15
Error 72 388.22 5.392
25
CONCLUSION
Diet type Gender Interaction effect
H0 is rejected H0 is rejected
H0 is accepted
1. Gender does not significantly affect average
weight loss.
2. Diet alone does not affect weight.
3. But combination of Gender and Diet has a
significant effect on weight loss.
26
27
28
t-value Degrees of
Freedom
p-value 95%
Confidence
Interval
A-B 0.40798 49 0.6851 (-1.075930,
1.624079)
A-C -2.8348 49 0.006644 (-3.1582988, -
0.5379975)
B-C -3.1693 52 0.00256 (-3.4658892, -
0.7785553)
Based on the Post Hoc
test, we can conclude
that Sattvic diet has a
significant effect.
30
Weight loss
(Mean value)
t-value
Degrees of
Freedom p-value
95%
Confidence
Interval
Male female
Ketto Diet(A) 3.65 3.05 -0.6385 22 0.5297
(-2.548793,
0.1066417)
Intermittent
Diet(B) 2.28 4.11 -1.9460 25 0.06298
(-3.7923236,
0.1066417)
Sattvic Diet
( C) 4.23 5.88 1.8564 25 0.7522
(-0.1801614,
3.4734948)
β–« Dieticians can use the result of this study to
analyse which diet is suitable for weight loss
for males and females.
β–« Further analysis can be done using the factors
age-group and diet.
31
FUTURE
SCOPE OF
THE STUDY
Thanks!
32

More Related Content

Similar to DOE Project ANOVA Analysis Diet Type

ANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course materialANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course materialAmanuelIbrahim
Β 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statisticsDalia El-Shafei
Β 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significanceGurunathVhanmane1
Β 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfChenPalaruan
Β 
Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...
Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...
Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...Kazuki Yoshida
Β 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbhRione Drevale
Β 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptxFenembarMekonnen
Β 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptxFenembarMekonnen
Β 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovanaranbatn
Β 
Non parametric test
Non parametric testNon parametric test
Non parametric testdineshmeena53
Β 
Test of significance
Test of significanceTest of significance
Test of significancemigom doley
Β 
Anova single factor
Anova single factorAnova single factor
Anova single factorDhruv Patel
Β 
Introduction and crd
Introduction and crdIntroduction and crd
Introduction and crdRione Drevale
Β 
Bus 173_4.pptx
Bus 173_4.pptxBus 173_4.pptx
Bus 173_4.pptxssuserbea996
Β 
95720357 a-design-of-experiments
95720357 a-design-of-experiments95720357 a-design-of-experiments
95720357 a-design-of-experimentsSathish Kumar
Β 
8 a class slides one way anova part 1
8 a class slides   one way anova part 18 a class slides   one way anova part 1
8 a class slides one way anova part 1mjb70
Β 
Statistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc testsStatistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc testsEugene Yan Ziyou
Β 

Similar to DOE Project ANOVA Analysis Diet Type (20)

ANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course materialANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course material
Β 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
Β 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significance
Β 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdf
Β 
Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...
Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...
Matching Weights to Simultaneously Compare Three Treatment Groups: a Simulati...
Β 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
Β 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
Β 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
Β 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anova
Β 
Non parametric test
Non parametric testNon parametric test
Non parametric test
Β 
Test of significance
Test of significanceTest of significance
Test of significance
Β 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
Β 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
Β 
Anova single factor
Anova single factorAnova single factor
Anova single factor
Β 
Introduction and crd
Introduction and crdIntroduction and crd
Introduction and crd
Β 
Bus 173_4.pptx
Bus 173_4.pptxBus 173_4.pptx
Bus 173_4.pptx
Β 
95720357 a-design-of-experiments
95720357 a-design-of-experiments95720357 a-design-of-experiments
95720357 a-design-of-experiments
Β 
8 a class slides one way anova part 1
8 a class slides   one way anova part 18 a class slides   one way anova part 1
8 a class slides one way anova part 1
Β 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
Β 
Statistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc testsStatistical inference: Statistical Power, ANOVA, and Post Hoc tests
Statistical inference: Statistical Power, ANOVA, and Post Hoc tests
Β 

Recently uploaded

Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...SeΓ‘n Kennedy
Β 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data VisualizationKianJazayeri1
Β 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Boston Institute of Analytics
Β 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxHimangsuNath
Β 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksdeepakthakur548787
Β 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our WorldEduminds Learning
Β 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfSubhamKumar3239
Β 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max PrincetonTimothy Spann
Β 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
Β 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
Β 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Boston Institute of Analytics
Β 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxMike Bennett
Β 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Thomas Poetter
Β 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
Β 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
Β 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
Β 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingsocarem879
Β 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectBoston Institute of Analytics
Β 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
Β 

Recently uploaded (20)

Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
Β 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data Visualization
Β 
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Data Analysis Project : Targeting the Right Customers, Presentation on Bank M...
Β 
Networking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptxNetworking Case Study prepared by teacher.pptx
Networking Case Study prepared by teacher.pptx
Β 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing works
Β 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our World
Β 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdf
Β 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max Princeton
Β 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Β 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
Β 
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Decoding the Heart: Student Presentation on Heart Attack Prediction with Data...
Β 
Semantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptxSemantic Shed - Squashing and Squeezing.pptx
Semantic Shed - Squashing and Squeezing.pptx
Β 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Β 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
Β 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Β 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
Β 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
Β 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
Β 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
Β 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
Β 

DOE Project ANOVA Analysis Diet Type

  • 2. Hello! Presented by: Vidit Jain - M013 75251219007 Our Mentor: Prof. Preeti Ravikiran 2
  • 3. β€œ Did you know β€œDIET” stands for : DID I EAT THAT? 3
  • 4. Table of Content β–« Introduction β–« Methodology β–« Our Data β–« Descriptive Statistics β–« Proposed Hypothesis β–« Test for Normality & Homogeneity of Variance β–« Analysis of Variance (ANOVA) β–« Conclusions β–« Post –Hoc Tests β–« Inferences 4
  • 5. Designs of Experiment Designs of experiment (DOE) is defined as a branch of applied statistics that deals with planning, conducting, analyzing, and interpreting tests to evaluate the factors that control the value of a parameter or group of parameters. DOE is a powerful data collection and analysis tool that can be used in a variety of experimental situations. 5
  • 7. Analysis of variance (ANOVA) is a statistical technique that is used to check if the means of two or more groups are significantly different from each other. ANOVA checks the impact of one or more factors by comparing the means of different samples. 7
  • 8. ASSUMPTIONS 1. All effects are additive. 2. The observations are independent of each other. 3. eij’s ∼ N(0, Οƒ2) 4. The dependent variables should be measurable. 5. Parent population from which samples are drawn should be normal. 6. Homogeneity of variance between the groups should be satisfied. 8
  • 9. A test that allows one to make comparisons between the means of three or more groups of data, where one independent variables is considered. The one-way ANOVA model is given by, π‘₯𝑖𝑗 = πœ‡ + 𝛼𝑖 + πœ–π‘–π‘— Dependent variable = overall mean + treatment effect + random error 9 One-Way ANOVA
  • 10. 10 Null Hypothesis: 𝐻0: πœ‡1 = πœ‡2 = β‹― = πœ‡π‘˜ (There is no difference in the population means) VS Alternative Hypothesis: 𝐻1: πœ‡π‘– β‰  πœ‡π‘— (At least two population means are different) TSS = SSTr + SSE 𝑇𝑆𝑆 = π‘‡π‘œπ‘‘π‘Žπ‘™ π‘†π‘’π‘š π‘œπ‘“ π‘†π‘žπ‘’π‘Žπ‘Ÿπ‘’π‘  = 𝑖 𝑗 (π‘₯𝑖𝑗 βˆ’ π‘₯. . )2 π‘†π‘†π‘‡π‘Ÿ = π‘†π‘’π‘š π‘œπ‘“ π‘†π‘žπ‘’π‘Žπ‘Ÿπ‘’π‘  𝑑𝑒𝑒 π‘‘π‘œ π‘‡π‘Ÿπ‘’π‘Žπ‘‘π‘šπ‘’π‘›π‘‘π‘  = 𝑖 𝑗 (π‘₯𝑖. βˆ’π‘₯. . ) = 𝑖 𝑛𝑖( π‘₯𝑖. βˆ’π‘₯. . ) 𝑆𝑆𝐸 = π‘†π‘’π‘š π‘œπ‘“ π‘†π‘žπ‘’π‘Žπ‘Ÿπ‘’π‘  𝑑𝑒𝑒 π‘‘π‘œ πΈπ‘Ÿπ‘Ÿπ‘œπ‘Ÿπ‘  = 𝑖 𝑗 (π‘₯𝑖𝑗 βˆ’ π‘₯𝑖. )2
  • 11. Source of Variation Sum of Squared Degree of Freedom Mean Sum of Squares Fcal Ftab Treatment SSTr k-1 π‘€π‘†π‘†π‘‡π‘Ÿ = π‘†π‘†π‘‡π‘Ÿ π‘˜ βˆ’ 1 𝐹 = π‘€π‘†π‘†π‘‡π‘Ÿ 𝑀𝑆𝑆𝐸 𝐹 𝛼(π‘˜ βˆ’ 1, 𝑁 βˆ’ π‘˜) Error SSE N-k 𝑀𝑆𝑆𝐸 = 𝑆𝑆𝐸 𝑁 βˆ’ π‘˜ Total TSS N-1 11
  • 12. A test that allows one to make comparisons between the means of three or more groups of data, where two independent variables are considered. The two-way ANOVA model is given by, π‘₯𝑖𝑗 = πœ‡ + 𝛼𝑖 + 𝛽𝑗 + πœ–π‘–π‘— Dependent variable = overall mean + treatment effect + block effect + random error 12 Two Way ANOVA
  • 13. 13 VS Null Hypothesis: 𝐻01: πœ‡1 = πœ‡2 = β‹― = πœ‡π‘˜ (There is no treatment effect) 𝐻02: πœ‡1 = πœ‡2 = β‹― = πœ‡β„Ž (There is no block effect) Alternative Hypothesis: 𝐻11: πœ‡π‘– β‰  πœ‡π‘— (There is a treatment effect) 𝐻12: πœ‡π‘– β‰  πœ‡π‘— (There is a block effect) If there is an interaction effect between the treatments and blocks, then there is another hypothesis which is given as H03 : 𝛾𝑖𝑗 = 0 (There is no interaction effect) H13 : 𝛾𝑖𝑗 β‰  0 (There is an interaction effect)
  • 14. 14 Source of Variation Sum of Squared Degree of Freedom Mean Sum of Squares Fcal Ftab Treatment SSTr p-1 π‘€π‘†π‘†π‘‡π‘Ÿ = π‘†π‘†π‘‡π‘Ÿ 𝑝 βˆ’ 1 𝐹 = π‘€π‘†π‘†π‘‡π‘Ÿ 𝑀𝑆𝑆𝐸 𝐹 𝛼( 𝑝 βˆ’ 1 , π‘π‘ž(π‘š Blocks SSB q-1 𝑀𝑆𝑆𝐡 = 𝑆𝑆𝐡 π‘ž βˆ’ 1 𝐹 = 𝑀𝑆𝑆𝐡 𝑀𝑆𝑆𝐸 𝐹 𝛼( π‘ž βˆ’ 1 , π‘π‘ž(π‘š Interaction SSTr*B (p-1)(q-1) π‘€π‘†π‘†π‘‡π‘Ÿ βˆ— 𝐡 = π‘†π‘†π‘‡π‘Ÿ βˆ— 𝐡 (𝑝 βˆ’ 1)(π‘ž βˆ’ 1) 𝐹 = π‘€π‘†π‘†π‘‡π‘Ÿ βˆ— 𝐡 𝑀𝑆𝑆𝐸 𝐹 𝛼( 𝑝 βˆ’ 1 (π‘ž Error SSE pq(m-1) 𝑀𝑆𝑆𝐸 = 𝑆𝑆𝐸 π‘š βˆ’ 1 π‘π‘ž Total TSS Mpq-1
  • 15. METHODOLOGY 1. Designing the experiment 2. Exploratory data analysis 3. Checking for normality 4. Homogeneity of variance 5. ANOVA 6. Conclusion 7. Inferences 15
  • 16. DATA This is a diet dataset. The dataset contains information on 78 people who undertook one of three diet types (Keto diet, Intermittent fasting diet and Sattvic diet). There is background information such as age, gender, and height. The aim of the study is to see which diet is best for losing weight. Keto Diet – A Intermittent Diet – B Sattvic Diet – C 16
  • 17. Descriptive Statistics Summary for Diet and Gender 17 n Mean (in kg) SD Skewness Kurtosis Diet A 24 3.3 2.24 0.88 0.65 Diet B 27 3.03 2.52 -0.17 -0.74 Diet C 27 5.15 2.4 -0.34 -0.95 Female 45 3.72 2.59 0.01 -0.92 Male 33 4.02 2.53 0.12 -0.22
  • 18. 18
  • 20. HYPOTHESIS H01 : πœ‡1 = πœ‡2 (There is no effect of gender on weight loss) v/s H11 : πœ‡π‘– β‰  πœ‡π‘— (There is an effect of gender on weight loss) H02 : πœ‡1 = πœ‡2 = πœ‡3 (There is no effect of diet type on weight loss) v/s H12 : πœ‡π‘– β‰  πœ‡π‘— (There is an effect of diet type on weight loss) H03 : 𝛾𝑖𝑗 = 0 (There is no interaction effect between gender and diet) v/s H13 : 𝛾𝑖𝑗 β‰  0 (There is an interaction effect between gender and diet) 20
  • 21. 21
  • 22. TESTING OUR DATA FOR NORMALITY 22 H0: The data is normally distributed Vs H1: The data is not normally distributed H0 is accepted
  • 23. HOMOGENEITY OF VARIANCE 23 H0: All groups have equal variance Vs H1: Variance of all groups is not same H0 is accepted
  • 24. ANOVA TABLE 24 Degrees of Freedom Sum of Squares Mean Sum of Squares F- calculate d value F-table value Diet 2 71.09 35.547 6.5925 3.15 Gender 1 1.04 1.035 0.1920 4.00 Diet*Gend er 2 40.92 20.460 3.7945 3.15 Error 72 388.22 5.392
  • 25. 25 CONCLUSION Diet type Gender Interaction effect H0 is rejected H0 is rejected H0 is accepted
  • 26. 1. Gender does not significantly affect average weight loss. 2. Diet alone does not affect weight. 3. But combination of Gender and Diet has a significant effect on weight loss. 26
  • 27. 27
  • 28. 28 t-value Degrees of Freedom p-value 95% Confidence Interval A-B 0.40798 49 0.6851 (-1.075930, 1.624079) A-C -2.8348 49 0.006644 (-3.1582988, - 0.5379975) B-C -3.1693 52 0.00256 (-3.4658892, - 0.7785553)
  • 29. Based on the Post Hoc test, we can conclude that Sattvic diet has a significant effect.
  • 30. 30 Weight loss (Mean value) t-value Degrees of Freedom p-value 95% Confidence Interval Male female Ketto Diet(A) 3.65 3.05 -0.6385 22 0.5297 (-2.548793, 0.1066417) Intermittent Diet(B) 2.28 4.11 -1.9460 25 0.06298 (-3.7923236, 0.1066417) Sattvic Diet ( C) 4.23 5.88 1.8564 25 0.7522 (-0.1801614, 3.4734948)
  • 31. β–« Dieticians can use the result of this study to analyse which diet is suitable for weight loss for males and females. β–« Further analysis can be done using the factors age-group and diet. 31 FUTURE SCOPE OF THE STUDY