I have panel data (`y`) at different time points (`t`) for individuals (`i`) in 2 different groups (`g`).
I am trying to test if the coefficient of `t` on `y` is larger for individuals in group 2. In other words, is the time trend more steep for a given group?
How would I go about doing that?
There is likely auto-correlation at the `i` level. Data looks like this
```
| y | t | i | g |
|---|---|---|---|
| 2 | 1 | 1 | 1 |
| 4 | 1 | 2 | 1 |
| 6 | 1 | 3 | 2 |
```
I am trying to test if the coefficient of `t` on `y` is larger for individuals in group 2. In other words, is the time trend more steep for a given group?
How would I go about doing that?
There is likely auto-correlation at the `i` level. Data looks like this
```
| y | t | i | g |
|---|---|---|---|
| 2 | 1 | 1 | 1 |
| 4 | 1 | 2 | 1 |
| 6 | 1 | 3 | 2 |
```
Comment