Hello all,
I fear I may know the answer already, but I was wondering if anyone has heard of the following for Stata:
In clinical trials, it is common to analyze subgroups using a test for interaction. An example is attached here, where aspirin was compared to placebo on a composite outcome of mortality and non-fatal heart attacks. You can see that four subgroups were specified, and for each, the point estimate (and 95% CI) for each of the subgroups was compared, using a test for interaction, to the others.
Is there any automated way to define subgroups based on factor variables, compute a test for interaction, and plot the data nicely on such a graph? If not, can anyone suggest a good way of constructing such a figure in Stata?
Many thanks for your consideration!
Phil
I fear I may know the answer already, but I was wondering if anyone has heard of the following for Stata:
In clinical trials, it is common to analyze subgroups using a test for interaction. An example is attached here, where aspirin was compared to placebo on a composite outcome of mortality and non-fatal heart attacks. You can see that four subgroups were specified, and for each, the point estimate (and 95% CI) for each of the subgroups was compared, using a test for interaction, to the others.
Is there any automated way to define subgroups based on factor variables, compute a test for interaction, and plot the data nicely on such a graph? If not, can anyone suggest a good way of constructing such a figure in Stata?
Many thanks for your consideration!
Phil
Comment