I have a table to evaluate the Sum/Count using Proc Tabulate procedure.
If the class value has (0/Null/Missing) value it omits that entire class row in the table. but I need to specify the null value too.
I'll share the code and Image for a better understanding.
proc tabulate data = Sv.SRK; title '17) Monthly Income of Respondent'; class Monthly_Inc15 Qut2_Sex; tables Monthly_Inc15 all, (Qut2_Sex *(n*f=8. colpctn='%')) all='Total'*(n*f=8. reppctn='%')/rts=10; run;
In the given table
80,001 - 1,00,000
1,00,001 - 1,25,000
1,25,001 - 1,50,000
1,50,001 - 1,75,000
till 2,75,000 class value is missed.
I want to display the gender values like 0 for the missed Monthly_Inc value.
Kindly suggest some ideas to solve the task.
Thanks in advance!
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.