The 2017 Canadian Stata Users Group meeting takes place on June 9 at the Bank of Canada.
The meeting will provide Stata users the opportunity to exchange ideas, experiences, and information on new applications of the software. Everyone who is interested in using Stata is welcome.
|8:00–8:30||Registration and breakfast|
A simple, graphical approach to comparing multiple treatment
Abstract: I propose a graphical approach to comparing multiple treatments that allows users to easily infer differences between any treatment effect and zero and between any pair of treatment effects. Our approach makes use of a flexible, resampling-based procedure that asymptotically controls the familywise error rate (the probability of making one or more spurious inferences). I demonstrate the usefulness of our approach with three empirical examples.
Causal inference with sample selection
The relationship between healthcare expenditure and income in Latin-American countries: A panel time
Abstract: This presentation examines the link between healthcare expenditure and GDP in Latin American and Caribbean countries using the Stata command xtwest to estimate the error-correction-based cointegration tests for panel data featured in The Stata Journal (Persyn and Westerlund, 2008). Extensions of unit root and cointegration tests to a panel data-approach allow investigation of the dynamics for developing countries, which tend to have shorter available time series. I employ several unit-root tests coded as xtunitroot to determine whether the panel is stationary and Westerlund (2007) coded as xtwest to analyze the relationship and dynamics between health expenditure (total, private, and public) and income. Cointegration tests for panel data have increased power properties over traditional tests because of increased degrees of freedom and the inclusion of heterogeneous cross-country information. Results suggest that all categories of health expenditure move to maintain a stable long-run equilibrium. This presentation is an interesting case study of the use of Stata commands within economics. All empirical analysis was conducted in Stata and will highlight several recent developments within time-series techniques applied to panel data that have yet to be coded within Stata to make said tools accessible to researchers.
Elisabet Rodriguez Llorian
University of Manitoba
Assessing credit risk in the automated clearing settlement system
Abstract: In this presentation, I study a credit risk management scheme for the Canadian retail payment system designed to cover the exposure of a defaulting member. Using a generalized extreme value model, I estimate ex ante the size of a collateral pool large enough to cover exposure for a historical simulated worst-case default scenario and examine its performance over time in terms of stability and efficacy. I found that a statistically derived collateral pool outperforms a rule-based approach along several measures, such as variability and degree of coverage. However, despite relying on extreme-value theory, my model forecasts may still underestimate potential exposures given the absence of observed data on defaults in Canada. To this end, we investigate the statistical properties of gross payment volumes as potential early warning measures of balance sheet capital flight. My results are also informative for risk management in faster payment schemes in Canada.
Structural macroeconometrics using Stata
Lunch and Poster Session
The Multiway Cluster Wild Bootstrap
Abstract: Many datasets involve observations which are grouped, or clustered, and often in several dimensions. While robust inference with single-way or multiway clustering is possible with a large number of clusters, reliable inference with few clusters and multiway clustering has otherwise proved challenging. We propose a bootstrap method that improves inference considerably.
The Vuong test for nonnested models
Abstract: Comparing nonnested models is challenging, especially in duration data, where there are not many available methods. This presentation discusses a transformed Vuong's test, which is applicable to models for duration data, in particular to hazard models that are not directly comparable. The proposed method adapts the Vuong's likelihood-ratio closeness test to compare parametric, semiparametric, and discrete hazard models. The test is built in Stata and shows good performance on ranking different nonnested hazard models. An empirical example presents the performances of different hazard models used to model the duration of shipbuilding firms. The results suggest that models that model the unobserved heterogeneity using finite mixtures perform better than other hazard models that model unobserved heterogeneity using different parameterizations.
qfactor: A new Stata program for Q-methodology analysis
Abstract: Q-methodology is a research method in which qualitative data are analyzed using quantitative techniques. It has the strengths of both qualitative and quantitative methods and can be regarded as a bridge between these two approaches. Q-methodology can be used in any field of research where the outcome variable involves assessment of subjectivity, including attitudes, perceptions, feelings and values, life experiences such as stress and quality of life, and individual concerns such as self-esteem, body image, and satisfaction. Although it was introduced by William Stephenson in 1935, it has recently emerged as a more widely used method, mainly because of advances in its statistical analysis component. In Q-methodology an inverted factor analysis is used to identify salient viewpoints, as well as commonly shared views on subjective issues, thereby providing unique insights into the richness of human subjectivity. Only a limited number of programs offer Q-methodology analysis. Although there are many Stata users in the Q-methodology community, there is no program for Q-methodology in Stata. In this presentation, I will introduce a new program, qfactor, that was written in Stata and that not only includes common features in other programs but also adds many new technical features.
Variance estimation for survey-weighted data using bootstrap resampling methods: 2013 methods-of-payment
Abstract: Sampling units for the 2013 Methods-of-Payment survey were selected through an approximate stratified random sampling design. To compensate for nonresponse and noncoverage, the observations are weighted through a raking procedure. The variance estimation of weighted estimates must take into account both the sampling design and the raking procedure. I propose using bootstrap resampling methods to estimate the variance. I find that the variance is smaller when estimated through the bootstrap resampling method from Stata's ipfraking than through Stata's linearization method, where the latter does not take into account the correlation between the variables used for weighting and the outcome variable of interest.
Bank of Canada
Bayesian analysis using Stata
Simulation-based robust IV inference for lifetime data
Abstract: Endogeneity or unmeasured confounding is a nontrivial complication in duration data models, for which there are relatively few existing methods. I develop two related, but methodologically distinct, identification-robust instrumental variable estimators to address the complications of endogeneity in an accelerated life regression model. The two unique methods generalize the Anderson-Rubin statistic to (1) lifetime data distributions in the case of the least squares estimator and (2) distribution-free censored models in the case of the rank estimator. Valid confidence sets, based on inverting the pivotal least-squares statistic and the linear rank statistic, form the basis for identification-robust inference using the Mata programming language via exact simulation-based methods. The finite sample performance of the proposed statistics is evaluated using the built-in features of Stata combined with the original Mata code. I provide an empirical analysis, utilizing an original prospectively collected clinical patient dataset in which the trauma status of a pediatric critical care patient instruments a possibly confounded illness severity index in a length of stay regression for a specific pediatric intensive care population. Results suggest a clinically relevant bias correction for routinely collected patient risk indices that is meaningful for informing policy in the healthcare setting.
Perils, challenges, and triumphs: Integrating Stata and syntax into an undergraduate social statistics
Abstract: Undergraduate social statistics classes are some of the most challenging to teach. One of the challenges that an instructor faces is how (or even if) to incorporate statistical software into the course. In a recent class of 75 sociology undergraduates, the course design included the use of syntax writing in Stata as a basic learning objective and wove the use and learning of syntax throughout the lectures and in all labs and a final research project. All 75 students were required to bring a laptop to class or to sign out a laptop, and labs were integrated directly with the lecture and not held in separate computer labs. This approach had many perils and challenges but also had some major triumphs. This presentation will outline the basic approach, discuss lessons learned, and suggest how this approach may be successfully used in other classroom contexts.
Wishes and grumbles
Workshop: Implementing an estimation command in Stata/Mata
David Drukker, StataCorp LLC
Writing a Stata command for methods that you use or develop disseminates your research to a huge audience. This workshop shows how to write a Stata estimation command. No Stata or Mata programming experience is required, but it does help. After providing an introduction to basic Stata do-file programming, the workshop covers basic and advanced ado-file programming. Next, it provides an introduction to Mata, the byte-compiled matrix language that is part of Stata. Then, the workshop shows how to implement linear and nonlinear statistical methods in Stata/Mata programs. The workshop discusses using Monte Carlo simulations to test the implementation.
The workshop takes place on June 8, the day before the Canadian Stata Users Group meeting. The workshop is free, but you must register to attend.
Registration and accommodations
|Meeting fees||Price (USD)|
| Dinner June 9 at 6:30 p.m. (optional)
239 Nepean Street
The registration deadline is June 1.
The Alt Hotel Ottawa is offering a special rate of 159.00 CAD per night for attendees of the 2017 Canadian Stata Users Group meeting staying between the nights of June 7 and June 9.
Alt Hotel Ottawa
185 Slater street
Ottawa, Ontario K1P 0C8
Guests can reserve by
- calling: 1-844-258-6882 and asking to book within the StataCorp block
- reserving online
The reservation deadline is May 26.
Bank of Canada
Museum and conference center
30 Bank Street
Ottawa, Ontario, Canada
Kim Huynh (Chair)
Senior Research Advisor
Bank of Canada
Calgary Statistical Support