Question

Use r statistical software to Pick a population with a particular distribution. From the population use...

Use r statistical software to

  1. Pick a population with a particular distribution.

  2. From the population use software to obtain k random samples (for example k = 10) each containing n elements (for example n = 30.)

  3. Give the distributions of X̄

  4. For each sample, calculate the value of the statistic and construct a histogram of the k values. This histogram gives the approximate sampling distribution of the statistic. The statics of interest are X̄ and V (X̄ )

  5. Calculate E(X̄) and V (X̄)

Homework Answers

Answer #1

We choose a exponential distribution with rate parameter . Thus . The distribution of the sample mean is

The histogram of sampling distribution is plotted below for n= 30, k= 100.

The histogram is approximately normal.

The empirical values of mean and variance are

The theoretical values are,

R code below:

set.seed(47757)
lambda <- 0.2
n <- 30
k <- 100
Xbar <- array(dim=k)
for (i in 1:k)
{
X <- rexp(n,lambda )
Xbar[i] <- mean(X)
}
plot(1:1)
dev.new()
hist(Xbar, freq=FALSE, main= "Histogram of sample means of Exponential distribution", lwd=2, col = "sky blue", xlab=expression(bar(X)), ylab = "Density")
mean(Xbar)
var(Xbar)

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 any statistical software Pick a population with a particular distribution. From the population use software...
Use any statistical software Pick a population with a particular distribution. From the population use software to obtain k random samples (for example k = 10) each containing n elements (for example n = 30.) Give the distributions of X̄ For each sample, calculate the value of the statistic and construct a histogram of the k values. This histogram gives the approximate sampling distribution of the statistic. The statics of interest are X̄ and V (X̄ ) Calculate E(X̄) and...
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...
Use R statistical software to answer the following: Let X1, ..., X6 be a random sample...
Use R statistical software to answer the following: Let X1, ..., X6 be a random sample of size n = 6 from the distribution with pdf f(x) = x / 8 , 0 < x < 4 and 0 otherwise. (a) Use Monte Carlo to calculate Var(Xbar), and knowing that Var(Xbar) = sigma^2 / n, what is the true value of Var(Xbar)? ## use runif() to generate samples
Suppose we repeatedly take samples of size 100 from the population distribution, calculate a sample mean...
Suppose we repeatedly take samples of size 100 from the population distribution, calculate a sample mean each time, and plot those sample means in a histogram. The histogram we created would be an example of a (variable, population, distribution, sampling distribution???) . According to the central limit theorem, the histogram would have a shape that is approximately (left skewed, right skewed or normal???) , with mean  (give a number???) and standard deviation  (give a number??). The standard deviation of the statistic under...
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.
1. The characteristic of interest for the elements is called a(n) A sample B quantitative data...
1. The characteristic of interest for the elements is called a(n) A sample B quantitative data set C variable or random variable D histogram 2. A statistics professor asked students in a class their ages. On the basis of this information, the professor states that with certain accuracy, the average age of all the students in the university is 21.3 years. This is an example of A a census B descriptive statistics C an experiment D statistical inference 3. A...
The distribution of blood cholesterol level in the population of all male patients 20–34 years of...
The distribution of blood cholesterol level in the population of all male patients 20–34 years of age tested in a large hospital over a 10-year period is close to Normal with standard deviation σ = 48 mg/dL (milligrams per deciliter). At your clinic, you measure the blood cholesterol of 14 male patients in that age range. The mean level for these 14 patients is x̄ = 180 mg/dL. Assume that σ is the same as in the general male hospital...
For the following experiments/questions, pick the most appropriate statistical test. You have the following statistical tests...
For the following experiments/questions, pick the most appropriate statistical test. You have the following statistical tests as choices: some may be used more than once, others not at all.  Assume homogeneity of variance (where applicable) and the validity of parametric tests (where applicable), unless something is directly stated (e.g., “the data are not at all normal”) or otherwise indicated (viz., by the inspection of the data) which would indicate a strong and obvious violation of an assumption. This means you must...
If I took all possible samples of N=50 from the population of undergraduate students in the...
If I took all possible samples of N=50 from the population of undergraduate students in the US, found the mean height for each sample, and plotted the distribution of those sample means, the result would be a central limit theorem sampling distribution of the mean cumulative frequency distribution skewed frequency distribution 40 men participating in a study reported how angry they felt at the end of each day for 2 weeks. For the first week 20 of the men were...
All questions on this quiz refer to some of the information given here: Sulfur compounds such...
All questions on this quiz refer to some of the information given here: Sulfur compounds such as dimethyl sulfide (DMS) cause “off odors” in wine, so winemakers want to know the odor threshold, the lowest concentration of DMS that the human nose can detect. Different people have different thresholds, so we start by asking about the mean threshold in the population of all adults. Scientific research shows that in the population of all adults, this mean is 25 micrograms per...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT