Announcement

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

  • nlcom on imputed data + GEE model

    Hi all,

    I would like to compute a non-linear combination of coefficients for my exposure (airborne lead concentration) and exposure squared for a GEE model using multiply-imputed data. I am able to use nlcom following the GEE model using complete case data, but when I try to use the MI data, I get "last estimates not found." Is there an mi version of nlcom, or some sort of workaround anyone is aware of? Thanks in advance!

  • #2
    it is not clear to me exactly what you are trying to do, but see
    Code:
    help mi_postestimation

    Comment


    • #3
      Hi Rich,

      for example, I am able to run the following:

      Code:
      xtgee lead lead_squared covariates, family(gau) link(i) robust
      nlcom _b[lead] + _b[lead_squared]
      but would prefer:
      Code:
      mi est: xtgee lead lead_squared covariates, family(gau) link(i) robust
      followed by an equivalent to nlcom that works for MI data

      thanks!

      Comment


      • #4
        sorry, but what you say you are "able to run" makes no sense to me - maybe someone else can help

        added: note that your -xtgee- command calls for "lead" to be your outcome (dependent) variable and thus there will be no such thing as "_b[lead]"; this may just be a typo of course; also, I see no reason why one would want the sum of the coefficients of x and x-squared; maybe if you fix your estimation command and explain what you want to obtain from your -nlcom- command, someone can help
        Last edited by Rich Goldstein; 18 Jul 2023, 13:57.

        Comment


        • #5
          Apologies - it was a typo, executive function is the outcome:

          Originally posted by Kristen McArthur View Post
          Hi Rich,

          for example, I am able to run the following:

          Code:
          xtgee executive_function lead lead_squared covariates, family(gau) link(i) robust
          nlcom _b[lead] + _b[lead_squared]
          but would prefer:
          Code:
          mi est: xtgee executive_function lead lead_squared covariates, family(gau) link(i) robust
          followed by an equivalent to nlcom that works for MI data

          thanks!

          Comment

          Working...
          X