ggbgetRMS {DDM}R Documentation

calculate the root means square of the error to help find optimal age range

Description

Called by ggbgetAgesFit() whenever the user does not want to manually determine the age range used to determine registration coverage. Probably no need to be called by top-level users. If a user would rather determine the optimal age range some other way, then look to ggbcoverageFromYear() where ggbgetRMS is called and add another condition or make it call something else.

Usage

ggbgetRMS(agesi, codi)

Arguments

agesi

the set of ages used for this iteration

codi

data.frame with columns, $pop1, $pop2, $deaths, $date1, $date2, and $age.

Value

the RMSE


[Package DDM version 1.0-0 Index]