ตัวอย่างที่ 1: หาค่าความเชื่อมั่นของสมการ (R-squared)
– 0.95 หมายถึงโมเดลอธิบายข้อมูลได้ 95%
=RSQ(ActualSales, PredictedSales)
0.95
Returns the square of the Pearson correlation coefficient
Returns R-squared (R²), the coefficient of determination. This value represents the proportion of variance in the dependent variable that is predictable from the independent variable. Values range from 0 to 1.
=RSQ(known_y's, known_x's)
=RSQ(known_y's, known_x's)
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
| known_y's | Range/Array | Yes | ค่า Y | |
| known_x's | Range/Array | Yes | ค่า X |
=RSQ(ActualSales, PredictedSales)
0.95
=RSQ(KnownYs, KnownXs)
0.88
=RSQ(TestScores, StudyHours)
0.75
ฟังก์ชัน RSQ ใน Excel ช่วยหาค่ากำลังสองของสหสัมพันธ์ (R-squared) ของสมการถดถอยเชิงเส้น