Announcement

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

  • General stata resources for analyzing J or U curve shaped data

    I am analyzing data from a longitudinal data on hypertension. The outcome is all-cause mortality (yes or no). The literature says that systolic blood pressure reduction has benefit up to a low point (nadir), further reductions beyond the low point are harmful.

    So the data will be either J or U shaped (positive effects of blood pressure reduction up to a point and thereafter negative effects of blood pressure reduction).

    I would appreciate any Stata resources (code, textbooks, discussions from this forum, commands) on how to analyze this type of data. Right now, I am thinking of doing a type of non-linear logistic regression, I could be wrong.

    Thank you,
    Al Bothwell
    Last edited by Al Bothwell; 25 Jan 2021, 09:39.

  • #2
    Al:
    you may want to consider something along the following lines:
    Code:
    xtlogit mortality c.SBP##c.SBP <otherpredictors> <controls>, re
    The interaction includes both a linear and a square term for systolic blood pressure (SBP) in order to investigate the presence of a turning point when adjusted for the remaining predictors.
    In addition, you may want to consider a clustered standard error (on -panelid-) provided that the number of your panels is large enough.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      You may want to look at the user-written command utest. If I remember correctly, it works with logit models too.

      Code:
      ssc install utest

      Comment


      • #4
        Thank you Carlo and Dario.

        Comment

        Working...
        X