Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Generating lognormal equity returns

Would anyone have any sample code that I can use to generate a random series
of monthly lognormal equity returns with a mean of, let's say, 8% annually
and a standard deviation of 15%. Many thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Generating lognormal equity returns

use the
=LOGNORMDIST() function in the worksheet
--
Gary''s Student - gsnu200725


"Sheak1" wrote:

Would anyone have any sample code that I can use to generate a random series
of monthly lognormal equity returns with a mean of, let's say, 8% annually
and a standard deviation of 15%. Many thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Generating lognormal equity returns

I am sorry. I re-read your post. If all you want are random samples and not
the CDF, then in A1 enter:
=EXP(NORMINV(RAND(),0.08,0.15)) and copy down for as many samples as you need
--
Gary''s Student - gsnu200725


"Sheak1" wrote:

Would anyone have any sample code that I can use to generate a random series
of monthly lognormal equity returns with a mean of, let's say, 8% annually
and a standard deviation of 15%. Many thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Equity beta Larry Excel Worksheet Functions 1 February 16th 09 03:47 PM
Lognormal base in charts (excel 2007) jonny Charts and Charting in Excel 2 July 11th 07 10:26 PM
Need an Equity Line of Credit Register Template Tax Time Setting up and Configuration of Excel 0 January 13th 07 02:39 AM
Equity buildup calculation JimDandy Excel Worksheet Functions 5 September 6th 05 05:57 PM
Generating lognormal distribution xya Excel Programming 1 September 3rd 04 11:24 AM


All times are GMT +1. The time now is 11:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"