Same Missing Value Imputation in both training and validation datasets

Live Online Training : SAS Programming with 50+ Case Studies

- Explain Programming Concepts in Simple English
- Live Projects
- Scenario Based Questions
- Job Placement Assistance
- Get 10% off till Oct 26, 2017
- Batch starts from October 28, 2017

In modeling process, you need to impute missing values in the validation data set the same way you did in training sample. In SAS, there is an easier way to accomplish this task using PROC STDIZE.

SAS Code 
proc stdize data=training out=abc method=median reponly outstat=info;
var v1 v2 v3;
proc stdize data=validation out=valid_updated reponly method=in(info);
var v1 v2 v3;

SAS Tutorials : 100 Free SAS Tutorials

Statistics Tutorials : 50 Statistics Tutorials

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has close to 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like retail and commercial banking, Telecom, HR and Automotive.

While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*

Related Posts:

0 Response to "Same Missing Value Imputation in both training and validation datasets"

Post a Comment

Next → ← Prev