Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Update to -merlin- on SSC: a unified modelling framework for data analysis and methods development in Stata

    Thanks to Kit Baum, merlin has been updated to version 1.0.7 on SSC. Please use adoupdate to update.

    merlin can do a lot of things. From simple stuff, like fitting a linear regression or a Weibull survival model, to 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 non-linear effects…the list is rather endless. merlin can do things I haven’t even thought of yet.

    Updates include:
    • added error check for presence of * in predictor
    • bug introduced in 1.0.6 stopped matching of timevar() with rcs() input variable; now fixed
    • error check on . caused merlin to error out when specifying decimal points in knots(); now fixed
    • previously undocumented random option is now documented - draws starting values from a U(0,1) distribution
    • chazard and survival predictions missing for family(exp); now added
    • note added to end of results table that baseline splines not shown when fitting a rp or rcs model
    • when specifying only a random slope with no random intercept - an internal parsing error occurred; now fixed.
    • ltruncated() added for delayed-entry/left-truncation in survival models. In models with random effects, the likelihood is divided through by the marginal survival function at the entry time, which results in a second set of numerical integration.
    • bs() element added for B-spline functions. Note; if you try and predict outside the range of the boundary knots, the spline function is set to 0 i.e. extrapolation outside the range of your data is not currently supported, and no warning is given if you do this.
    • minor edit to step size in numerical differentiation used in d?[] elements
    • mf() displayed function name left over from development; now removed
    • more error checks added
    • bug fixes
    merlin's homepage contains many worked examples, showing the variety of modelling frameworks that can be fitted and extended.

    A good starting place to learn about merlin is to read the preprint of a paper submitted to the Stata Journal, which can be found here.

    Thanks,
    Michael


Working...
X