![]() 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' |
![[epsiv]](../common/images/epsil.gif)
| Details |
Syntax |
DEVIANCE('BERNOULLI', variable, p<,
>)
|
p
1-
.![[epsiv]](../common/images/epsil.gif)
p
is replaced by
. Any value of p in the interval 1 -
p
1 is replaced
by 1 -
.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, ,
n<, >)
|
| Range: | 0 variable 1 |
![[mu]](../common/images/mul.gif)
| Range: | n
n(1- ) |
| Range: | n 0 |
![[epsiv]](../common/images/epsil.gif)
. Any value of
in the
interval 0
n
is replaced by n
. Any value of
in the interval n(1 -
)
n is replaced by n(1 -
).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
![]() |
![[mu]](../common/images/mul.gif)
| Range: | ![]() ![]() |
![[epsiv]](../common/images/epsil.gif)
. Any value of variable in the interval 0
variable
is replaced by
. Any value of
in the interval 0
is replaced
by
.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
![]() |
![[mu]](../common/images/mul.gif)
| Range: | ![]() ![]() |
![[epsiv]](../common/images/epsil.gif)
. Any value of variable in the interval 0
variable
is replaced by
. Any value of
in the interval 0
is replaced
by
.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,
)
|
![[mu]](../common/images/mul.gif)
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
0 |
![[mu]](../common/images/mul.gif)
| Range: | ![]() ![]() |
![[epsiv]](../common/images/epsil.gif)
. Any value of
in the
interval 0
is replaced by
.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.