MATH 1281 Written Assignment Unit 6 Edited
MATH 1281 Written Assignment Unit 6 Edited
It is natural to think there will be a relationship between the number of calories and the amount
of carbohydrates (in grams). In this journal, we will conduct a study using the nutrition data for
several Starbucks food items. Click here for the dataset (spreadsheet) or Dataset (pdf)
Import the data to JASP, run the command and take a screenshot of your output. Based on that,
Question
1. What is the correlation coefficient (Pearson’s r) between the variable's calories and carb?
Answer
Based on the dataset, the correlation coefficient (Pearson’s r) between calories and carb is
approximately 0.675.
2. Interpret the strength of the relationship between the calories and the amount of carbohydrates
Answer
There is a moderate positive relationship between the number of calories and the amount of
Answer
4. In a food label at Starbucks, the number of calories is indicated but the amount of
carbohydrates (in grams) is missing. Write the equation of the regression line for prediction of
the amount of carbohydrates (the response or dependent variables) given the number of calories
Answer
Answer
The ANOVA table shows that the model is statistically significant (p<.001), meaning there is a
The coefficients table confirms the intercept (b0=8.944) and slope (b1 =0.106) for the regression
equation. The intercept (b0) in both equations is 8.944.The slope (b) in both equations is 0.106.
6. Calculate R² of the regression line for predicting the amount of carbohydrates from the
Answer
Interpret R²
This means that while calories are a significant predictor of carbohydrates, other factors (not