compute_pi: Probability of being removed before next observation time

View source: R/MH_latent.R

compute_piR Documentation

Probability of being removed before next observation time

Description

Computes p_i, the probability of being removed before t_end given an infection at time tau_I.

Usage

compute_pi(theta, tau_I, iota_dist, t_end)

Arguments

theta

parameters

tau_I

observed event times

iota_dist

distribution of infection periods

t_end

time before which individuals may be removed

Value

a vector of the probabilities that individual infected at time tau_I are removed before t_end


rmorsomme/PDSIR documentation built on April 27, 2023, 2:56 p.m.