I use NOCUM/NOPERCENT option in the tables statement like this

Proc freq data = deepak;
tables x y /nocum nopercent;
run;

Here I get nopercent and nocum in the output only for
variables x and y. How do i do it for all variables?

Deepak



I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x..

Answer / deepak

use

tables _all_ /options;

if u want to print one way analysis of all variables with the specified options

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

what are the advantages of using SAS in clinical data mangement? why should not we use other software products in managing clinical data?

2 Answers   Wockhardt,


I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.

1 Answers  


how to remove duplicates using proc sql?

0 Answers  


i have a dataset with 100000 records. i want 100 records from that dataset and create a dataset.we need to pick the observations random order like 100obs,500obs,1020obs,1890obs,2565obs like that i need 100 obs in random order? how can we create this one?

5 Answers   L&T,


What is the role of administrative users? : sas-grid-administration

0 Answers  






hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana

0 Answers   SAS,


I have a dataset with variables empid and doj how to calculate retirement age?

1 Answers  


Under what circumstances would you code a SELECT construct instead of IF statements?

7 Answers   Accenture,


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


what are different type of sas servers ? On which server does the sas code execute ?

4 Answers   TCS,


how does sas handle missing values in procs? : Sas programming

0 Answers  


Can you execute macro within another macro? : sas-macro

0 Answers  


Categories