Question

Using R, generate 10,000 random values of weibull (using alpha= 1, beta = 4) and plot...

Using R, generate 10,000 random values of weibull (using alpha= 1, beta = 4) and plot the estimated pdf and cdf.

b) use the random values to find the probability that X is between 0.2 and 0.8 and calculate and compare this to the truth.

c) use the tandom values to estimate Q1, M, and Q3 and compare these.

Homework Answers

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
For each of the random quantities X,Y, and Z, defined below (a) Plot the probability mass...
For each of the random quantities X,Y, and Z, defined below (a) Plot the probability mass function PMS (in the discrete case) , or the probability density function PDF (in the continuous case) (b) Calculate and plot the cumulative distribution function CDF (c) Calculate the mean and variance, and the moment function m(n), and plot the latter. The random quantities are as follows: X is a discrete r.q. taking values k=0,1,2,3,... with probabilities p(1-p)^k, where p is a parameter with...
Let X be a gamma random variable with parameters alpha = 4 and beta = 4....
Let X be a gamma random variable with parameters alpha = 4 and beta = 4. Using Markov's inequality, calculate an upper bound for the probability that X is greater than or equal to 10.
If a random variable X has a beta distribution, its probability density function is fX (x)...
If a random variable X has a beta distribution, its probability density function is fX (x) = 1 xα−1(1 − x)β−1 B(α,β) for x between 0 and 1 inclusive. The pdf is zero outside of [0,1]. The B() in the denominator is the beta function, given by beta(a,b) in R. Write your own version of dbeta() using the beta pdf formula given above. Call your function mydbeta(). Your function can be simpler than dbeta(): use only three arguments (x, shape1,...
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.
Gaussian random values. Experiment with the following function for generating random variables from the Gaussian distribution,...
Gaussian random values. Experiment with the following function for generating random variables from the Gaussian distribution, which is based on generating a random point in the unit circle and using a form of the Box-Muller formula (see Exercise 1.2.24) def gaussian(): r = 0.0 while (r >= 1.0) or (r == 0.0): x = -1.0 + 2.0 * random.random() y = -1.0 + 2.0 * random.random() r = x*x + y*y return x * math.sqrt(-2.0 * math.log(r) / r) Take...
(1) Generate 80 normally distributed random variables with the mean 30 and the standard deviation 8,...
(1) Generate 80 normally distributed random variables with the mean 30 and the standard deviation 8, and store them in the vector ‘rand.vec. Then plot their empirical distribution function. (2) Given a normal distribution with the mean 30 and the standard deviation 8, find the two values of x that contain the middle 70% of the normal curve area. (3) Calculate the probability for 2.5 < X < 10 in a Poisson distribution with the mean 6 use in R...
Show all steps please Using Matlab: Generate a random signal ‘x’ with a length of 8000...
Show all steps please Using Matlab: Generate a random signal ‘x’ with a length of 8000 and sampling rate of 8kHz. Plot a section of the signal In the time domain. Is it possible to observe significant trends in the time domain signal? Plot the magnitude of the DFT of segments of ‘x’ of different lengths. Use a decibel scale for the vertical axis. What do you observe as the segment length increases? Use the Matlab function ‘periodogram’ to obtain...
(1) Use ‘sample’ function to generate a vector of 100 random numbers that follows a multinomial...
(1) Use ‘sample’ function to generate a vector of 100 random numbers that follows a multinomial distribution with probability (0.1, 0.15, 0.3, 0.45). (2) Without using the ‘sample’ function, generate a vector of 100 random numbers that follows a multinomial distribution with probability (0.1, 0.15, 0.3, 0.45). (3) Calculate the probability for 2.5 < X < 9 in a Poisson distribution with the mean 6. (using R)
R Programming: a.Choose 10 random values of X having the Normal(4, 1) distribution. Use t.test to...
R Programming: a.Choose 10 random values of X having the Normal(4, 1) distribution. Use t.test to compute the 95% confidence interval for the mean. Is 4 in your confidence interval? b.Replicate the experiment in part a 10,000 times and compute the percentage of times the population mean 4 was included in the confidence interval. c.Repeat part b, except sample your 10 values when X has the Exponential(1/4) distribution. What is the mean of X? What percentage of times did the...
(Use R programming language) Let X be a random variable representing claims for a particular insurance...
(Use R programming language) Let X be a random variable representing claims for a particular insurance policy. The following are 15 observations of X: 13 24 17 101 27 40 18 36 5 9 53 35 13 77 63 (a) Give basic summary statistics for these data and produce a box plot. Briefly comment on center, spread and shape of the distribution. (b) Assuming a gamma distribution, compute maximum likelihood estimates for the parameters. (c) Draw a density histogram and...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT