Details of what the commands in the file are doing are given in the file itself as well as in the tutorial paper.ĭo file for multiple risk periods (also multiple events) itp.doĭo file for unique and non-independent events itp_non_ind.do Then 'do' the do file (type do oxford in the command window, or open in the STATA do file editor and press Ctrl+D, or click on Do current file). Oxford.do, the commands in a STATA do file. Oxford.dta, the data in a STATA data file. To run the MMR and meningitis in Oxford example detailed in the tutorial paper save these two files in your STATA working directory: Xi: xtpoisson nevents i.exgr i.agegr, fe i(indiv) offset(loginterval)Īll the example do-files below now use xtpoisson. The following command is given to fit a standard case series model: Correction to section 4.3 of the tutorial paper: It is no longer necessary to download the file aglm.ado as the standard STATA command xtpoisson can be used to fit conditional Poisson regression models with absorbing factors. The files corresponding to the examples in this paper are given below. Our 2006 Statistics in Medicine tutorial paper explains how to carry out a case series analysis using STATA.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |