pride: Pediatric Respiratory Infection, Deutschland (pride)

Description Usage Format Source Examples

Description

Data dealing with lower respiratory tract infections (LRTI) in n=3.078 infants and children aged less than three years in the observational study Pri.DE (Pediatric Respiratory Infection, Deutschland) in Germany.

Usage

1

Format

a data.frame with n = 3078 observations on 15 variables.

PCR_RSV

current respiratory syncytial virus (RSV) infection (1) or not (0)

SEX

gender: male (1) and female (2)

ETHNO

ethnic group: German (1), European Union (2) and others (3)

FRUEHG

preterm delivery (1) or not (0)

RSVINF

former RSV infection (1) or not (0)

HERZ

congenital heart defect (1) or not (0)

REGION

German region: South (1), East (2), West (3) and North (4)

AGE

age in years

VOLLSTIL

current breast feeding or longer than two months (1) or not (0)

EINZ

siblings (1) or not (0)

TOBACCO

passive tobacco smoke exposure at home (1) or not (0)

EXT

external care (1) or not (0)

ELTATOP

parental atopy (1) or not (0)

SEVERE

severe LRTI (1) or not (0)

KRANKSUM

number of diagnosed LRTI

Source

This data set was aquireed from the nonrandom R package. https://cran.r-project.org/web/packages/nonrandom/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(ggplot2)
data(pride, package = "pstools")

glmfit <- stats::glm(PCR_RSV ~ SEX + RSVINF + REGION + AGE + ELTATOP + EINZ + EXT, 
                     data = pride, family = stats::binomial())
plotdata <- cbind(pride, propensity = qwraps2::invlogit(fitted(glmfit)))

ggplot2::ggplot(plotdata) + 
ggplot2::aes_string(x = "propensity", fill = "factor(PCR_RSV)") + 
ggplot2::geom_density(alpha = 0.5)

dewittpe/pstools documentation built on May 15, 2019, 5:07 a.m.