Hello Statalist,
I'm relatively new to STATA and I'm working on a research project on education level and attitudes on immigration. I'm using the ANES data on this but I'm having trouble running a regression with getting an error message regarding collinearity.
This is what the education variable looks like on STATA
V201510 (now renamed education)
6. Bachelor'
3. Some coll
2. High sch
4. Associate
8. Professio
3. Some coll
4. Associate
2. High sch
2. High sch
4. Associate
2. High sch
2. High sch
2. High sch
7. Master's
3. Some coll
3. Some coll
6. Bachelor'
6. Bachelor'
6. Bachelor'
2. High sch
7. Master's
1. Less than
6. Bachelor'
7. Master's
1. Less than
6. Bachelor'
1. Less than
6. Bachelor'
8. Professio
2. High sch
2. High sch
3. Some coll
It is a double variable. My first issue was finding a way to group the same education levels together and create their own variable. Then my other issue is running a regression. However, when I've attempted to run the regression using education, it is being omitted due to collinearity. I'm wondering if it even possible to create separate groups and run the regression with each separate group and be successful?
Thank you!
Related Posts with Help with collinearity
Problems with command asdocHi there, I am trying to create a multiple regression table with the command 'asdoc' for a Tobit mo…
generate event time across yearsDear All, Consider the following data (a duplicate post is here): Code: * Example generated by -dat…
Merging more than two data sets using macros and foreach loopHello Everyone, I want to merge three datasets using macros and foreach loop. The file names are 1.…
Questions in doing semHi there! I want to conduct an SEM model to test the mediator. However, it shows 'factor-variable op…
Free 2-day seminar on Stata's sem and gsem commandsHi everyone, over the holidays Instats is offering some free 2-day seminars on Path Modeling includi…
Subscribe to:
Post Comments (Atom)
0 Response to Help with collinearity
Post a Comment