Functions and CALL Routines |
Returns the logarithm of a probability density (mass) function.
LOGPDF('dist',quantile,parm-1,...,parm-k)
|
-
'dist'
-
is a character constant, variable, or expression
that identifies the distribution. Valid distributions are as follows:
Distribution |
Argument |
Bernoulli |
'BERNOULLI'
|
Beta |
'BETA'
|
Binomial |
'BINOMIAL'
|
Cauchy |
'CAUCHY'
|
Chi-Square |
'CHISQUARE'
|
Exponential |
'EXPONENTIAL'
|
F |
'F'
|
Gamma |
'GAMMA'
|
Geometric |
'GEOMETRIC'
|
Hypergeometric |
'HYPERGEOMETRIC'
|
Laplace |
'LAPLACE'
|
Logistic |
'LOGISTIC'
|
Lognormal |
'LOGNORMAL'
|
Negative binomial |
'NEGBINOMIAL'
|
Normal |
'NORMAL'|'GAUSS'
|
Normal mixture |
'NORMALMIX'
|
Pareto |
'PARETO'
|
Poisson |
'POISSON'
|
T |
'T'
|
Uniform |
'UNIFORM'
|
Wald (inverse Gaussian) |
'WALD'|'IGAUSS'
|
Weibull |
'WEIBULL'
|
Note: Except for T, F, and NORMALMIX,
you can minimally identify any distribution by its first four characters. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
-
quantile
-
is a numeric constant, variable, or expression
that specifies the value of a random variable.
-
parm-1,...,parm-k
-
are optional shape, location, or scale parameters appropriate for the specific
distribution.
The LOGPDF function computes the logarithm of the probability
density (mass) function from various continuous and discrete distributions.
For more information, see the PDF Function.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.