Announcement

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

  • Panel xtlogit

    Hi,
    Before panel xtlogit, can the independent variable list be narrowed down by prev lasso logit and lassocoef with year included? (year then is not in xtlogit just in xtset)
    Thanks

  • #2
    I have 5-year followup clinical data. Occurence (0-1) of a complication would be investigated based on lab parameters and comorbidities. Also are partially missing data included in xt? (like data from 2016,2017,2019,2020, but no 2018)

    Comment


    • #3
      Yes, you can use LASSO for variable selection.

      Comment


      • #4
        Thanks, and should I or should not include year variable after xtlogit (like i.year or year), if xtset already contains it, like
        Code:
         xtset medicalrecordID year,yearly
        ?
        Last edited by Attila Nagy; 08 Jan 2022, 12:25.

        Comment


        • #5
          Do you think that there are unobserved time-variant, unit-stable confounders which you didn't measure in your original model? Attila Nagy

          Comment


          • #6
            Nope, then no need, right? Thanks

            Comment

            Working...
            X