calculatePoissonR2 {ShotgunFunctionalizeR}R Documentation

Calculates the goodness-of-fit for Poisson regression

Description

Calculates the goodness-of-fit for Poisson regression as suggested by Mittlbock {it et al.} 2002.

Usage

calculatePoissonR2(res.poiss, k=1)

Arguments

res.poiss the results from a Poisson regression. Produced by glm
k

Value

calculatePoissonR2 returns an estimate of the goodness-of-fit, which is a number between 0 and 1.

References

Mittlbock, M. (2002). Calculating adjusted $R^2$ measures for Poisson regression models. Computer Methods and Programs in Biomedicine. {bf 63} (3) pp 205-214.

See Also

glm


[Package ShotgunFunctionalizeR version 1.0-3 Index]