Dr. Brouwer developed a weighted multistate Markov state transition model, which estimates underlying transition rates between tobacco use states from longitudinal data on individuals, incorporating complex survey design that requires use of sample weights. The model was further specified to estimate the effect of sociodemographic variables on the rates of these transitions. This code was designed for use with data from the Population Assessment of Tobacco and Health (PATH) Study, but can be used with other data sets. This resource includes example code and a tutorial; the example focuses on more technical details while the tutorial is a more friendly introduction to using the model.
Please note: This download is for the current version 1.2, released March 22, 2023. Click here if you would like to download version 1.1, released October 6, 2021 or
click here if you would like to download version 1.0, released October 22, 2020.
1.0 Base distribution
1.1 Add optional confidence interval estimation functionality
1.2 Add functionality for continuous covariates and for limiting covariates to specified transitions
Please read the license below. If you accept the license, please fill out the form below and register for the download with a valid email address. Your registration indicates your acceptance of the license.
Copyright (c) 2023 Center for the Assessment of Tobacco Regulations (CAsToR). All rights reserved.
Developed by: Center for the Assessment of Tobacco Regulations (CAsToR)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software“), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
• Redistributions of the program or source code must retain the above copyright notice, this list of conditions and the following disclaimers.
• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution.
• Neither the names of CAsToR, University of Michigan TCORS, CISNET, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
PLEASE NOTE: Fields marked with an asterisk (*) are required.