Question: From R studio How to Make a scatterplot of weight versus desired weight. Describe the relationship between these two variables. plot( cdc$weight , cdc$wtdesire) #.
From R studio
How to Make a scatterplot of weight versus desired weight. Describe the relationship between these two variables.
plot( cdc$weight , cdc$wtdesire)
#. Let's consider a new variable: the difference between desired weight (wtdesire) and current weight (weight).
# if a new variable by subtracting the two columns in the data frame and assigning them to a new object called wdiff.
wdiff = cdc$wtdesire - cdc$weight
#. What type of data is wdiff? If an observation wdiff is 0, what does this mean about the person's weight and desired weight.
#What if wdiff is positive or negative?
#. Describe the distribution of wdiff in 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?
#. Usingdmumerical 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 of weight and 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
Get step-by-step solutions from verified subject matter experts
