Install
The newest version
This installs the newest version listed below. Each version has its own address, further down, which installs that version and no other.
* the newest version (1.0.2 when this page was written)
net install merlin, from("https://reddooranalytics.se/install/stata/merlin/2.5.0/")
net install stmerlin, from("https://reddooranalytics.se/install/stata/stmerlin/1.1.2/")
net install morgana, from("https://reddooranalytics.se/install/stata/morgana/latest/")
9 October 2026
morgana 1.0.2
The help file gives the current web addresses and the author's full email address.
Changed
- The help file gives the current web address of merlin, the address of the morgana page and the author's full email address.
Needs. Stata 18 or later, merlin 2.5.0, stmerlin 1.1.2.
Results. The code is unchanged from 1.0.1 except for the version line.
Install this version
* requires Stata 18 or later
net install merlin, from("https://reddooranalytics.se/install/stata/merlin/2.5.0/")
net install stmerlin, from("https://reddooranalytics.se/install/stata/stmerlin/1.1.2/")
net install morgana, from("https://reddooranalytics.se/install/stata/morgana/1.0.2/")
9 October 2026
morgana 1.0.1
morgana fits the Royston-Parmar model only: any other stmerlin distribution now stops with an error.
Changed
- Only
distribution(rp), the Royston-Parmar model, is supported. Any otherstmerlindistribution now stops with an error (return code 198) beforebayesmhruns. - The help file says which distribution is supported, and two typos are fixed.
- The licence is GPL-3. It was MIT; the change is not retroactive, so 1.0.0 remains MIT.
Needs. Stata 18 or later, merlin 2.5.0, stmerlin 1.1.2.
Checked. With merlin 2.5.0 and stmerlin 1.1.2 on Stata 19.5, the three examples in the README run, and on the brcancer data the posterior means are within 0.025 of stmerlin's maximum likelihood estimates.
Install this version
* requires Stata 18 or later
net install merlin, from("https://reddooranalytics.se/install/stata/merlin/2.5.0/")
net install stmerlin, from("https://reddooranalytics.se/install/stata/stmerlin/1.1.2/")
net install morgana, from("https://reddooranalytics.se/install/stata/morgana/1.0.1/")
More
Earlier versions and links
Version 1.0.0 is not hosted here.