ÌâÄ¿ÄÚÈÝ
ͳ¼ÆÖг£ÓÃÏà¹ØϵÊý£¬Ò»À´ºâÁ¿Á½¸ö±äÁ¿x¡¢yÖ®¼äÏßÐÔÏà¹Ø¹ØϵµÄÇ¿Èõ£¬Æä¼ÆË㹫ʽÊÇr=
ÆäÖУ¨x1£¬y1£©£¬£¨x2£¬y2£©£¬¡£¬£¨xn£¬yn£©ÊÇÉ¢µãͼÖеÄÑù±¾µã£¬
=
xi£¬
=
yiÊÔÖ¤Ã÷£ºr=
£®
| ||||||||||||
|
. |
x |
1 |
n |
n |
i=1 |
. |
y |
1 |
n |
n |
i=1 |
| ||||||||||||
|
·ÖÎö£ºÀûÓÃÍêȫƽ·½¹«Ê½ºÍƽ¾ùÊýµÄ¼ÆË㹫ʽ·Ö±ð°Ñ·Ö×Ó·Öĸչ¿ª¼ÆËã¼´¿ÉÖ¤Ã÷£®
½â´ð£ºÖ¤Ã÷£º¡ß
(xi-
)2=(
-2x1
+
2)+¡+(
-2xn
+
2)
=(
+
+¡+
)-2
(x1+x2+¡+xn)+n
2
=
-2n
2+n
2=
-n
2£®
ͬÀí
(yi-
)2=
-n
2£®
ÓÖ
(xi-
)(yi-
)=(x1-
)(y1-
)+¡+(xn-
)(yn-
)
=(x1y1-x1
-y1
)+(x2y2-x2
-y2
)+¡+(xnyn-xn
-yn
)+n
=
xiyi-n
-n
+n
=
xiyi-n
£®
¹Êr=
£®
n |
i=1 |
. |
x |
x | 2 1 |
. |
x |
. |
x |
x | 2 n |
. |
x |
. |
x |
=(
x | 2 1 |
x | 2 2 |
x | 2 n |
. |
x |
. |
x |
=
n |
i=1 |
x | 2 i |
. |
x |
. |
x |
n |
i=1 |
x | 2 i |
. |
x |
ͬÀí
n |
i=1 |
. |
y |
n |
i=1 |
y | 2 i |
. |
y |
ÓÖ
n |
i=1 |
. |
x |
. |
y |
. |
x |
. |
y |
. |
x |
. |
y |
=(x1y1-x1
. |
y |
. |
x |
. |
y |
. |
x |
. |
y |
. |
x |
. |
x |
. |
y |
=
n |
i=1 |
. |
x |
. |
y |
. |
x |
. |
y |
. |
x |
. |
y |
n |
i=1 |
. |
x |
. |
y |
¹Êr=
| ||||||||||||||||
|
µãÆÀ£ºÊìÁ·ÕÆÎÕÍêȫƽ·½¹«Ê½ºÍƽ¾ùÊýµÄ¼ÆË㹫ʽÊǽâÌâʹµÃ¹Ø¼ü£®
Á·Ï°²áϵÁдð°¸
Ïà¹ØÌâÄ¿