Search notes:

SAS: proc tabulate

proc tabulate data=tq84_data;
     var   val_1;
     table val_1; /* Just reports the sum of val_1 */
run;
Github repository about-SAS, path: /programming/proc/tabulate/table.sas

Classes vs variables

data tq84_data;
   input category$ val_1 val_2;
datalines;
foo  1   4
foo  2   3
bar  4   2
foo  3   1
bar 10   2
baz 19   3
baz 21   4
;

proc tabulate data=tq84_data;
     class  category;
     var    val_1 val_2;
     table (val_1 val_2) * (n mean="Average" std min max sum),  all;
run;
Github repository about-SAS, path: /programming/proc/tabulate/class-vs-variables.sas

See also

Example 01
proc report
SAS programming: proc

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759383033, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/proc/tabulate/index(70): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78