Simulations from a given distribution

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

Martin475
Posts: 1
Joined: Wed Feb 01, 2017 6:09 am

Simulations from a given distribution

Postby Martin475 » Wed Feb 08, 2017 2:43 am

Hello, from my empirical data I got a distribution that is not normal and I would like to use monte carlo simulations and get random draws from this distribution. Is there anybody who has an idea how to maybe specify this distribution and get some random draws from there?

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Simulations from a given distribution

Postby startz » Wed Feb 08, 2017 7:21 am

Number your empirical observations 1 through n. Draw a random integer i that's equally likely 1 through n. Then use the ith observation as a draw from your distribution.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Simulations from a given distribution

Postby EViews Glenn » Wed Feb 08, 2017 6:10 pm

Are the empirical data in series form or do you only have the discrete distribution?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests