- 1、本文档共24页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
美国俄亥俄州立大学讲义:Introduction to Stata
Introduction to Stata with thanks to Stacy Woodard, Ph.D. Center for Biostatistics Ohio State University Where you are Sociology Instruction Lab (SIL), 70 Derby Hall used for computer courses not the Sociology Research Lab (SRL), in Bricker used for computer research Logging in to the SIL Turn on computer Enter your user name If your OSU email is buendia.100@ then your SIL user name is buendia.100 not the same as in SRL Enter your password your first initial + last 4 digits of your SS# + your last initial e.g., Jose Arcadio Buendia, SS# 100-10-0100 password j0100b again not the same as in SRL Opening Stata (in the SIL) Lower left corner, click Start Choose All programs Analysis Stata 9 Logging commands Save your commands to a file You may want to re-use them later! (Press return) called a “command log” or “Do-file” Opening Stata data files Stata has its own format for data files extension *.dta Choose File?Open Go to S:\stata_intro\nmihs100.dta S: in the SIL is not the same as S: in the SRL 100 records from National Maternal and Infant Health Survey (NMIHS) in Stata format Importing data Stata can also read tab-delimited ASCII text files Most other software (e.g., Excel)can write tab-delimited ASCII text files Let’s get data from Excel…. From Windows Start button choose All Programs?Office Productivity?Microsoft Office?Excel In Excel choose File?Open find S:\stata_intro\example1.xls choose File?Save As…?Save as type: Text (tab delimited) Save as X:\example1.txt In Stata In command window, type “clear”—gets current data out of memory Choose File?Import?ASCII data created by a spreadsheet Find X:\example1.txt Examining data Exercise Move smoke and bwt to the first two columns Save your changes Close the editor Saving data “Preserve” saves only a temporary copy of the data file. The original data file is unaffected. To save a permanent data file, Choose File?Save As… Navigate to your X: drive X: is where you should save things X: in the SIL is not the same
您可能关注的文档
- 级进模的维护要领及常见故障的排除 .doc
- 级配砂石基层施工方案 砂石桩软基处理施工方案.doc
- 纪实性电视专题片的完善创新.doc
- 纪录片《互联网时代》创作过程中的启发.doc
- 纪录片剪报20070709 (编辑:北京零频道www.doc
- 纪律也是一种行为规范 21.社会行为规范也是一种计量器具.doc
- 纪录片《互联网时代》的价值取向和角色定位.doc
- 纪律教育学习活动月心得体会.doc
- 纪念3.15国际消费者权益保护日策划方案.doc
- 纪念“12.9”篝火晚会主持词.doc
- 原电池电动势的测定实验报告.pdf
- 与业主、设计、总包、监理和他承包人的配合措施.pdf
- 公司管理流程.pptx
- 2024_2025学年新教材高中地理第1章地球的运动素养综合训练新人教版选择性必修1.doc
- 2024_2025学年新教材高中地理第3章大气的运动第1节常见天气系统第1课时锋与天气分层作业新人教版选择性必修1.doc
- 2024_2025学年新教材高中地理第1章地球的运动第2节地球运动的地理意义第4课时正午太阳高度的变化四季更替和五带划分分层作业课件新人教版选择性必修1.pptx
- 2024_2025学年新教材高中地理第2章地表形态的塑造第2节构造地貌的形成第1课时地质构造与地貌课件新人教版选择性必修1.pptx
- 2024_2025学年新教材高中地理第1章地球的运动问题研究人类是否需要人造月亮课件新人教版选择性必修1.pptx
- 五片小雪花课件.pdf
- 2024_2025学年新教材高中地理第3章大气的运动第2节气压带和风带第1课时气压带和风带的形成分层作业课件新人教版选择性必修1.pptx
文档评论(0)