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.
```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.
Comment