Question

In: Statistics and Probability

Draw 1000 samples of size 10, 25, 40 from exponential distribution with mean 10 and threshold...

Draw 1000 samples of size 10, 25, 40 from exponential distribution with mean 10 and threshold 0 and calculate mean for each sample. Now produce histogram for sample mean.

a. What do you notice in the shape of the distribution of sample mean as sample size increases? Also, what changes in the standard error of the sample mean?

b. As the sample size increases , the sample mean goes to what number?

Solutions

Expert Solution

The user-defined function 'simulation' draws 1000 samples of specified size n from the given distribution

Explanation:

1) Drawn sample

The commands s1[[1]] gives the matrix of order n*1000, where n is the sample size, n= 10, 25, 40

Its first column has first sample of size n, second column has second the second sample of size n, so on till column number 1000.

2) Mean of the samples

The command head(s1[[2]]), head(s2[[2]]) and head(s3[[2]]) give the first 6 sample means out of the n sample means, n= 10, 25, 40.

3) The histograms are as follows:

(a) As the sample size increases, the shape of the distribution of the Sample Mean becomes more and more symmetric.

In the code, th evariables std_error1, std_error2 and std_error3 give the standard error of the distribution of the sample means. These are more or less similar. Thus the standard error doesn't change much. This was also tried for sample of size 100 and it turned out to be 0.3007.

(b) As the sample size increases, the sample mean tends to 10, which is also the population mean.

This indicates that sample mean is an unbiased estimator of the population mean.

​​​​​​​Hope hthis helps. Please leave back any comment.

  


Related Solutions

Generate 100 samples of size n=8 from an exponential distribution with mean 3 . Each row...
Generate 100 samples of size n=8 from an exponential distribution with mean 3 . Each row of your data will denote an observed random sample of size 8, from an exponential distribution with mean 3. Obtain sample mean for each sample, store in another column and make a histogram for sample means. Repeat for n=100. Compare and interpret the histograms you obtained for n=8 and n=100. Submit the histograms along with your one small paragraph comparison. Can you solve it...
Use R and perform following: Generate 1000 observations from an exponential distribution with mean 10. Generate...
Use R and perform following: Generate 1000 observations from an exponential distribution with mean 10. Generate 1000 observations from a central t-distribution with 8 degree of freedom. Make a qqplot of observations in problem 1 versus quantiles generated from a t-distribution with 8 degree of freedom. Can the t distribution be used to approximate data in part 1?Submit the plot. Repeat above part but submit a qqplot of the observations in 1 versus quantiles from an exponential with mean 1....
A random sample of size 30 from an exponential distribution with mean 5 is simulated. Show...
A random sample of size 30 from an exponential distribution with mean 5 is simulated. Show the R-code to plot the empirical cdf for this sample along with the true cdf in the sample graph.
A random sample of size 30 from an exponential distribution with mean 5 is simulated. Describe...
A random sample of size 30 from an exponential distribution with mean 5 is simulated. Describe the process of plotting the empirical cdf for this sample along with the true cdf in the sample graph.
Suppose samples of size 100 are drawn randomly from a population of size 1000 and the...
Suppose samples of size 100 are drawn randomly from a population of size 1000 and the population has a mean of 20 and a standard deviation of 5. What is the probability of observing a sample mean equal to or greater than 21?
a. Generate samples of size 25, 50, 100 from a normal distribution. Construct probability plots. Do...
a. Generate samples of size 25, 50, 100 from a normal distribution. Construct probability plots. Do this several times to get an idea of how probability plots behave when the underlying distribution is really normal. b. Repeat part (a) for a chi-square distribution with 10 df I am required to use the R statistical program and I do not understand how to use it to solve this problem. If you could please show me the R Stats needed to solve...
A ______________ is the distribution of sample statistics computed for samples of the same size from...
A ______________ is the distribution of sample statistics computed for samples of the same size from the same population. Sampling Distribution Skewed Distribution Population Distribution Null Distribution t-Distribution Researchers are testing a new mosquito repellent and comparing it to a brand that’s already on the market.  These researchers collect data on 100 people who used the new repellent and 100 people who used the other brand.  They find that 32 out of 100 people using the new repellent were unaffected by mosquitos,...
From 25 samples, each with size 10, you estimated that the hospital’s EHR downtime average time...
From 25 samples, each with size 10, you estimated that the hospital’s EHR downtime average time was 30 minutes with the standard deviation of 2 minutes. Your process is assumed stable and normally distributed. (a) What is the potential capability of the system to meet the specifications of ??? = 10 minutes and ? ?? = 45 minutes? (b) What is the actual capability of the system to meet the specifications of ??? = 10 minutes and ? ?? =...
1. (a) Simulate a random sample of size 100 from the exponential distribution with the rate...
1. (a) Simulate a random sample of size 100 from the exponential distribution with the rate parameter λ = 10. Then make a histogram of the simulated data. (b) We use the simulated data as a data set to construct the log-likelihood function as an R function. We will find the MEL of the value λ = 10. Choose the appropriate range for the parameter λ, then make a plot of the log-likelihood function. (c) Use R function ‘optim‘ to...
A study took random samples from ocean beaches. A total of 40 samples of size 250...
A study took random samples from ocean beaches. A total of 40 samples of size 250 mL were taken, and the mean number of plastic microparticles of sediment was 18.3 with a standard deviation of 8.2. Test for evidence that the mean number of microparticles is different from acceptable levels 15. What are the null and alternative hypotheses for this test?       Calculate the hypothesis test standard error. Calculate the t test statistic. Show all work. Draw/label/shade a curve. Be sure...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT