Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, I have R programming questions. I need your help. Thank you. 1. Download and save the h0mew0rk3Datasv dataset and read it into R. This
Hello, I have R programming questions.
I need your help.
Thank you.
1. Download and save the h0mew0rk3Datasv dataset and read it into R. This data set contains 6 numerical variables A, B, C, X, Y, Z. (a) If you use the function histO to plot a histogram followed by the function abline(v:3,col:'red'), this will add a red vertical line at 3: : 3. Using these functions: 0 plot a histogram for each of the variables. 0 add vertical lines for the sample mean and the sample median of those variables. Make the sample mean lines red and the sample median lines blue. 0 add a green density curve to each plot. 0 make sure your histogram has a main title. (b) One of the variables is normally distributed. Determine Which variable it is and justify Why you think it is that variable. (c) For the normally distributed variable you identified in part (b), use the 68 95 99.7 rule to determine the intervals such that approximately 68% of the data, 95% of the data, and 99.7% of the data lie Within those intervals. (d) Use the quantile() function to approximate those same intervals. Are the intervals the same? (e) Use the qnorm() function (with the sample mean and sample standard deviation) to approximate those same intervals. Are these intervals the same as the intervals in either part (c) or part (d)? (f) Suppose you wish to estimate the population mean for the normally distributed variable you identified in part (b). Compute the following: . an estimate of the population mean. . the estimated standard error of the statistic. . the critical value for an 88% confidence interval. . a 88% confidence interval for the population 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