Re: [R] Regressing the residuals on the country dummies

2016-08-18 Thread Bert Gunter
0-340576-336 >> Fax+49-(0)40-340576-776 >> Internet: www.hwwi.org >> Email: holterm...@hwwi.org >> >> Amtsgericht Hamburg HRB 94303 >> Geschäftsführer: Prof. Dr. Henning Vöpel >> Prokura: Dipl. Kauffrau Alexis Malchin >> Umsatzsteuer-ID: DE 241849425 &

Re: [R] Regressing the residuals on the country dummies

2016-08-18 Thread Alemu Tadesse
t; are > >> no degrees of freedom left. > >> > >> Mit freundlichen Grüßen > >> > >> > >> Linus Holtermann > >> Hamburgisches WeltWirtschaftsInstitut gemeinnützige GmbH (HWWI) > >> Heimhuder Straße 71 > >> 20148 Hamburg &g

Re: [R] Regressing the residuals on the country dummies

2016-08-18 Thread Alemu Tadesse
Alexis Malchin > Umsatzsteuer-ID: DE 241849425 > > > -----Ursprüngliche Nachricht- > Von: R-help [mailto:r-help-boun...@r-project.org] Im Auftrag von Johanna > von Bahr > Gesendet: Donnerstag, 1. Oktober 2015 21:15 > An: r-help@r-project.org > Betreff: [R] Regressin

Re: [R] Regressing the residuals on the country dummies

2015-10-02 Thread Linus Holtermann
ohanna von Bahr Gesendet: Donnerstag, 1. Oktober 2015 21:15 An: r-help@r-project.org Betreff: [R] Regressing the residuals on the country dummies I’m trying to estimate a model regressing the residuals on the country dummies as follows; model.resC <- lm(model2$res ~ as.factor(Country)) summary(mode

Re: [R] Regressing the residuals on the country dummies

2015-10-01 Thread Mark Leeds
Hi: You'd have to provide a dput of "model2" and "Country" for anyone to give a definitive answer but my guess is that you have an orthogonal X matrix which is causing you to fit the model perfectly which causes the model residuals to be zero. Also, you didn't explain what you're doing but modelli

[R] Regressing the residuals on the country dummies

2015-10-01 Thread Johanna von Bahr
I’m trying to estimate a model regressing the residuals on the country dummies as follows; model.resC <- lm(model2$res ~ as.factor(Country)) summary(model.resC) As I call the model I get the following results regarding the residuals: "ALL 90 residuals are 0: no residual degrees of freedom!" Wha