Hello Statalisters,

I run the WLS regression:

Code:
reg salary edu sex [aw = inv_var]

Where inv_var is the inverse of the variance of "salary" variable.
How can I compute a chi-squared test from the weighted sum of squared residuals of this regression?