I have created a panel data set with 25 variables and 2500 observations. I was trying to use this command : xtset district year, but STATA shows an error message: "string variables not allowed in varlist; district is a string variable". How can I solve this problem?
** I have attached a screenshot of the data. TIA.
Related Posts with Running two way fixed effect
summing over a unique identifier over a panel data of county and yearI want to find the summation of unique rf_id for each unique county in different years of my dataset…
Illustrative table of percentages to read in WordDear Statalist, I would like to create a table of publication quality summary percentages. The col…
creating a graph with volume of procedures and average lineI would like to create a graph depicting volume of use of the procedure: hysteroscopy vs ID I have …
Observations and data pointsHello, I'm often reading that people report the number of observations and data points. I know where…
Fixed effect issue (deleting variables)Hi, I got a question related to my regression.In fact, I'm using merged datasets. first one is bank…
Subscribe to:
Post Comments (Atom)
0 Response to Running two way fixed effect
Post a Comment