Referring to #4, what purpose does var
educ_total serve since I would be using the
prop_nonvetedu_* to understand distribution of educational groups across a county with or without FQHC.
Referring to #14: For the foreach command, I am assuming that if i wanted to identify variables with different date ranges, I would repeat the foreach command and change the in range date?
Well, evidently you can't use the exact same code if you need different age ranges for different variables. So, yes you need a separate loop for each different date range, but variables with the same date range can go together in a single loop.
If there are a lot of different date ranges, there is a way to use local macros to dynamically select the date range and have a single loop for all variables, but it's somewhat complicated to set up, and the code tends to be opaque, so I only recommend it if there is a large number of different date ranges to contend with. If it's just, say 5 or fewer, just do that many separate loops.
Comment