资源描述:
《统计软件分析与应用实验报告》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验报告一课程统计软件分析与应用学生姓名学号学院—数学与统计学院专业统计学指导教师二0—四年三月十日In打开帮助文档首页,并査阅其中的aintroductiontoR”>help,start()2、看一下你的软件中有哪些程序包>search()[1]GlobalEnv""package:stats"[4]''package:grDevices,zz/packagc:utilsz,[7]''package:methods/,"Autoloads"3、载入程序包“emplik”>install,packages(^emplik^)然后选择镜
2、像"package:graphics'""package:datasets"'"package:base"RRdatasetsDatasetsinpackage'dataset3z:AirPassengersMonthlyAirlinePassengerNumbers1949-1960BJsale3SalesDatawithLeadingIndicator3Jsale3ead(SJsales)SalesDatawithLeadingIndicatorBODBiochemicalOxygenDemandC02CarbonDioxideUp
3、takeinGrassPlantsChickWeightWeightversusageofchicksondifferentdietsDNaseElisaassayofDNaseEuStockMarketsDailyClosingPricesofMajorEuropeanStockIndices,1991-1998Forir.aldehydeDeterminationofForir.aldehydeHairEyeColorHairandEyeColorofStatisticsStudentsHaman23.corHarir.anExai
4、rfle2.3HariEan74.corHarmanExair^le7.4IndomethPharir.acokineticsofIndomethacinInsectSpraysEffectivenessofInsectSpraysJohnsonJohnsonQuarterlyEarningsperJohnson&Johnson4、查看当前能访问的数据集列表>data()5、找到数据包“datasets”,并打开数据0口nge,编辑数据,把修改后的数据存在中>fix(Orange)EEonewTreeagecircumferenceva
5、r4var5var€var7111183021484583166487411004115S112311206113721427115821458211833924846910266411111210041561221231172132137220314215822031531183016348451173664751831004108>sink("D:/R/onew")>Orange>sink()6、显示数据集Orange的内容>OrangeTreeagecircumference1111830214845831664874110041
6、1551123112061137214271158214582118339248469102664111112100415612212311721321372203142158220315311830163484511736647518310041081931231115203137213921315821402241183223448462244664112254100416726412311792741372209284158221429511830305484493156648132510041253351231142345137
7、217435515821777、运行Orange口带的示例>?Orangestartinghttpdhelpserver…clone>require(stats);require(graphics)>coplot(circumference~age
8、Tree,data=Orange,show,given=FALSE)>fml<-nls(circumference〜SSlogis(age,Asym,xmid,seal),+data=Orange,subset=Tree==3)>plot(circumference'age,data=Ora
9、nge,subset=Tree==3,+xlab="Treeage(dayssince1968/12/31)",+ylab="Treecircumference(mm)las=1,+main二〃Orange