Question: ALL in R studio Q 1 . 1 . Display the contents of the dataframe. # Do not display the dataframe, just its contents. #Q

ALL in R studio
Q1.1. Display the contents of the dataframe.
# Do not display the dataframe, just its contents.
#Q2.2. How many cases were sampled in the dataframe?
#Q3.3. How many variables are in the dataframe?
#Q4.4. Display the top and bottom six rows of the dataframe.
#Q5.(5.(Respond with code and short written response))
#a.. Which variables are quantitative?
#b.. Which variables are categorical?
#Q6.6. Create a frequency table per the state and employment sectors variables.
#a.. State
#b.. Employment Sector
#Q7.7. Create a new variable with categories of the household variable as a factor, and assign levels and labels to its values.
# Decide on the levels and labels according to what you believe to be interpretable and meaningful for analysis.
# ((There'" id="MathJax-Element-14-Frame" role="presentation" style="font-size: 121%; position: relative;" tabindex="0">''s no right or wrong answer, just provide your rationale))
#Q8.8. Filter observations that have missing data on the age variable in a new dataframe.
#Q9.9. How many observations were dropped, based on missing values in the age variable?
#Q10.10. Create a histogram of the age variable of the filter__dat dataframe.
#Q11.11. Draw a random sample of 1010 observations from your filter__dat dataframe in a new dataframe.
#Q12.12. Create a histogram of the age variable from the random sample.
#Q13.13. What do you notice is different between the random sample and dataset histograms? ((Respond with code and short written response))
#Q14.14. Create a new variable of the income variable, called income33 with 33 levels, and assign levels and labels to its values.
#Q15.15. Use the aggregate()() function to compute the mean and standard deviation of three quantitative variables, by one categorical variable

Step by Step Solution

3.43 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Q1 Display the contents of the dataframe Use the h... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!