Simulations

nick.smith99

New Member
Joined
Jul 26, 2005
Messages
7
I know how to simulate normal or lognormal returns within VBA using the RND function, and normsdist within the worksheetfunction bit of VBA (there may be more efficient ways but I know this works), but does anyone know how to incorporate kurtosis within the code. In other words can I simulate a distribution with a known kurtosis number using excel/vba?
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
You could generate deviates from a distribution that has a kurtosis you like.
 
Upvote 0
Thanks for the response. Just so I understand, do you mean take a dump of data that has some kurtosis and than add some "noise" to it to create a distribution with kurtosis. That makes sense, although I was trying to play with the kurtosis number to see what effects that has.
 
Upvote 0
I'm saying you could generate variates with, for example, a logistic distribution, or a hyperbolic secant distribution, both of which have kurtosis greater than a normal distribution, but look more or less normal-is.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,628
Members
452,933
Latest member
patv

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top