11-16-2016 12:33 PM
I have a data set with dichotomous dependent variable. Can I use Rstudent option in proc reg to identify outliers for a dichotomous dependent variable?
proc reg data = work.import;
model Target= x;
output out = outdata rstudent= r;
11-16-2016 01:56 PM
Couldn't you look at a histogram or distribution of the variable by the outcome variable?
I don't think the R student statistics is designed for categorical variables.
11-18-2016 03:08 AM
Sorry. Check INFLUENCE of model statement. model ......./ influence especially check DIFDEV DIFSQUAR INFLUENCE< (STDRES) > displays diagnostic measures for identifying influential observations in the case of a binary response model. For each observation, the INFLUENCE option displays the case number (which is the sequence number of the observation), the values of the explanatory variables included in the final model, and the regression diagnostic measures developed by Pregibon (1981). The STDRES option includes standardized and likelihood residuals in the display.
11-18-2016 02:52 AM
Look at the INFLUENCE option with proc LOGISTIC on the model statement. The documentation has an example on regression diagnostics including detecting influential observations.
If using proc genmod then obsstat is an option. Both will help with detecting outliers.