I am trying to undertake a meprobit analysis for two levels. For fixed effect I am using the individual weight. For the random effect I have the weights (example) but they are not constant within the group/state. I want to create a new variable which can have constant weights for each state. Please help
| State1 | 247.223 |
| State1 | 3199.46 |
| State1 | 1803.89 |
| State1 | 835.513 |
| State1 | 6442.39 |
| State1 | 1415.85 |
| State1 | 1007.34 |
| State1 | 1007.34 |
| State1 | 1051.68 |
| State2 | 801.539 |
| State2 | 247.223 |
| State2 | 1672.02 |
| State2 | 1072.27 |
| State2 | 247.223 |
| State2 | 1232.46 |
| State2 | 232.281 |
| State2 | 1840.1 |
| State2 | 914.432 |
| State2 | 1186.46 |
| State3 | 232.281 |
| state3 | 801.539 |
| State3 | 2002.41 |
| State3 | 1415.76 |
| State3 | 232.281 |
| State3 | 794.984 |
| State3 | 1443.24 |
| State3 | 1168.25 |
| State3 | 1285.96 |
| State3 | 769.513 |
