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
I am finding that sometimes logistf returns chisquare test pvalues of 0 in the summary(fit) output, and the chisquare test stat will be Inf. This is a problem since p-values can't equal 0, especially if doing FDR multiple-testing adjustments (e.g. using p.adjust).
My apologies but I can't share the data that produces this problem. A simple solution I found was to calculate Z-test pvalues in this case:
I am finding that sometimes
logistf
returns chisquare test pvalues of 0 in thesummary(fit)
output, and the chisquare test stat will beInf
. This is a problem since p-values can't equal 0, especially if doing FDR multiple-testing adjustments (e.g. usingp.adjust
).My apologies but I can't share the data that produces this problem. A simple solution I found was to calculate Z-test pvalues in this case:
Similarly,
anova.logistf
sometimes returns pvalues of 0. A simple solution was to manually calculate the chisquare pvalue:The text was updated successfully, but these errors were encountered: