Announcement

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

  • xtlogit vs logistic model

    Dear respected Members,
    Pls could anyone help and offer me an explanation with regards to the below question(s);
    Why is it that each time I run a xtlogit and logistic regression the number of variables that may be significant differs? for instance, i have six IVs, one moderator variable, four interaction terms and three control variables. When I use xtlogit, the moderator variable may not be significant, but when I use logistic it will be significant along with other variables that were not significant when xtlogit is used and vice versa.

    Thank you
    Adamu Idris

  • #2
    Adamu:
    -you are comparing two different regression models: no wonder that their results do not overlap;
    - what's the rationale supporting the interchangeability of -logit- and -xtlogit- when it comes to panel data analysis?;
    - did you cluster the standard errors on -panelid- when you ran -logit- with panel data?

    That said: as per FAQ, please note that your chances of getting helpful replies are conditional on posting what you typed and what Stata gave you back (the described approach worths more than tons of words trying to explain qualitatively a quantitative matter). Thanks.
    Last edited by Carlo Lazzaro; 24 Sep 2017, 09:16.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment


    • #3
      Sorry pls, I forgot to mention that the moderator variable is a categorical variable with "0 and 1" while all other variables are continuous.

      Adamu Idris

      Comment


      • #4
        Adamu:
        thanks for providing that further detail.
        However, my previous comments still hold.
        Kind regards,
        Carlo
        (Stata 19.0)

        Comment


        • #5
          Thank you Carlo
          The rationale behind running xtlogit and logistic is to be able carry out some post estimations such as GOF, LR test and the like. But pls, correct me if am doing the wrong thing. That is which of them should i stick to and the likely post estimation to be done after each.

          Thank you so much for having time to respond to my questions.

          Adamu Idris

          Comment


          • #6
            Adamu:
            I find your rationale a bit weak to defend.
            If you have a panel data set with a binary dependent variable, -logit- outperforms -xtlogit- only when the LR test appearing as a footnote under the -xtlogit- outome table fails to reach staistical significance. If that were the case, you should cluster your stndard errors on -panelid-, otherwise, under -logit-, Stata will ignore the panel structure of your datset.
            Otherwise, you should go -xtlogit- .
            Eventually, -xtlogit postestimation- offers many post estimation tools.
            Kind regards,
            Carlo
            (Stata 19.0)

            Comment


            • #7
              Carlo
              Thank you once again for having you at this crucial time of my study. If I understood your argument given my issue at hand (panel data set) I should ignore logit and focus on xtlogit right? If yes, Pls Carlo assist me with some post-estimation tools for xtlogit that suites my context (combination of categorical data as moderator variable and continuous variables as my independent variables).

              Thank you
              Adamu

              Comment


              • #8
                Adamu:
                - -logit- seldom -outperforms -xtlogit- when it comes to panel data analysis (please, see my previous reply);
                - see, for instance, -help margins- for postestimation;
                - as per FAQ, please note that your chances of getting helpful replies are conditional on posting what you typed and what Stata gave you back (within CODE delimiters, please). Thanks.
                Kind regards,
                Carlo
                (Stata 19.0)

                Comment


                • #9
                  Hello Carlo
                  Thank you so much for your suggestions.

                  Comment


                  • #10
                    Dear Carlo,
                    sorry to bring back the earlier discussions with regards to logit and xtlogit. Pls can you assist me with any reference material(s) on your argumen that 'logit- seldom -outperforms -xtlogit- when it comes to panel data analysis' as you mentioned?
                    Thank you
                    Adamu

                    Comment


                    • #11
                      Adamu:
                      sure: please see Example 1, -xtlogit- entry, Stata .pdf manual.
                      Kind regards,
                      Carlo
                      (Stata 19.0)

                      Comment


                      • #12
                        Thank you once agan Carlo.

                        Comment

                        Working...
                        X