matrix_coeftest: Export Matrix (Data.Frame) of Coefficients Test

Description Usage Arguments

View source: R/matrix_est.R

Description

Export Matrix (Data.Frame) of Coefficients Test

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
matrix_coeftest(
  m,
  vcov.est = NULL,
  robust.type = "HC1",
  cluster.var = NULL,
  boot.sims = 500,
  boot.seed = 578,
  ncores = "auto",
  ...
)

Arguments

m

A single model object.

vcov.est

Alternative variance-covariance matrix. The value must be one of raw variance-covariance matrix, "robust", "boot", or NULL (default). If "robust", robust standard error is calculated according to robust.type. If "boot", bootstrapped standard error calculated by Boot function is used. Ignored if NULL (default) or the m is not model object. Must have the same length as m if it is a list.

robust.type

The type of robust standard error (applied only when vcov.est=="robust").

cluster.var

A vector, matrix, or data.frame of cluster variables, where each column is a separate variable. Alternatively, a formula specifying the cluster variables to be used (see Details in [multiwayvcov]{cluster.vcov}. Applied only when vcov.est=="cluster".)

boot.sims

Number of iterations if bootstrap is used.

boot.seed

Random number seed if bootstrap method is used.

ncores

Number of cores to be used in bootstrap. If "auto", automatically detects number of cores in computer.

...

Additional arguments passed to [sandwich]{vcovHC}, [multiwayvcov]{cluster.vcov}, or Boot depending on the value of vcov.est.

seed

Random number seed.


gentok/estvis documentation built on April 2, 2020, 1:58 p.m.