Re: Statistical differences between models
Posted: Thu Mar 26, 2009 3:47 pm
When you include the constant, you should expect "near singular matrix." This is the dummy variable trap. I don't see why you get the error when the constant is omitted though.Thanks for your suggestion. When I enter equation: y c DUK DUS DEU DUK*X1 DUS*X1 DEU*X1 and so on for al five variables I get the error near singular matrix, also without entering the constant. This is probably because all dummies are mutually exclusive.Code: Select all
ls y DUK DUS DEU DUK*X DUS*X DEU*X
Starting to get a bit desperate here as I do not seem to be able to solve this problem that shouldn't be so difficult.