Question

In: Statistics and Probability

Suppose the height of individuals in a population follow a normal distribution with a mean (μ)...

Suppose the height of individuals in a population follow a normal distribution with a mean (μ) of 66 inches and a standard deviation (σ) of 4 inches.

a) Using the statistical software R, sample n individuals from the distribution described above. For N=10,000 iterations, compute the average height for n=5, n=15, n=50, n=100 individuals and plot a histogram of the sampling distribution of the Z score (?̅−??/√? )

b) Using the statistical software R, sample n individuals from the distribution described above. For N=10,000 iterations, compute the average height for n=5, n=15, n=50, n=100 individuals and plot a histogram of the sampling distribution of the statistic (?̅−??/√? )

c) Compare the mean and variance of the sampling distributions above for n=5, n=15, n=50, n=100. What do you notice about these distributions?

Solutions

Expert Solution

solution:

Given data:

The R code is as follows:

set.seed(123)
N=10000
mu=66;sigma=4
n=5
X=0;Z=0;T=0
for(i in 1:N)
{
X[i]=rnorm(5,mu,sigma)
}
X_bar=mean(X);X_bar
S=sqrt(var(X));S

for(i in 1:N)
{
Z[i]=sqrt(n)*(X[i]-mu)/sigma
T[i]=sqrt(n)*(X[i]-mu)/S
}

hist(Z)
hist(T)
mean(Z);mean(T)
var(Z);var(T)

##########################

You can yourself see the histograms of Z and T which will be of standard normal distribution and student's t distribution (with n-1 d.f.) respectively.

You can see the following output until you keep the seed at 123 as in set.seed(123)

> mean(Z);mean(T)
[1] 0.002969464
[1] 0.002947943
> var(Z);var(T)
[1] 5.073267
[1] 5

For n=15, the outputs will be:

> mean(Z);mean(T)
[1] 0.005143262
[1] 0.005105988
> var(Z);var(T)
[1] 15.2198
[1] 15

For n=50, the output will be:

> mean(Z);mean(T)
[1] 0.009390268
[1] 0.009322215
> var(Z);var(T)
[1] 50.73267
[1] 50

For n=100, the output will be:

> mean(Z);mean(T)
[1] 0.01327984
[1] 0.0131836
> var(Z);var(T)
[1] 101.4653
[1] 100

From the above results it can be seen that the mean of the sampling distributions of Z as well as T are nearly zero though that slightly increases as n increases. Also the variance of the sampling distribution of Z is almost same as the value of n and that of T is exactly same as the value of n.

please give me thumb up


Related Solutions

Let the random variable X follow a normal distribution with a mean of μ and a...
Let the random variable X follow a normal distribution with a mean of μ and a standard deviation of σ. Let 1 be the mean of a sample of 36 observations randomly chosen from this population, and 2 be the mean of a sample of 25 observations randomly chosen from the same population. a) How are 1 and 2 distributed? Write down the form of the density function and the corresponding parameters. b) Evaluate the statement: ?(?−0.2?< ?̅1 < ?+0.2?)<?(?−0.2?<...
Assume that lengths of newborn babies follow a normal distribution with mean μ. The lengths (in...
Assume that lengths of newborn babies follow a normal distribution with mean μ. The lengths (in centimeters) of seven randomly selected newborn babies are :45、46、59、53、46、51、54 (give answer to TWO places past decimal) 1. Construct a 99% confidence interval for μ: Lower Bound?, Upper Bound: ? 2. Perform a hypothesis test to see if the population mean length is more than 50 centimeters (HA : μ > 50) at the significant level α = 0.05: Compute the test statistic:_____ Indicate the...
the height in children aged 10-15 is assumed to follow a normal distribution with a mean...
the height in children aged 10-15 is assumed to follow a normal distribution with a mean of 165 with a standard deviation of 15. c)what proportion of children 10-15 years of age have height less than 145? d)what proportion of children 10-15 years of age have height between 125 and 210? e)how tall does a child 10-15 years of age have to be shorter than 95% of children? f)how tall does a child 10-15 years of age have to be...
The heights of a female population follow a normal distribution with a mean of 48 inches...
The heights of a female population follow a normal distribution with a mean of 48 inches and a standard deviation of 6 inches. If a random sample of 16 subjects were taken, what is the probability that the average height of the sample is higher than 50 inches?
Suppose height and weight of people in a certain population are jointly normal with the mean...
Suppose height and weight of people in a certain population are jointly normal with the mean height of 180cm and mean weigh of 80kg. The corresponding standard deviations are 5cm and 6kg, respectively, and the correlation is equal to 0.6. a) What is the percentage of people whose weight exceeds 95kg among those 185cm tall? b) What is the percentage of people whose weight exceeds 95kg among those whose height is 175cm?
The IQ scores of MBA students follow a normal distribution with a population mean of 120...
The IQ scores of MBA students follow a normal distribution with a population mean of 120 points and a population standard deviation of 12. A random sample of 36 MBA students is chosen. 1. What is the probability that a randomly chosen sample of 36 MBA students has an average IQ less than 115? 2. What is the 91st percentile of sample average IQ’s of size 36 taken from the population of MBA students? 3. Calculate the bounds that determine...
Suppose that male adult weights follow a normal distribution with a mean of 182.9lb and a...
Suppose that male adult weights follow a normal distribution with a mean of 182.9lb and a standard deviation of 40.8lb. 1.Find the probability that 1 randomly selected male has a weight greater than 156.25 lb. 2.Find the probability that a sample of 16 males have a mean weight greater than 156.25 lb.
A population of values has a normal distribution with μ = 118.4 μ = 118.4 and...
A population of values has a normal distribution with μ = 118.4 μ = 118.4 and σ = 87.7 σ = 87.7 . You intend to draw a random sample of size n = 24 n = 24 . Find the probability that a single randomly selected value is less than 62.9. P(X < 62.9) = ______ Find the probability that a sample of size n = 24 n = 24 is randomly selected with a mean less than 62.9....
A population of values has a normal distribution with μ = 110.6 μ = 110.6 and...
A population of values has a normal distribution with μ = 110.6 μ = 110.6 and σ = 74 σ = 74 . You intend to draw a random sample of size n = 157 n = 157 . Find P68, which is the score separating the bottom 68% scores from the top 32% scores. P68 (for single values) = Find P68, which is the mean separating the bottom 68% means from the top 32% means. P68 (for sample means)...
A population of values has a normal distribution with μ = 96.2 μ = 96.2 and...
A population of values has a normal distribution with μ = 96.2 μ = 96.2 and σ = 15 σ = 15 . You intend to draw a random sample of size n = 92 n = 92 . Find the probability that a single randomly selected value is between 94 and 96.5. P(94 < X < 96.5) = Find the probability that a sample of size n = 92 n = 92 is randomly selected with a mean between...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT