以多维度几何视角解释标准差
2020-06-18 15:23
本范例通过几何作图与向量运算,从多维度视角直观解释标准差的数学含义。利用正交线、交点、线段和向量等GeoGebra命令,将数据点与均值之间的偏差转化为几何距离和向量投影,帮助学习者理解标准差作为数据离散程度度量的本质。该演示将统计概念与解析几何相结合,展示了标准差在二维或多维空间中的几何解释,适合统计学与线性代数交叉学习。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.590.0" app="classic" platform="w" id="9EBD86B3-8C5C-4997-BE14-699EC0E4D487" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1920" height="1005" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.1453125" orientation="1" />
</panes>
<views>
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 51 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 , 538 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1,1,1" size="500" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="4097" visible="false" inframe="false" stylebar="true" location="1,1" size="494" window="100,100,700,550" />
<view id="1" visible="true" inframe="false" stylebar="false" location="1" size="1633" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="false" location="3" size="279" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="300" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="128" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="900" window="50,50,500,500" />
<view id="43" visible="false" inframe="false" stylebar="false" location="1" size="450" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 73 62 | 1 501 67 , 5 19 , 72 75 76 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 14 68 | 30 29 54 32 31 33 | 25 17 26 60 52 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="32"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="1633" height="952"/>
<coordSystem xZero="428.96050745674034" yZero="571.5116554526087" scale="57.94390899406" yscale="57.943908994059875"/>
<evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="0"/>
<labelStyle axes="0" serif="true"/>
<axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<algebraView>
<mode val="3"/>
</algebraView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="3" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="以多為杜" author="" date="">
<element type="numeric" label="a">
<value val="8"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="-100" max="100" absoluteScreenLocation="true" width="200" x="71" y="64" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="A" exp="(a, 0)" type="point" />
<element type="point" label="A">
<show object="true" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelOffset x="-14" y="50"/>
<labelMode val="3"/>
<coords x="8" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="x_1"/>
</element>
<element type="numeric" label="k">
<value val="10"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="100" absoluteScreenLocation="true" width="200" x="71" y="122" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<expression label="B" exp="(0, k - a)" type="point" />
<element type="point" label="B">
<show object="true" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelOffset x="-38" y="10"/>
<labelMode val="3"/>
<coords x="0" y="2" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="x_2"/>
</element>
<expression label="C" exp="(k / 2, k / 2)" type="point" />
<element type="point" label="C">
<show object="true" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelOffset x="-12" y="-7"/>
<labelMode val="3"/>
<coords x="5" y="5" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="D_μ(μ,μ)"/>
</element>
<command name="OrthogonalLine">
<input a0="A" a1="xAxis"/>
<output a0="f"/>
</command>
<element type="line" label="f">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-1" y="0" z="8"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="OrthogonalLine">
<input a0="B" a1="yAxis"/>
<output a0="g"/>
</command>
<element type="line" label="g">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="-1" z="2"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="f" a1="g"/>
<output a0="D"/>
</command>
<element type="point" label="D">
<show object="true" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="3"/>
<coords x="8" y="2" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="D(x_1,x_2)"/>
</element>
<command name="Segment">
<input a0="A" a1="D"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-2" y="0" z="16"/>
<lineStyle thickness="5" type="10" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="B" a1="D"/>
<output a0="i"/>
</command>
<element type="segment" label="i">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="8" z="-16"/>
<lineStyle thickness="5" type="10" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="OrthogonalLine">
<input a0="C" a1="xAxis"/>
<output a0="j"/>
</command>
<element type="line" label="j">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-1" y="0" z="5"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="OrthogonalLine">
<input a0="C" a1="yAxis"/>
<output a0="l"/>
</command>
<element type="line" label="l">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="-1" z="5"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eqnStyle style="implicit"/>
</element>
<command name="Intersect">
<input a0="j" a1="xAxis"/>
<output a0="E"/>
</command>
<element type="point" label="E">
<show object="true" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelOffset x="-8" y="-5"/>
<labelMode val="3"/>
<coords x="5" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="μ"/>
</element>
<command name="Intersect">
<input a0="l" a1="yAxis"/>
<output a0="F"/>
</command>
<element type="point" label="F">
<show object="true" label="true"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelOffset x="2" y="10"/>
<labelMode val="3"/>
<coords x="0" y="5" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
<caption val="μ"/>
</element>
<command name="Vector">
<input a0="C" a1="D"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="true" label="false"/>
<objColor r="0" g="0" b="204" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="3" y="-3" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="C"/>
</element>
<command name="Vector">
<input a0="E" a1="A"/>
<output a0="v"/>
</command>
<element type="vector" label="v">
<show object="true" label="false"/>
<objColor r="204" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="3" y="0" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="E"/>
</element>
<command name="Vector">
<input a0="F" a1="B"/>
<output a0="w"/>
</command>
<element type="vector" label="w">
<show object="true" label="false"/>
<objColor r="204" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="-3" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<coordStyle style="cartesian"/>
<startPoint exp="F"/>
</element>
</construction>
</geogebra>