Announcement

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

  • Hsu's multiple comparisons with the best treatment (MCB) -- any packages available?

    Does anyone know of a Stata package for Hsu's multiple comparisons with the best treatment (MCB) procedure? Thanks,
    Bruce
    --
    Bruce Weaver
    Email: [email protected]
    Version: Stata/MP 19.5 (Windows)
    Crypticity belongs in crosswords, not code! 🤨

  • #2
    Hi Bruce Weaver ,

    I have recently made mcbhsu available as part of the mcb-stata package:

    https://github.com/renegade68/mcb-stata

    It provides constrained MCB and the distance-from-the-best intervals of Edwards and Hsu (1983), incorporating their 1984 corrigendum, for independent normal groups with a common variance. It runs entirely in Stata/Mata and requires Stata 16.1 or later.

    The README includes installation instructions and self-contained examples, including a reproduction of the published filter example.

    This is an initial release candidate. Please give it a try if it fits your needs—I would particularly welcome feedback from your Stata 19.5 Windows setup.

    Best,

    Comment


    • #3
      Thank you, Choonjoo Lee. I'll check it out when time permits. FYI, I don't have an immediate need to use the MCB method. Rather, I had read about it recently, and was just curious to know if it had been implemented in Stata. I'm also curious about how it compares to Dunnett's test, where the comparison group must be specified in advance.

      Cheers,
      Bruce
      --
      Bruce Weaver
      Email: [email protected]
      Version: Stata/MP 19.5 (Windows)
      Crypticity belongs in crosswords, not code! 🤨

      Comment


      • #4
        Hi Bruce,

        Thanks for clarifying. Your question prompted me to look into this further.

        The key distinction is the reference: Dunnett’s test compares treatments with a prespecified control, whereas MCB compares each treatment with the unknown best of the others, accounting for uncertainty about which treatment is best. “Best” can mean the largest or smallest population mean, depending on the application.

        I developed this package as a standalone implementation of a component from another project I’m working on. If further questions arise, they could be interesting to explore together.

        Best,

        Comment

        Working...
        X