06-20-2017 04:05 PM
Hi. I'm fairly new to SAS and I need help with a bootstrap procedure. I have an epidemiologic 2x2 table that looks like this:
Now with this table, I can calculate risk ratio (defined as a/N0 / b/N1). However, since the numbers are not integers and are weighted quantities, I cannot use parametric methods to calculate CI. How can I calculate a bootstrap 95% CI for this sample? If there is not a direct way, would you recommend rounding the weighted quantities to the nearest integers and then create a hypothetical sample of say 2630 individuals and then use that sample for bootstrapping? Any other suggestions?
06-20-2017 04:10 PM
If the cells are not counts, what are they? A bootstrap resampling should usually mimic the data collection process. Please explain what these numbers are, what the underlying data look like, and how the underlying data were sampled.
06-20-2017 04:16 PM
the cells are 'counts x stabilized weights'. The weights are in the inverse of the probability of being sampled and therefore can be viewed as sampling weights. So basically, we can deconstruct the data to rows with each individual having an exposure status, a disease status, and a weight.
06-20-2017 08:37 PM