Learn R Programming

smcfcs (version 1.7.1)

ex_poisson: Simulated example data with count outcome, modelled using Poisson regression

Description

A dataset containing simulated data where the count outcome depends on two covariates, x and z, with missing values in x. The substantive model is Poisson regression.

Usage

ex_poisson

Arguments

Format

A data frame with 1000 rows and 3 variables:

y

Count outcome

z

Fully observed covariate, with linear effect on outcome

x

Partially observed normally distributed covariate, with linear effect on outcome