How to run regressions on multidimensional panel data in R
问题 I need to run a regression on a panel data . It has 3 dimensions (Year * Company * Country). For example: ============================================ year | comp | count | value.x | value.y ------+------+-------+----------+----------- 2000 | A | USA | 1029.0 | 239481 ------+------+-------+----------+----------- 2000 | A | CAN | 2341.4 | 129333 ------+------+-------+----------+----------- 2000 | B | USA | 2847.7 | 187319 ------+------+-------+----------+----------- 2000 | B | CAN | 4820.5 |