Hello,

I have a large regional dataset with a weight variable ready. I am trying to conduct a chi-square test that would be weighted by the weight variable, but I can't seem to get it right.

The command I normally use for chi-square is the following: tab fcg country, exp chi2 cchi2.

When I tried adding [aweight = weight], it did not work. Any suggestions?

Thanks,