Sample selction PreviousNext
Mplus Discussion > Structural Equation Modeling >
Message/Author
 Sanjoy Bhattacharjee posted on Wednesday, April 09, 2008 - 1:18 pm
Prof. Muthen,

I have the following model to estimate

Y2, Y3, Y4 = g(eta1) (g is a vector function)
eta1 = h(X2)
Y1 = f(X1, eta1)

Where eta1 is a continuous latent variable and Y2, Y3, Y4 are ordinal indicators capturing eta1. Y1 is BINARY and the variable of primary interest. Xs are exogenous variables.

We have sample selection issue. I was wondering whether it would be OK to use IMR (inverse mills ratio) as one of the explanatory variable in Y1 equation and then use WLSMV. I am calculating IMR from the selection model; Z = z(X4)

Could you kindly suggest me some related references?

Thanking you.
 Linda K. Muthen posted on Thursday, April 10, 2008 - 8:59 am
This sounds like a reasonable approach. You may want to model the heteroscedasticity of your y1 residuals.
 Sanjoy Bhattacharjee posted on Thursday, April 10, 2008 - 9:34 am
Thank you Madam.

Checking heteroscedasticity in equation Y1 is in fact a good idea.

Could you kindly suggest me an example to handle heteroscedasticity using MPlus.

Regards
 Bengt O. Muthen posted on Thursday, April 10, 2008 - 5:31 pm
I can think of 2 approaches that could be useful. One draws on UG ex3.9. The other draws on UG ex5.3 with CONSTRAINT = x, where the heteroscedasticity is a function of the covariate x. But you would have to explore.
 Patchara Popaitoon posted on Thursday, September 08, 2011 - 8:29 pm
Dear Prof. Muthen,

I have a simple question. I would like to select only some groups of the sample from the main dataset and save it for another analysis. Please could you advise what command that I can use. Thanks.
 Linda K. Muthen posted on Friday, September 09, 2011 - 6:55 am
You can select observations using the USEOBSERVATIONS option of the VARIABLE command. If you want to save that data set, use the FILE option of the SAVEDATA command.
 Patchara Popaitoon posted on Friday, September 09, 2011 - 7:15 am
Dear Linda,

Thanks for the advise. I had tried this but the saved file contained no data. Please suggest. Here is the command.

DATA:
File is C:\mplus\batch1.dat
Variable:
names are ...(I have all the variables in the dataset written here including w1 which is used in useobservation command)...;
Useobservation = w1 EQ 1;
Savedata: File is C:\mplus\w1;

I got the file out of the run but there is no data in the file. It is supposed to be about 600 observations here. Thanks.
 Linda K. Muthen posted on Friday, September 09, 2011 - 7:34 am
Please send the relevant files and your license number to support@statmodel.com.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: