https://reifjulian.github.io/wyoung/
wyoung uses the resampling methodology of Westfall and Young (1993) to control the family-wise error rate when performing multiple inference. For example, the following code calculates adjusted p-values for the regression coefficient beta when estimating a regression model separately for 3 different outcome variables (mpg, headroom, and turn).
Code:
sysuse auto.dta, clear wyoung mpg headroom turn, cmd(reg OUTCOMEVAR displacement length) familyp(displacement) bootstraps(100)
0 Response to Multiple hypothesis testing command updated
Post a Comment