简体   繁体   中英

Default p-value obtained in R

In R when I use the chisq.test() function, what is the p-value that is computed? Is it two sided, upper tail or lower tail ?

Thanks in advance for helping out this beginner

P-values for χ2 test are always one-sided, due to how results are interpreted. χ2 tests test goodness of fit, which means that the result has only one favorable outcome, so the p-value is probability that the fit is good. This is more of a statistics question than a coding question, and is probably better suited for CrossValidated .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM