[SciPy-user] stats newbie question

Robert Kern rkern at ucsd.edu
Wed Mar 16 19:57:31 CST 2005


r help wrote:
> hi
> 
> i am attempting to use the cdf of a lognormal
> distribution but i cant seem to locate the docs to do
> this correctly. 

Starting from

   http://www.scipy.org/livedocs/

you navigate to

   http://oliphant.ee.byu.edu:81/scipy/stats/lognorm

Alternatively, you can read the docstring of the lognorm object.

> ive been trying
> 
> from scipy import *
> from scipy.stats import *
> 
> then i try
> 
> lognorm.cdf(1,1)
> stats.lognorm.cdf(1,1)
> 
> which just give errors. 

What errors?

This is what I get:

In [1]: from scipy import *

In [2]: stats.lognorm.cdf(1,1)
Out[2]: NumPy array, format: long
0.5

> can anyone shed some light on
> how to access the lognorm distribution.

Read the livedocs. Also, help us to help you and read

   http://www.catb.org/~esr/faqs/smart-questions.html

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter



More information about the SciPy-user mailing list