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
Non-numeric string variable with missing value to numeric variable that recognises the missing valueI have a string variable in the form as below: delivery air ship ship air air NA NA ship air air …
Problem with instruments in the spivregressDear All, I am estimating a spatial IV model using the files that you can download from here. They …
How to make a graph for U-shaped relationshipsHi, I often check estimated relationships in a graph by using the Stata marginsplot or marginscontp…
Generate a table, separated by age and a monetary valueGreetings, I have data on inheritances, and I would like to create a discriptive table to see the %…
"Expanding" a count variable within a panel datasetHello. My PI has asked me to create new rows from two existing variables (see num and den below). Us…
Subscribe to:
Post Comments (Atom)
0 Response to Help with collinearity
Post a Comment