Question

Using R, generate 10 different samples of size 20 from a standard normal distribution and generate...

Using R, generate 10 different samples of size 20 from a standard normal distribution and generate qq plots for each sample. Include two qq plots for your answer; one that shows the sample that is most and one that shows the sample that is least similar to what we would expect from a normal population. Make sure to label which is which and explain what characteristics of the graphs you used to choose which was which.

Homework Answers

Answer #1

R codes and output:

s=list()
for(i in 1:10)
{
s[[i]]=rnorm(20)
}

par(mfrow=c(2,3))
qqnorm(s[[1]],main="QQ plot for sample-1")
qqline(s[[1]])
qqnorm(s[[2]],main="QQ plot for sample-2")
qqline(s[[2]])
qqnorm(s[[3]],main="QQ plot for sample-3")
qqline(s[[3]])
qqnorm(s[[4]],main="QQ plot for sample-4")
qqline(s[[4]])
qqnorm(s[[5]],main="QQ plot for sample-5")
qqline(s[[5]])
qqnorm(s[[6]],main="QQ plot for sample-6")
qqline(s[[6]])

par(mfrow=c(2,2))
qqnorm(s[[7]],main="QQ plot for sample-7")
qqline(s[[7]])
qqnorm(s[[8]],main="QQ plot for sample-8")
qqline(s[[8]])
qqnorm(s[[9]],main="QQ plot for sample-9")
qqline(s[[9]])
qqnorm(s[[10]],main="QQ plot for sample-10")
qqline(s[[10]])

A Q-Q plot is a plot created by plotting two sets of quantiles against one another. If both sets of quantiles came from the same distribution, we should see the points forming a line that’s roughly straight.

Now see plot of sample 3, Some points at the both end lie away from straight line. This is the plot which is least similar to normal distribution.

Plot 8 is most similar to normal distribution, because almost all points are lie close to straight line.

We use quantiles of distribution to see distribution is similar to normal or not.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Use R. Generate a random sample with n=15 random observations from an exponential distribution with mean=1....
Use R. Generate a random sample with n=15 random observations from an exponential distribution with mean=1. Calculate the sample median, which is an estimator of the population median. Use bootstrap (nonparametric, with B=1000) methods to estimate the variance of the estimator for the population median. use the Monte Carlo method, e.g. generate 1000 samples of size 15 to estimate the true variance of the median estimator. Compare and comment on your results.
The distribution of heights of 18-year-old men in the United States is approximately normal, with mean...
The distribution of heights of 18-year-old men in the United States is approximately normal, with mean 68 inches and standard deviation 3 inches (U.S. Census Bureau). In Minitab, we can simulate the drawing of random samples of size 20 from this population (⇒ Calc ⇒ Random Data ⇒ Normal, with 20 rows from a distribution with mean 68 and standard deviation 3). Then we can have Minitab compute a 95% confidence interval and draw a boxplot of the data (⇒...
Using R programming language, complete the following. 1. Generate the bivariate normal sample of size 100...
Using R programming language, complete the following. 1. Generate the bivariate normal sample of size 100 with parameters a. marginal mean of X equal to 1, b. marginal mean of Y equal to 2, c. marginal variance of X equal to 3, d. marginal variance of Y equal to 4, e. correlation between X and Y equal to -1/2. You can use the function mvrnorm(), first installing its package by the code if (! require ("MASS")) install.packages("MASS"); library ("MASS") 2....
i.Bias of Sample Mean Draw 20 samples from the normal distribution N(5, 4). Compute the mean...
i.Bias of Sample Mean Draw 20 samples from the normal distribution N(5, 4). Compute the mean of your 20 samples. Report the bias of the sample mean ii. Variance of Sample Mean (Continue of problem i) To estimate the variance of the sample mean, we need to draw many different samples of size 20. Now, we draw 1000 times a sample of size 20. Store all the 1000 sample means. Report the variance of the estimated sample mean. Hint: To...
A population of aardvark have lengths that follow a normal distribution with mean 35” and standard...
A population of aardvark have lengths that follow a normal distribution with mean 35” and standard deviation of 4.1”.   What percent of the population have lengths of at most 31”? What percent of the population have lengths of at least 42”? What percent of the population have lengths between 31” and 42”? What length would represent Q1 for this population? What length would represent Q3 for this population? What length would represent the cutoff for the longest 10% of the...
Subject; Statistics PROBLEM : Random samples of size 50 are repeatedly drawn from a Normal distribution...
Subject; Statistics PROBLEM : Random samples of size 50 are repeatedly drawn from a Normal distribution with a mean 25 and a standard deviation 8. ⑴ What is the sampling distribution of . ⑵ What is the mean of the distribution in ⑴? ⑶ What is the standard deviation of the distribution in ⑴? ⑷ What is the probability for the sample mean to be in the interval from 20 to 30?
Two samples, one of size 14 and the second of size 13, are selected from a...
Two samples, one of size 14 and the second of size 13, are selected from a normal distribution to test the difference between two population means and σ is unknown. Which distribution should be used for this test? What is the critical value for a 5% level of significance for the right-tailed test?
Random samples of size n were selected from a normal population with the means and variances...
Random samples of size n were selected from a normal population with the means and variances given here. n = 25, μ = 12, σ2 = 9 Describe the shape of the sampling distribution of the sample mean. a. The distribution is normal b. The distribution is skewed left c. The distribution is bimodal d. The distribution is uniform e. The distribution is skewed right Find the mean and the standard error of the sampling distribution of the sample mean....
The Central Limit Theorem indicates that in selecting random samples from a population, the sampling distribution...
The Central Limit Theorem indicates that in selecting random samples from a population, the sampling distribution of the the sample mean x-bar can be approximated by a normal distribution as the sample size becomes large. Select one: True False
15. Random samples of size 81 are taken from an infinite population whose mean and standard...
15. Random samples of size 81 are taken from an infinite population whose mean and standard deviation are 200 and 18, respectively. The distribution of the population is unknown. The mean and the standard error of the mean are (assuming infinite population) a. 200 and 18 b. 81 and 18 c. 9 and 2 d. 200 and 2 16. A population has a mean of 300 and a standard deviation of 18. A sample of 144 observations will be taken....