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
Interpretation coefficient Latent profile analysis with a mixture of continuous and dummy variablesDear Stata users, I am running a Latent profile analysis using a mixture of continuous and dummy var…
To replicate Gabaix and Landier (2007 OJE)Hi Now I replicate Gabaix and Landier (2007 OJE). What they did is to run the following regression …
GLS Estimation in Eaton-Kortum (2002): Two-componet error and importer- and exporter- FE interpretationDear Stata users, I am using Eaton and Kortum (2002) General Equilibrium model, so I have to estima…
Title on second y-axis when using by-optionHi, Any suggestions on how to put a title on the second y-axis when combining multiple y-axes with …
Calculate number of firms based on condition Code: +----------------------------------------------------+ | id year country …
Subscribe to:
Post Comments (Atom)
0 Response to MANCOVA outliers
Post a Comment