What can cause multicollinearity in OLS?

i like this post (click again to cancel)
0
i dont like this post (click again to cancel) remove favorite mark from this question (click again to restore mark)

A SHAZAM User asked:

I am a student at XXX University and am using the Shazam program to create a hedonic pricing model of laptops for a fourth year course.

My problem is that I have used dummy variables to signify the makers of each laptop. When I try to perform the OLS function, I get a message saying "Matrix Inversion failed in row 19". " This usually indicates perfect multicollinearity with variable constant".

I have searched the internet to no avail for an answer. When I run the regression without the dummy variables, the OLS works. How can I perform OLS on my data including the dummy variables? Do I have to specify that they are dummy variables somewhere in the code?

asked Apr 06 '11

SHAZAMHelp gravatar image SHAZAMHelp 332 1 5 16
http://econometrics.com/
i like this answer (click again to cancel)
2
i dont like this answer (click again to cancel) SHAZAMHelp has selected this answer as correct

Try using the NOCONSTANT option on the OLS command to remove any constant

Also make sure you have N-1 dummy variables.

link

posted Apr 06 '11

David gravatar image David
183 1 7

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Tags:

×5
×3
×1
×1
×1

Asked: Apr 06 '11

Seen: 249 times

Last updated: Feb 14