estimation.Rd
The primary estimation function for conducting the optimization. The function is typically called through the mars function, but can be called here directly.
estimation(
formula = NULL,
effect_name = NULL,
studyID = NULL,
effectID = NULL,
variance = NULL,
data,
estimation_method = "REML",
optim_method = "L-BFGS-B",
structure = "UN",
varcov_type,
weights = NULL,
intercept = FALSE,
N = NULL,
missing = "remove",
robustID = NULL,
lasso = FALSE,
lasso_args = list(lambda_grid = 10^seq(-3, 1, length.out = 10), K = 5),
multivariate_covs = NULL,
tol = 1e-10,
...
)
The formula used for specifying the fixed and random structure. Used for univariate and multilevel structures.
Character string representing the name of the effect size column in the data.
Character string representing the study ID
Character string representing the effect size ID
Character string representing the name of the variance of the effect size in the data.
Data used for analysis
Type of estimation used, either "REML" or "MLE", REML is the default
Optimization method that is passed to the optim function. Default is 'L-BFGS-B'.
Between studies covariance structure, default is "UN" or unstructured. See details for more specifics.
Type of variance covariance matrix computed. Default is 'cor_weighted' for correlations or 'smd_outcome' for standardized mean differences.
User specified matrix of weights.
Whether a model intercept should be specified, default is FALSE meaning no intercept. See details for more information.
Character string representing the sample size of the studies.
What to do with missing data, default is 'remove'
A character vector specifying the cluster group to use for computing the robust standard errors.
TRUE/FALSE indicator that specifies if lasso results are returned. TRUE means lasso results will be run, if number of predictors is less than number of effect sizes, both lasso and non-lasso results will be returned, if number of predictors is equal to or greater than the number of effect sizes, the lasso results will only be returned.
A list of LASSO specific arguments.
A one-sided formula to specify the covariates used in a multivariate analysis.
Tolerance for estimating, passed to optim
Additional arguments to pass to optim
.
Output is a named list; The output returns the estimated parameters, fit statistics, estimation inputs.