gabeerion / explanation-uncertainty

Uncertainty estimates for various models
0 stars 1 forks source link

Implement GLRT for multivariate B=0, test agreement of analytic and torch #20

Open gabeerion opened 3 years ago

jenniferbrennan commented 3 years ago

H0 = "all beta are zero". Should be chiSq with d degrees of freedom

jenniferbrennan commented 3 years ago

What I implemented:

Plots:

Observations:

Not sure what to do with this information, although it's probably worthwhile to re-run these notebooks with the more exhaustive search procedure.

jenniferbrennan commented 3 years ago

Is this a multiple testing problem? The argument there would be that the "empirical" method is performing d tests: "Is coefficient 1 zero?" "Is coefficient 2 zero?" etc etc, and that these tests are independent, so the probability of rejecting goes to 1 as the number of coefficients increases.

How would we fix this? We could do a multiple testing correction, but honestly, I'm not sure that would then be the same test as the multivariate GLRT (in terms of power).