算术运算符+加法符号52-减法符号58*乘法符号244/除法符号624应用举例例题:三组同性别、同年龄儿童的体重(Kg),计算甲、丙两组数据的标准差。甲组乙组丙组262426282729303030323331343634标准差计算公式:3.162278甲组丙组∑X245404534(∑X)22250022500n55S3.1622782.915476()=--=?1/22nnXXS=+=33JI=-=55JI==7*7JI==9/9JI3364函数说明语法示例=(等号)等于TRUE5FALSE5(大于号)大于TRUE8FALSE6(小于号)小于TRUE6FALSE8=TRUE9FALSE8=TRUE8FALSE9(不等于号)不等于TRUE9FALSE8(大于等于号)大于等于(小于等于号)小于等于===)FALSE,TRUE,3J3I(IF===)FALSE,TRUE,5J5I(IF==)FALSE,TRUE,7J7I(IF==)FALSE,TRUE,9J9I(IF==)FALSE,TRUE,11J11I(IF==)FALSE,TRUE,13J13I(IF===)FALSE,TRUE,15J15I(IF===)FALSE,TRUE,17J17I(IF===)FALSE,TRUE,19J19I(IF===)FALSE,TRUE,21J21I(IF==)FALSE,TRUE,23J23I(IF==)FALSE,TRUE,25J25I(IF实际应用:5比较运算符具体应用:见M22、M24、M26和M28单元格中的函数。8甲样本乙样本样本数:15146均数:100.5529.6标准差:80100.18自由度:27标准误:426.6667715.71581S2=640010020.016S大2/S小2=1.565627齐性检验:1Sc2=8142.968Sx1-x2=33.533648方差齐性检验:方差齐性好。9t值:12.79611P=0.05P=0.019单侧双侧单侧双侧1.7032.0522.4732.7798单侧检验结果:P0.018结论:两样本均数的差别有极显著性意义。8双侧检验结果:P0.01结论:两样本均数的差别有极显著性意义。t界值:样本数据函数说明语法示例&northwindnorth文本运算符“&”可以将一个或多个文本连接为一个组合文本。==3&3JIwind函数说明语法示例引用运算符:(冒号)517,(逗号)=SUN(E7:F8,I7:K8)=517(空格)65联合运算符,将多个引用合并为一个引用。交叉运算符,产生对同时隶属于两个引用的单元格区域的引用。区域运算符,对两个引用之间,包括两个引用在内的所有单元格进行引用。==)6M:5I(SUM==)11O:10M,11J:10I(SUM=???????=16O:16I19K:16KSUM实际应用:652487311455749332426524873114557493324287316593324214552474函数说明语法示例ABS返回绝对值38COUNT返回参数的个数20COUNTA22COUNTBLANK4COUNTIF2EXP求e的n次幂403.4288FACT求数的阶乘24LN求一个数的自然对数2.302585LOG求一个数的对数2LOG10求以10为底的对数2PRODUCT求乘积值30SIGN求数字的符号1A00A=0-1A0返回参数组中非空值的数目计算指定单元格区域中空白单元格的数目计算给定区域内满足特定条件的单元格的数目。3025852.nee==10LNLogeoge==!!N4==100LNL10OG10OG==9LNL3OGOGM===???=???=5321NCBAL==)40I(SIGN==)42I(SIGN==)44I(SIGN()==2IABS()==”:16L4KCOUNT()==”:16L4KCOUNTA==)16L:4K(COUNTBLANK==)5L,16L:5L(CONUNTIF==)28G(EXP==)25I(FACT==)28I(LN==)31J,31I(LOG==)34I(10LOG==)37L,37K,37J,37I(PRODUCTSQRT求正平方根4SUM返回某一单元格区域中所有数字之和SUMIF根据指定条件对若干单元格求和SUMPRODUCT并返回乘积之和SUMSQ求所有参数的平方和SUMX2MY2求两数组中对应数值的平方差之和SUMX2PY2求两数组中对应数值的平方和之和SUMXMY2求两数组中对应数值之差的平方和N==++++==?NBBAAXLL121=+++======?1111iiiiNBAXL()()()=+?+?=?=L2211BABABA=+++==?222212NAAAXL()=-=?NBA122()=+=?NBA122()-=N12BA==)47I(SQRT==)67M:50L(SUM==)67M:50L,50K,67K:50K(SUM==)67M:50M,67L:50L(SUMPRODUCT==)67M:50L(SUMSQ==)67M:50M,67L:50L(2PY2SUMX==)67M:50M,67L:50L(2SUMXMY==)67M:50M,67L:50L(2MY2SUMX-38编号天数12121931841752362871982192910306410931001235100-1016组别AB3938.22190.53142.12288.43163.17347.3763.16648.462175.8166.331100.01144.75246.32126.33221661.5373.69138.963105.27126.33186.32121.06166701.6360.0173.69190.53142.12288.43163.17-154701247.3763.161175.8166.333100.01144.75488104.1246.32126.33273.69138.961105.27126.3344781.14==)67M:50L,50K,67K:50K(SUM==)67M:50M,67L:50L(SUMPRODUCT函数说明语法示例TRUE返回逻辑值TRUETRUE12FALSE返回逻辑值FALSEFALSEAIFP0.05F值84.5438ORTRUETRUETRUETRUETRUEFALSEFALSEFALSEANDTRUETRUEFALSETRUEFALSEFALSEFALSEFALSENOT对参数值求反FALSETRUETRUEFALSE所有参数的逻辑值为真时返回TRUE;只要一个参数的逻辑值为假即返回FALSE对数值和公式进行条件检测在其参数组中,任何一个参数逻辑值为TRUE,即返回TRUE()==12IISNUMBER()====TRUE13J,TRUE13IOR====)TRUE19J,TRUE19I(AND()==5IISNUMBER==)05.0P,05.0P,9J9I(if==)27I(NOT实际应用:见S3、S4、S5和S6单元格中公式内容。R值R值大小标准误可信下限可信上限0.673210.03380.60560.74070.634620.05660.52140.74780.409140.04000.32900.48920.500030.02430.45140.54860.05界值0.01界值3.340395.45293TRUE两种方法治愈率比较分析批注FALSE组别痊愈未愈合计治愈率TRUE甲法2573278.13%FALSE乙法3723994.87%合计6297187.32%实际数组一组二合计TRUE痊愈253762FALSE未愈729TRUE合计323971FALSE理论数组一组二合计有效数27.9436634.05634无效数4.0563384.943662总例数71最小频数4.056338自由度13请用一般卡方值卡方值=校正值=PPP=P=结论:两种疗法差异无显著性意义。注:见L27、M28、P28、M29、M30、P29、P30和L32单元格中公式内容。虚寒阻塞型喘息虚寒型痰浊阻塞型疾病分型单纯虚寒型该药对该型疾病疗效最好。该药对该型疾病疗效较好。该药对该型疾病疗效最差。该药对该型疾病疗效较差。疗效分析:函数说明语法CHOOSE(index_num,value1,value2,…)COLUMNCOLUMNSMATCHHLOOKUPVLOOKUP1成组设计方差分析例题编号11.82.32.921.42.13.231.52.12.742.12.12.851.92.62.761.72.5371.82.33.481.92.43可以使用index_num返回数值参数清单中的数(reference)返回给定引用的列标。(array)返回数组或引用的列数甲组样本返回在指定方式下与指定数值匹配的数组中元素的相应位置。在表格或数值数组的首列查找指定的数值,并由此返回表格或数组当前行中指定列处的数值。在表格或数值数组的首行查找指定的数值,并由此返回表格或数组当前列中指定行处的数值乙组样本丙组样本)8(MCOLUMN=)8,8,8,8,8,8,3(RQPONMPCHOOSE=)14:3(RLCOLUMN=)1,3:3,18(RLKMATCH=)`77,105:90,77(BAJAAHVLOOKUP=)`,2,55:54,74(FALSEDBAHLOOKUP=91.82.43.4101.83.31123.51213合计19.720.833.974.4均数1.7909092.3111113.0818182.394613样本数1191131合计均方35.6948.34105.33189.36方差:0.0409090.0336110.0856360.054798分子=2.368816分母=1.048214卡方值=2.259859C值=178.56结果:方差齐性好变异耒源SSvMSFPP总10.830组间9.26565724.63282884.543780.011.36E-12组内1.534343280.054798v1=3v2=28f值0.05:3.340389f值0.01:5.452932P0.01结论P=1.36E-12各组均数样本数对比组两均数差组距aq值q界值P值A与BXa-Xb0.050.013.081818111组/3组1.290909318.289833.584.640.012.31111191组/2组0.770707210.359162.954.020.011.790909112组/3组0.52020226.9920962.954.020.01a1=3a2=2a3=2v=280.050.01q界值(1组/3组):3.584.64Q界值(1组/2组):2.954.02Q界值(2组/3组):2.954.02P值(1组/3组):0.01P值(1组/2组):0.01P值(2组/3组):0.01F界值表(P=0.05)分子自由度分母自由度123456781161.45199.50215.71224.58230.16233.99236.77238.88218.5119.0019.1619.2519.3019.3319.3519.37310.139.559.289.129.018.948.898.8547.716.946.596.396.266.166.096.04成组设计方差分析结果56.615.795.415.195.054.954.884.8265.995.144.764.534.394.284.214.1575.594.744.354.123.973.873.793.7385.324.464.073.843.693.583.503.4495.124.263.863.633.483.373.293.23104.964.103.713.483.333.223.143.071