analyze_outcome_glm: Analyze outcome using glm

Description Usage Arguments Value

View source: R/02_analyze_data.R

Description

.. content for details ..

Usage

1

Arguments

data

data_frame which is assumed to have been trimmed already. It has to contain weight variables (iptw1, iptw2, mw1, mw2, ow1, and ow2)

formula

outcome analysis formula. It should only contain the outcome and the exposure of interest.

family

glm family statement.

data_aug

augmented data including counterfactual clones of each individual.

Value

data_frame with an adjustment method column and list columns for the coefficient and variance-covariance matrix (robust one for weighted data).


kaz-yos/trim3 documentation built on May 3, 2019, 7:40 p.m.