## Content

### 2015, Volume 15, Issue 3

**281121 precombine: A command to examine n>=2 datasets before combining***by*Chatfield, Mark D.**281122 Prediction in linear index models with endogenous regressors***by*Skeels, Christopher L. & Taylor, Larry W.**281123 Fitting fixed- and random-effects meta-analysis models using structural equation modeling with the sem and gsem commands***by*Palmer, Tom M. & Sterne, Jonathan A. C.**281124 Record linkage using Stata: Preprocessing, linking, and reviewing utilities***by*Wasi, Nada & Flaaen, Aaron**281125 Estimation of mean health care costs and incremental cost-effectiveness ratios with possibly censored data***by*Chen, Shuai & Rolfes, Jennifer & Zhao, Hongwei**281126 Approximate Bayesian logistic regression via penalized likelihood by data augmentation***by*Discacciati, Andrea & Orsini, Nicola & Greenland, Sander**281127 Fitting adjusted limited dependent variable mixture models to EQ-5D***by*Hernández Alava, Mónica & Wailoo, Allan**281128 A note on adding objects to an existing twoway graph***by*Jann, Ben**281129 Estimating treatment effects for ordered outcomes using maximum simulated likelihood***by*Gregory, Christian A.**281130 Creating summary tables using the sumtable command***by*Scott, Lauren J. & Rogers, Chris A.**281131 Bandwidth selection in kernel distribution function estimation***by*López-de-Ullibarri, Ignacio**281132 didq: A command for treatment-effect estimation under alternative assumptions***by*Mora, Ricardo & Reggio, Iliana**281133 Regression analysis of censored data using pseudo-observations: An update***by*Overgaard, Morten & Andersen, Per K. & Parner, Erik T.**281134 Tests for normality in linear panel-data models***by*Alejo, Javier & Galvao, Antonio & Montes-Rojas, Gabriel & Sosa-Escudero, Walter**281135 Model specification and bootstrapping for multiply imputed data: An application to count models for the frequency of alcohol use***by*Comulada, W. Scott**281136 mqtime: A Stata tool for calculating travel time and distance using MapQuest web services***by*Voorheis, John**281137 The Berry–Levinsohn–Pakes estimator of the random-coefficients logit demand model***by*Vincent, David W.**281138 Feasible fitting of linear models with N fixed effects***by*Rios-Avila, Fernando

### 2015, Volume 15, Issue 2

**275931 Global search regression: A new automatic model-selection technique for cross-section, time-series, and panel-data regressions***by*Gluzmann, Pablo & Panigo, Demian**275933 A menu-driven facility for sample-size calculation in multiarm, multistage randomized controlled trials with time-to-event outcomes: Update***by*Bratton, Daniel J. & Choodari-Oskooei, Babak & Royston, Patrick**275935 Two-stage individual participant data meta-analysis and generalized forest plots***by*Fisher, David J.**275937 Person-centered treatment (PeT) effects: Individualized treatment effects using instrumental variables***by*Basu, Anirban**275939 Bounding treatment effects: A command for the partial identification of the average treatment effect with endogenous and misreported treatment assignment***by*McCarthy, Ian & Millimet, Daniel L. & Roy, Manan**275940 Multiple imputation of covariates by substantive-model compatible fully conditional specification***by*Bartlett, Jonathan W. & Morris, Tim P.**275942 Modeling heaped count data***by*Cummings, Tammy H. & Hardin, James W. & McLain, Alexander C. & Hussey, James R. & Bennett, Kevin J. & Wingood, Gina M.**275943 Conducting interrupted time-series analysis for single- and multiple-group comparisons***by*Linden, Ariel**275944 Top 10 Stata “gotchas”***by*Shaw, Jonathan**275945 Generalized maximum entropy estimation of discrete choice models***by*Corral, Paul & Terbish, Mungo**275947 gpsbound: A command for importing and verifying geographical information from a user-provided shapefile***by*Brophy, Tim S. L. & Daniels, Reza Che & Musundwa, Sibongile**275949 A general-purpose nomogram generator for predictive logistic regression models***by*Zlotnik, Alexander & Abraira, Víctor**275950 Transition matrix for a bivariate normal distribution in Stata***by*Savegnago, Marco**275953 Estimating almost-ideal demand systems with endogenous regressors***by*Lecocq, Sébastien & Robin, Jean-Marc**275956 Speaking Stata: Species of origin***by*Cox, Nicholas J.**275961 Review of Alan Acock's A Gentle Introduction to Stata, Fourth Edition***by*Collier, Tim**275962 graphlog: Creating log files with embedded graphics***by*Hansen, Martin Rune**275963 Stata tip 124: Passing temporary variables to subprograms***by*Buis, Maarten L.**275965 Stata tip 125: Binned residual plots for assessing the fit of regression models for binary outcomes***by*Kasza, Jessica

### 2015, Volume 15, Issue 1

**271681 twopm: Two-part models***by*Belotti, Federico & Deb, Partha & Manning, Willard G. & Norton, Edward C.**271682 Implementing intersection bounds in Stata***by*Chernozhukov, Victor & Kim, Wooyoung & Lee, Sokbae & Rosen, Adam M.**271683 More power through symbolic computation: Extending Stata by using the Maxima computer algebra system***by*Lo Magno, Giovanni L.**271684 Time-efficient algorithms for robust estimators of location, scale, symmetry, and tail heaviness***by*Gelade, Wouter & Verardi, Vincenzo & Vermandele, Catherine**271686 Generating univariate and multivariate nonnormal data***by*Lee, Sunbok**271687 Bayesian optimal interval design for phase I oncology clinical trials***by*Fellman, Bryan M. & Yuan, Ying**271689 Fixed-effect panel threshold model using Stata***by*Wang, Qunyong**271690 Frailty models and frailty-mixture models for recurrent event times***by*Xu, Ying & Cheung, Yin Bun**271691 newspell: Easy management of complex spell data***by*Kröger, Hannes**271692 Estimating net survival using a life-table approach***by*Coviello, Enzo & Seppä, Karri & Dickman, Paul W. & Pokhrel, Arun**271694 Estimating and modeling relative survival***by*Dickman, Paul W. & Coviello, Enzo**271695 A robust test for weak instruments in Stata***by*Pflueger, Carolin E. & Wang, Su**271697 Regression models for count data from truncated distributions***by*Hardin, James W. & Hilbe, Joseph M.**271698 dynemp: A routine for distributed microdata analysis of business dynamics***by*Criscuolo, Chiara & Gal, Peter N. & Menon, Carlo**271699 Tools for checking calibration of a Cox model in external validation: Prediction of population-averaged survival curves based on risk groups***by*Royston, Patrick**271701 Nonparametric pairwise multiple comparisons in independent groups using Dunn's test***by*Dinno, Alexis**271702 Generating nonnegatively correlated binary random variates***by*Chen, Minxing**271703 Review of Alan Acock's Discovering Structural Equation Modeling Using Stata, Revised Edition***by*Williams, Richard**271704 Stata tip 122: Variable bar widths in two-way graphs***by*Jann, Ben**271705 Stata tip 123: Spell boundaries***by*Cox, Nicholas J.

### 2014, Volume 14, Issue 4

**267088 The Stata Journal Editors' Prize 2014: Roger Newson***by*Newton, H. Joseph & Cox, Nicholas J.**267090 Plotting regression coefficients and other estimates***by*Jann, Ben**267092 Tools for checking calibration of a Cox model in external validation: Approach based on individual event probabilities***by*Royston, Patrick**267094 Estimation of multiprocess survival models with cmp***by*Bartus, Tamás & Roodman, David**267096 dhreg, xtdhreg, and bootdhreg: Commands to implement double-hurdle regression***by*Engel, Christoph & Moffatt, Peter G.**267098 The chi-squared goodness-of-fit test for count-data models***by*Manjón, Miguel & Martínez, Oscar**267099 txttool: Utilities for text analysis in Stata***by*Williams, Unislawa & Williams, Sean P.**267101 iop: Estimating ex-ante inequality of opportunity***by*Juárez, Florian Wendelspiess Chávez & Soloaga, Isidro**267103 femlogit—Implementation of the multinomial logit model with fixed effects***by*Pforr, Klaus**267105 Analysis of partially observed clustered data using generalized estimating equations and multiple imputation***by*Aloisio, Kathryn M. & Micali, Nadia & Swanson, Sonja A. & Field, Alison & Horton, Nicholas J.**267106 Lee (2009) treatment-effect bounds for nonrandom sample selection***by*Tauchmann, Harald**267109 General-to-specific modeling in Stata***by*Clarke, Damian**267111 Robust data-driven inference in the regression-discontinuity design***by*Calonico, Sebastian & Cattaneo, Matias D. & Titiunik, Rocío**267112 adjcatlogit, ccrlogit, and ucrlogit: Fitting ordinal logistic regression models***by*Fagerland, Morten W.**267113 Collecting and organizing Stata graphs***by*Wolfe, Joseph D. & Bauldry, Shawn**267114 Speaking Stata: Design plots for graphical summary of a response given factors***by*Cox, Nicholas J.**267115 Stata tip 121: Box plots side by side***by*Cox, Nicholas J.

### 2014, Volume 14, Issue 3

**264443 ivtreatreg: A command for fitting binary treatment models with heterogeneous response to treatment and unobservable selection***by*Cerulli, Giovanni**264444 Obtaining critical values for test of Markov regime switching***by*Bostwick, Valerie K. & Steigerwald, Douglas G.**264445 A command for significance and power to test for the existence of a unique most probable category***by*Fellman, Bryan M. & Ensor, Joe**264446 Merger simulation with nested logit demand***by*Björnerstedt, Jonas & Verboven, Frank**264447 treatrew: A user-written command for estimating average treatment effects by reweighting on the propensity score***by*Cerulli, Giovanni**264448 Modeling count data with generalized distributions***by*Harris, Tammy & Hilbe, Joseph M. & Hardin, James W.**264449 A Stata package for the application of semiparametric estimators of dose-response functions***by*Bia, Michela & Flores, Carlos A. & Flores-Lagunes, Alfonso & Mattei, Alessandra**264450 Space-filling location selection***by*Bia, Michela & Van Kerm, Philippe**264451 Adaptive Markov chain Monte Carlo sampling and estimation in Mata***by*Baker, Matthew J.**264452 csvconvert: A simple command to gather comma-separated value files into Stata***by*Gaggero, Alberto A.**264453 The bmte command: Methods for the estimation of treatment effects when exclusion restrictions are unavailable***by*McCarthy, Ian & Millimet, Daniel & Tchernis, Rusty**264454 Panel cointegration analysis with xtpedroni***by*Neal, Timothy**264455 Stata and Dropbox***by*Hicks, Raymond**264456 Review of An Introduction to Stata for Health Researchers, Fourth Edition, by Juul and Frydenberg***by*Linden, Ariel

### 2014, Volume 14, Issue 2

**259854 Self-consistent density estimation***by*Luedicke, Joerg & Bernacchia, Alberto**259856 Simulated multivariate random-effects probit models for unbalanced panels***by*Plum, Alexander**259857 Regression models for count data based on the negative binomial(p) distribution***by*Hardin, James W. & Hilbe, Joseph M.**259859 Estimation and testing of binomial and beta-binomial regression models with and without zero inflation***by*Hardin, James W. & Hilbe, Joseph M.**259860 Density-based empirical likelihood procedures for testing symmetry of data distributions and K-sample comparisons***by*Vexler, Albert & Tanajian, Hovig & Hutson, Alan D.**259862 A smooth covariate rank transformation for use in regression models with a sigmoid dose–response function***by*Royston, Patrick**259865 From Stata to aML***by*Ayllón, Sara**259866 A menu-driven facility for power and detectable-difference calculations in stepped-wedge cluster-randomized trials***by*Hemming, Karla & Girling, Alan**259868 Importing Chinese historical stock market quotations from NetEase***by*Zhang, Xuan & Li, Chuntao**259869 Power analyses for detecting effects for multiple coefficients in regression***by*Aberson, Christopher L.**259871 Note on Lilien and modified Lilien index***by*Ansari, Muhammad Rashid & Mussida, Chiara & Pastore, Francesco**259872 Stata command for calculating adverse event and efficacy stopping boundaries for phase II single-arm trials***by*Fellman, Bryan M.**259874 Application of multiple imputation using the two-fold fully conditional specification algorithm in longitudinal clinical data***by*Welch, Catherine & Bartlett, Jonathan & Petersen, Irene**259876 Speaking Stata: Self and others***by*Cox, Nicholas J.**259886 Review of Introduction to Time Series Using Stata by Sean Becketti***by*Masterov, Dimitriy V.**259888 Stata tip 120: Certifying subroutines***by*Buis, Maarten L.

### 2014, Volume 14, Issue 1

**257203 sreweight: A Stata command to reweight survey data to external totals***by*Daniele Pacifico**257204 Calibrating survey data using iterative proportional fitting (raking)***by*Stanislav Kolenikov**257205 miivfind: A command for identifying model-implied instrumental variables for structural equation models in Stata***by*Bauldry, Shawn**257206 Indirect treatment comparison***by*Miladinovic, Branko & Chaimani, Anna & Hozo, Iztok & Djulbegovic, Benjamin**257207 Net survival estimation with stns***by*Clerc-Urmès, Isabelle & Grzebyk, Michel & Hédelin, Guy**257208 Reports and other PDF documents***by*Cámara, Rafael J. A.**257209 Estimating adjusted associations between random effects from multilevel models: The reffadjust package***by*Palmer, Tom M. & Macdonald-Wallis, Corrie M. & Lawlor, Debbie A. & Tilling, Kate**257210 Estimating the dose–response function through a generalized linear model approach***by*Guardabascio, Barbara & Ventura, Marco**259844 Sample size and power calculations for trials and quasi-experimental studies with clustering***by*Batistatou, Evridiki & Roberts, Chris & Roberts, Steve**259845 strel2: A command for estimating excess hazard and relative survival in large population-based studies***by*Hills, Michael & Rachet, Bernard & Falcaro, Milena**259847 Estimating marginal treatment effects using parametric and semiparametric methods***by*Brave, Scott & Walstrum, Thomas**259848 Stata tip 116: Where did my p-values go? (Part 3)***by*Buis, Maarten L.**259849 Stata tip 117: graph combine–Combining graphs***by*Ängquist, Lars**259850 Stata tip 118: Orthogonalizing powered and product terms using residual centering***by*Sauer, Carsten**259851 Stata tip 119: Expanding datasets for graphical ends***by*Cox, Nicholas J.

### 2013, Volume 13, Issue 4

**1-5 The Stata Journal Editors' Prize 2013: Erik Thorlund Parner and Per Kragh Andersen***by*Unknown**1-7 cmpute: A tool to generate or replace a variable***by*Royston, Patrick**1-10 A score test for group comparisons in single-index models***by*Guimarães, Paulo**1-11 group2: Generating the finest partition that is coarser than two given partitions***by*Salas Pauliac, Christian H.**1-17 Little's test of missing completely at random***by*Li, Cheng**1-19 Flexible parametric illness-death models***by*Hinchliffe, Sally R. & Scott, David A. & Lambert, Paul C.**1-21 Implementation of a double-hurdle model***by*García, Bruno**1-22 Dealing with identifier variables in data management and analysis***by*Wilner Jeanty, P.**1-28 Testing for zero inflation in count models: Bias correction for the Vuong test***by*Desmarais, Bruce A. & Harden, Jeffrey J.**1-28 Parametric inference using structural break tests***by*Flynn, Zachary L. & Magnusson, Leandro M.**1-29 Attributable and unattributable risks and fractions and other scenario comparisons***by*Newson, Roger B.**1-42 Stochastic frontier analysis using Stata***by*Belotti, Federico & Daidone, Silvio & Ilardi, Giuseppe & Atella, Vincenzo

### 2013, Volume 13, Issue 3

**1-9 Allocation of ordered exclusive choices***by*Sangnier, Marc**1-16 A short guide and a forest plot command (ipdforest) for one-stage meta-analysis***by*Kontopantelis, Evangelos & Reeves, David**1-17 Distribution-free estimation of heteroskedastic binary response models in Stata***by*Blevins, Jason R. & Khan, Shakeeb**1-17 Financial portfolio selection using the multifactor capital asset pricing model and imported options data***by*Dicle, Mehmet F.**1-17 lclogit: A Stata command for fitting latent-class conditional logit models via the expectation-maximization algorithm***by*Pacifico, Daniele & Yoo, Hong il**1-20 Response mapping to translate health outcomes into the generic health-related quality-of-life instrument EQ-5D: Introducing the mrs2eq and oks2eq commands***by*Ramos-Goñi, Juan Manuel & Rivero-Arias, Oliver & Dakin, Helen**1-20 Computing adjusted risk ratios and risk differences in Stata***by*Norton, Edward C. & Miller, Morgen M. & Kleinman, Lawrence C.**1-20 marginscontplot: Plotting the marginal effects of continuous predictors***by*Royston, Patrick**1-21 Valid tests when instrumental variables do not perfectly satisfy the exclusion restriction***by*Riquelme, Andrés & Berkowitz, Daniel & Caner, Mehmet**1-25 Simulation-based sample-size calculation for designing new clinical trials and diagnostic test accuracy studies to update an existing meta-analysis***by*Crowther, Michael J. & Hinchliffe, Sally R. & Donald, Alison & Sutton, Alex J.**1-29 Copula-based maximum-likelihood estimation of sample-selection models***by*Hasebe, Takuya**1-29 Speaking Stata: Trimming to taste***by*Cox, Nicholas J.**1-46 Estimation of multivalued treatment effects under conditional independence***by*Cattaneo, Matias D. & Drukker, David M. & Holland, Ashley D.

### 2013, Volume 13, Issue 2

**1-5 Bonferroni and Holm approximations for Šidák and Holland-Copenhaver q-values***by*Newson, Roger B.**1-5 Speaking Stata: Creating and varying box plots: Correction***by*Cox, Nicholas J.**1-7 Stata tip 115: How to properly estimate the multinomial probit model with heteroskedastic errors***by*Herrmann, Michael**1-8 Generating Manhattan plots in Stata***by*Cook, Daniel E. & Ryckman, Kelli R. & Murray, Jeffrey C.**1-9 Exact Wilcoxon signed-rank and Wilcoxon Mann-Whitney ranksum***by*Harris, Tammy & Hardin, James W.**1-10 Importing U.S. exchange rate data from the Federal Reserve and standardizing country names across datasets***by*Dicle, Betul & Levendis, John & Dicle, Mehmet F.**1-10 Semiparametric fixed-effects estimator***by*Libois, Franccois & Verardi, Vincenzo**1-12 Goodness-of-fit tests for categorical data***by*Bellocco, Rino & Algeri, Sara**1-14 Extending the flexible parametric survival model for competing risks***by*Hinchliffe, Sally R. & Lambert, Paul C.**1-15 A command for Laplace regression***by*Bottai, Matteo & Orsini, Nicola**1-15 Standardizing anthropometric measures in children and adolescents with functions for egen: Update***by*Vidmar, Suzanna I. & Cole, Tim J. & Pan, Huiqi**1-17 A command for estimating spatial-autoregressive models with spatial-autoregressive disturbances and additional endogenous variables***by*Drukker, David M. & Prucha, Ingmar R. & Raciborski, Rafal**1-18 Fitting the generalized multinomial logit model in Stata***by*Gu, Yuanyuan & Hole, Arne Risa & Knox, Stephanie**1-23 Maximum likelihood and generalized spatial two-stage least-squares estimators for a spatial-autoregressive model with spatial-autoregressive disturbances***by*Drukker, David M. & Prucha, Ingmar R. & Raciborski, Rafal**1-47 Creating and managing spatial-weighting matrices with the spmat command***by*Drukker, David M. & Peng, Hua & Prucha, Ingmar R. & Raciborski, Rafal

### 2013, Volume 13, Issue 1

**1-5 Stata tip 114: Expand paired dates to pairs of dates***by*Cox, Nicholas J.**1-7 Estimating Geweke's (1982) measure of instantaneous feedback***by*Dicle, Mehmet F. & Levendis, John**1-7 Review of Flexible Parametric Survival Analysis Using Stata: Beyond the Cox Model by Patrick Royston and Paul C. Lambert***by*Orsini, Nicola**1-8 Review of Data Analysis Using Stata, Third Edition, by Kohler and Kreuter***by*Schumm, L. Philip**1-9 kmlmap: A Stata command for producing Google's Keyhole Markup Language***by*Okulicz-Kozaryn, Adam**1-14 Within and between estimates in random-effects models: Advantages and drawbacks of correlated random effects and hybrid models***by*Schunck, Reinhard**1-17 Trial sequential boundaries for cumulative meta-analyses***by*Miladinovic, Branko & Hozo, Iztok & Djulbegovic, Benjamin**1-17 Regression anatomy, revealed***by*Filoso, Valerio**1-20 Stata as a numerical tool for scientific thought experiments: A tutorial with worked examples***by*Wimberley, Theresa & Parner, Erik & Stovring, Henrik**1-20 Versatile sample-size calculation using simulation***by*Hooper, Richard**1-22 Joint modeling of longitudinal and survival data***by*Crowther, Michael J. & Abrams, Keith R. & Lambert, Paul C.**1-23 Doubly robust estimation in generalized linear models***by*Orsini, Nicola & Bellocco, Rino & Sjölander, Arvid**1-24 A menu-driven facility for sample-size calculations in cluster randomized controlled trials***by*Hemming, Karla & Marsh, Jen**1-26 Two-stage nonparametric bootstrap sampling with shrinkage correction for clustered data***by*Ng, Edmond S.-W. & Grieve, Richard & Carpenter, James R.**1-28 Sar: Automatic generation of statistical reports using Stata and Microsoft Word for Window***by*Lo Magno, Giovanni L

### 2012, Volume 12, Issue 4

**1-3 Stata tip 111: More on working with weeks, erratum***by*Cox, Nicholas J.**1-4 Stata tip 112: Where did my p-values go? (Part 2)***by*Buis, Maarten L.**1-6 The Stata Journal Editors' Prize 2012: David Roodman***by*Unknown**1-6 Stata tip 113: Changing a variable's format: What it does and does not mean***by*Cox, Nicholas J.**1-10 Incorporating complex sample design effects when only final survey weights are available***by*West, Brady T. & McCabe, Sean Esteban**1-12 Robinson's square root of N consistent semiparametric regression estimator in Stata***by*Verardi, Vincenzo & Debarsy, Nicolas**1-13 Speaking Stata: Matrices as look-up tables***by*Cox, Nicholas J.**1-14 Modeling underdispersed count data with generalized Poisson regression***by*Harris, Tammy & Yang, Zhao & Hardin, James W.**1-16 Simulating complex survival data***by*Crowther, Michael J. & Lambert, Paul C.**1-16 A command to calculate age-standardized rates with efficient interval estimation***by*Consonni, Dario & Coviello, Enzo & Buzzoni, Carlotta & Mensi, Carolina**1-18 Fitting and modeling cure in population-based cancer studies within the framework of flexible parametric survival models***by*Andersson, Therese M.-L. & Lambert, Paul C.**1-18 Tools to simulate realistic censored survival-time distributions***by*Royston, Patrick**1-18 HTML output in Stata***by*Quintó, Llorenç**1-20 Graphical augmentations to the funnel plot to assess the impact of a new study on an existing meta-analysis***by*Crowther, Michael J. & Langan, Dean & Sutton, Alex J.**1-21 A programmer's command to build formatted statistical tables***by*Gallup, John Luke**1-32 A generalized missing-indicator approach to regression with imputed covariates***by*Dardanoni, Valentino & De Luca, Giuseppe & Modica, Salvatore & Peracchi, Franco

### 2012, Volume 12, Issue 3

**1-5 Review of Interpreting and Visualizing Regression Models Using Stata by Michael N. Mitchell***by*Acock, Alan C.**1-7 Stata tip 111: More on working with weeks***by*Cox, Nicholas J.**1-8 Kernel-smoothed cumulative distribution function estimation with akdensity***by*Van Kerm, Philippe**1-9 The Chen–Shapiro test for normality***by*Brzezinski, Michal**1-9 A generalized Hosmer–Lemeshow goodness-of-fit test for multinomial logistic regression models***by*Fagerland, Morten W. & Hosmer, David W.**1-9 Importing presidential approval poll results***by*Dicle, Mehmet F. & Dicle, Betul**1-12 Exact and mid-p confidence intervals for the odds ratio***by*Fagerland, Morten W.**1-15 Adjusting for age effects in cross-sectional distributions***by*Almås, Ingvild & Havnes, Tarjei & Mogstad, Magne**1-16 Easy demand-system estimation with quaids***by*Poi, Brian P.**1-17 Diagnostics for multiple imputation in Stata***by*Eddings, Wesley & Marchenko, Yulia