I have a panel data set as follows:
Year Industry FDI RW TFP IY CY GDP LP IR ER PS
1998 AGR xx xx xx xx xx xx xx
1998 MAN xx xx xx xx xx xx xx
1998 NTR xx xx xx xx xx xx xx
1998 TRN xx xx xx xx xx xx xx
1999 AGR xx xx xx xx xx xx xx
1999 MAN xx xx xx xx xx xx xx
1999 NTR xx xx xx xx xx xx xx
1999 TRN xx xx xx xx xx xx xx
...
I want to build a multivariate model that can explain the variation in FDI between the Industry groups using the variables RW, TFP, IY, CY, GDP, LP.
The variables, RW, TFP, IY, CY, GDP, LP are specific to the Industry. The variables IR, ER, PS are not specific to any industry but I would like to be able to incorporate them into the model if possible.
How would I go about doing this in R?