Estimation Result depending on order of covariates? #3

Open
AndreWal opened this Issue Jan 18, 2017 · 0 comments

Comments

Projects
None yet
1 participant

Dear Yu-Sung Su,

I noticed recently a rather strange behaviour of the bayesglm-function. More specifically, it seems that the results of the bayesglm-function depend on the order of covariates in the formula argument. To give an example in R:

library(arm)

data(lalonde)

m1 <- bayesglm(marriedage+educ, lalonde, family = binomial("logit"))
summary(m1)
m2 <- bayesglm(married
educ+age, lalonde, family = binomial("logit"))
summary(m2)

In the example, the differences of the point estimate and standard error differ only slightly. However, for other datasets I use in my daily work, I noticed that the differences can become quite large. Could there be something wrong with the function?

Best,
André

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment