I am using GSEM with the svy option (for weights). I am running these models on two separate subsamples and I would like to test whether the effects of the variable on the outcome is statistically different in those two subsamples. I have gone with a Wald test using the following code:

Code:
test _b[y0:1.z]=_b[y1:1.z]
The code for my models is along the lines of:

Code:
svy:gsem (r<- i.z i.v i.m, ologit) (y<- i.z i.v i.m i.r, ologit)
I am not sure whether, because I am using weights, I should be using an F test?