D2: Calculate Accuracy

Description Usage Arguments Value Examples

View source: R/Helpers.R

Description

Calculate Accuracy

Usage

1
D2(y_i, u_i)

Arguments

y_i

Observed counts

u_i

Predicted counts

Value

the McFadden's Pseudo R-squared

Examples

1
2
3
y_i <- rpois(50,12)
u_i <- rpois(50,11.5)
D2(y_i,u_i)

iloveless1/EPIExPRS documentation built on Dec. 20, 2021, 6:55 p.m.