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.
(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...
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....