|
Chapter Contents |
Previous |
Next |
| DEVIANCE |
| Category: | Mathematical |
| Syntax | |
| Arguments | |
| Details | |
| The Bernoulli Distribution | |
| The Binomial Distribution | |
| The Gamma Distribution | |
| The Inverse Gauss (Wald) Distribution | |
| The Normal Distribution | |
| The Poisson Distribution | |
Syntax |
|
DEVIANCE(distribution, variable,
shape-parameter(s)<, |
| Distribution | Argument |
|---|---|
| Bernoulli |
'BERNOULLI' | 'BERN' |
| Binomial |
'BINOMIAL' | 'BINO' |
| Gamma |
'GAMMA' |
| Inverse Gauss (Wald) |
'IGAUSS' | 'WALD' |
| Normal |
'NORMAL' | 'GAUSSIAN' |
| Poisson |
'POISSON' | 'POIS' |
| Details |
Syntax |
|
DEVIANCE('BERNOULLI', variable, p<,
|
The DEVIANCE function returns the deviance from a Bernoulli distribution with a probability of success p, where success is defined as a random variable value of 1. The equation follows:
Syntax |
|
DEVIANCE('BINO', variable, |
| Range: | 0 |
| Range: | n |
| Range: | n |
The DEVIANCE function returns the deviance from a binomial distribution, with a probability of success p, and a number of independent Bernoulli trials n. The following equation describes the DEVIANCE function for the Binomial distribution, where x is the random variable.
Syntax |
|
DEVIANCE('GAMMA', variable, |
| Range: | variable |
| Range: |
The DEVIANCE function returns the deviance from a gamma
distribution with a mean parameter
. The following equation
describes the DEVIANCE function for the gamma distribution, where x is the random variable:
Syntax |
|
DEVIANCE('IGAUSS' | 'WALD', variable,
|
| Range: | variable |
| Range: |
The DEVIANCE function returns the deviance from an inverse
Gaussian distribution with a mean parameter
. The following
equation describes the DEVIANCE function for the inverse Gaussian distribution,
where x is the random variable:
Syntax |
|
DEVIANCE('NORMAL' | 'GAUSSIAN', variable,
|
The DEVIANCE function returns the deviance from a normal
distribution with a mean parameter
. The following equation
describes the DEVIANCE function for the normal distribution, where x is the random variable:
Syntax |
|
DEVIANCE('POISSON', variable, |
| Range: | variable |
| Range: |
The DEVIANCE function returns the
deviance from a Poisson
distribution with a mean parameter
. The following equation
describes the DEVIANCE function for the Poisson distribution, where x is the random variable:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.