gailSimon | R Documentation |
This function computes the p-value of the Gail-Simon test for qualitative interaction from effect estimates and the corresponding standard errors in a number of subgroups
gailSimon(thetahat, se)
thetahat |
A numeric vector of length > 1. Denotes the effect estimates in the different subgroups. |
se |
A numeric vector of the same length as |
A named numeric vector of length 2 containing the p-value and the corresponding test statistic of the Gail-Simon test.
Leonhard Held
Gail, M., & Simon, R. (1985). Testing for Qualitative Interactions between Treatment Effects and Patient Subsets. Biometrics, 41(2), 361–372. https://doi.org/10.2307/2530862
rd <- c(0.163, -0.114, -0.047, -0.151)
rd.se <- c(0.0788, 0.0689, 0.0614, 0.0547)
## Gail and Simon test
gailSimon(thetahat = rd, se = rd.se)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.