Ilé ↓
CalculatorsVerified

Ìṣírò àti Ìfọwọ́sílẹ̀

Calculator fún P-value (Z, t àti Chi-square)

Yí iye statistic padà sí p-value. Yan ìdánwò z, ìdánwò Student t, tabi ìdánwò chi-square, fi iye statistic náà sílẹ̀, tí ó bá nílò, fi iye degrees of freedom ati ìdánasísílẹ̀ ìdánwò náà sílẹ̀. Ẹ̀rọ ayẹ̀wò yóò fún ọ ní p-value ati láti sọ fún ọ bóyá ìdánwúyé náà ṣe pàtàkì ní ìwọ̀n 0.05 ati 0.01.

Báwo ni a ṣe ń lo onílo-ìṣírò yìí

  1. Yan ìdá (distribution) fún statistic rẹ: Z, Student t tabi chi-square.
  2. Fi iye statistic látinú ìdánwò rẹ sílẹ̀.
  3. Fún t ati chi-square, fi iye degrees of freedom sílẹ̀.
  4. Fún z ati t, yan apá méjì (two-tailed), apá ọ̀tún (right-tailed) tàbí apá òsì (left-tailed) láti bá ìpinnu ìdánwò rẹ mu.
  5. Kà p-value ati ìpinnu ní ìwọ̀n 0.05 ati 0.01.

Kí ni p-value túmọ̀ sí

P-value jẹ́ ìpò ayé (probability) láti rí iye statistic tí ó tó iye tí a rí, ní ìranti pé ìpinnu àìlẹ́ (null hypothesis) jẹ́ òtítọ́. P-value kékerí túmọ̀ sí pé iṣẹ́ ìdánwò náà yóò jẹ́ ìyanjújúyan bí ó bá jẹ́ pé kò sí ìyàtọ̀ kankan, èyí sì jẹ́ ẹlẹ́rìí sí ìpinnu àìlẹ́. Kì í ṣe ìpò ayé pé ìpinnu àìlẹ́ jẹ́ òtítọ́, bẹ́ẹ̀ ni kò fi ìwọ̀n ìyàtọ̀ (effect size) ṣírò.

Gẹ́gẹ́ bí ìlànà, a máa ń pè èsì kan ni 'statistically significant' nígbà tí p jẹ́ ìwọ̀n tí a ti yan tẹ́lẹ̀, tó sábà máa ń jẹ́ 0.05 tàbí 0.01. Àtẹ̀le American Statistical Association ti ọdún 2016 lórí p-values kìlọ̀ pé kò gbọ́dọ̀ gbẹ́ lórí bóyá p-value kọjá ìwọ̀n kan ṣoṣo, wọn sì rògbọ́n láti ṣírò ìwọ̀n ìyàtọ̀ (effect sizes) ati àwọn ìwọ̀n ìdánilẹ́kọ̀ọ́ (confidence intervals) nígbà gbà.

Yí ìdánwò tó tọ́ ati apá ìdánwò (tails) ṣe lẹ́yìn

Lo z distribution nígbà tí statistic náà jẹ́ standard normal, fún àpẹẹrẹ ìdánwò lórí ìdánwò (mean) pẹ̀lú ìwọ̀n standard deviation tí a mọ̀, tàbí ìdánwò apá kan (proportion) fún àwọn àyè tí ó tóbi. Lo t distribution fún ìdánwò ìdánwò (means) nígbà tí a bá ṣírò standard deviation látinú àwọn àyè (sample); iye degrees of freedom rẹ̀ máa ń jẹ́ n − 1 fún àyè kan. Lo chi-square fún ìdánwò goodness-of-fit ati ìdánwò ìdàpọ̀ (independence tests), níbi tí degrees of freedom ti jẹ́ iye àwọn ìpín méjì dín ní kan, tàbí (rows − 1) × (columns − 1) fún tábili ìdánwò (contingency table). Ìdánwò two-tailed máa ń wá ìyàtọ̀ ní apá méjì; ìdánwò one-tailed máa ń wá apá kan ṣoṣo, ó sì gbọ́dọ̀ jẹ́ ìpinnu ṣáájú kí a tó rí iṣẹ́ ìdánwò. Ìdánwò chi-square máa ń jẹ́ right-tailed nígbà gbà.

Báwo ni ẹrọ ayẹ̀wò ṣe ń ṣírò p

Ẹrọ ayẹ̀wò yìí kò lo tábili tí a tẹ̀ jáde, nítorí náà ó le ṣiṣẹ́ fún eyìíkéyìí statistic ati eyìíkéyìí iye degrees of freedom. Apá òsì ti normal (normal tail) ni a rí látinú incomplete gamma function, apá t (t tail) látinú regularised incomplete beta function I(ν ÷ 2, 1 ÷ 2, ν ÷ (ν + t²)), ati apá chi-square látinú upper incomplete gamma function. Èyí ni ìtumọ̀ ìṣírò tó tọ́ fún àwọn ìdá (distributions) wọn, ó sì ń fúnni ní èsì tó ṣe kedere; àwọn p-value tó kéré jùlọ ni a fi scientific notation ṣírò. Bí iye degrees of freedom ṣe ń pọ̀ sí i, t distribution máa ń fẹ́bi mọ́ normal: pẹ̀lú 10 degrees of freedom, iye critical value ti two-tailed 5% jẹ́ 2.228, níwọ̣tí 1.96 fún z.

Ọ̀nà ìṣírò àti ìlànà

Z: p = 2 × (1 − Φ(|z|)) two-tailed, Φ = standard normal CDFt: p from the Student t distribution with ν degrees of freedom (regularised incomplete beta)χ²: p = P(X ≥ χ²) = Q(k ÷ 2, χ² ÷ 2) (regularised incomplete gamma)

Z: two-tailed p = 2 × (1 − Φ(|z|)), níbi tí Φ ti jẹ́ standard normal cumulative distribution. t: p wá látinú Student t distribution pẹ̀lú ν degrees of freedom, tí a ṣírò pẹ̀lú regularised incomplete beta function. Chi-square: p = P(X ≥ χ²), tí a ṣírò pẹ̀lú regularised incomplete gamma function Q(k ÷ 2, χ² ÷ 2).

Àpẹẹrẹ ìṣírò

Ìwọ̀n mẹ́ta pàtàkì (critical values)

  1. z = 1.96, two-tailed → p = 0.0500
  2. t = 2.0 pẹ̀lú 10 degrees of freedom, two-tailed → p = 0.0734
  3. χ² = 11.07 pẹ̀lú 5 degrees of freedom → p = 0.0500

Ìdáhùn: Èsì z ati chi-square wà ní ìwọ̀n 5% níkan; èsì t kò ṣe pàtàkì ní ìwọ̀n 0.05.

Awọn ìbéèrè tí a máa ń béèrè lọ́pọ̀ ìgbà

Kí ni p-value tó dára?

Kò sí p-value tó dára tàbí èyí tó burú. Èyí tó jẹ́ ìwọ̀n ìsọwájú (below 0.05) ni a máa ń pè ní 'significant' ní ìlànà, ṣùgbọ́n ìwọ̀n náà gbọ́dọ̀ jẹ́ èyí tí a ti yan ṣáájú, tí a sì gbọ́dọ̀ ṣírò ìwọ̀n ìyàtọ̀ (effect size) náà nígbà gbà.

One-tailed tàbí two-tailed?

Lo two-tailed bí o kò bá pinnu ṣáájú kí o tó kó iṣẹ́ ìdánwò sílẹ̀ pé apá kan ṣoṣo ni ó ṣe pàtàkì. P-value one-tailed jẹ́ ìdá kan nínú iye two-tailed nígbà tí ìyàtọ̀ náà wà ní ìsọlú tí a ti fúnsọ sílẹ̀.

Báwo ni mo ṣe lè rí iye degrees of freedom?

Fún ìdánwò t one-sample, n − 1; fún ìdánwò chi-square goodness-of-fit, iye àwọn ìpín dín ní kan; fún tábili ìdánwò (contingency table), (rows − 1) × (columns − 1).

Ṣé p = 0.03 túmọ̀ sí pé ìpò ayé tí ó jẹ́ 3% ni pé ìpinnu àìlẹ́ náì jẹ́ òtítọ́?

Rárá. Ó túmọ̀ sí pé bí ìpinnu àìlẹ́ náà bá jẹ́ òtítọ́, iṣẹ́ ìdánwò tó tó irú yìí yóò wá ní ìgbà tó tó 3%.

Kí nìdí tí ìdánwò chi-square fi jẹ́ right-tailed nìkan?

Statistic náà máa ń ṣírò ìyàtọ̀ tí a ti fẹ́ rí (squared differences), nítorí náà, iye tí ó tó jù máa ń fihàn pé ìdánwò náà kò dá rẹ́; apá ọ̀tún (upper tail) nìkan ni ẹlẹ́rìí sí ìpinnu àìlẹ́.

Kí ni iye critical value fún 95% confidence?

1.96 fún ìdánwò z ti two-tailed. Fún t, ó tó ju bẹ́ẹ̀ lọ, ó sì dá lórí iye degrees of freedom, fún àpẹẹrẹ, 2.228 pẹ̀lú 10.