sample from distributions
I need to know how to sample from a Weibull distribution based on a current age (distribution represents failure times in this case).
I know that integrating the PDF from the age (variable) and solving for t will give me the equation I need, but I am not smart enough to do this math. I also need to be able to do this for the Normal and LogNormal distribution.
Please help, anyone. It will be greatly appreciated.
1 Attachment(s)
Re: sample from distributions
Quote:
Originally Posted by Muddy
I need to know how to sample from a Weibull distribution based on a current age (distribution represents failure times in this case).
I know that integrating the PDF from the age (variable) and solving for t will give me the equation I need, but I am not smart enough to do this math. I also need to be able to do this for the Normal and LogNormal distribution.
Please help, anyone. It will be greatly appreciated.
Muddy,
Here you have the answer to your questions in the Excel file attached.
Hope this suffices. Otherwise, please feel free to email me to [email protected]. :)
Rui