Dear Statalist
I have a question regarding panel analysis using a subset of panel.
I have a balanced panel data from 2004 to 2015, with string variables including "incomelevel" and "region".
The variable "incomelevel" has two values ("Least Developed Countries", "Low Middle Income Countries"),
while variable "region" has five different values ("Far East Asia", "South America", etc.).
I already did a panel analysis using the whole data after defining the panel data as below.
Now I want to do the same analysis using a subset of the panel, according to the region and income level of a panel.
For example, I want to conduct a same analysis using the countries whose "incomelevel" is "Least Developed Countries".
Because I want to see the result depending on the different income levels and regions, I will have to do the same thing for 7 times.
(2 times with different income level, 5 times with different regions)
What will be the best way to this?
Any advice will be a great help for me.
Thank you!
I have a question regarding panel analysis using a subset of panel.
I have a balanced panel data from 2004 to 2015, with string variables including "incomelevel" and "region".
The variable "incomelevel" has two values ("Least Developed Countries", "Low Middle Income Countries"),
while variable "region" has five different values ("Far East Asia", "South America", etc.).
I already did a panel analysis using the whole data after defining the panel data as below.
Code:
xtset id year panel variable: id (strongly balanced) time variable: year, 2004 to 2015 delta: 1 unit
For example, I want to conduct a same analysis using the countries whose "incomelevel" is "Least Developed Countries".
Because I want to see the result depending on the different income levels and regions, I will have to do the same thing for 7 times.
(2 times with different income level, 5 times with different regions)
What will be the best way to this?
Any advice will be a great help for me.
Thank you!
Comment