wrap_cml_lasso_lbfgs_optimized: Title Wrapper function for use in simulation studied, taking...

Description Usage Arguments Value

View source: R/functions.R

Description

Title Wrapper function for use in simulation studied, taking all parameters, passing them to sim_scenario_DIF_data and computing results via cml_lasso_win_lbfgs_optimized

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
wrap_cml_lasso_lbfgs_optimized(
  n,
  I,
  nvars,
  seed,
  nlambdas,
  betavalues = rep(0, I),
  deltavalues = matrix(c(-0.5, 0, 0, 0, 0.5), nvars, I),
  thetavalues = rep(0, n),
  covariatevalues = matrix(rnorm(n * nvars), n, nvars),
  no_of_cores_used = "unknown"
)

Arguments

n

number of persons (only used of if not specified below)

I

number of items (only used of if not specified below)

nvars

number of covariates (only used if not specified below)

seed

seed for data simulation

betavalues

Vector with true values of the item parameters.

deltavalues

Matrix with the true values of the delta parameters (ncovs x nitems)

covariatevalues

Matrix of covariate values of all persons (n x ncovs)

no_of_cores_used

Number of cores to be used for parallel computing

Value

list of results and simulation scenario details.


submission-user/cmlDIFlasso documentation built on Dec. 23, 2021, 6:40 a.m.