I want to trancate a normal distribution

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Imhlanga
Posts: 6
Joined: Wed Jun 30, 2010 12:42 am

I want to trancate a normal distribution

Postby Imhlanga » Wed Jun 29, 2011 2:48 am

I want to create a random number series with 2000 data points, with a mean of zero and a standard deviation of 1.5, in such a way that all values whose absolute values is greater than three are discarded out of the series. Can you hep?

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: I want to trancate a normal distribution

Postby trubador » Wed Jun 29, 2011 5:25 am


Imhlanga
Posts: 6
Joined: Wed Jun 30, 2010 12:42 am

Re: I want to trancate a normal distribution

Postby Imhlanga » Thu Jun 30, 2011 4:32 am

Hi: I downloaded the program however it give me the following mesage "Error 20 in encripted program" I did input the required fields of mean, stdev, lower bound and upper bound, columns, rows and series option. Is it possible to get a code thats not encripted?
Thanks
Isaah.

Imhlanga
Posts: 6
Joined: Wed Jun 30, 2010 12:42 am

Re: I want to trancate a normal distribution

Postby Imhlanga » Thu Jun 30, 2011 6:20 am

Hi:
I the truncated nrnd number generator works, thanks for the program.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests