PPS: Create a PPS object

Description Usage Arguments Value See Also Examples

View source: R/PPSclass.R

Description

This function creates a PPS object.

Usage

1
2
3
4
5
6
7

Arguments

num_hai_patients

Named numeric containing patients having healthcare-associated infections.

num_survey_patients

Number of patients in point prevalence survey.

length_of_stay

Length of stay of all patients in hospitals. This is need for the prevalence to incidence conversion with the Rhame-Sudderth formula.

loi_pps

A list containing length of infections from all patients in the PPS. The length of infection of all healthcare-associated infections. In PPS this is usually approximated as the time from infection onset until the date of the survey.

hospital_discharges

The number of hospital discharges.

num_hai_patients_by_stratum

A list containing for each infection the number of patients in each age and gender stratum.

num_hai_patients_by_stratum_prior

The prior weight (counts) for each infection, age and gender stratum. This is used for smooting the age and gender distribution when small numbers are observed.

mccabe_scores_distr

The observed McCabe scores (counts) for each infection, age and gender stratum from the PPS.

mccabe_by_stratum_prior

The prior weight (counts) for each infection, McCabe score, age and gender stratum. This is used for smooting the age and gender distribution when small numbers are observed.

mccabe_life_exp

Named list containing remaining life expectancies for each McCabe score (NONFATAL, ULTFATAL, RAPFATAL).

num_survey_patients_by_stratum

Number of survey patients stratified by infection, age and gender. If this parameter is provided the methodology described in Cassini et al. (2016) <doi:https://doi.org/10.1371/journal.pmed.1002150> is applied.

population

Population size.

country

Name of the country.

Value

A PPS class object.

See Also

PPS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

BHAI documentation built on Oct. 6, 2019, 5:04 p.m.

Related to PPS in BHAI...