I need to do a test on the weighted average. I get an error message saying "weights not allowed". What are my options. How can I do a test on weighted average in Stata 13?
Thanks,
​Josh
Thanks,
​Josh
GROUP_ID | MV_EQUITY | RETURN |
1 | 303 | 0.13 |
1 | 1338 | 0.10 |
1 | 1994 | -0.03 |
1 | 191 | 0.19 |
1 | 418 | 0.00 |
1 | 925 | 0.01 |
2 | 758 | -0.02 |
2 | 196 | 0.05 |
2 | 1045 | -0.01 |
2 | 537 | 0.18 |
2 | 151 | 0.07 |
3 | 2364 | 0.00 |
3 | 635 | 0.08 |
3 | 198 | 0.02 |
3 | 430 | 0.08 |
3 | 315 | 0.03 |
3 | 911 | 0.18 |
3 | 9796 | 0.13 |
4 | 551 | 0.00 |
4 | 521 | 0.05 |
4 | 1320 | 0.09 |
4 | 3971 | 0.10 |
4 | 1294 | 0.06 |
4 | 334 | 0.11 |
4 | 892 | 0.04 |
5 | 5865 | 0.04 |
5 | 1251 | -0.01 |
5 | 847 | -0.01 |
5 | 1755 | 0.02 |
5 | 461 | 0.00 |
5 | 330 | 0.14 |
5 | 1870 | 0.07 |
Comment