I'm running a Hierarchical Lin Regr model using bayesm
package in R. I have a data set with one dependent and 6 predictors. There are 207 unique respondents with 35 observations for each.
I began by using
print(out$betadraw)
Then I read about the sink
function to output the out$betadraw
to a file. I thought that sink
function would capture all the draws. Instead the draws were truncated after certain number of draws.
I need to capture all the draws. In addition, is it possible to pass objects from bayesm
package to coda
package for convergence diagnostics? Any help would be greatly appreciated.