prob_seropositive {RCMsize}R Documentation

Calculation of Seropositivity Probability

Description

This function calculates the probability of seropositivity based on the age and the seroconversion and seroreversion rates, using a reversible catalytic model.

Usage

prob_seropositive(SCR, SRR, t)

Arguments

SCR

Seroconversion Rate

SRR

Seroreversion Rate.

t

Age for which we want to calculate the probability of seropositivity.

Value

The probability of seropositivity for age 't'.

References

For more information on the reversible catalytic model, see https://link.springer.com/article/10.1186/s12936-015-0661-z

Examples

prob_seropositive(0.03, 0.01, 45)

[Package RCMsize version 1.0.0 Index]