You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ContrastResults for F/wald_test should have restriction matrix attached
It's useful to inspect what restriction matrix was actually used.
Looking at an example from #5741, I am missing the restriction matrix to quickly check the results
update on multiple testing t_test_pairwise returns MultiCompResult (which is just a holder class) that includes multiple testing corrected p-values in the summary frame
This delegates to t_test_multi.t_test_multi which calls t_test and adds the corrected p-values as additional column to the dataframe
for t_test we don't include the "r" value in the coef effect.
I missed this several times. I don't find a specific issue for it.
right now I would like an affine transformation for effect and confint, and an additional nonzero null value for that affine effect
e.g. a * params[0] - b = r
currently we get effect/coef and confint for a * params[0], and t-value, p-value for a * params[0] = r + b
possible implementation:
keep r as currently defined
add an effect_shift, or similarly named, keyword to t_test where effect_shift=b, with b=0 by default.
current usecase is related to prob(x1 > x2) which can be computed as an affine transformation of the mean rank of sample 1, and we want to test whether that prob is equal to 0.5 or another hypothesized value.
PR #6971
aside: in GLM it might be possible to work around this by an affine reparameterization that uses offset but that would work only for one restriction, because reparameterization is restriction specific.
Activity
josef-pkt commentedon Oct 29, 2013
related: I just saw that Stata has an option in postestimation
testfor multiple testingmtest[(opt)] test each condition separatelywith Bonferroni, Holm, Sidak and noadjust
REF: partial extension to ContrastResults for t-test f_test, see stat…
REF: partial extension to ContrastResults for t-test f_test, see #742
REF: partial extension to ContrastResults for t-test f_test, see stat…
josef-pkt commentedon May 19, 2019
ContrastResults for F/wald_test should have restriction matrix attached
It's useful to inspect what restriction matrix was actually used.
Looking at an example from #5741, I am missing the restriction matrix to quickly check the results
josef-pkt commentedon Nov 8, 2019
bump to last comment
I'm missing it also in t_test
josef-pkt commentedon Nov 8, 2019
update on multiple testing
t_test_pairwisereturnsMultiCompResult(which is just a holder class) that includes multiple testing corrected p-values in the summary frameThis delegates to
t_test_multi.t_test_multiwhich callst_testand adds the corrected p-values as additional column to the dataframejosef-pkt commentedon Aug 23, 2020
for t_test we don't include the "r" value in the
coefeffect.I missed this several times. I don't find a specific issue for it.
right now I would like an affine transformation for effect and confint, and an additional nonzero null value for that affine effect
e.g.
a * params[0] - b = rcurrently we get effect/coef and confint for
a * params[0], and t-value, p-value fora * params[0] = r + bpossible implementation:
effect_shift, or similarly named, keyword to t_test whereeffect_shift=b, with b=0 by default.current usecase is related to prob(x1 > x2) which can be computed as an affine transformation of the mean rank of sample 1, and we want to test whether that prob is equal to 0.5 or another hypothesized value.
PR #6971
aside: in GLM it might be possible to work around this by an affine reparameterization that uses
offsetbut that would work only for one restriction, because reparameterization is restriction specific.