vidhya36
Very Active Member
In page 22 of chapter 6, I see a R snippet stating, we can define the aforementioned functions from first principles and the author went on to put up the equations.
rweibull: (log(1-runif(n))/c) ^ (1/g)
qweibull: (log(1-p)/c) ^ (1/g)
I understand the other two pweibull and dweibull.
(I understand runiform gives samples from uniform distribution. I just need to understand the concept here as how he/she arrived at this.)
If any one can guide me to a source or help me understand the derivation, it would be great.
TIA
rweibull: (log(1-runif(n))/c) ^ (1/g)
qweibull: (log(1-p)/c) ^ (1/g)
I understand the other two pweibull and dweibull.
(I understand runiform gives samples from uniform distribution. I just need to understand the concept here as how he/she arrived at this.)
If any one can guide me to a source or help me understand the derivation, it would be great.
TIA