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
Aidsills with market fixed effectsDear Statalisters, I am using Stata ver 14, and the built in command aidsills written by Lecocq and…
Lagged variables of daily dataHi, I have a dataset of stock returns, with daily returns (panel). I have successfully created runn…
spatial econometricsHi everyone Someone knows how to run the LMlambda, LMlambda ROBUST LMrho LMrho ROBUST ? What is co…
Simple info on combomarginsplotDear Stata users, I would like to know whether there is an option of combomarginsplot that allows m…
Reshape to Long-Firm Year Panel - Data in Multiple excel files and multiple worksheetsHi, I'm quite new to Stata so I am in a bit of a pickle. I need to get a long format firm-year pane…
Subscribe to:
Post Comments (Atom)
0 Response to Running two way fixed effect
Post a Comment