lognorm_dist1D()
Returns a lognormal distribution: either its probability density function (pdf), or cumulative distribution function (cdf)
Syntax
y = lognorm_dist1D(data, m, s, absS, is_cpf)
Arguments
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| data | number or a one-dimensional data | (-∞, ∞) | real | yes | |
| m | mean for the lognormal distribution | (-∞, ∞) | integer, real | yes | |
| s | standard deviation for the lognormal distribution | (-∞, ∞) | integer, real | yes | |
| absS | specifies absolute or relative standard deviation | [0, ∞) † | integer | 1 | no |
| is_cpf | specifies cdf or pdf og lognormal distribution | [0, ∞) † † | integer | 0 | no |
| † When absS is not equal to "0", s is the absolute standard deviation; otherwise, s is the relative standard deviation † † When is_cdf is not equal to "0", the function returns the cdf of the lognormal distribution. Otherwise, it returns the pdf of the lognormal distribution. | |||||
Examples
X = 0.5
X_pdf = lognorm_dist1D(X, 2.0,0.2, 1, 0)
X_cdf = lognorm_dist1D(X,2.0,0.1, 0, 1)
XX = [-3.9::0.1::3.9]
XX_pdf = lognorm_dist1D(XX,2.0, 0.2,1,0)
XX_cdf = lognorm_dist1D(XX,2.0,0.2,0,1)
Defined in
$HPEESOF_DIR/expressions/ael/statistical_fun.ael
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()