StanDINA_mG.run: Generate Stan code and Run the estimation for ORDM

Description Usage Arguments Value Author(s)

View source: R/StanDINA_mG.run.R

Description

The StanLCDM.script Function to automate Stan code geneartion for LCDMs with binary resposnes

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
StanDINA_mG.run(
  Qmatrix,
  response.matrix,
  GroupID,
  fixeditem.vector = NA,
  class.equal = T,
  script.path = NA,
  save.path = getwd(),
  save.name = "DINA_uninf_multiG",
  iter = 1000,
  warmup = 0,
  chain.num = 3,
  init.list = "random",
  control.list = NA
)

Arguments

Qmatrix

the Q-matrix specified for the LCDM

save.path

save the .stan file to somewhere; the default path is getwd()

save.name

name the .stan

Value

a. stan file saved at the specified path

Author(s)

Zhehan Jiang, University of Alabama, zjiang17@ua.edu


JihongZ/StanDCM documentation built on June 27, 2020, 7:51 a.m.