How to Handle Missing Data in SAS: SAS for Beginners (Lesson 16)
Автор: Learning with Jelly
Загружено: 2022-03-08
Просмотров: 5491
Hi Jelly Learners,
Today we are going to talk about how to recognize and handle missing data in SAS. We will be able to notice the difference between character/numeric variables, change missing data to another value (mean or median), or drop missing observations.
Code for Numeric Vars:
data scores;
input id score1 score2 score3;
datalines;
1 80 . 91
2 72 83 98
3 64 78 .
4 52 . 90
5 77 89 .
6 . 69 84
;
run;
Code for Character Vars:
data cars;
input ID $ make $ model $ color $;
datalines;
1 ford focus tan
2 ford focus .
3 nissan sentra white
4 nissan sentra white
;
run;
Please like, comment, and subscribe :)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: