qgcomp_lin_wrapper: Fits a linear Quantile G-Computation model with no...

View source: R/inference.R

qgcomp_lin_wrapperR Documentation

Fits a linear Quantile G-Computation model with no interactions

Description

Fits a linear Quantile G-Computation model with no interactions

Usage

qgcomp_lin_wrapper(y, x, args = list())

Arguments

y

A vector of outcome

x

A matrix of predictors

args

A list of arguments see R function 'qgcomp::qgcomp.noboot()'.

Value

A list

pval

The p-value of the combined effect, the same for all predictors.

pos_weights

Positive weights. See 'qgcomp' package.

neg_weights

Negative weights. See 'qgcomp' package.

time

elapsed time to fit the model.

Reference

Keil AP, Buckley JP, O’Brien KM, Ferguson KK, Zhao S, White AJ (2020). “A Quantile-based g-computation approach to addressing the effects of exposure mixtures.”Environmental Health Perspectives, 128(4).


phuchonguyen/mpower documentation built on Oct. 2, 2022, 7:57 p.m.