Hi,
I am using gsem and I want to use "if statement" so that I include some observations for my analysis. Can you please help me with this. I am getting "not sorted" error.
The command I am using is : gsem (y1 <- x1 x2 x3, cloglog)(y2 <- x1 x2 x3, cloglog) if newvar==1, covstructure(e._En, unstructured) vce(cluster ID) nocapslatent
Related Posts with Using if statement with gsem
Error when producing graph using pbalchkHello, I am trying to use the user written command pbalchk to check balance after IPW. ely_dly is m…
How to use different instruments for different equations when implementing 3SLS estimation procedure for simultaneous equations?I am using reg3 command to estimate simultaneous equations, it looks the same instrumental variables…
Installing combineplot manuallyHello there, Grateful is someone could post on where I can locate the ado files for "combineplot". …
Time invariant variables in fixed effects modelHi, I am currently doing an econometrics project (due in 6 days' time). When I run fixed effects re…
Adding a label to the last observation on a line chartI'm pretty sure I've seen this here before, but I can't seem to find the post. I'm interested in add…
Subscribe to:
Post Comments (Atom)
0 Response to Using if statement with gsem
Post a Comment