Hi there
I may have what sounds like a stupid question but in SEMMA methodology, why sampling is first?
In other words, if I first manipulate my large data (imputing missing values/binning interval data etc...) and then after perform a sampling on this data to create my model is that complete non-sense?
Thanks
Nicolas
Well, if there is one sample to do the analysis and another sample held out to evaluate the results of the analysis, and missing values are imputed using all the data, then the evaluation data is not completely independent if there are a bunch of missing values. So, better practice, and practice simpler to explain and possibly avoid criticisms of the results, is to impute & bin on each sample separately.
That said, it often doesn't matter. It's an art.
Your approach is fine. I came up with "SEMMA" as an easily remembered guide for those who have little analytical experience. People with analytical experience will do what they know best.
-Padraic
Thank for your answer Padraic. The reason I asked is because I never came across (in my non-exhaustive search) work where the sampling was not performed straight on the raw imported full data-set. Nicolas
Well, if there is one sample to do the analysis and another sample held out to evaluate the results of the analysis, and missing values are imputed using all the data, then the evaluation data is not completely independent if there are a bunch of missing values. So, better practice, and practice simpler to explain and possibly avoid criticisms of the results, is to impute & bin on each sample separately.
That said, it often doesn't matter. It's an art.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.