Question

In: Statistics and Probability

Using your software of choice, I want you to experiment with the CLT using uniform random...

Using your software of choice, I want you to experiment with the CLT using uniform random variables and various sample sizes. Generate n= 5 observations from the U(0,1) distribution and calculate the sample mean. Repeat this 500 times and construct a histogram of your 500 sample means. Repeat this for n= 20 and n= 50. Comment on the the normality of the three histograms (symmetry, is it bell shaped, etc.).

Solutions

Expert Solution

I have used R programming.Run the below programme.

# a histogram of 500 sample means

sample_means1<- 0
n1=500
for(i in 1:n1) {
    sample_means1[i] <- mean(runif(5,0,1))
    print(sample_means1[i])
}
hist(sample_means1,col="green",main="a histogram of 500 sample means")


# a histogram of 20 sample means

sample_means2<- 0
n2=20
for(i in 1:n2) {
    sample_means2[i] <- mean(runif(5,0,1))
    print(sample_means2[i])
}
hist(sample_means2,col="red",main="a histogram of 20 sample means")


## a histogram of 50 sample means


sample_means3<- 0
n3=50
for(i in 1:n3) {
    sample_means3[i] <- mean(runif(5,0,1))
    print(sample_means3[i])
}
hist(sample_means3,,col="blue",main="a histogram of 50 sample means")


par(mfrow=c(3,1))
hist(sample_means1,col="green",main="a histogram of 500 sample means")
hist(sample_means2,col="red",main="a histogram of 20 sample means")
hist(sample_means3,,col="blue",main="a histogram of 50 sample means")

Comment:- When we draw a histogram of 500 samples means we get a bell-shaped picture and this is present a normal distribution.

When we draw a histogram of 50 samples means we also get a bell-shaped picture and this presents a normal distribution.But in the case of 20 samples we can not get a bell-shaped picture.


Related Solutions

I want this to be solved using R studio or R software, please. Here is the...
I want this to be solved using R studio or R software, please. Here is the example: The data in stat4_prob5 present the performance of a chemical process as a function of sever controllable process variables. (a) Fit a multiple regression modelrelating CO2product (y) to total solvent (x1) and hydrogen consumption (x2) and report the fitted regression line. (b) Find a point estimatefor the variance term σ2. (c) Construct the ANOVA tableand test for the significance of the regression using...
Perform simulations in Minitab to illustrate the CLT, using the following parent populations: 1. Population: X~Uniform[0,...
Perform simulations in Minitab to illustrate the CLT, using the following parent populations: 1. Population: X~Uniform[0, 100] a. n = 5 b. n = 15 c. n = 25 2. Population: X~Exponential[λ=50] a. n = 5 b. n = 50 c. n = 250 3. Population: X~Normal(50, 25) a. n = 1 b. n = 5 c. n = 15 For each sample size n (columns), create enough samples (rows) so that the histogram is fairly smooth (e.g., create at...
Design your own experiment to demonstrate the probability of states using objects of your choice. Use...
Design your own experiment to demonstrate the probability of states using objects of your choice. Use Probability of States as a guide for experimental design.
Using your choice of BPMN modelling software, model the following process for a call center. Use...
Using your choice of BPMN modelling software, model the following process for a call center. Use pools and lanes where needed. Make sure to include business objects and annotations where appropriate. Hint: Customer should be a black box (see Dumas et al. (2018) p. 101) Company XYZ sells high-end customized furniture through its call center. They have organized the sales department based on the location of the customer – Eastern or Western Canada. All the incoming calls are answered by...
CREATE A BUSINESS PLAN OF YOUR CHOICE. ( FOR A NEW BUSINESS THAT YOU WANT TO...
CREATE A BUSINESS PLAN OF YOUR CHOICE. ( FOR A NEW BUSINESS THAT YOU WANT TO START AND YOU ARE SEEKING FINANCING/INVESTMENT) THE PLAN SHOULD INCLUDE ATLEAST THE FOLLOWING POINTS- 1. Concept A key purpose of a business plan is to give readers a total understanding of the company's goals. This part of the business plan is usually broken down into three elements: executive summary, company description and products/services. The executive summary is a quick introduction describing who runs the...
How do I even begin to solve this using R statistical software? A random sample of...
How do I even begin to solve this using R statistical software? A random sample of eight pairs of twins was randomly assigned to treatment A or treatment B. The data are given in the following table: Twins 1 2 3 4 5 6 7 8 Treatment A 48.3 44.6 49.7 40.5 54.3 55.6 45.8 35.4 Treatment B 43.5 43.8 53.7 43.9 54.4 54.7 45.2 34.4 What is the p-value of the Wilcoxon signed-rank test? Is there any significant evidence...
Here is the fact pattern I want you to base your answer on: You want the...
Here is the fact pattern I want you to base your answer on: You want the latest in mini laptop computers. You find what you need by searching on the Internet. The seller is in Taiwan. You negotiate a deal with the seller over the Internet and buy the computer. The seller agrees to ship you the computer by boat. Answer this Question: (minimum 200 words; any format) What terms (words) would you insist be included in the Sales Contract...
Your smartphone comes with preinstalled software. What if you want to customize your phone? Thousands of...
Your smartphone comes with preinstalled software. What if you want to customize your phone? Thousands of third-party applications are available through your mobile OS vendor’s application store. For this project, research two applications for your platform that you would seriously consider downloading. Cover these topics for both of the applications: What is the purpose of this application? What is the cost of the application?If free, is the application supported by advertising?If free, is there a paid upgrade version available? What...
Hi there, I want to make an experiment that you can use a one sample z-...
Hi there, I want to make an experiment that you can use a one sample z- test and interval on it. The project is a paper helicopter and we can make as many we like and then explain the process It should be dropped from a height and a weight like paperclip in the bottom to make fall. Please help me with this project. 1st: what is inference procedure and the variables you are estimating 2nd: the experiment procedure, the...
Let's say you want to produce a (roughly) uniform electric field using a very large nonconducting...
Let's say you want to produce a (roughly) uniform electric field using a very large nonconducting sheet. However, you still want to be able to access the regions above and below the sheet, so a drill a small hole with a radius of 1.80 cm into the sheet. You can assume that very large means "infinite" in this context. The sheet has a surface charge density of 4.50 pC/m2. What is the magnitude of the electric field at a point...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT