Question: Note: Solve all questions using R, unless it is specified that they must be completed by hand. Where it is necessary to show R code
Note: Solve all questions using R, unless it is specified that they must be completed by hand. Where it is necessary to show R code and output, please copy and paste from the Console window.
A. Take a sample of size N = 35 (without replacement) from the population, and call it samp.
> rnorm(n = 35, mean = 0, sd = 1)
[1] 1.80411770 0.82797045 -0.28247255 -1.10815772 -1.80347854 -1.46073296 0.31794422
[8] -0.06708741 1.66189226 0.50106714 0.71546478 0.02023556 -0.15916119 -0.60838817
[15] -0.85883699 0.38276339 -0.52226470 -0.75452736 0.64288097 0.27479959 0.71435337
[22] -0.74847740 -0.14392209 2.57351920 0.55983199 -0.87531322 1.96355238 1.02853589
[29] 0.88583430 0.10677369 -1.17147069 0.20932370 0.17776350 -2.53508719 -1.16332368
B. Pretend to give your sample an intervention. More specifically, add a normally distributed variable with = 4 and = 4 (call it inter) to your sample (samp). Call this new variable inter_samp.
C. Use null hypothesis testing (all steps, = .01) to determine if your intervention had any effect on the scores. Be sure to interpret (even if it is purely subjective) the magnitude of the effect size and the confidence interval width. Include a general summary of the results.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
