ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 14 Jun 2013 20:00:45 +0200Probability density functionhttps://ask.sagemath.org/question/10242/probability-density-function/Hi experts!
In a line like this:
uniforme_x=RealDistribution('uniform',[a,b])
i call a 'uniform' probability density function: `f(t)=1/(b-a)`, `a<t<b`.
In addition, SAGE includes several probability density function: gaussian, log-normal, etc.
But: How can create in SAGE a probability density function created by me (F(t), DIFFERENT to gaussian, log-normal, etc...) and then create random numbers from it?
Waiting for your answers.
Thanks a lot.
mresimulatorFri, 14 Jun 2013 20:00:45 +0200https://ask.sagemath.org/question/10242/