သင်္ချာနှင့် ဂျီဩမေတြီ
P-value Calculator (Z, t နှင့် Chi-square)
Test statistic တစ်ခုကို p-value အဖြစ် ပြောင်းလဲပါ။ z test၊ Student t test သို့မဟုတ် chi-square test တစ်ခုကို ရွေးချယ်ပါ၊ statistic တန်ဖိုးကို ထည့်သွင်းပါ၊ လိုအပ်ပါက degrees of freedom နှင့် test ၏ ဦးတည်ချက် (direction) တို့ကို ထည့်သွင်းပါ။ တွက်ချက်စက်သည် p-value ကို ပြန်လည်တွက်ချက်ပေးမည်ဖြစ်ပြီး ရလဒ်သည် 0.05 နှင့် 0.01 level များတွင် significance ရှိမရှိ ပြောပြပေးမည်ဖြစ်သည်။
ဤ calculator ကို အသုံးပြုနည်း
- သင်၏ statistic အတွက် distribution ကို ရွေးချယ်ပါ: Z, Student t သို့မဟုတ် chi-square။
- သင်၏ test မှ ရရှိသော statistic တန်ဖိုးကို ထည့်သွင်းပါ။
- t နှင့် chi-square အတွက် degrees of freedom ကို ထည့်သွင်းပါ။
- z နှင့် t အတွက်၊ သင်၏ alternative hypothesis နှင့် ကိုက်ညီစေရန် two-tailed, right-tailed သို့မဟုတ် left-tailed ကို ရွေးချယ်ပါ။
- p-value နှင့် 0.05 နှင့် 0.01 level များရှိ ဆုံးဖြတ်ချက် (decision) ကို ဖတ်ပါ။
p-value ဆိုသည်မှာ ဘာကို ဆိုလိုသနည်း
p-value ဆိုသည်မှာ null hypothesis မှန်ကန်သည်ဟု ယူဆပါက၊ လက်ရှိတွေ့ရှိရသော test statistic ထက် အနည်းဆုံး အလားတူ (extreme) ဖြစ်သော ရလဒ်တစ်ခု ရရှိနိုင်သည့် ဖြစ်နိုင်ခြေ (probability) ဖြစ်သည်။ p-value အနည်းငယ်ဖြစ်ခြင်းသည် အကယ်၍ အကျိုးသက်ရောက်မှု (effect) အမှန်တကယ် မရှိပါက ဤဒေတာများသည် အံ့ဩစရာကောင်းသည်ဟု ဆိုလိုပြီး၊ ၎င်းကို null hypothesis ကို ဆန့်ကျင်သည့် အထောက်အထားအဖြစ် ယူဆသည်။ ၎င်းသည် null hypothesis မှန်ကန်နိုင်သည့် ဖြစ်နိုင်ခြေ မဟုတ်သလို၊ effect size သို့မဟုတ် အရေးပါမှု (importance) ကိုလည်း တိုင်းတာခြင်း မဟုတ်ပါ။
အများအားဖြင့် p value သည် ကြိုတင်သတ်မှတ်ထားသော level (အများအားဖြင့် 0.05 သို့မဟုတ် 0.01) အောက်တွင် ရှိပါက ရလဒ်ကို statistically significant (စာရင်းအင်းဆိုင်ရာ အရေးပါမှုရှိသည်) ဟု ခေါ်သည်။ American Statistical Association ၏ 2016 ခုနှစ် p-values ဆိုင်ရာ ထုတ်ပြန်ချက်တွင် သိပ္ပံနည်းကျ ကောက်ချက်များချရာတွင် p-value သည် threshold တစ်ခုတည်းကို ကျော်မကျော်အပေါ်တွင်သာ မအခြေခံသင့်ကြောင်း သတိပေးထားပြီး effect sizes နှင့် confidence intervals တို့ကိုပါ အစီရင်ခံရန် အကြံပြုထားသည်။
မှန်ကန်သော test နှင့် tails ကို ရွေးချယ်ခြင်း
Statistic သည် standard normal ဖြစ်ပါက z distribution ကို အသုံးပြုပါ (ဥပမာ - population standard deviation ကို သိရှိထားသော mean test သို့မဟုတ် proportion အတွက် sample size ကြီးမားသော test များ)။ Standard deviation ကို sample မှ ခန့်မှန်းရသော mean များအတွက် t distribution ကို အသုံးပြုပါ။ ၎င်း၏ degrees of freedom သည် sample တစ်ခုအတွက် ပုံမှန်အားဖြင့် n − 1 ဖြစ်သည်။ Goodness-of-fit နှင့် independence tests များအတွက် chi-square ကို အသုံးပြုပါ၊ ၎င်းတွင် degrees of freedom သည် categories အရေအတွက် ထဲမှ ၁ နှုတ်ခြင်း၊ သို့မဟုတ် contingency table တစ်ခုအတွက် (rows − 1) × (columns − 1) ဖြစ်သည်။ Two-tailed test သည် ဘက်နှစ်ဖက်စလုံးရှိ ကွဲလွဲမှုကို ရှာဖွေပြီး၊ one-tailed test သည် ဦးတည်ချက် တစ်ခုတည်းကိုသာ ကြည့်ရှုကာ ဒေတာများကို မကြည့်မီ ကြိုတင်ရွေးချယ်ထားသင့်သည်။ Chi-square test များသည် အမြဲတမ်း right-tailed ဖြစ်သည်။
တွက်ချက်စက်သည် p ကို မည်သို့ တွက်ချက်သနည်း
ဤတွက်ချက်စက်သည် ပုံနှိပ်ထားသော ဇယားများကို အသုံးမပြုသောကြောင့် statistic နှင့် degrees of freedom မည်သည့်အရေအတွက်အတွက်မဆို အလုပ်လုပ်နိုင်သည်။ Normal tail ကို incomplete gamma function မှ ရရှိပြီး၊ t tail ကို regularised incomplete beta function I(ν ÷ 2, 1 ÷ 2, ν ÷ (ν + t²)) မှ ရရှိကာ၊ chi-square tail ကို upper incomplete gamma function မှ ရရှိသည်။ ၎င်းတို့သည် distribution များ၏ စံသတ်မှတ်ချက်များဖြစ်ပြီး ဒဿမနေရာများစွာအထိ တိကျသော ရလဒ်များကို ပေးသည်။ အလွန်သေးငယ်သော p-values များကို scientific notation ဖြင့် ပြသပေးသည်။ Degrees of freedom များလာသည်နှင့်အမျှ t distribution သည် normal distribution နှင့် ပိုမိုနီးကပ်လာသည်: degrees of freedom 10 ရှိသောအခါ two-tailed 5% critical value သည် 2.228 ဖြစ်ပြီး z အတွက်မူ 1.96 ဖြစ်သည်။
ဖော်မြူလာနှင့် နည်းလမ်း
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|)), ဤနေရာတွင် Φ သည် standard normal cumulative distribution ဖြစ်သည်။ t: p သည် ν degrees of freedom ရှိသော Student t distribution မှ လာပြီး regularised incomplete beta function ဖြင့် တွက်ချက်သည်။ Chi-square: p = P(X ≥ χ²), upper incomplete gamma function Q(k ÷ 2, χ² ÷ 2) ဖြင့် တွက်ချက်သည်။
တွက်ချက်မှုနမူနာ
အသုံးများသော critical values သုံးခု
- z = 1.96, two-tailed → p = 0.0500
- t = 2.0 (degrees of freedom 10 နှင့်), two-tailed → p = 0.0734
- χ² = 11.07 (degrees of freedom 5 နှင့်) → p = 0.0500
အဖြေ: z နှင့် chi-square ရလဒ်များသည် 5% level အတိအကျတွင် ရှိနေပြီး t ရလဒ်သည် 0.05 တွင် significance မရှိပါ။
မကြာခဏမေးလေ့ရှိသော မေးခွန်းများ
p-value ကောင်းတစ်ခုဆိုသည်မှာ အဘယ်နည်း။
ကောင်းသော p-value သို့မဟုတ် မကောင်းသော p-value ဟူ၍ မရှိပါ။ 0.05 အောက်ကို အများအားဖြင့် significant ဟု ခေါ်သော်လည်း၊ threshold ကို ကြိုတင်သတ်မှတ်ထားသင့်ပြီး effect size ကိုလည်း အစီရင်ခံသင့်သည်။
One-tailed လား၊ two-tailed လား။
ဒေတာများ မစုဆောင်းမီ ဦးတည်ချက်တစ်ခုတည်းကသာ အရေးကြီးသည်ဟု မဆုံးဖြတ်ထားပါက two-tailed ကို အသုံးပြုပါ။ အကယ်၍ effect သည် ခန့်မှန်းထားသော ဦးတည်ချက်တွင် ရှိနေပါက one-tailed p-value သည် two-tailed value ၏ တစ်ဝက် ဖြစ်သည်။
Degrees of freedom ကို မည်သို့ ရှာရမည်နည်း။
One-sample t test အတွက် n − 1၊ chi-square goodness-of-fit test အတွက် categories အရေအတွက် ထဲမှ ၁ နှုတ်ခြင်း၊ contingency table တစ်ခုအတွက် (rows − 1) × (columns − 1) ဖြစ်သည်။
p = 0.03 ဆိုသည်မှာ null hypothesis မှန်ကန်ရန် 3% chance ရှိသည်ဟု ဆိုလိုခြင်းလော။
မဟုတ်ပါ။ ၎င်းသည် အကယ်၍ null hypothesis မှန်ကန်ပါက၊ ဤမျှ extreme ဖြစ်သော ရလဒ်မျိုးသည် အကြိမ်အရေ 3% ခန့်တွင် ဖြစ်ပေါ်နိုင်သည်ဟု ဆိုလိုခြင်းဖြစ်သည်။
Chi-square test သည် အဘယ်ကြောင့် right-tailed ဖြစ်ရသနည်း။
Statistic သည် squared differences (နှစ်ထပ်ကိန်း ကွဲလွဲချက်များ) ကို ပေါင်းခြင်းဖြစ်သောကြောင့်၊ ပိုမိုကြီးမားသော တန်ဖိုးများသည် ပိုမိုဆိုးရွားသော fit (unfit) ဖြစ်မှုကို ဆိုလိုသည်။ upper tail တစ်ခုတည်းသည်သာ null hypothesis ကို ဆန့်ကျင်သည့် အထောက်အထားဖြစ်သည်။
95% confidence အတွက် critical value မှာ အဘယ်နည်း။
Two-tailed z test အတွက် 1.96 ဖြစ်သည်။ t အတွက်မူ ၎င်းသည် ပိုမိုကြီးမားပြီး degrees of freedom ပေါ်တွင် မူတည်သည်၊ ဥပမာ - degrees of freedom 10 နှင့်ဆိုလျှင် 2.228 ဖြစ်သည်။