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
Logit RegressionI'm a beginner to Stata. How do I import two (binary dependent variables) Excel files into one Stata…
Initial period variablesHi all, What is the best model to use when one has initial period variables such as log of initial …
Estpost summarize yields wrong number of observationsHello all, I ran this simple command below to create a table of summary statistics. My data set has…
subset of local marcoDear all, I want to test the equality of coefficients in quantile regression model using loop. The c…
Creating a string variable with multiple different word valuesHello, I am relatively new to STATA, with only a couple months experience and not much string exper…
Subscribe to:
Post Comments (Atom)
0 Response to MANCOVA outliers
Post a Comment