全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
8272 10
2007-05-31

NetCourseTM 151: Introduction to Stata Programming

Course content

Lecture 1: Organization of analysis

  • Mechanics of using do-files, ado-files, and program define
  • Programming as automating data-management and analysis
  • Organization of multiple do-files
  • Ensuring reproducibility
  • Data verification (assert)
  • Debugging (trace)
  • Working with datasets too large to fit in memory
  • Indexing (subscripting) observations
  • assert as an alternative to branching
  • Reading and processing relational datasets
  • Consuming calculated results

Lecture 2: Macros, arguments, and looping

  • Using macros to contain strings
  • Using macros to contain numbers
  • Using macros to pass and receive arguments with do-files
  • Using macros to pass and receive arguments with programs
  • Distinction between local and global macros
  • Branching and looping
  • Program style
  • Shifting over lists
  • Looping across observations
  • Application: Listing data neatly (report writing and use of display)

There is a one-week break between Lectures 2 and 3 in this course because we have found that the extra time is necessary for discussion.

Lecture 3: Examples and applications

  • Do-files, ado-files, and programs: when to use which
  • Complicated data management example: processing hospital admission/discharge data and merging with patient file
  • Working with dates
  • Working with dates and time of day
  • Programming bootstrapped standard errors
  • Programming Monte Carlo simulations
  • Use of postfile to program bootstraps and simulations beyond the capabilities of bootstrap and simulate

Lecture 4: Ado-files

  • Organizing files and directories
  • Writing real ado-files: command to run analysis do-files
  • Automatically logging analysis
  • Putting time-and-date stamps on analyses
  • Error handling
  • Writing online help files
  • Temporary variables
  • Temporarily destroying data
  • Temporary files
  • Analysis-specific ado-files
  • General-purpose ado-files
  • Converting analysis-specific to general-purpose ado-files
  • More on display and producing formatted output
  • Parsing commands with syntax
  • Version control
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2007-5-31 16:41:00
Where is the files?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2007-6-8 05:55:00
http://rapidshare.com/files/35837595/NetCourse_151.rar 

password www.pinggu.org

链接已过期!谁下载过麻烦上传一次,将给予一定奖励!


[此贴子已经被eblog于2009-4-29 12:24:39编辑过]

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2007-12-28 14:22:00
没有什么好说的,非常感激楼主的热情分享!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-11-18 07:56:00
谢谢楼主
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-11-19 07:26:00
xiexie!!!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群