I'd like to create a local or global macro with the IDs (string variable: record_id) of all observations in my dataset that meet my chosen criteria (criteria: if female==1&age<60). The end result would be a macro with a long list of record_id's. Thanks in advance for the assistance. JA
Related Posts with How to create a macro with the IDs of observations that meet certain criteria
Item Exploratory Factor Analysis - results changing when code is rerunI have a sample of N = 401 individuals who completed a self-report measure on mobile-use dependency.…
How can I create a graph for a subset of countries (with legend)?Hello, I have the data below. I would like to now how can I create a graph with the evolution of th…
Creating ID groupHi, I have panel data comprising companies and employees. The companies have existing IDs, but I nee…
not append nor merge worked, please help mehello , I have two data set and just one variable which is the code of the country is the same. when…
Difference - regex vs strpos?I am trying to do a mortality search for a specific disease (X), in a national database. what is the…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a macro with the IDs of observations that meet certain criteria
Post a Comment