I am new to SAS and still learning. I need to submit my school assignment and posting below questions for which I need some helping hand in completing those.
Deciding an appropriate path for analysis often requires many steps. An important first step is exploring and examining the data. An initial exploratory data analysis provides understanding of the meaning of study variables and can provide crucial clues into data preparations needed before analyzing the data.
I answered this :- There are total of 5209 observations in the data set.
I answered this :- There are 17 variables in the dataset. 10 variables are numeric & 7 variables are character type.
Exploring the assigned values of character variables can demonstrate patterns and inherent orderings. The default ordering of levels in SAS is alphabetical order. The levels of many character variables have an inherent ordering of magnitude. For example, non-smokers smoke less than light smokers who smoke less than moderate smokers.
Thank you Reeza..
And to get a supporting report for the questions you've already answered:
proc contents data=sashelp.heart order=varnum;
quit;
I'm having issues on the problem:
Tabulate the percent of observations in the SASHELP.HEART dataset that have non-missing values for all the predictor variables that you will use in later analyses: AgeAtStart, BP_Status, Chol_Status, Cholesterol, Diastolic, Height, MRW, Sex, Smoking, Smoking_Status, Systolic, Weight, and Weight_Status.
Please help!
@vsandoval6 wrote:
I'm having issues on the problem:
Tabulate the percent of observations in the SASHELP.HEART dataset that have non-missing values for all the predictor variables that you will use in later analyses: AgeAtStart, BP_Status, Chol_Status, Cholesterol, Diastolic, Height, MRW, Sex, Smoking, Smoking_Status, Systolic, Weight, and Weight_Status.
Please help!
This is a new question, too. Please create a new topic and show what you have already tried.
This question was cross-posted to
where an answer was provided.
@AMweneykhondo wrote:
Greetings i am so lost. The professor told us to copy and paste the code. but it keeps giving me errors. I am so frustrated. It is the exact question
Please start a new topic and post the log, so that we see the errors actually.
On the home page, see the left side orange button 'Ask a question'
Layout may vary based on your device of course.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.