Hello,
I am really stuck in estimating a gsem model in which there are 5 equations.
I do not have problem to get the estimated parameters without survey weights.
Unfortunatly when I want to use suevy weight for the estimation by the command svy: gsem(modle1)(model2)...,, Stata does not run and gives me the following message:
quadcross(): 3200 conformability error
mean(): - function returned error
_gsem_build__start_cons_yinfo(): - function returned error
_gsem_build__start_cons(): - function returned error
_gsem_build__start(): - function returned error
_gsem_build(): - function returned error
_gsem_parse(): - function returned error
st_gsem_parse(): - function returned error
<istmt>: - function returned error
an error occurred when svy executed gsem
r(3200);
So, Is it possible I first transform the original data by using survey weights and then estimate the model with these new data? for that, how should I transform data by the weight? Should I multiply weights with the data? Is there any one who can help me, please. Or is there any sources that descries how I can do the right data transformation. PLease. it is very urgent.I really appreciate your help.
Best
Hossein Kavand
I am really stuck in estimating a gsem model in which there are 5 equations.
I do not have problem to get the estimated parameters without survey weights.
Unfortunatly when I want to use suevy weight for the estimation by the command svy: gsem(modle1)(model2)...,, Stata does not run and gives me the following message:
quadcross(): 3200 conformability error
mean(): - function returned error
_gsem_build__start_cons_yinfo(): - function returned error
_gsem_build__start_cons(): - function returned error
_gsem_build__start(): - function returned error
_gsem_build(): - function returned error
_gsem_parse(): - function returned error
st_gsem_parse(): - function returned error
<istmt>: - function returned error
an error occurred when svy executed gsem
r(3200);
So, Is it possible I first transform the original data by using survey weights and then estimate the model with these new data? for that, how should I transform data by the weight? Should I multiply weights with the data? Is there any one who can help me, please. Or is there any sources that descries how I can do the right data transformation. PLease. it is very urgent.I really appreciate your help.
Best
Hossein Kavand
Comment