Question

APPLIED STATISTICS 2

PLEASE USE R, SHOW R CODE AND OUTPUT

Problem 2: Besides the normal distribution, there are many commonly-used distributions, one of them is Weibull distribution.

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

y<-rweibull(1000,1,5) # Creating Histogram hist(y,probability = TRUE, main=Histogram of Weibull distribution)Density 0.00 0.02 0.04 0.06 0.08 0.10 0.12 0 5 10 15 Histogram of Weibull distribution 20 25 30 35

Add a comment
Know the answer?
Add Answer to:
APPLIED STATISTICS 2 PLEASE USE R, SHOW R CODE AND OUTPUT Problem 2: Besides the normal...
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
  • 5 Random Numbers and Histograms [Applied] Let x = x1 + ... + x20, the sum...

    5 Random Numbers and Histograms [Applied] Let x = x1 + ... + x20, the sum of 20 independent Uniform(0,1) random variables. In R, create 1,000 simulations of x and plot their histogram. On the histogram, overlay a graph of the normal density function with the same mean as x. Comment on any differences between the histogram and the curve. Hint 1: To plot a histogram in R you can build on the following code: library(ggplot2) df <- data.frame( x...

  • please do this problem in matlab and show me the code. Thanks. please do this problem...

    please do this problem in matlab and show me the code. Thanks. please do this problem in matlab and show me the code. Thanks. please do this problem in matlab and show me the code. Thanks. please do this problem in matlab and show me the code. Thanks. please do this problem in matlab and show me the code. Thanks.please do this problem in matlab and show me the code. Thanks. please do this problem in matlab and show me...

  • Using MATLAB, not R codes, I repeat, please, not in R, just MATLAB codes, write the complete code for: 1. Assume Y is an exponential random variable with rate parameter λ=2. (1) Generate 1000 samples...

    Using MATLAB, not R codes, I repeat, please, not in R, just MATLAB codes, write the complete code for: 1. Assume Y is an exponential random variable with rate parameter λ=2. (1) Generate 1000 samples from this exponential distribution using inverse transform method (2) Compare the histogram of your samples with the true density of Y.

  • Solving these useing R program using pbinom() for Statistics Please show the code you used and...

    Solving these useing R program using pbinom() for Statistics Please show the code you used and the answer A manufacturer of ceramic blades estimates that 1.3% of all blades produced are too brittle to use. Suppose we take a random sample of 100 blades and test them for brittleness. We want to find the probability that at least 4 blades will be too brittle to use.

  • Python 3.7 please help please use central limit theory In this problem you will verify the...

    Python 3.7 please help please use central limit theory In this problem you will verify the Central Limit Theorem (CLT) which states that averages, from repeated random samples of any distribution, follow a normal distribution 1. (5 points) Draw a random sample of 5,000 random numbers from a uniform distribution X ~U (20,80] and store them into a vector called xy and plot a histogram of these 5,000 numbers 2. (5 points) Draw a random sample of 5,000 random numbers...

  • I must use R Program to solve them. Please help! Thank you ünif uniform random variable...

    I must use R Program to solve them. Please help! Thank you ünif uniform random variable 1) Draw the graphs of the p.d.f. of the following distributions (a) The standard normal p.d.f (b) The normal pdf with ? = 50, ? = 10 (c) The uniform p.d.f. over interval [10, 20] (d) The exponential P.d.f with parameter ? 4. 2) Illustrating the central limit theorem. Let X be a random variable having the uniform distribution over the interval [6, 12]...

  • Please answer this question with RStudio. 4. In this problem, you will illustrate the idea of...

    Please answer this question with RStudio. 4. In this problem, you will illustrate the idea of resampling and sampling distributions. A ganma distribution with shape k and scale θ has density exp(-v/0) Assume shape k = 2 and scale θ = 3 (a) Use the function dgamma in R to evaluate the density for a range of values between 0 and 20. Produce a plot of the density (b) The (true) mean and variance of the gamma distribution are simple...

  • Solve d,e and f please using R code Part I: qqplots This part deals with qqplots...

    Solve d,e and f please using R code Part I: qqplots This part deals with qqplots of all kinds. Let's do some easy expe riments, first. Let's take a sample from a normal distribution with mu-2, sigma 3, and then look at the hist and the qqplot of that data: set.seed(3) n 100 # Sample size x norm(n,2,3) # Sample from N(mu-2, sigma-3) hist(x) # Looks normal. But that depends on breaks. qqnorm(x) # This doesn't depend on binsize, and...

  • please do this problem in matlab and show me the code. Thanks. please do this problem...

    please do this problem in matlab and show me the code. Thanks. please do this problem in Matlab and show me the code. Thanks. Problem #1: Circuits and linear-systems In the last HW you developed the governing equations for the “Wheatstone”-bridge circuit used extensively in engineering applications (shown below). B R R2 A D G m RA с E The resulting equations were solved for the output voltage and currents using the function: function [V_out, I_vector] =Wheatstone_bridge (v_in, R_vector) In...

  • PLEASE USE R CODE!! Continue to generate standard normal random variables until you have generate...

    PLEASE USE R CODE!! Continue to generate standard normal random variables until you have generated n of them, where n≥100 is such that S/sqrt(n) <0.1, where S is the sample standard deviation of the n data value. (a)How many normals do you think will be generated? (b)What is the sample mean of all the normals generated? (c)What is the sample variance?

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