Answered step by step
Verified Expert Solution
Question
1 Approved Answer
R-lab on Intro to Data Basics. Need to see Rcode, outputs, plots and any a numerical and textual answers. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Make a scatterplot of weight
R-lab on Intro to Data Basics.
Need to see Rcode, outputs, plots and any a numerical and textual answers.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- Make a scatterplot of weight versus desired weight. Describe the relationship between these two variables.
- Let's consider a new variable: the difference between desired weight (wtdesire) and current weight (weight). Create this new variable by subtracting the two columns in the data frame and assigning them to a new object calledwdiff.
- What type of data iswdiff? If an observationwdiffis 0, what does this mean about the person's weight and desired weight. What ifwdiffis positive or negative?
- Describe the distribution ofwdiffin terms of its center, shape, and spread, including any plots you use. What does this tell us about how people feel about their current weight?
- Using numerical summaries and a side-by-side box plot, determine if men tend to view their weight differently than women.
- Now it's time to get creative. Find the mean and standard deviation ofweightand determine what proportion of the weights are within one standard deviation of the mean.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started