Prevalence to Incidence Calculations for Point-Prevalence Studies in a Nosocomial Setting
function to transform the distribution of stays to a fixed point to th...
Calculate confidence intervals for Grenander estimator of Ipp based on...
Function to calculate different estimators for I from PPS data.
Function to calculate incidence from PPS data using a mix of two estim...
Function to calculate incidence from PPS data using a Rhame-Sudderth l...
Estimate the incidence based on PPS data using monotone estimators for...
Function to calculate confidence intervals I.pp for gren estimator wit...
Create vector of probabilities for a finite positive discrete distribu...
Function to simulate a single hospital bed trajectory
Calculate empirical probability mass function for a discrete positive ...
Function to simulate PPS and data and calculate a number of estimators
Probability mass function for a geometric distribution shifted by one ...
Calculate length-biased distribution from discrete length-unbiased dis...
Calculate mean of length-unbiased distribution from discrete length-bi...
Calculate a monotone probability mass function estimate
Probability mass function for a Poisson distribution shifted by one an...
prevtoinc:
Calculate theoretical values like x.los, x.loi and other characteristi...
Function to calculate theoretical value for x.loi and I
Function to simulate PPS data
Faster method to generate data for PPS with only length of nosocomial ...
Transform a distribution of times of stay to a distribution of staying...
Functions to simulate point prevalence studies (PPSs) of healthcare-associated infections (HAIs) and to convert prevalence to incidence in steady state setups. Companion package to the preprint Willrich et al., From prevalence to incidence - a new approach in the hospital setting; <doi:10.1101/554725> , where methods are explained in detail.