Question

You have been told that the amount of education a person obtains will guarantee them a...

You have been told that the amount of education a person obtains will guarantee them a high paying job. That is, their pay depends on their education. Discuss problems with this statement. Give a specific example of an individual that would be considered an outlier of this data set.

You have been asked to find if there is a correlation between the amount of calories per serving in a bowl of cereal versus the amount of sugar (in grams) in the cereal. The following data has been given for examination.


Sugar.               Calories.                                           18.                     200
23.                     210
12.                     170
12.                     190
37.                     220
19.                     175
23.                     201
22.                     210
32.                     210
11.                     190
11.                     197
29.                     205


a.   Create a scatterplot of the given data. Be sure you explain your decision on which variable is the predictor and which variable is the response.
b.   Using computer software, calculate the correlation coefficient and interpret what this value implies in relation to the data set.
c.   Create a regression equation that models the data and describe the values of the slope and y-intercept with the data set.
d.   Predict if a box of cereal has 25 grams of sugar per serving how many calories it will contain.
e.   Predict if a box of cereal has 230 calories per serving how much sugar (in grams) it will contain.
f.   Discuss any lurking variables could be relevant to analysis of this data set.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

with plot function in R we can get the scatterplot

using R studio


df1 =read.table(header = TRUE, text ="
Sugar Calories   
23 210
12 170
12 190
37 220
19 175
23 201
22 210
32 210
11 190
11 197
29 205
18 200

"
)
df1

plot(Calories ~ Sugar,data=df1,pch=16)

210 Calories 190 170 10 15 20 25 30 35 Sugar

From scatterplot we get

Form:linear

strength:strong

direction:positive

b.   Using computer software, calculate the correlation coefficient and interpret what this value implies in relation to the data set.

use cor fucntion to get the correlation coefficient

cor(df1$Sugar,df1$Calories)

Output:

0.7339425

r=0.7339425

There exists a strong positive relatonship between sugar and calries

as amount of sugar (in grams) in the cereal. increases, amount of calories per serving in a bowl increases

c.   Create a regression equation that models the data and describe the values of the slope and y-intercept with the data set.

Rcode:
linmod <- lm(Calories ~ Sugar,data=df1)
coefficients(linmod)

output:

Intercept) Sugar
172.073400 1.257507

regression equation is

calories= 172.073400 + 1.257507 *sugar

slope=1.257507

y intercept=172.073400

d.   Predict if a box of cereal has 25 grams of sugar per serving how many calories it will contain.

calories= 172.073400 + 1.257507 *sugar

we have sugar=25

calories= 172.073400 + 1.257507 *25

=203.5111

predicted calories=203.5111 for a  cereal that  has 25 grams of sugar

Add a comment
Know the answer?
Add Answer to:
You have been told that the amount of education a person obtains will guarantee them a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 3. You have been asked to find if there is a correlation between the amount of...

    3. You have been asked to find if there is a correlation between the amount of calories per serving in a bowl of cereal versus the amount of sugar (in grams) in the cereal. The following data has been given for examination. Calories Sugar 18 200 23 210 12 170 12 190 37 220 19 175 23 201 22 210 32 210 11 190 11 197 205 29 a. Create a scatterplot of the given data. Be sure you explain...

  • Chapter 13, Section 13.1, Problem 021f The following table gives information on the amount of sugar...

    Chapter 13, Section 13.1, Problem 021f The following table gives information on the amount of sugar (in grams) and the calorie count in one serving of a sample of 13 varieties of Kellogg's cereal. Sugar (grams) 6 15 12 11 8 6 7 2 7 14 20 3 13 Calories 120 200 140 110 130 80 210 100 120 190 190 110 120 The predictive regression equation of the number of calories on the amount of sugar is y ^...

  • A dietician wanted to find out if there was any association between the amount of calories...

    A dietician wanted to find out if there was any association between the amount of calories (Calories; measured in calories) and the total fat (Fat, measured in grams per serving) among chicken sandwiches made from different fast food chains like McDonald’s, Wendy’s etc. A sample of 20 chicken sandwiches was collected and the information was recorded. The data set “S1181 HW2 Q4 Data.xlsx” is available on D2L. Note: Use the variable Fat as the Y-variable and the Calories as the...

  • Question 1 Which of the following choices best describes the scatterplot shown below? Group of answer...

    Question 1 Which of the following choices best describes the scatterplot shown below? Group of answer choices Linear, negative, strong No form, weak Linear, positive, strong Curved, weak Question 2 Which of the following choices is most likely to be the correlation of the data in the scatterplot shown below? Group of answer choices -0.14 1.04 0.86 -0.92 Question 3 Most roller coasters get their speed by dropping down a steep initial incline, so it makes sense that we can...

  • Need answers. thank you VOCABULARY BUILDER Misspelled Words Find the words below that are misspelled; circle...

    Need answers. thank you VOCABULARY BUILDER Misspelled Words Find the words below that are misspelled; circle them, and then correctly spell them in the spaces provided. Then fill in the blanks below with the correct vocabulary terms from the following list. amino acids digestion clectrolytes nutrients antioxident nutrition basal metabolic rate extracellulare oxydation calories fat-soluble presearvatives catalist glycogen processed foods cellulose homeostasis saturated fats major mineral coenzyeme trace minerals diaretics metabolism water-soluable 1. Artificial flavors, colors, and commonly added to...

  • 3. Compare the m o st from home with finansnede with the helm package pretesnacks. Which...

    3. Compare the m o st from home with finansnede with the helm package pretesnacks. Which is and why Note that wing the media half cup s is roughly equivalent to wings of pets pets or gram Nutrition Facts Wheel Rour Water Com Byne Pay Handel Cartons Sad 4. Evaluate your own dict. Write down every item you eat in a day and find the values of the nutrients contained in the foods. A medical dictionary is a good source...

  • Can anyone help me with this nutrition homework? How many Calories did Bobby consume (note that...

    Can anyone help me with this nutrition homework? How many Calories did Bobby consume (note that digestible carbohydrate includes sugar grams)? A. 2030 B. 2550 C. 2887 D. 2982 E. 3525 Based upon Bobby's Calorie intake, Bobby's Dietary Reference Intake (DRI) for fiber is _____ grams. A. 25 B. 38 C. 40.4 D. 42 E. 54.5 Bobby consumed _____ percent of his Calories from sugar, and _____ the AMDR. 4.4, met 10,met 13,met 26, did not meet 32,didnotmeet Bobby consumed...

  • These questions come from this Linear Algebra book (picture attached ). I can not understand how to solve the questions...

    These questions come from this Linear Algebra book (picture attached ). I can not understand how to solve the questions 3; so please help me explain how you can solve it (as much as you can). Please do it carefully. Many thanks to you. Linear Algebra Diet Problems Text Reference: Section 1.10, p. 93 The purpose of this set of exercises is to provide examples of vector equations which result from balancing nutrients in a diet. Section 1.10 shows how...

  • Read the attached article and answer the following questions. 1. What is the role of potassium...

    Read the attached article and answer the following questions. 1. What is the role of potassium in blood pressure? 2. Looking back at last weeks Super Tracker report - do you meet the 4700mg daily target for potassium? 3. Do you meet the 400mg daily target for magnesium? 4. Research shows that hypertension and type 2 diabetes can be prevented by dietary choices. List 3 ways that employers, government, doctors, etc. (you can use another group ) can either motivate...

  • Budgeting for an Academic Department at a State University: Can You Believe the Numbers? INTRODUCTION You...

    Budgeting for an Academic Department at a State University: Can You Believe the Numbers? INTRODUCTION You are the senior accounting faculty member in the business school and your dean, Dean Weller, is asking for help. She is very discouraged after a midyear budget meeting with the Vice President of Finance. The college's Department of Social Work has a large budget deficit, and because of this the VP is inclined towards closing the department entirely or closing its bachelor's program. The...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT