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

Description Usage Arguments Value References

View source: R/estimate.R

Description

Compute the paths coefficients for analayses of moderated mediations.

Usage

1
2
3
estimate(sample = NA, md_imputation = "multiple", md_method = "pmm",
  size = NA, formula = NA, method = "felm", family = NA,
  draws = 1000, cores = 2)

Arguments

sample

Tibble. Table containing the data.

md_imputation

Character. Kind of imputation ("multiple","single","deletion")

md_method

Character. Method for the imputation of missing data ("pmm", "mean", "sample", "deletion").

size

Integer. Size of the sample for each draw. If NA, use the sample size.

formula

Formula or list of formulas for a system of equations.

method

Character. Method for the regression ("glm", "felm", or "sysfit").

family

Character. Family for glm (e.g. "gaussian", "binomial") .

draws

Integer. Number of draws for the bootstrap.

cores

Integer. Number of cores used for parallel threads.

Value

A tibble gathering the regression coefficients for each draw.

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/modestim documentation built on Aug. 26, 2019, 5:29 a.m.