compute_coefficients: Compute the simple coefficients for several models

Description Usage Arguments Value See Also

View source: R/compute_coefficients.R

Description

Compute the simple coefficients for several models

Usage

1
2
3
4
5
6
7
8
9
compute_coefficients(
  est_sample = NULL,
  md_imputation = "multiple",
  md_method = "pmm",
  size = NA,
  formulas = NULL,
  est_method = "felm",
  est_family = NA
)

Arguments

est_sample

Tibble. Initial sample.

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.

formulas

Vector of formulas. The various models to run on a sample.

est_method

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

est_family

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

Value

A tibble gwith all the coefficients associating each dependent, independent, and moderating variables.

See Also

estimate


NicolasJBM/modlR documentation built on May 14, 2021, 1:52 p.m.