← All posts

Understanding the P-value in Depth

Clinical Epidemiology ResearchUniqcret doctor knowledgesMethodology and Research Design

✅ Basic Definition of the P-value

🔹 P-value คือ ค่าทางสถิติที่ใช้วัด “ความน่าจะเป็น” ที่จะได้ผลลัพธ์อย่างที่สังเกตเห็น (หรือมากกว่านั้น) ภายใต้สมมติฐานศูนย์ (Null Hypothesis หรือ H₀) 🔹 P-value is a statistical value that represents the probability of obtaining the observed result (or more extreme), assuming that the null hypothesis (H₀) is true.

🔎 มันคือเครื่องมือที่ช่วยเราในการตัดสินใจว่า ผลลัพธ์ของงานวิจัยนั้นน่าจะเกิดขึ้นโดยบังเอิญหรือไม่ 🔎 It helps us decide whether the observed result could plausibly occur by random chance.


⚖️ สมมติฐานศูนย์คืออะไร?

⚖️ What Is the Null Hypothesis?

🔹 ในการทดลองหรือการศึกษา สมมติฐานศูนย์มักจะตั้งไว้ว่า “ไม่มีผลต่าง” หรือ “ไม่มีผลของการรักษา”🔹 In clinical or experimental research, the null hypothesis usually states that “there is no effect” or “no difference.”

ตัวอย่าง:Example:

🧪 ตัวอย่างเชิงภาพ (Intuitive Example)

สมมติคุณทำการทดลองยาลดความดัน:Suppose you conduct a blood pressure trial:

P-value คืออะไรในที่นี้?What is the P-value here?

มันคือ ความน่าจะเป็น ที่จะได้ผลต่าง 3 mmHg หรือ “มากกว่านั้น” โดย อาศัยสมมติว่า H₀ เป็นจริง It is the probability of seeing a 3 mmHg difference or more, assuming H₀ is true.

ถ้าได้ค่า P = 0.03 → แปลว่า “ถ้า H₀ จริง มีโอกาสแค่ 3% ที่เราจะได้ผลลัพธ์แบบนี้โดยบังเอิญ” If P = 0.03 → This means: “If H₀ were true, there’s only a 3% chance we would get a result this extreme by random chance.”


🎯 Key Properties of the P-value

หัวข้อ (Feature)คำอธิบาย (Explanation)
ช่วงค่า (Range)0 ถึง 1 (0 to 1)
P ใกล้ 0หลักฐานต่อต้าน H₀ แข็งแรง (Strong evidence against H₀)
P ใกล้ 1หลักฐานสนับสนุน H₀ หรือไม่มีหลักฐานเพียงพอที่จะโต้แย้งมัน (Little evidence against H₀)
ค่าตัดสินใจ (Threshold α)มักใช้ 0.05 (หรือ 5%) เป็นจุดแบ่งผลมีนัยสำคัญหรือไม่ (α = 0.05 is common cutoff)
P < 0.05ปฏิเสธ H₀ ได้ (Reject H₀ → Statistically significant)
P ≥ 0.05ไม่ปฏิเสธ H₀ (Do not reject H₀ → Not statistically significant)

🧠 What Does “More Extreme” Mean?

“More extreme” คือ ผลลัพธ์ที่ “ไกล” จากที่คาดไว้ภายใต้ H₀ มากกว่า “More extreme” means results further from what would be expected under H₀.

Two-sided test มักใช้ในงานวิจัยทางการแพทย์ เพราะมีความระมัดระวังในการสรุปผล✅ Two-sided tests are generally preferred in medicine due to conservative interpretation.


🚫 What a P-value Does Not Mean

❌ ไม่ใช่ ความน่าจะเป็นที่ H₀ จะจริง ❌ It is not the probability that H₀ is true

❌ ไม่ใช่ ความน่าจะเป็นที่ผลมาจากความบังเอิญ ❌ It is not the chance that your result was “just random”

✅ มันคือ ความน่าจะเป็นของข้อมูล เมื่อสมมติว่า H₀ เป็นจริง ✅ It is the probability of your observed data, given that H₀ is true


🔬 Statistical ≠ Clinical Significance

แม้ผลจะ “มีนัยสำคัญทางสถิติ” (เช่น P < 0.05) Even if a result is “statistically significant” (P < 0.05)

❗ อาจ “ไม่สำคัญทางคลินิก” ถ้าผลต่างมีขนาดเล็กหรือไม่มีผลต่อการดูแลผู้ป่วย ❗ It might be clinically trivial if the effect size is too small to change clinical decisions.

ตัวอย่างความต่าง:Examples of contrast:


📘 Final Summary

แนวคิด (Concept)คำอธิบาย (Explanation)
P-valueความน่าจะเป็นของผลลัพธ์ (หรือมากกว่า) ภายใต้สมมติว่า H₀ จริง
ช่วงค่าอยู่ระหว่าง 0 ถึง 1
แปลความP น้อย → หลักฐานต่อต้าน H₀ มาก
ค่าตัดสินใจ (α)มักใช้ 0.05
ถ้า P < 0.05ปฏิเสธ H₀ (มีนัยสำคัญทางสถิติ)
ถ้า P ≥ 0.05ไม่ปฏิเสธ H₀ (ยังไม่มีหลักฐานเพียงพอ)