Professional Documents
Culture Documents
Relationship Between Nutrients and Calories
Relationship Between Nutrients and Calories
• Only one
independent
variable, x
• Relationship between
x and y is
described by a linear
function
• Changes in y are
assumed to be
caused by changes in The sample regression line provides an
x estimate of the population regression line
2
COEFFICIENT OF DETERMINATION, R
R r2 2
where:
R2 = Coefficient of determination
r = Simple correlation coefficient
COEFFICIENT OF CORRELATION
The correlation coefficient is a measure that determines the
degree to which two variables' movements are associated. The
range of values for the correlation coefficient is -1.0 to 1.0. If a
calculated correlation is greater than 1.0 or less than -1.0, a
mistake has been made. A correlation of -1.0 indicates a
perfect negative correlation, while a correlation of 1.0 indicates
a perfect positive correlation.
TYPES OF MODELS
IDENTIFYING THE RELATIONSHIP
BETWEEN NUTRIENT CONTENT IN FOODS
T
We believe that the main nutritional factors, such
as total fat, carbohydrates and protein will be
directly proportional to the caloric content of the
food which we will try to identify here. (measured
in square feet)
A random sample of 10 houses is selected
– Dependent variable (y) = Calories(Kcal)
– Independent variable (x) = Fats(g),Carbs(g),Proteins(g)
DATA
SCATTER PLOT FAST FOODS
Fast Food, Fast Food Calories vs Carbs
Calories
T vs Fat
Calories(Kcal)
300 300
y = 0.604 x + 147.931
R² = 0.007
y = 10.827 x + 96.446
250 R² = 0.753 250
Calories(Kcal)
200 200
150 150
100 100
50 50
0 5 10 15 5 10 15 20 25 30 35
Fat(g) Carbs(g)
SCATTER PLOT FAST FOODS
T
Fast Foods Calories vs Protiens
200
150
100
50
0 5 10 15 20
Prot(g)
SCATTER PLOT OTHER FOODS
1600
1600
y = 5.544 x + 212.218 1400
1400 R² = 0.036
1200
1200
Calories(kCal)
1000
Calories(kCal)
1000
800
800
600
600
400 400
y = 3.889 x + 93.260
200 R² = 0.842
200
0 0
0 10 20 30 40 0 100 200 300 400
Fat (g) Carbs(g)
SCATTER PLOT OTHER FOODS
1600
1400
1200
Calories(kCal)
1000
800
600
0
0 10 20 30 40
Protein (g)
ANALYSIS FOR FAST FOODS
Calories vs. Total Calories vs. Calories vs.
Fat(g) Carbs(g) Protein(g)
Correlation 0.868 0.085 -0.205
• http://www.excelmadeeasy.com
• https://www.fatsecret.com
• http://www.livestrong.com
• http://www.Wikipedia.com