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?
Cmp and predicts data perfectly errorHi all , in my model the dependent variable is an Ordered variable and there is a regressor ( which …
subsettingHello everybody! I have 8 cities: A B C D E F G H and I want to create three regions 1, 2 et 3. re…
Stopping rules in cluster analysis on binary dataHi everyone, I have conducted an average linkage, hierarchical cluster analysis using the Sneath an…
Backward compatibility of -distinct- commandThis is to flag a small backward compatibility issue with the super-useful -distinct- command by Nic…
Suitable graphical presentationI would like to compare some WEMWBS (Warwick Edinburgh Mental Well-being Scale) data with that repor…
Subscribe to:
Post Comments (Atom)
0 Response to What does i.yr in STATA really mean?
Post a Comment