Question: Using R, Create 25 random numbers that are normally distributed with mean 40 and s.d. 5. Find a 1-sample t-test CI at the 95% and
Using R, Create 25 random numbers that are normally distributed with mean 40 and s.d. 5. Find a 1-sample t-test CI at the 95% and 99% confidence level by using the following ci function template. Can you simulate the outputs?
ci
{
##your code goes here
}
Sample outputs:
Lab07 1. Create 25 random numbers that are normally distributed with mean 40 and s.d. 5. Find a 1-sample t-test C1 at the 95% and 90% confidence level by using the following ci function template. Can you simulate the outputs? ci (c(n, sample.mean, 99CILower 99cIUpper 36.32143 42.01669 7.06775 41.2 sample.sd, 0.99))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
