BookmarkSubscribeRSS Feed
Cuneyt
Obsidian | Level 7

I am trying to estimate a very simple model in PROC ROBUSTREG. I have 280 observations, several continuous independent variables and one categorical variable with 20 levels. PROC ROBUSTREG works when I use METHOD=M. However, when I use any other method (S or MM or TLS), I get the following error message.

ERROR: The current S estimation failed because its resampling process can not collect sufficient computable samples.

When I drop the categorical variable from the model, PROC ROBUSTREG works again. Does anyone know what this error message means and/or how to circumvent this error?

2 REPLIES 2
SteveDenham
Jade | Level 19

From the documentation of the METHOD= option (highlight added):

Note: Because the LTS and S methods use subsampling algorithms, these methods are not suitable in an analysis that uses variables that have only a few unequal values or a few unequal values within one BY group. For example, indicator variables that correspond to a classification variable often fall into this category. The same issue also applies to the initial LTS and S estimates in the MM method. For a model that includes classification independent variables or continuous independent variables with a few unequal values, the M method is recommended.

The circumvention is, unfortunately, to not use the subsampling methods.

Steve Denham

Cuneyt
Obsidian | Level 7

Thank you very much for this clarification.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1896 views
  • 0 likes
  • 2 in conversation