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?
issues with parmest command, option format not allowedI am having several issues in my code. I am trying to run a number of regression models and followin…
Fixed vs Random Effects - help regarding choiceHello together, I am regressing a panel data model with t=12 and n=230. In general, I measure the e…
Hsiao test, error 2001Dear all, I'm trying to execute a Hsiao test. Thus, I have the following and basic code: codebook …
First observation from panel dataI have the following panel data of one individual in the study. WHO stage was recorded multiple time…
Changing markers in marginsplotHey everyone I would like to use marginsplot for something like this: Code: sysuse auto, clear r…
Subscribe to:
Post Comments (Atom)
0 Response to What does i.yr in STATA really mean?
Post a Comment