jasaDataAnalysis: Perform data analysis to estimate the proportion of explained...

View source: R/jasaDataAnalysis.R

jasaDataAnalysisR Documentation

Perform data analysis to estimate the proportion of explained variation from outcome data: dataseta1; covariate data: dataseta2; and the suplementary covariate data: dataseta3.

Description

This function performance data analysis with multiply imputed datasets

Usage

jasaDataAnalysis(dataseta1, dataseta2, dataseta3, nimpute = 6, alpha = 0.05)

Arguments

dataseta1

multiply imputed data set for outcomes and confounders.

dataseta2

multiply imputed data set for covariates.

dataseta3

multiply imputed data set for supplementary covariates.

nimpute

copies of imputed data sets.

alpha

to determine confidence as 1-alpha.

Details

perform both unadjusted and adjusted analyses and using Rubin's rule to combine results

Value

estimators, variance estimates, and confidence intervals.

Examples

## Not run: jasaDataAnalysis(outcome,covariates,supplecov)


hychen-uic/TEV documentation built on Jan. 24, 2025, 9:14 p.m.