王中旺+金哲植
摘 要 統计学是应用数学的一个分支,主要通过利用概率论建立数学模型,收集所观察系统的数据,进行量化分析、总结,做出推断和预测,为相关决策提供依据和参考。它被广泛地应用在各门学科之上,从物理学到社会科学,到人文科学,甚至被用来工商业及政府的情报决策之上。随着数字化的进程不断加快,产生的数据量越来越大,因此,在统计学的教学中,数据分析软件的使用是个必然趋势。
关键词 Matlab 统计学 工具箱
中图分类号:G424 文献标识码:A DOI:10.16400/j.cnki.kjdkx.2017.12.044
Abstract Statistics is a branch of Applied Mathematics, mainly through the use of probability theory to establish the mathematical model, the observation system to collect data, quantitative analysis and summary, to make inferences and prediction, provide the basis and reference for the relevant decision-making. It is widely used in a variety of subjects, from physics to social sciences, to the humanities, and even to industry, commerce and government intelligence decisions. With the acceleration of the digital process, the amount of data is increasing. Therefore, the use of data analysis software is an inevitable trend in the teaching of statistics.
Keywords Matlab; Statistics; toolbox
0 引言
目前,在统计学的教学过程中,使用的数据分析软件种类很多,例如SAS,R,SPSS,Matlab 等,各式各样的软件在教学过程中的使用,极大地提高了课堂效率和计算的准确度,但是,选择使用的软件种类也尤为重要。如果选择的软件过于专业化,会增加非统计专业的学生学习统计学的难度,影响课堂上的学习效率;如果选择的软件过于简洁,忽视了处理的过程,不利于学生对知识点的记忆和理解。[1-2]笔者认为Matlab软件非常适用于统计学的教学过程,尤其是统计工具箱的使用,不需要编程基础,操作简洁,只要求学生对统计学的知识有一定的理解,能够设置相关参数即可。[3]
1 Matlab统计工具箱在教学中的应用
1.1 概率分布
随机变量的统计行为取决于其概率分布,而分布函数常用连续和离散型分布。统计工具箱提供20种分布。每种分布有五类函数,分别为:概率密度(pdf);累积分布函数(cdf);逆累积分布函数(icdf);随机数产生器;……