continuous_nav: Estimating the Dose Response Function given the Generalized...

Description Usage Arguments Value

Description

This function estimates the fitted value from a linear hierarchical mixed effects model, with the generalized propensiy score and treatment occuring at the highest level

Usage

1
continuous_nav(formula, data, tx, intervals = 50, covs, ...)

Arguments

formula

This is a formula object specifying the dose-response model

data

This is the data frame used to fit the model

tx

This is the continuous treatment vector

intervals

Specify the number of intervals to include.

covs

Matrix of observed covariates

interact_vars

Specifies a character subset of the variables from the matrix covs and adds in pairwise interactions between all included covariates

polynomial_vars

Specifies a character subset of variables from the matrix covs to include as polynomial terms

polynomial_deg

Scalar value that identifies to what power the polynomial variable should be raised

Value

Returns a lme4 object


williazo/gps.continuousnav documentation built on May 8, 2019, 6:57 p.m.