Export residuals PreviousNext
Mplus Discussion > Structural Equation Modeling >
Message/Author
 Tengiat Loi posted on Sunday, September 09, 2018 - 8:21 am
Hi Muthen,

Is there any way to save/export residual score from a regression model (after regressing y on x ) in Mplus? Thank you.
 Bengt O. Muthen posted on Monday, September 10, 2018 - 2:39 pm
You can plot residuals using the plot menu and then save the data used in the plot.
 Tengiat Loi posted on Monday, September 10, 2018 - 3:03 pm
Thank you Bengt.

Could you please elaborate a little more? After defining the model y on x, should I specify plot: type = plot 1? scatterport? then what are the steps will bring me to find the residual values? Thank you!
 Bengt O. Muthen posted on Monday, September 10, 2018 - 3:12 pm
I always ask for

Plot:

Type = Plot3;

Then when you've run it, look at the plot menu option.
 Tengiat Loi posted on Monday, September 10, 2018 - 5:56 pm
Thank you.
 AMN posted on Friday, June 12, 2020 - 10:49 am
Hello,

Following the previous posts, I asked for Plot 3, but I am not sure how to specifically have the residuals plotted. I do not see a tab for this on the plot menu option. Can you please advise? Also, for the exported data, how is it ordered (e.g., based on the ordering of the original dataset)? Thanks.
 Bengt O. Muthen posted on Sunday, June 14, 2020 - 3:19 pm
Look at the scatter plot option and scroll down to residuals.
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: