e. Using 50 random numbers given below, compute the mean and standard deviation.
ID: 3368664 • Letter: E
Question
e. Using 50 random numbers given below, compute the mean and standard deviation. 0.924527 0.291694 0.949087 0.235243 0.491214 0.971717 0.911938 0.709438 0.784626 0.834357 0.308613 0.139508 0.921094 0.769815 0.008079 0.316744 0.636747 0.666959 0.897957 0.755709 0.498843 0.702352 0.956940 0.699935 0.951105 0.194260 0.982627 0.413472 0.174505 0.967928 0.089648 0.460031 0.051266 0.222969 0.405808 0.848295 0.457351 0.300964 0.380064 0.331327 0.413537 0.446078 0.604987 0.932309 0.571094 0.697508 0.809287 0.950670 0.870501 0.743559 Mean (to 6 decimals) Standard deviation (to 6 decimals)Explanation / Answer
Using R we can have,
CODE:
x <- c(0.924527,0.291694,0.949087,0.235243,0.491214,0.971717,0.911938,0.709438,0.784626,0.834357,0.308613,0.139508,0.921094,0.769815,0.008079,0.316744,0.636747,0.666959,0.897957,0.755709,0.498843,0.702352,0.956940,0.699935,0.951105,0.194260,0.982627,0.413472,0.174505,0.967928,0.089648,0.460031,0.051266,0.222969,0.405808,0.848295,0.457351,0.300964,0.380064,0.331327,0.413537,0.446078,0.604987,0.932309,0.571094,0.697508,0.809287,0.950670,0.870501,0.743559)
mean(x)
sd(x)
OUTPUT:
> x <- c(0.924527,0.291694,0.949087,0.235243,0.491214,0.971717,0.911938,0.709438,0.784626,0.834357,0.308613,0.139508,0.921094,0.769815,0.008079,0.316744,0.636747,0.666959,0.897957,0.755709,0.498843,0.702352,0.956940,0.699935,0.951105,0.194260,0.982627,0.413472,0.174505,0.967928,0.089648,0.460031,0.051266,0.222969,0.405808,0.848295,0.457351,0.300964,0.380064,0.331327,0.413537,0.446078,0.604987,0.932309,0.571094,0.697508,0.809287,0.950670,0.870501,0.743559)
> mean(x)
[1] 0.5930857
> sd(x)
[1] 0.2933262
So, the mean is 0.593086 and sd is 0.293326 [rounding to 6 decimal places].
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.