Hi,
I wonder how we can make a prediction with panel data. I have countries, independent variables (X1 and X2), year and dependent variable (Y). Which alghoritms should use in panel data? For example, I can make a classification for years (years and Y) and then I give cluster name for each year and then I predict Y.
| Country |
Year |
X1 |
X2 |
Y |
| USA |
2011 |
123 |
123 |
1 |
| USA |
2012 |
123 |
123 |
0 |
| USA |
2013 |
123 |
123 |
1 |
| USA |
2014 |
123 |
123 |
1 |
| USA |
2015 |
123 |
123 |
1 |
| GER |
2011 |
123 |
123 |
0 |
| GER |
2012 |
123 |
123 |
0 |
| GER |
2013 |
123 |
123 |
0 |
| GER |
2014 |
123 |
123 |
0 |
| GER |
2015 |
123 |
123 |
1 |
| FR |
2011 |
123 |
123 |
1 |
| FR |
2012 |
123 |
123 |
1 |
| FR |
2013 |
123 |
123 |
0 |
| FR |
2014 |
123 |
123 |
1 |
| FR |
2015 |
123 |
123 |
1 |
Thank you!