Displaying 2 results from an estimated 2 matches for "posterior2".
Did you mean:
posterior
2008 Oct 18
1
Fehler in x$terms : $ operator is invalid for atomic vectors
...e 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 error message:
> library(MCMCpack)
> line <- list(X = c(-2,-1,0,1,2), Y = c(1,3,3,3,5))
> posterior2 <- MCMCregress(paste("X","Y",sep="~"), da...
2006 Dec 07
0
Help to understand an Error using summary to an mcmc object
Hi,
I used the MCMCirtKd function of MCMCpack:
posterior2 <- MCMCirtKd(data, dimensions = 2,
+ burnin = 5000, mcmc = 50000, thin = 10,
+ verbose = 10000, B0 = .25, store.item = TRUE, item.constraints =
beta.constraints)
And after apply the comand summary() I got some erros and warnings that I
could not understand:
summary.pos...