search for: posterior1

Displaying 2 results from an estimated 2 matches for "posterior1".

Did you mean: posterior
2006 May 11
1
about MCMC pack
Hello, I tryed to use the MCMC pack, particularly the function MCMCirtKd to simulate the posterior distribution in a multidimensional IRT model. The code I used is: posterior1 <- MCMCirtKd(Y, dimensions=2, item.constraints=list("V2"=list(3,0)), burnin = 1000, mcmc = 10000, thin=1, verbose = 1, seed = NA, alphabeta.start = NA, b0 = 0, B0=0, store.item = FALSE, store.ability=FALSE, drop.constant.items=TRUE) where Y is a matrix subjects x items (15...
2008 Oct 18
1
Fehler in x$terms : $ operator is invalid for atomic vectors
Dear All I try to use your R package MCMCpack and I have encountered the following problem: The following code works fine: library(MCMCpack) line <- list(X = c(-2,-1,0,1,2), Y = c(1,3,3,3,5)) posterior1 <- MCMCregress(X~Y, data=line) summary(posterior1) But as long as I try the following lines library(MCMCpack) line <- list(X = c(-2,-1,0,1,2), Y = c(1,3,3,3,5)) posterior2 <- MCMCregress(paste(?X?,?Y?,sep=?~?), data = line) summary(posterior2) I get the following er...