您好,欢迎访问三七文档
学生成绩问题表述某校60名学生的一次考试成绩如下:9375839391858482777677959489918886839681799778756769688483817566857094848382807874737670867690897166867380947978776353551)计算均值、标准差、极差、偏度、峰度,画出直方图;2)检验分布的正态性;3)若检验符合正态分布,估计正态分布的参数并检验参数.数学建模xueshengchengji.m%输入数据grade=[937583939185848277767795948991888683968179977875676968848381756685709484838280787473767086769089716686738094797877635355];junzhi=mean(grade)biaozhuncha=std(grade)fangcha=var(grade)zhongweishu=median(grade)piandu=skewness(grade)fengdu=kurtosis(grade)%直方图hist(grade,10)%检验分布的正态性normplot(grade)%估计正态分布的参数[muhat,sigmahat,muci,sigmaci]=normfit(grade,0.05)%检验参数[h,sig,ci]=ttest(grade,80.1,0.05,0)运行结果xueshengchengji.mjunzhi=80.1000biaozhuncha=9.7106fangcha=94.2949zhongweishu=80.5000piandu=-0.4682fengdu=3.1529muhat=80.1000sigmahat=9.7106muci=77.591582.6085sigmaci=8.231011.8436h=0sig=1ci=77.591582.6085
本文标题:学生成绩
链接地址:https://www.777doc.com/doc-5333652 .html