Announcement

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

  • Auxfinder - Finding auxiliary variables for imputation models

    Dear all,
    I would like to introduce auxfinder, a Stata command to identify relevant auxiliary variables for imputation models.

    Abstract:
    To deal effectively with missing data, powerful statistical approaches such as MICE and FIML have been developed. To make optimal use of these methods, researchers can include additional variables in the estimation process that are not part of the final analytical model but that improve the prediction of missing values. The selection of these auxiliary variables is often based on theoretical considerations; however, particularly when large datasets are available, a data-driven selection can yield further improvements. We introduce auxfinder, a new Stata command that enables users to quickly identify and rank the most promising auxiliary variables.
    Working paper: https://doi.org/10.5281/zenodo.18536805
    Download: https://codeberg.org/fbittmann/auxfinder

    Please let me know if you have any questions or comments.
    Best wishes

    Stata 18.0 MP | Website | ORCID | Google Scholar

  • #2
    This is great, Felix Bittmann! I also appreciate your FCS implementation of multilevel MI (mlmice). Very nice to have this in Stata!

    Comment


    • #3
      Hi Erik, thanks! However, this is a different topic and given the quite different level of complexity, this is probably too early for a broad public release. Hence, some more patience on that one
      Best wishes

      Stata 18.0 MP | Website | ORCID | Google Scholar

      Comment


      • #4
        Good morning Felix Bittmann. Full disclosure: I have not (yet) looked into the methods you use to find the relevant auxiliary variables. But when read "data-driven selection", I was reminded of the the well-known problems associated with the classical "stepwise" selection methods. E.g., The "garden of forking paths" problem came to mind too. I am curious, therefore, to learn how the methods you use address concerns about overfitting. Thanks for clarifying.

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

        Comment


        • #5
          Hi Bruce,
          the main approach I implemented is threefold. A good auxil should be 1.) correlated with the missingness of the target variable and / or 2.) be correlated with the target variable itself. As pointed out by one source, the second aspect is potentially even more relevant. The final selections step is a LASSO model, that accounts for overfitting. A study by Mainzer et al. (2024) reports that this is apparently the best approach for variable selection. You can also freely tweak and adjust this LASSO or elasticnet step to fit your needs. In any case, auxfinder makes suggestions but the final selection step is, of course, up to the user. In my personal view, the command should help to identify potentially overlooked good predictors / auxils, especially in big datasets, where theoretical selection can be overwhelming. Finally, two things should be considered: first, most imputation models "break" (dont converge any more) if becoming too complex / large, so auxfinder suggest a ranking of relevant predictors. Usually, one will only include a subset of these suggestions and rarely all. And last but not least: users should screen whether selected variables are potential colliders. If so, these should not be included. This means, the suggestions should never be blindly trusted but a careful user-based selection is always required. The working paper highlights all these aspects.

          EDIT: Also regarding some of your references: I think they don't apply to the imputation model but rather to the analytical model. Of course, blindly testing loads of randomly selected variables for correlations / predictions makes bad science, when you want to understand reality and come up with good theories. The imputation part is different: here, any variable that correlates with a target (even if this is clearly not a causal relationship) can amend the imputation part and reduce bias (with exceptions of colliders, for example).

          Mainzer, R. M., C. D. Nguyen, J. B. Carlin, M. Moreno-Betancur, I. R. White, and K. J. Lee. 2024. A comparison of strategies for selecting auxiliary variables for multiple imputation. Biometrical Journal 66(1): 2200291.
          Last edited by Felix Bittmann; Yesterday, 12:04.
          Best wishes

          Stata 18.0 MP | Website | ORCID | Google Scholar

          Comment


          • #6
            Thanks for your reply, Felix Bittmann. Seeing you mention LASSO alleviated my main concerns. ๐Ÿ‘

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

            Comment

            Working...
            X