Panel Analysis in Python

palina

New member
Joined
Jun 1, 2020
Messages
1
Good day to all! The purpose of my research is to determine the influence of various factors on the percentage of votes in the election. The problem is that the dependent variable is not only the percentage of votes, but also the relationship between the votes and the years before the election.

Here is what I mean:
region
yearPercentage of votesYears before the electionOther predictors
Belgorod region201662,364
Belgorod region
201762,363
Belgorod region
201862,362
Belgorod region
201962,361
Bryansk region
201671,93
Bryansk region
201771,92
Bryansk region
201871,91
Bryansk region
201963,71
0
Vladimir region2016
44,33​
2

What formula for panel regression can I use? I just used fixed effects only on the regions, I would like to leave them. I would like to apply interaction effects to other predictors. And can this be added to this indicator by the number of years before the election? And is it possible to create a model where all these effects will be together?

Таблица.jpg
 
Top