BookmarkSubscribeRSS Feed

[SAS 활용 FAQ] proc univariate 상에서 변수마다 obs 갯수가 다르게 나오는데 그 이유는?

Started ‎06-07-2021 by
Modified ‎06-07-2021 by
Views 261

특정변수에 결측값이 포함되어 있을때, univariate 프로시저의 var 문에 지정된 변수마다 obs의 개수(N)가 다르게 출력됩니다.

 

) univariate 프로시저 실행 결과에서 변수 XN → 3, 변수 YN → 2


data one;

input x y;

datalines;

 Daun_0-1623115940990.png

;

proc univariate data=one;

var x y;

run;

 

 

Version history
Last update:
‎06-07-2021 09:33 PM
Updated by:
Contributors

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

Article Labels
Article Tags