Hi All,
I am dealing with FIPS code pairs. I would like to generate a fixed effect variable that matches the pairs. Please see an example below, that I would like my data to look like.
Thanks!
I am dealing with FIPS code pairs. I would like to generate a fixed effect variable that matches the pairs. Please see an example below, that I would like my data to look like.
| FIPS | FIPS2 | County-Pair Fixed Effect |
| 1001 | 1021 | 1 |
| 1021 | 1001 | 1 |
| 1011 | 1005 | 2 |
| 1005 | 1011 | 2 |
| 1013 | 1035 | 3 |
| 1007 | 1105 | 4 |
| 1035 | 1013 | 3 |
| 1105 | 1007 | 4 |
| 1005 | 1067 | 5 |

Comment