[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw : [Help-gsl] Truncated normal distribution using gsl_rng_gaussian
From: |
Ralph Silva |
Subject: |
Re: Fw : [Help-gsl] Truncated normal distribution using gsl_rng_gaussian |
Date: |
Wed, 24 Dec 2008 11:05:54 +1000 |
If you want a reference, please check:
Simulation of truncated normal variables, CHRISTIAN P. ROBERT, Statistics
and Computing (1995) 5, 121-125.
Ralph.
On Tue, Dec 23, 2008 at 5:05 AM, chadia kanaan <address@hidden>wrote:
> I forget to precise that my Gaussian G (mu, sigma) is centered on mean
> "mu" and with dispersion sigma , both different from zero.
>
> thanks ,
> C.K
>
>
>
>
> Hello,
>
> Could someone, please, guide me how to generate truncated Gaussian
> probability distribution numbers between [min, max] using the already
> existing gsl_gaussian generators . lets say between 0 and infinity for
> example.
>
> In earlier gsl archive, this point was discussed and refered to other
> method
> like rejection. I have used this method before, but gsl_gaussian generator
> is at
> least 10 times faster and reliable than generators based on
> rejection/acceptance
> method.
> so I need a solution based on gsl_generator , maybe through simple
> transformation ..
>
> Many thanks for your help,
> regards,
> C. K
>
>
>
>
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>
>
>
>
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
>