Linear Regression Models
แนะนำใหม่
7:48
การสำรวจข้อมูลสองตัวแปร
เด็กสามสิบคนจากโรงเรียนประถมแห่งหนึ่ง สำหรับแต่ละคน มีสองตัวเลข: ขนาดรองเท้า และคะแนนการอ่าน ทดลองวางจุดหนึ่งต่อหนึ่งเด็ก รูปแบบนี้ยากที่จะ...
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| scatterplot/ˈskætəplɒt/ | A plot of paired data as points, showing form, direction, strength and outliers. |
| linear/ˈlɪnɪə/ | Describing a straight-line relationship or an expression whose variables appear only to the first power without products between them. |
| regression line/rɪˈɡreʃn laɪn/ | เส้นถดถอย |
| predicted response | |
| intercept/ˌɪntəˈsept/ | The coordinate at which a graph crosses a specified coordinate axis. |
| slope/sləʊp/ | The change in a line's vertical coordinate divided by the corresponding change in its horizontal coordinate. |
| trend/trend/ | The general direction in which a quantity or pattern changes over time. |
| association/əˌsəʊsɪˈeɪʃn/ | |
| range/reɪndʒ/ | |
| Extrapolation/ekˈstræpəleɪʃn/ | Predicting far beyond the data — is unreliable. |
| model/ˈmɒdl/ | A simplified representation of a system used to explain, analyse or predict its behaviour. |
| least-squares regression line/liːst skweəz rɪˈɡreʃn laɪn/ |
เส้นผ่านกลุ่มเมฆ
- เมื่อกราฟกระจายดูเป็นเส้นตรง, สรุปด้วย เส้นถดถอย (regression line)
- เราเขียนค่า predicted response ว่า $\hat{y} = a + bx$ (หมวก (^) หมายถึง "predicted")
- $a$ คือ $y$-intercept, $b$ คือ slope — สูตรของเส้น
- เส้นนี้ช่วยให้เราทำนาย $y$ จากค่า $x$ ใดๆ ได้ และอธิบายแนวโน้มได้อย่างแม่นยำ
อ่านค่า slope
- Slope $b$ คือ การเปลี่ยนแปลงที่คาดการณ์ไว้ใน $y$ สำหรับทุกเพิ่ม $1$-unit ใน $x$
- ในบริบท: "การเรียนเพิ่มอีกหนึ่งชั่วโมง ทำนายได้ว่าคะแนนจะสูงขึ้นประมาณ $b$ คะแนน"
- สัญญาณตรงกับทิศทางการสัมพันธ์ (บวกหรือลบ)
- Slope คือส่วนที่สำคัญที่สุดในการตีความบนข้อสอบ

อ่านค่า ŷ = a + bx: ความชันคือการเปลี่ยนแปลงที่คาดการณ์ต่อหน่วยของ x; ค่าตัดแกนคือค่าที่คาดการณ์เมื่อ x = 0

อ่านค่า intercept
- Intercept $a$ คือค่า predicted $y$ เมื่อ $x = 0$.
- บางครั้งมีความหมาย ("คะแนนพื้นฐานเมื่อเรียน 0 ชั่วโมง"), บางครั้งก็ไม่มี
- ถ้า $x = 0$ jauh di luar data, intercept เป็นเพียง ancora matematika semata
- ตีความในบริบท — และrecursive honesty เมื่อ $x=0$ ไม่มีความหมายจริง
อย่าใช้วิธี Extrapolate
- ใช้เส้นเฉพาะ ในช่วง ของค่า $x$ ที่สังเกตได้เท่านั้น
- Extrapolation — การทำนายไกลเกินข้อมูล — ไม่น่าเชื่อถือ
- รูปแบบเส้นตรงอาจไม่ดำเนินต่อไปนอกพื้นที่นั้น
- โมเดลที่ตรงกับนักเรียนที่เรียน $0$–$8$ ชั่วโมง ไม่สามารถบอกอะไรที่เชื่อถือได้เกี่ยวกับ $40$ ชั่วโมง
ตีความ slope sebagai predicted change, bukan actual one: "each extra hour is associated with about $b$ more points," not "causes." And never trust a prediction from extrapolation — plugging in an $x$ far outside the data range gives a number the data can't support, even if the arithmetic works.
สำหรับชั่วโมงเรียน, $\hat{y} = 55 + 4x$ (คะแนนที่คาดการณ์จากชั่วโมงเรียน)
- Slope $4$: Each extra hour of study predicts about $4$ more points.
- Intercept $55$: A student who studies $0$ hours is predicted to score $55$.
- Predict at $x=3$: $\hat{y} = 55 + 4(3) = 67$ points — safely inside the data range.
เส้นถดถอยกำลังสองน้อยสุด (least-squares regression line) $\hat{y} = a + bx$ แบบจำลองแนวโน้มเชิงเส้น ความชัน (slope) $b$ คือ การเปลี่ยนแปลงที่คาดการณ์ไว้ใน $y$ ต่อการเพิ่มขึ้น $1$ หน่วยใน $x$; จุดตัดแกน Y (intercept) $a$ คือค่า $y$ ที่คาดการณ์ไว้ที่ $x=0$ ทำ predictions เฉพาะ ภายใน ช่วงข้อมูลเท่านั้น — การ extrapolate ข้ามขอบเขตนั้นไม่เป็นไปตามมาตรฐาน
เขียนจากค่าคาดการณ์ของ 19
- เส้นสมมติ y เท่ากับ 4 บวกกับ 3 คูณด้วย x
- x คือ 5. บริบทค่าตัดแกนของบทเรียนใช้ 67
For the line predicted y=4+3x, find the prediction when x=5, within the observed range 0–8. Show your substitution.
Substitute x into the equation of the line.
For predicted y=4+3x, what is the prediction at x=5?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
4 plus 15 is 19. Other options — 4 (the intercept only); 67 (the other line).
The least-squares line
The fitted line predicts y for any x within the data.
For y-hat = 55 + 4x, predict the score when x = 3 hours.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
55 + 4(3) = 55 + 12 = 67.
In y-hat = 55 + 4x, what does the slope 4 mean?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Slope = predicted change in y per 1-unit increase in x.
Using the model to predict far outside the observed range of x is called extrapolation, and it is unreliable.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Extrapolation is risky — the pattern may not continue.
In y-hat = a + bx, the letter a is the y-___.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
a is the y-intercept: predicted y when x = 0.
Order the steps to predict a response from a regression equation.
ความยาก 3/5 · 200 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Guard against extrapolation first, then compute and interpret.
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้