Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please complete this problem in RStudio and submit a knitted PDF document created from an R Markdown source. 1 ECDFs Generate 1 0 0 observations
Please complete this problem in RStudio and submit a knitted PDF document created from an R Markdown
source.
ECDFs
Generate observations from a distribution using the rnorm function. Repeat this process
times, and generate the y values of an ECDF for each, saving the results as a data.frame or matrix object so
each ECDF vector is a column or row in the storage object
Compute the ECDFs at a resolution of over the range xin; that is for
xincdots,
Once the ECDFs are computed, find the pointwise mean and standard deviation across the ECDFs by
value, ie work across the columns if the ECDFs are stored by row or rows if the ECDFs are stored by
column of the storage object.
Conclude by making a plot. On a single set of axes one plot! display randomly you should include the
code to randomly select the ten! selected ECDFs from the set of Display them using a light colour eg
grey then put the mean ECDF above hat overtop in black, along with two additional lines at hat in
red. Label this plot neatly.
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