我有一组面板数据, 想根据区域分组求回归 ,分组标准是east Middle west northeash
year district rgdp teacher lnrgdp
2007 101 11274.6 12.48 9.330308
2010 101 13058 13.39 9.477158
2007 102 6066.94 4.24 8.710609
2010 102 8369.65 4.52 9.032368
2007 103 15349.1 8.62 9.638809
2010 103 18490.4 9.45 9.825005
2007 104 6982.34 5.38 8.851139
2010 104 7847.14 5.69 8.967904
2007 105 7656.43 3.17 8.943301
2010 105 10172 3.64 9.227397
………………………………………………………
东部包括101 102 103
西部包括 105…………
| east | 101 | 102 | 103 |
| middle | 104 | 112 | 114 |
| west | 105 | 120 | 122 |
| norheasr | 106 | 107 | 108 |
不知道怎样做! 请教各位高人!