Generate 20 samples of size n = 30 from your population. To do this: i.
Generating a sample of just size n = 30. Calculate the sample mean, X¯, for this sample. Record this value somewhere in your spreadsheet (you will need it later).
ii. Repeat the previous step 19 more times, so that you end up with a spreadsheet with 20 columns, each column has 30 randomly generated values from your population, and you have calculated a sample mean for each of your 20 samples of n = 30 observations.
(i) Create a histogram of the 20 sample means you have calculated, making sure your histogram has appropriate axis labels and a title. Include this histogram in your report, along with a commentary on what this distribution represents. Does the shape of this distribution agree with your prediction in part
(g)?. NOTE: You may need to adjust the number of bars/bins in your histogram to get a better representation of the shape of the data set.
(j) Calculate the mean and standard deviation of the 20 sample means you have calculated. Include these values in your report. How closely do these values match what you predicted in part (g)? (k) Provide a short (i.e. 2 - 3 sentence) summary of what exactly it is you just demonstrated in this question.
a)Generating a sample of just size n = 30. Calculate the sample mean
We do this procedure in R
sample20<-data.frame(replicate(20,rnorm(30,mean=50,sd=6)))
Here we are generating first a sample of size 30 with mean = 50 and standard deviation = 6.
Then using the replicate function we are replicating the same 20 times.
Here is a view of the data:
b)Repeat the previous step 19 more times, so that you end up with a spreadsheet with 20 columns, each column has 30 randomly generated values from your population, and you have calculated a sample mean for each of your 20 samples of n = 30 observations.
The sample means for each of 20 samples of n = 30 observations is calculated by the function
colMeans(sample20) # sample20 is the name of the data as we have 20 samples.
(c)
Create a histogram of the 20 sample means you have calculated, making sure your histogram has appropriate axis labels and a title. Include this histogram in your report, along with a commentary on what this distribution represents. Does the shape of this distribution agree with your prediction in part
hist(colMeans(sample20))
d)
Calculate the mean and standard deviation of the 20 sample means you have calculated. Include these values in your report. How closely do these values match what you predicted in part (g)?
> mean(colMeans(sample20))
[1] 49.90496
> sd(colMeans(sample20))
[1] 1.300241
(k) Provide a short (i.e. 2 - 3 sentence) summary of what exactly it is you just demonstrated in this question.
We simply created a sample of size 30 randomly distributed with mean 50 and sd 6. Then we replicated this thing 20 times.
We got a dataset of size 20=30= 600 data points.
Then we calculated the means of each of the 20 columns and created a histogram of them. They were around 50 the actual mean.
Then we calculated the mean of means of these 20 columns which was very close to the actual mean. and standard deviation of the means which was close to the predicted value of
Generate 20 samples of size n = 30 from your population. To do this: i. Generating...
If selecting samples of size n≤30 from a population with a known mean and standard deviation, what requirement, if any, must be satisfied in order to assume that the distribution of the sample means is a normal distribution? A) The population must have a normal distribution. B) The population must have a mean of 1. C) The population must have a standard deviation of 1. D) None; the distribution of sample means will be approximately normal.
, Samples In 30) drawn from a uniform distribution la Minitab was used to generate the samples. es 300, b 500) Variables 15 Observations Variable TypeFormValues Missing Sample 1 Quantitative Sample 2 Quantitative Numeric Sample 3 Quantitative Numeric Sample 4 Quantitative Sample 5 ive Sample 6 Quantitative Sample 7 Quantitative Observations Sample 8 Quantitative Numeric Sample 9 Quantitative Sample 10 Quantitative Sample 11 Quantitative Sample 12 Quantitative Sample 13 Quantitative Sample 14 Quantitative Sample 15 Quantitative Numeric Numeric Variable Numeric...
A. Suppose you take a sample of size n from a population and calculate a statistic from that sample. The statistic could be a sample proportion p, a sample mean x, or another statistic. Then suppose we repeat this process over and over again until we find all possible samples of size n from the population (this is a theoretical idea) and we calculate the same statistic from 1. each sample. The collection of all of the statistics calculated is...
Histograms Samples of size 2 200 Samples of size 5 28 Sample Mean Waist Size 48 30 Sample Mean Waist Size 42 Samples of sizeSamples of size Q 20 200 200 32 Sample Mean Waist Size 32 Sample Mean Waist Size This Question: 1 pt 7 of 8 (0 complete) This Quiz: 8 pts pos A study measured the waist size of 989 men, finding a mean of 36.22 inches and a standard deviation of 4.03 inches. A histogram of...
List all possible samples of size n=3, with replacement, from the population (1,3,5). Calculate the mean of each sample. Construct a probability distribution of the sample means and compute the mean, variance, and standard deviation of the sample means and compare to the mean, variance, and standard deviation of the population.
Sample variability 74 Using the phone numbers listed in your directory as your population, obtain randomly 20 samples of size 3. From each phone number identified as a source, take the fourth, fifth, and sixth digits. (For example, for 245-8268, you would take the 8, the 2, and the 6 as your sample of size 3.) a. Calculate the mean of the 20 samples. b. Draw a histogram showing the 20 sample means. (Use classes-0.5 to 0.5, 0.5 to 1.5,...
Page 1 Question 1 Suppose we take repeated random samples of size 20 from a population with a Select all that apply. mean of 60 and a standard deviation of 8. Which of the following statements is 10 points true about the sampling distribution of the sample mean (x)? Check all that apply. A. The distribution is normal regardless of the shape of the population distribution, because the sample size is large enough. B. The distribution will be normal as...
1. Explain the relationship between sample size and standard error. 2. You have a normal population with a u = 50 and o = 9. You obtain all possible random samples, each with n = 30, from this population and calculate each sample's mean. What will the average value of all the sample means be? a) 50 b) 5.56 c) 30.49 d) Cannot tell without more information 3. You are sampling from a distribution of scores that is positively skewed....
Random samples of size n = 2 are drawn from a finite population that consists of the numbers 2, 4, 6, and 8. (a) Calculate the mean and the standard deviation of this population. (b) List the six possible random samples of size n = 2 that can be drawn from this population and calculate their means. (c) Use the results of part (b) to construct the sampling distribution of the mean for random samples of size n = 2...
A certain population has a mean of 521 and a standard deviation of 33. Many samples of size 52 are randomly selected and the means calculated. (a) What value would you expect to find for the mean of all these sample means? (Give your answer correct to nearest whole number.) (b) What value would you expect to find for the standard deviation of all these sample means? (Give your answer correct to two decimal places.) (c) What shape would you...