EconPapers    
Economics at your fingertips  
 

merlin—A unified modeling framework for data analysis and methods development in Stata

Michael J. Crowther ()
Additional contact information
Michael J. Crowther: University of Leicester

Stata Journal, 2020, vol. 20, issue 4, 763-784

Abstract: The challenges in statistics and data science are rapidly growing be- cause access to a multitude of data types continues to increase, as well as the sheer quantity of data. Analysts are now presented with multivariate data, sometimes measured repeatedly, and often requiring the ability to model nonlinear relation- ships and hierarchical structures. In this article, I present the merlin command, which attempts to provide an extremely general framework for data analysis. From simple settings such as fitting a linear regression model or a Weibull survival model to more complex settings such as fitting a three-level logistic mixed-effects model or a multivariate joint model of multiple longitudinal outcomes (of different types) and a recurrent event and survival with nonlinear effects, merlin can fit them all. I will take a single dataset and attempt to show you the full range of capabilities of merlin and discuss some future directions for the implementation in Stata.

Keywords: merlin; modeling framework; outcome models; survival models; longitudinal models; Gaussian; Bernoulli; beta; Poisson; ordinal logistic; ordinal probit; gamma; exponential; Gompertz; Royston–Parmar; log-hazard; Weibull; time-dependent effects; restricted cubic splines; B-splines; fractional polynomial; random effects; multilevel; multivariate; hierarchical (search for similar items in EconPapers)
Date: 2020
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj20-4/st0616/
References: Add references at CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0616 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:y:18:y:2018:i:4:p:763-784

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

DOI: 10.1177/1536867X20976311

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:y:18:y:2018:i:4:p:763-784