How to create two tables in SAS from one database. Thanks in advance. The question goes like this: "Create a set that contains all incident variables (non-cumulative cases): ANGINA, HOSPMI, HYPERTEN, MI_FCHD, STROKE. Create a sum that includes incidents. Conditionally output the data to two different SAS tables: one that has subjects with 1 or more incidents and one with subjects with no incidents." What is the principle to summarize the data in order to derive two tables from them: "without incidents" and "1 or more inc." UPD. How to summarize this data horizontally to get the second table "No incidents (0)" ?
... View more