📄 mcmcirtkd.r
字号:
############################################################################ sample from a K-dimensional two-parameter item response model with## probit link. This is just a wrapper function that calls## MCMCordfactanal.#### Andrew D. Martin## Washington University#### Kevin M. Quinn## Harvard University#### June 8, 2003############################################################################"MCMCirtKd" <- function(datamatrix, dimensions, item.constraints=list(), burnin = 1000, mcmc = 10000, thin=1, verbose = 0, seed = NA, alphabeta.start = NA, b0=0, B0=0, store.item=FALSE, store.ability=TRUE, drop.constant.items=TRUE, ... ) { datamatrix <- as.matrix(datamatrix) post <- MCMCordfactanal(x=datamatrix, factors=dimensions, lambda.constraints=item.constraints, burnin=burnin, mcmc=mcmc, thin=thin, tune=NA, verbose=verbose, seed=seed, lambda.start=alphabeta.start, l0=b0, L0=B0, store.lambda=store.item, store.scores=store.ability, drop.constantvars=drop.constant.items, model="MCMCirtKd") return(post) }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -