[R] Response as matrix in MCMClogit?

From: francogrex <francogrex_at_mail.com>
Date: Sat, 05 May 2007 07:01:34 -0700 (PDT)

I hope some of the authors of the package MCMCpack read this. I don't know if there is a way to set the response in the model formula of MCMClogit other than a (numeric) response vector. I think the MCMClogit in the MCMCpack needs some development so that the response in the formula could be set as a two-column matrix with the columns giving the numbers of successes and failures (just as in glm) or at least to be able to set the weights also when using the response vector. The advantage would be when analysing large datasets (over 1 million rows) to have it summarized and entered as a matrix because otherwise it takes a huge amount of memory space and crashes the program (if trying to expand the matrix into a response vector to have it in the formula. After all, the bayesian logistic regression is especially useful in large datasets. Is there a way to do that? Thanks

View this message in context: http://www.nabble.com/Response-as-matrix-in-MCMClogit--tf3696522.html#a10336757
Sent from the R help mailing list archive at Nabble.com.

R-help_at_stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 05 May 2007 - 14:07:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 May 2007 - 14:31:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.