Inference using normal and t-distributions
แนะนำใหม่
8:10
ความน่าจะเป็นและสถิติเพิ่มเติม
เดลินบ์, สิบเก้า-โอ-เอท. ภายในโรงงานเบียร์กินเนสส์ นักเคมีหนุ่มชื่อ วิลเลียม กอสเซต กำลังเผชิญกับปัญหาเชิงปฏิบัติมาก เขาสามารถทดสอบเพียงไม่กี่ล็อตของ…
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| sample/ˈsæmpl/ | ตัวอย่าง |
| distribution/ˌdɪstrɪˈbjuːʃn/ | การแจกแจง |
| variance/ˈveərɪəns/ | ความแปรปรวน |
| tail/teɪl/ | หาง |
| confidence interval/ˈkɒnfɪdəns ˈɪntəvl/ | ช่วงความเชื่อมั่น |
| degrees of freedom/dɪˈɡriːz ɒv ˈfriːdəm/ | ดีกรีของอิสรภาพ |
| standard error/ˈstændəd ˈerə/ | ส่วนเบี่ยงเบนมาตรฐาน |
| paired/peəd/ | คู่ |
| pooled estimate/puːld ˈestɪmət/ | การประมาณค่ารวม |
ตัวอย่างขนาดเล็ก ความไม่แน่นอนที่แท้จริง
- หากมีตัวอย่างขนาดใหญ่คุณสามารถใช้การแจกแจงปกติได้ แต่ถ้ามีเพียงอย่างเช่น 8 การวัดและมีความแปรปรวนที่ไม่ทราบค่า การแจกแจงปกติจะให้ความมั่นใจมากเกินไป
- William Gosset ผู้ผลิตเบียร์ Guinness ได้ประดิษฐ์ การแจกแจง $t$ ขึ้นมาเพื่อจัดการกับกรณีนี้โดยเฉพาะ — ตัวอย่างขนาดเล็กที่มีความแปรปรวนไม่ทราบค่า
เวลาใดควรใช้ t-distribution
- ใช้ การแจกแจง $t$ เมื่อตัวอย่างมีขนาด เล็ก และความแปรปรวนของประชากร ไม่ทราบค่า (โดยประมาณค่าด้วยความแปรปรวนของตัวอย่าง $s$)
- มีรูปร่างคล้ายกระดิ่งเหมือนการแจกแจงปกติแต่มี หางหนากว่า — กว้างกว่าเพื่อรองรับความไม่แน่นอนเพิ่มเติม

การแจกแจง t มีรูปร่างคล้ายกระดิ่งเหมือนการแจกแจงปกติแต่มีหางหนักกว่า เมื่อตัวอย่างเพิ่มขึ้นจะเข้าใกล้การแจกแจงปกติ

Inference & the normal curve
P(Z < z)
Tests and intervals read พื้นที่ under the normal curve — slide z to find them.
You use the t-distribution (rather than the normal) when:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Small n with unknown σ → estimate with s and use t.
The t-distribution has lighter tails than the normal distribution.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
False. The t-distribution has heavier tails, reflecting the extra uncertainty from estimating the variance; it approaches the normal as the degrees of freedom grow.
A sample has n = 5, Σx = 20 and Σx² = 90. Find the unbiased estimate of the population variance.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
s² = (90 − 20²/5) ÷ 4 = (90 − 80) ÷ 4 = 2.5.
ช่วงความเชื่อมั่นสำหรับค่าเฉลี่ย
- ช่วงความเชื่อมั่นสำหรับค่าเฉลี่ยประชากร:
- $t$ มาจากตาราง $t$ ที่มี $n - 1$ degrees of freedom; $\dfrac{s}{\sqrt n}$ คือ standard error
For a single sample of size n = 10, how many degrees of freedom does the t-value use?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Degrees of freedom = n − 1 = 9.
The quantity s/√n is called the standard ______.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The standard error of the mean is s/√n.
A single sample has size 16. How many degrees of freedom does the t-value use, and why is that not 16?
One degree of freedom is used in estimating the sample standard deviation, leaving n minus 1.
ตัวอย่างวิธีทำ
- ตัวอย่างขนาด $n = 10$ มี $s = 4$; สำหรับระดับ 95% และ 9 องศาอิสระ, ค่า $t = 2.262$
- Margin $= t\dfrac{s}{\sqrt n} = 2.262 \times \dfrac{4}{\sqrt{10}} = 2.86$ (2 dp)

การแจกแจง t มียอดต่ำกว่าและมีหางหนากว่าการแจกแจงปกติ

A sample n = 10 has s = 4. With t = 2.262, what is the margin t × s/√n? (2 dp)
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
2.262 × 4/√10 = 2.262 × 1.265 = 2.86.
เปรียบเทียบประชากรสองกลุ่ม
- A 2-sample หรือ paired $t$-test เปรียบเทียบประชากรสองกลุ่ม
- เมื่อสมมติว่าทั้งสองกลุ่มมี variancé เดียวกัน ให้รวมเป็น pooled estimate ของ $s^2$
องศาอิสระ ไม่ใช่ $n$. ค่า $t$ ใช้ $n - 1$ องศาอิสระ ไม่ใช่ $n$. การอ่านบรรทัดผิดในตารางคือข้อผิดพลาดที่พบบ่อยที่สุด
- สำหรับตัวอย่างขนาดเล็ก ให้ตั้ง hypothesis test บนการแจกแจง $t$: การทดสอบ t แบบ 2-sample หรือ paired sample t-test

Two independent samples of sizes 8 and 11 are compared with a pooled t-test. How many degrees of freedom?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
ν = n₁ + n₂ − 2 = 8 + 11 − 2 = 17.
Ten patients have their blood pressure measured before and after a drug. Which test is appropriate?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Each patient is measured twice, so the data are paired: test the differences with ν = 9.
คุณเข้าใจแล้ว
- ตัวอย่างเล็ก + variancé ไม่ทราบ → ใช้ การแจกแจง $t$ ($n-1$ องศาอิสระ)
- CI สำหรับค่าเฉลี่ย: $\bar{x} \pm t\dfrac{s}{\sqrt{n}}$, พร้อมส่วนเบี่ยงเบนมาตรฐาน $\dfrac{s}{\sqrt n}$
- เปรียบเทียบประชากรสองกลุ่มด้วยการทดสอบ 2-sample หรือ paired $t$-test (pool variance เมื่อแบ่งปันร่วมกัน)
เขียนค่าจาก 15 องศาอิสระ
- ตัวอย่างเดี่ยวมีขนาด 16
- หาดีกรีของอิสรภาพสำหรับค่า t ตารางใช้ n ลบ 1 ไม่ใช่ n

Without looking back: list the steps of a paired t-test, from the assumption to the conclusion.
Follows the worked question.
การ์ดนี้เป็นการ์ดใหม่ จึงแสดงเป็นภาษาอังกฤษจนกว่าคำแปลจะพร้อม
You've got it
- small sample + unknown variance → use the $t$-distribution ($n-1$ degrees of freedom)
- CI for the mean: $\bar{x} \pm t\dfrac{s}{\sqrt{n}}$, with standard error $\dfrac{s}{\sqrt n}$
- paired 配对: test the differences ($\nu=n-1$); two samples: pooled $s_p^2$, $\nu=n_1+n_2-2$
- state the normal assumption
For a single sample of size 16, how many degrees of freedom does the t-test use?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
16 minus 1 is 15. Other options — 16 (the sample size); 9 (the lesson value for a sample of size 10).
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้