Dear all,
I have performed the following Mahalanobis distance command to test for multivariate outliers:
multnorm resi1 resi2 resi3
display invchi2(3, 0.999)
In the output, I have a table with a column for MD2. These values are important to me because by comparing them with the chi2 value obtained by the previous test I can identify the outliers. Checking the process run by SPSS, I noted that MD2 is ordered by id (observation) adding a column in the data editor.
My question is if we can do the same with stata and if yes, what is the command.
Thank you for your support.
Regards.
Maria
Related Posts with MANCOVA outliers
Repeated cross-section: gen new variable combining three survey yearsHello, In order to obtain repeated cross-sectional data, I have appended 3 datasets stemming from d…
Adjust for time constant covariate in mixed effects regression using multiple imputationI would like to ask for advice regarding the following question: I would like to compute a mixed eff…
Quintile SortingHello I have a dataset of investment funds and want to divide the variable Turnover into 5 quintiles…
Manually calculation of the predicted values after LASSO regressionDear all, I am using Stata/SE 16.1 for Mac and I have created an imaginable dataset to illustrate m…
Ordinal regression modelHello, Does anyone know how the output of a gologit2 (generalized ordinal regression) command is in…
Subscribe to:
Post Comments (Atom)
0 Response to MANCOVA outliers
Post a Comment