Use the cumulative distribution function of Weibull in R

后端 未结 1 699
情深已故
情深已故 2021-01-21 03:21

I have to simulate a system\'s fail times, to do so I have to use the Weibull distribution with a \"decreasing hazard rate\" and a shape of \"0.7-0.8\". I have to generate a fil

相关标签:
1条回答
  • 2021-01-21 03:50

    I'm not sure what the question is, but if you want to generate 100 values drawn from Weibull distribution with shape parameter of 0.75 use rweibull(100, 0.75).

    If you want to see what the probability is that they are larger than zero, use pweibull(rweibull(100, 0.75), 0.75).

    You should also be aware that there is a general no-homework rule on these sites.

    0 讨论(0)
提交回复
热议问题