Announcement

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

  • clan: Stata command for cluster-level analysis of a cluster-randomised trial now available on SSC

    Dear all,

    Thanks to Kit Baum, I am happy to announce a new Stata command, clan, is available in SSC. The command conducts a cluster-level analysis on data from a cluster-randomised trial. It can adjust for individual- and cluster-level covariates and account for stratification of the randomisation.

    Installation
    Code:
    ssc install clan
    Minimal example
    Code:
    . net get clan
     
    . sysuse mkvtrial, clear
     .
    . clan know i.agegp, arm(arm) cluster(community) effect(rr)
     
    Cluster-level analysis
     
    Number of clusters (total): 20                 Number of obs     =    4,100
    Number of clusters (arm 0): 10                 Obs per cluster:
    Number of clusters (arm 1): 10                               min =      169
                                                                 avg =      205
                                                                 max =      257
    ---------------------------------------------------------------------------
                        |   Estimate      df     P-val     [95% Conf. Interval]
    --------------------+------------------------------------------------------
            Risk by arm |
                      0 |   .4501352
                      1 |   .6562291
    --------------------+------------------------------------------------------
        Adj. risk ratio |   1.470462      18    0.0001     1.250648     1.72891
    ---------------------------------------------------------------------------
    Suggestions for future updates and bug reporting would be appreciated.
Working...
X