BookmarkSubscribeRSS Feed
SAS93
Quartz | Level 8
I’m getting ready to start helping with a report for my (brand) new job. The data we’re working with is the ACEs module from BRFSS, but the data is apparently stored within a single variable called SEQNO (“sequence number” from the BRFSS codebook) as a string of letters. This string has to be teased apart into its individual questions (I think there are 11 total).

I’m trying to get an initial understanding of what this means exactly & how to go about tackling it. I’m decent with SAS, no expert, but I’m capable of learning.
4 REPLIES 4
PaigeMiller
Diamond | Level 26

Give us a few examples of this string.

--
Paige Miller
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

@SAS93 congratulations on the new job.  First thing I would ask my supervisor is where is the cookbook of rules dealing with ACEs.

does the record contain a pic code that defines how the string used for each record?.

ed_sas_member
Meteorite | Level 14

Hi @SAS93 

 

The SEQNO seems to be only an identification number.

 

In the BRFSS documentation, Adverse Childhood Experience is referenced as module 22. Responses to the 11 questions are respectively stored in variables ACEDEPRS, ACEDRINK, ACEDRUGS, ACEPRISN, ACEDIVRC, ACEPUNCH, ACEHURT1, ACESWEAR, ACETOUCH, ACETTHEM and ACEHVSEX (https://www.cdc.gov/brfss/questionnaires/pdf-ques/2019-BRFSS-Questionnaire-508.pdf)

 

However, all modules are not used every single year and in every single state (eg. https://www.cdc.gov/brfss/questionnaires/modules/category2018.htm)

 

What dataset do you have?

 

ballardw
Super User

I've never used the ACES module but in working with BRFSS data for over 20 years now I have never seen any question that had a before such as you are supposing. The fun part is tracking down the variable names for the questions of interest.

 

SEQNO is just that, a sequence number to identify records.

 

I suggest looking at the Labels in your data set or find the documentation used to create your local data set from the CDC supplied version to identify the variables holding the responses to your questions of interest.

 

The variables whose names start with an underscore are generally calculated variables such as _BMI5 which uses questions about height and weight to calculate Body Mass Index values and then create the categorical variable _BMI5CAT to assign the Underweight/normal/overweight/obese categories.

 

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1140 views
  • 1 like
  • 5 in conversation