Learn R Programming

multibias (version 1.7.2)

summary.data_observed: Summary method for data_observed objects

Description

Provides a statistical summary of the observed data by fitting either:

  • A logistic regression model for binary outcomes

  • A linear regression model for continuous outcomes

The model includes the exposure and all confounders as predictors. For binary outcomes, estimates are exponentiated to show odds ratios.

Usage

# S3 method for data_observed
summary(object, ...)

Value

A data frame containing model coefficients, standard errors, confidence intervals, and p-values. For binary outcomes, coefficients are exponentiated to show odds ratios.

Arguments

object

A data_observed object

...

Additional arguments passed to summary