S93B / Portfolio

Personal portfolio for learning Python
0 stars 0 forks source link

Create categories for political ideologies #10

Open S93B opened 1 month ago

S93B commented 1 month ago

The Netherlands has many political parties. To make an analysis somewhat more organized, I can recode the parties based on political ideology/color. E.g., social-democratic; liberal, et cetera

S93B commented 2 weeks ago

I will be adding variables about placement on left/right scale and closeness to a certain party.

S93B commented 1 week ago

The ESS11 contains a plethora of variables related to voting, party choice and preference. Therefore I added multiple of such variables, but ran into small problems. The variable for 'feeling closer to a particular party' has a follow-up question when = true. The second question therefore contained loads of Not Applicable answers.

The question for which party was voted for last election, also contains 450 Not Applicable or other missings. I will fill these missing with their party they feel closer to, if that variable is answered. Otherwise the k-nearest neighbor will fill these values.