Skip to content

Add Pearson chi-squared p-value to summary output#52

Open
JulieGronlund wants to merge 1 commit into
mebrooks:masterfrom
JulieGronlund:JulieGronlund-patch-1
Open

Add Pearson chi-squared p-value to summary output#52
JulieGronlund wants to merge 1 commit into
mebrooks:masterfrom
JulieGronlund:JulieGronlund-patch-1

Conversation

@JulieGronlund

Copy link
Copy Markdown

llikAIC() now computes a goodness-of-fit p-value from the Pearson chi-squared statistic (pchisq(Pearson.ChiSq, df.resid, lower.tail = FALSE)) and adds it to AICtab.

print.summary.selfisher() prints this p-value with 3 decimal places on its own line using format.pval() for proper precision, instead of relying on the generic printer, which rounds all AICtab entries to 1 decimal place.

llikAIC() now computes a goodness-of-fit p-value from the Pearson chi-squared statistic (pchisq(Pearson.ChiSq, df.resid, lower.tail = FALSE)) and adds it to AICtab.

print.summary.selfisher() prints this p-value with 3 decimal places on its own line using
format.pval() for proper precision, instead of relying on the generic printer, which rounds all AICtab entries to 1 decimal
place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant