I have the following data set. Since it doesn't have a year variable I am confused how to set the time variable. When I do xtset id term and then xtdescribe is says that I must specify the timevar. I am really confused and any help would be greatly appreciated. Thank you.
Related Posts with setting time variable for panel data
melogit postestimationGreetings. I am reaching out for help with melogit postestimation commands. I am using melogit to m…
using function condhello ! i want to create a new variable that's equal to value of year 1960 for all countries and ye…
Computing Partial Effect and Average Partial Effect of Binary VariablesI tried to compute the PE and the APE of a dummy using the usual Code: margins command. However, I …
Creating a dummy based on groupI am having some data by group and would want to create a dummy of whether there’s at least one case…
Three and five year averagesDear Statalist forum, I would like to construct a three-year average as the data is available in th…
Subscribe to:
Post Comments (Atom)
0 Response to setting time variable for panel data
Post a Comment