How to calculate probability of a value under Weibull distribution?
1
0
Entering edit mode
4.3 years ago
star ▴ 350

I have fitted in R a Weibull distribution to my data like PD = fitdist(data,'Weibull'). Now I have a data point (e.g. x = 5) and I would like to calculate its probability under distribution.

How can I calculate the probability (like a p-value)?

Thanks in advance for any help!

R genome HiC statistics • 1.7k views
ADD COMMENT
1
Entering edit mode

This question is more suited to Cross-validated. Be aware that you should put some more effort in the question, though.

Anyway, for continuous probability distributions, probabilities are represented by areas under the curve of the probability distribution. For a single point, the area under the curve is zero, thus its probability is also zero.

ADD REPLY
2
Entering edit mode
4.3 years ago

In case you're looking for the cumulative distribution (i.e. P(X<=5)), check the pweibull() function in base R. As h.mon mentioned the P(x=5) = 0 for continuous random variables.

ADD COMMENT
1
Entering edit mode
ADD REPLY

Login before adding your answer.

Traffic: 2202 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6