I tried to load a simple code PROC FREQ in SAS, create a 2x2 table and calculate relevant statistics and this is what I face:
This is the code I input:
Variables EXPOSURE and BLADDERC are not in the data set named LAB1.COMPASSIGN1.
You need to look at the variable names in that data set carefully to make sure you have typed the variable names properly, and that these variables are really in the data set.
Your code shows that your ran Proc Contents. Where is the output for that procedure?
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.
For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.
Find more tutorials on the SAS Users YouTube channel.