Module 6
Compare the Mean and Standard deviation of your sample to the entire population of this set (8,14, 16, 10, 11).
x<-c (8, 14, 16, 10, 11)
Standard deviation (x) = 3.193744
The mean of the Sample is like the Mean of the entire population, the Sample is taken from the whole population. But because the ‘n’ the value of the Standard deviation varies. The sample standard deviation is 1.8439 and, Entire population standard deviation is 3.1937
Does the sample proportion p have approximately a normal distribution? Explain.
Yes, the Sample Proportion p is approximately a normal distribution.
np= 100* 0.95 = 95
It is > = 10
What is the smallest value of n for which the sampling distribution of p is approximately normal?
np<= 10
10 is the smallest value of n for which the sampling distribution of p is about normal.
Simulated coin tossing is probably better done using a function called rbinom than using a function called sample. Explain.
looking at a fair coin here, the probability of heads is the same for each trial here given as: 0.5
For a sample of 10 values, if we want to know the number of heads, we use the rbinom function to get the number of heads here:
sample = rbinom(100,10,0.5)
print(sample)

Comments
Post a Comment