Rank: 51650 based on 0 downloads (last 30 days) and 0 file submitted
photo

summersyu Yu

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by summersyu Yu View all
Updated File Comments Rating
15 Aug 2010 Truncated Gaussian Generate a pseudo-random vector X drawn from the truncated Gaussian distribution Author: Bruno Luong

Dear Bruno,

Thank you for your answer. Following is my understanding:

[X meaneffective sigmaeffective] = TruncatedGaussian(...)
If meaneffective is 5, but I want the mean to be 15.
Then shift=10
X = shift + TruncatedGaussian(sigma, range-shift, ...)

This is how we generate random variables from truncated normal distribution with mean 15, variance sigmaeffective and range [a,b].

But what is the CDF of a random variable from truncated normal distribution?

Let y be the cdf of a truncated normal variable x, then is the following equation right? I am not sure of the mean and variance in normcdf

y = (normcdf(x) - normcdf(a)) ./ (normcdf(b) - normcdf(a))

09 Apr 2010 Truncated Gaussian Generate a pseudo-random vector X drawn from the truncated Gaussian distribution Author: Bruno Luong

How to change the mean?

Contact us