I saw a code that
```areg dep_var pt i.yr, a(TYPE2)```
while TYPE2 is firm identification and yr is year identification
I am wondering what exactly i.yr does, Whether it create a dummy variable for each yr. For example, all firms (TYPE2) will receive the same value of 1 in each year? For example, STATA will create a variable called yr1989 for the year 1989 means that this variable received value 1 in this year and 0 for other years.
Related Posts with What does i.yr in STATA really mean?
Quantile treatment effect estimator by Abadie, Angrist, and Imbens (2002)Dear Statalist, Can anyone help with how to calculate percentage effects after estimating a quantil…
Time series dataHi again, If I hava time series data with say for instance 1500 numeric observations reflecting pri…
Merging rows that have identical namesDear all, I have been struggling with the following issue. My dataset is basically like in the table…
Compare the distributions of two variablesI would like to compare the distributions of two variables: guess_attain_own_treatment and guess_att…
Repeated cross sectional analysis - how to startGood morning you all, I will do a repeated cross sectional analysis on 14 years. However, I am won…
Subscribe to:
Post Comments (Atom)
0 Response to What does i.yr in STATA really mean?
Post a Comment