Skip to content

Commit

Permalink
Merge pull request #2054 from jasp-stats/vankesteren-patch-1
Browse files Browse the repository at this point in the history
Hotfix p-value chi-square Logistic Regression
  • Loading branch information
boutinb committed Oct 13, 2017
2 parents f0f5363 + 2f1909f commit c9d841e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JASP-Engine/JASP/R/commonglm.R
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@
if (chisq == 0) {
p <- NULL
} else {
p <- dchisq(chisq, df)
p <- 1-pchisq(chisq, df)
}
return(list(stat = chisq, df = df, pval = p))
}
Expand Down

0 comments on commit c9d841e

Please sign in to comment.