nine.month.pointmass: Defines a simple cumulative distribution function (CDF)...

Description Usage Arguments Details Value Examples

Description

Defines a simple cumulative distribution function (CDF) with a point mass at nine (9) months.

Usage

1

Arguments

age

the age of the individual

Details

The cumulative distribution function determines an individual's probabilty of receiving a routine vaccination. It is passed into the weighting calculation function (@codew.matrix) by various coverage analysis functions such as @code ll.coverage and @code mcmc.estimate . A user specifies, by name, which CDF to use when an analysis function is invoked, e.g. @code mcmc.estimate( ..., routine.cdf = "9m.pointmass", ... ) . See the documentation for the respective analysis functions for details about which CDFs are supported.

Value

zero (0) if @p age < 9 and one (1) otherwise

@see w.matrix @see ll.coverage @see mcmc.estimate

Examples

1
2
x <- 0:24
plot( x=x, y=nine.month.pointmass(x) )

vacem documentation built on April 14, 2017, 7:28 p.m.