qgcomp_lin_wrapper {mpower}R 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).


[Package mpower version 0.1.0 Index]