Hi everyone,
I am doing some work right now relating to medication use and their association with subsequent breast cancer outcomes (mentioning what medication I'm looking at isn't particularly relevant). In particular, I am interested in whether or not the association differs in women with triple negative breast cancer vs women with other subtypes of breast cancer. I thought a good way to do this would be to run a test for heterogeneity in STATA to see what the p-value is.
When I test for heterogeneity in STATA for triple negative breast cancer vs all other subtypes combined, I derive a p-value for interaction of 0.21. This was done by firstly interacting the medication covariate with an indicator of breast cancer subtype-
and then testing via testparm-
.
Just for reference, the effect estimate in TNBC patients was 0.74 (0.52-1.06) and 1.13 (0.91-1.39) for all other subtypes combined. However, when I test for interaction using the method outlined in this paper (https://www.bmj.com/content/326/7382/219), I derive of p-value of 0.045. These are vastly different p-values, and I don’t exactly know what is causing the difference. I’m guessing it’s something to do with how the p-value is calculated, however the interpretation of these values would be very different.
Does anyone know what is going on here? Is there a more 'correct' way to calculate the p-value for the difference between the two HRs? Any help would be much appreciated.
Kind regards, Ollie
I am doing some work right now relating to medication use and their association with subsequent breast cancer outcomes (mentioning what medication I'm looking at isn't particularly relevant). In particular, I am interested in whether or not the association differs in women with triple negative breast cancer vs women with other subtypes of breast cancer. I thought a good way to do this would be to run a test for heterogeneity in STATA to see what the p-value is.
When I test for heterogeneity in STATA for triple negative breast cancer vs all other subtypes combined, I derive a p-value for interaction of 0.21. This was done by firstly interacting the medication covariate with an indicator of breast cancer subtype-
Code:
medication##subtypebinary
Code:
testparm medication#subtypebinary
Just for reference, the effect estimate in TNBC patients was 0.74 (0.52-1.06) and 1.13 (0.91-1.39) for all other subtypes combined. However, when I test for interaction using the method outlined in this paper (https://www.bmj.com/content/326/7382/219), I derive of p-value of 0.045. These are vastly different p-values, and I don’t exactly know what is causing the difference. I’m guessing it’s something to do with how the p-value is calculated, however the interpretation of these values would be very different.
Does anyone know what is going on here? Is there a more 'correct' way to calculate the p-value for the difference between the two HRs? Any help would be much appreciated.
Kind regards, Ollie
Comment