Thanks Tal. Nice summary on the web page. I think the last example
would be even better if it was a stand-alone piece of code (i.e.: with
data) that we could run. For example
library("arm")
data("Mroz", package = "car")
M1<- glm(lfp ~ ., data = Mroz, family = binomial)
M2<- bayesglm(lfp ~ ., data = Mroz, family = binomial)
M3<- glm(lfp ~ ., data = Mroz, family = binomial(probit))
coefplot(M2, xlim=c(-2, 6), intercept=TRUE)
coefplot(M1, add=TRUE, col.pts="red", intercept=TRUE)
coefplot(M3, add=TRUE, col.pts="blue", intercept=TRUE, offset=0.2)
Allan
On 07/07/10 09:16, Tal Galili wrote:
Hello David,
Thanks to your posting I started looking at the function in the arm
package. It appears this function is quite mature, and offers (for
example) the ability to easily overlap coefficients from several models.
I updated the post I published on the subject, so at the end of it I
give an example of comparing the coef of several models:
http://www.r-statistics.com/2010/07/visualization-of-regression-coefficients-in-r/
Thanks again for the pointer.
Best,
Tal
[...]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.