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

Hi,

I'm trying to generate a lognormal distribution in Excel. While it is
possible to produce a lognormal distribution by first generating a
normal distribution using the Data Analysis function, the normal
distribution may at times contain negative numbers which cannot be
converted into a log equivalent.

Would appreciate if someone knows an easy way to generate a lognormal
distribution.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Generating lognormal distribution

I presume by "generate a lognormal distibution" you mean that you want
to generate lognormal pseudorandom variables.

If X follows the lognormal distribution, then Z=ln(X) follows the normal
distribution. Thus if Z follows the normal distribution, then exp(Z)
follows the lognormal distribution. It sounds like you were trying to
use ln(Z) instead of exp(Z).

The random number generator in ATP is very poor. See
http://groups.google.com/groups?selm...0no_e-mail.com
http://groups.google.com/groups?selm...%40bigfoot.com
for methods of generating normal random variables

Jerry

xya wrote:

Hi,

I'm trying to generate a lognormal distribution in Excel. While it is
possible to produce a lognormal distribution by first generating a
normal distribution using the Data Analysis function, the normal
distribution may at times contain negative numbers which cannot be
converted into a log equivalent.

Would appreciate if someone knows an easy way to generate a lognormal
distribution.

Thank you.


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
Help with normal distribution, generating ratios for bell-shape cu Dream Excel Discussion (Misc queries) 5 September 8th 09 08:57 PM
Generating a primary key Access::Student Excel Discussion (Misc queries) 7 July 1st 09 11:07 PM
Generating calendars DKS Excel Worksheet Functions 5 April 24th 08 01:18 PM
Lognormal base in charts (excel 2007) jonny Charts and Charting in Excel 2 July 11th 07 10:26 PM
Generating a table Comicfly Excel Worksheet Functions 3 July 12th 05 09:15 PM


All times are GMT +1. The time now is 04:26 AM.

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

About Us

"It's about Microsoft Excel"