欢迎来到天天文库
浏览记录
ID:56903754
大小:1.45 MB
页数:56页
时间:2020-07-23
《Stata 基础命令回顾.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Stata^‡€guJj^‡{0Stata基础命令回顾ÄöŠ——于第一次GroupStudy活动之前Y~©Ûgu¥Hã²{ŒÆStata¬Æâ
2、2014c323FµeStata^‡€1^‡{0guStataÖÑJjSta-ta^‡{0ÚO^‡é'ÄöŠrŒõU‹mêâwêâÆSïÆdescribe·-list·-scatter·-2ÄöŠ£ãÚO)¤êâ‹mêâ?UêâY~©Ûwêâ£ãÚO)¤êâ?Uêâ3Y~©ÛµeStata^‡€1^‡{0guStataÖÑJjSta-ta^‡{0ÚO^‡é'ÄöŠrŒõU‹mêâwêâÆSïÆd
3、escribe·-list·-scatter·-2ÄöŠ£ãÚO)¤êâ‹mêâ?UêâY~©Ûwêâ£ãÚO)¤êâ?Uêâ3Y~©Û‹mêâStata^‡€·‚®²•Stata^‡%@ê⩇*ж•.dta.guy3·‚5‹mStataS˜auto.dtaêâ¥.Jj‹mauto.dtaê⥷-•µ^‡{0.useautoÄöŠ‹mêâwêâdescribe·-5µlist·-scatter·-£ãÚO1auto.dta´˜‡š~•‡êâ¥.du§‘Stata^‡)¤êâÓžSC,Óžêâ'¡,Œ±^uõ«ÚOõU?UêâY~©Ûü«,¤±ˆ
4、a§Ñ¬æ^ù‡êâ¥5ùÇStataõU.2XJ®²‹m˜‡.dta.©‡,@oI‡˜ØÎâU‹m#,=ѵ.useauto,clearµeStata^‡€1^‡{0guStataÖÑJjSta-ta^‡{0ÚO^‡é'ÄöŠrŒõU‹mêâwêâÆSïÆdescribe·-list·-scatter·-2ÄöŠ£ãÚO)¤êâ‹mêâ?UêâY~©Ûwêâ£ãÚO)¤êâ?Uêâ3Y~©ÛwêâStata^‡€guéu˜‡êâ¥,·‚3‹m ˜„‰Xe¯œµJjwCþ¶¡;^‡{0ÄöŠwCþŠ;‹mêâwêâxãdescri
5、be·-list·-scatter·-£ãÚO)¤êâ?UêâY~©ÛwêâStata^‡€guéu˜‡êâ¥,·‚3‹m ˜„‰Xe¯œµJjwCþ¶¡;^‡{0ÄöŠwCþŠ;‹mêâwêâxãdescribe·-list·-3Stata¥,ùÐéA±en‡·-µscatter·-£ãÚO)¤êâ?Uêâdescribe£ãêâ¥Cþa.!á5Y~©Ûlist•CþÚƒAêâscatter±›Ñ:ãStata^‡.describe€ContainsdatafromD:Stata12.0£®»)‡¤adobase/a/autgu>o.dtao
6、bs:741978AutomobileDatavars:1213Apr201117:45Jjsize:3,182(_dtahasnotes)^‡{0ÄöŠstoragedisplayvalue‹mêâvariablenametypeformatlabelvariablelabelwêâdescribe·-makestr18%-18sMakeandModellist·-scatter·-priceint%8.0gcPrice£ãÚOmpgint%8.0gMileage(mpg))¤êârep78int%8.0gRepairRecord1978?Uêâheadroomfloat
7、%6.1fHeadroom(in.)Y~©Ûtrunkint%8.0gTrunkspace(cu.ft.)weightint%8.0gcWeight(lbs.)lengthint%8.0gLength(in.)turnint%8.0gTurnCircle(ft.)displacementint%8.0gDisplacement(cu.in.)gear_ratiofloat%6.2fGearRatioforeignbyte%8.0goriginCartypeSortedby:foreignStata^‡.listmakepricempgrep78foreignin1/10€g
8、umakepricempgrep78foreign1.AMCConcord4,099223DomesticJj2.AMCPacer4,749173Domestic^‡{03.AMCSpirit3,79922.DomesticÄöŠ4.BuickCentury4,816203Domestic‹mêâ5.BuickElectra7,827154Domesticwêâdescribe·-6.BuickLeSabre5,788183Domesticlist·-scatter·-7.BuickOp
此文档下载收益归作者所有