Give us a few examples of this string.
@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?.
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?
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.