Page 2 of 2

Re: Sampling from a truncated normal distribution

Posted: Tue May 31, 2016 2:03 am
by louizabadis
here in attachement i give you one exemple of série denominated yy. i want to calculate the probability of yy is in the interval [-0.025; +0.025].
in eviews i set @mean (yy>-0.025 and yy<0.025) and gives me a message i sent before.
thanks

Re: Sampling from a truncated normal distribution

Posted: Tue May 31, 2016 5:58 am
by startz

Code: Select all

series f=@mean(yy>-.025 and yy<.025)
works fine for me.

Re: Sampling from a truncated normal distribution

Posted: Tue May 31, 2016 1:07 pm
by louizabadis
It works for me to and i find 0.855305.
Thanks a lot.