[R] Regression Error: Otherwise good variable causes singularity. Why?

2010-08-12 Thread asdir
This command cdmoutcome- glm(log(value)~factor(year) +log(gdppcpppconst)+log(gdppcpppconstAII) +log(co2eemisspc)+log(co2eemisspcAII) +log(dist) +fdiboth +odapartnertohost +corrupt

Re: [R] Regression Error: Otherwise good variable causes singularity. Why?

2010-08-12 Thread JLucke
the litrate variable and the Africa variable. Look at the package lm.influence for regression diagnostics. asdir dirkroettg...@gmail.com Sent by: r-help-boun...@r-project.org 08/12/2010 10:35 AM To r-help@r-project.org cc Subject [R] Regression Error: Otherwise good variable causes singularity

Re: [R] Regression Error: Otherwise good variable causes singularity. Why?

2010-08-12 Thread David Winsemius
On Aug 12, 2010, at 10:35 AM, asdir wrote: This command cdmoutcome- glm(log(value)~factor(year) +log(gdppcpppconst)+log(gdppcpppconstAII) +log(co2eemisspc)+log(co2eemisspcAII) +log(dist) +fdiboth +odapartnertohost

Re: [R] Regression Error: Otherwise good variable causes singularity. Why?

2010-08-12 Thread asdir
@JLucke: As for the africa variable: I took it out of the model, so that we can exclude this variable itself and collinearity between the africa and the litrate variable as causes for the litrate-problem. This also removed the singularity remark at the top. However, the problem with