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
Merge if variable name is similarDear Stata users, I am trying to merge two datasets which are firm-level panel data (master) and N…
Two-way scatter plot title and axis titleDear All, I am trying to do a two way scatter plot from my analysis. The code which i am running in…
Connect X and Y axisHi When I use scheme for twoway graph, such as white_tableau, etc, X axis is separated from Y axis.…
Stata interpreting the same string value as different valuesI have postcodes in my dataset that I want to group together. As you can see when I type tab Postcod…
How to Correctly Create a Variable to Indicate if a student Failed Grade in Stata?Hello, I have a small dataset as follows, id is student id, and gr represents grade. If a student fa…
Subscribe to:
Post Comments (Atom)
0 Response to setting time variable for panel data
Post a Comment