Hi, I am working with panel data and want to create a dummy variable based on the median of each cross section for the entire sample and also at each time period. How do I do that?
Related Posts with Panel Data
Correct use of constraint in foreach cycleHi, I would like to set constraints later use them in a program. Here is a small example: sysuse au…
Bug in margins with factor variable notation for quadratic termDescription: I think I found a bug with margins. specifically with the atmeans option. If the model…
query on time-series function for computing averageI am attempting to calculate average assets i.e. computed as average assets = (assets (t) + assets (…
How to save the predicted value of regressionsDear Statalists' Can any one help me how to save the predicted value of many regressions. I have to …
forval loop with a time range and a large dataset: can it faster?Dear Stata users, I am using Stata 15.0 I have a variable "Dyadic_Tie", and it should be counted h…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data
Post a Comment