Greetings. I have an appended dataset that consolidates many coverage surveys. Each source data file has an identifier, survid. The dichotomous variable "gotit" describes whether people got treatment.
For each survey I would like to calculate the coverage for the survey as a whole, which is defined as (gotit=1) / (gotit=1 + gotit=0). Then I can contextualize each survey's responses with information about the survey's reach.
What commands would allow me to calculate coverage and apply the calculation to all records? And if the calculation happens at the level of the overall survey (rather than the records comprising each survey), would I need to do this before appending all datasets?
I will appreciate guidance. Thank you.
For each survey I would like to calculate the coverage for the survey as a whole, which is defined as (gotit=1) / (gotit=1 + gotit=0). Then I can contextualize each survey's responses with information about the survey's reach.
What commands would allow me to calculate coverage and apply the calculation to all records? And if the calculation happens at the level of the overall survey (rather than the records comprising each survey), would I need to do this before appending all datasets?
I will appreciate guidance. Thank you.
Comment