modmed_fit: Compute the paths coefficients for analayses of moderated...

Description Usage Arguments Value References

View source: R/modmed_fit.R

Description

Compute the paths coefficients for analayses of moderated mediations.

Usage

1
modmed_fit(sample = NULL, formula = NULL, inst = NA, method = "OLS")

Arguments

sample

Tibble. Table containing the data.

formula

List of formulas. System of equations.

inst

Character string or vector. Specify the instrumental variable for the independent variable.

method

Character vector. Method for the system of first stage equations: "OLS", "WLS", "SUR", "2SLS", "W2SLS", or "3SLS".

Value

A tibble gathering the regression coefficients.

References

Arne Henningsen and Jeff D. Hamann (2007). systemfit: A Package for Estimating Systems of Simultaneous Equations in R. Journal of Statistical Software 23(4), 1-40. http://www.jstatsoft.org/v23/i04/.


NicolasJBM/model documentation built on Feb. 15, 2018, 11:12 p.m.