Question

Note: This is a graduate-level question. Please provide a full answer to this question or do not ...

Note: This is a graduate-level question. Please provide a full answer to this question or do not provide an answer at all. If you do not know the answer please leave this question for other Statistics and Probability Experts. Kindly do not copy and paste the same answer posted for the same question because it is incorrect.

Numerically verify that the Central Limit Theorem is valid even when sampling from non-normal distributions. Suppose that a component has a probability of failure described by a Weibull distribution. Let X be the random variable that denotes time until failure; its probability density is:

for x ≥ 0, and zero elsewhere. In this problem, assume k = 1.5, γ = 100.
1- Simulate drawing a set of N = 20 sample values, repeated over M = 200 samples, from this component using the inverse sampling method.
2- Plot the histogram of all 4, 000 samples to verify that your samples represent the pdf above.
3- Compute the means associated with each of the M samples and plot a histogram of the sample means. Does this histogram appear to be normally distributed?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The CDF of the distribution is

Fx (x) = | fx (t) dt

1) The inverse function of the CDF is found as

F_X\left ( x \right )=1-e^{-\left (x/\gamma \right ) ^k}\\ e^{-\left (x/\gamma \right ) ^k}=1-F_X\left ( x \right )\\ -\left (x/\gamma \right ) ^k=\ln \left [1-F_X\left ( x \right ) \right ]\\ x=\gamma \left \{ -\ln \left [1-F_X\left ( x \right ) \right ] \right \}^{1/k}

Now by inverse transform method 1/k are random sample from the given Weibull distribution when U ~Unif (0, 1) . The R code for generating 4,000 samples from Weibull distribution using inverse sampling is given below.

set.seed(47757)
N <- 4000
U <- runif(N)
k <- 1.5
gamma <- 100
X <- gamma*(-log(1-U))^(1/k)
plot(1:1)
dev.new()
hist(X, freq=FALSE, main= "Histogram of Weibull distribution", lwd=2, col = "sky blue", xlab="x", ylab = "Density")

2) The histogram is plotted below. (R Code as above).

Histogram of Weibull distribution it 髦3 0 100 200 300

3) The R code to generate M=200 samples of N=20 random numbers from Weibull distribution and plotting the histogram of samples means is given below.
set.seed(47757)
N <- 20
M <- 200
k <- 1.5
gamma <- 100
X_bar <- array(dim = M)
for (i in 1:M)
{
U <- runif(N)
X <- gamma*(-log(1-U))^(1/k)
X_bar[i] <- mean(X)
}

plot(1:1)
dev.new()
hist(X_bar, freq=FALSE, main= "Histogram of Sample Means of Weibull Distribution", lwd=2, col = "sky blue", xlab="x", ylab = "Density")

Histogram of Sample Means of Weibull Distribution 60 80 100 120

The histogram looks normally distribution now.

Add a comment
Know the answer?
Add Answer to:
Note: This is a graduate-level question. Please provide a full answer to this question or do not ...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. In this problem, you are going to numerically verify that the Central Limit Theorem is valid e...

    1. In this problem, you are going to numerically verify that the Central Limit Theorem is valid even when sampling from non-normal distributions. Suppose that a component has a probability of failure described by a Weibull distri- bution. Let X be the random variable that denotes time until failure; its probability density is: for a 2 0, and zero elsewhere. In this problem, assume k 1.5, 100 a) Simulate drawing a set of N-20 sample values, repeated over M 200...

  • MATLAB Program: Can somebody please answer the question for me? Using MATLAB A patient is waiting...

    MATLAB Program: Can somebody please answer the question for me? Using MATLAB A patient is waiting for a suitable matching kidney donor for a transplant. If the probability that a randomly selected donor is a suitable match is p = 0.1, simulate 1000 trials of the number of potential donors until a matching donor is found. Plot a histogram of the obtained sample.

  • please answer correctly and answer all questions.. this is revision question... 7. Which of the following...

    please answer correctly and answer all questions.. this is revision question... 7. Which of the following is BEST graphical method for describing categorical data? A. Bar chart B. Histogram C.Box-plot D. Pareto chart 8. Which of the following is NOT property of the variance? A. It measures the amount of spread or variability of observation from mean B. Standard deviation is square root of variance C. Normally used for describing measure of dispersion during reporting research data D. It is...

  • please answer all questions 12-15 Question 12 2 pts The phrase statistically significant means that the...

    please answer all questions 12-15 Question 12 2 pts The phrase statistically significant means that the op value associated with the test statistic is greater than the p level chosen o research finding is of practical importance o sample mean is larger than the population mean o data differ from what we would have expected by chance (if the null were true) Question 13 2 pts Garret thinks his car battery is becoming weak. He doesn't want to be stranded...

  • Page 1 Question 1 Suppose we take repeated random samples of size 20 from a population...

    Page 1 Question 1 Suppose we take repeated random samples of size 20 from a population with a Select all that apply. mean of 60 and a standard deviation of 8. Which of the following statements is 10 points true about the sampling distribution of the sample mean (x)? Check all that apply. A. The distribution is normal regardless of the shape of the population distribution, because the sample size is large enough. B. The distribution will be normal as...

  • Question 202.5 pts If we consider the simple random sampling process as an experiment, the sample...

    Question 202.5 pts If we consider the simple random sampling process as an experiment, the sample mean is _____. Group of answer choices always zero known in advance a random variable exactly equal to the population mean Flag this Question Question 212.5 pts The basis for using a normal probability distribution to approximate the sampling distribution of x ¯ and p ¯ is called _____. Group of answer choices The Law of Repeated Sampling The Central Limit Theorem Expected Value...

  • please give correct and answer all question.. this is revision question... 14. Which of the following...

    please give correct and answer all question.. this is revision question... 14. Which of the following statistical tests is BEST TO normally distributed data? in statistical tests is BEST to use for comparing two samples A. Independent sample t-test B.Mann-Whitney test C. Regression analysis D. Logistic regression analysis 15. Which of the following is NOT related to central limit theoret? sample size is large. bution of sample mean, x is approximately normal regardless of Xin the population 9. The mean...

  • my question contains 4 points kindly answer the all, if u won't don't solve , answer...

    my question contains 4 points kindly answer the all, if u won't don't solve , answer clear and if u r not sure from answer don't solve plz , thank u , sir An analyst wants to test if the mean peak loads (in MPa) of two alloys are different. He takes a random sample of n peak load measurements from alloy 1 and finds a sample average #7 =9.5 MPa, and a sample standard deviation s =0.82 MPa. He...

  • please answer all of the following much appreciated!! Question 8 Given the following 2 sets of...

    please answer all of the following much appreciated!! Question 8 Given the following 2 sets of data, what would the degrees of freedom be for an independent measures t-test? 12, 4, 9, 0, 1,5 2, 4, 8, 16,3 Question 9 4 points Save Answer Shannon Louise wants to see if dunking your face in cold water before a test causes a difference in test scores. She samples two groups, where one group will dunk their face into water before beginning...

  • Hello experts, I need help answering the following question and its sub-questions please. I use M...

    Hello experts, I need help answering the following question and its sub-questions please. I use MINITAB for my data. Please show your work to make it easier for understanding! will upvote! Q-1) 7 marks Confidence interval for μ when σ 1s known. The duration of baseball games in the major league in the 2010 and 2011 scasons is uniformly distributed between 2.76 and 3.22 hours inclusive. We would like to simulate 50 samples of 30 gane duration time and construct...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT