[R] MCMClogit confusion

AlexanderDueDo alex at ccin.de
Wed Oct 7 00:40:42 CEST 2009


Hello,

running the code

simulatedCase <- rbinom(100,1,0.5)
simDf <- data.frame(CASE = simulatedCase)
posterior_m0 <<- MCMClogit(CASE ~ 1, data = simDf, b0 = 0, B0 = 1)

always results in an acceptance ratio of 0. If I do not specify b0 and B0,
this does not occur. I do not understand the reasons for this behaviour -
any explanation would be greatly appreciated!

Thanks,

Alexander
-- 
View this message in context: http://www.nabble.com/MCMClogit-confusion-tp25777754p25777754.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list