Announcement

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

  • Panel Data

    Hi,

    I am using panel data with the wave variable ranging from 1 to 10 however i would like to focus on wave 1 to 8 instead when testing for POLS how would I be able to do this ?

    I would appreciate any help

    Kind regards,

    Denis


  • #2
    -keep if wave <= 8-

    By the way, I'm not familiar with the acronym/initialism POLS? The OLS part suggests it has something to do with least squares regression, but can you please spell it out?

    Comment


    • #3
      It stands for Pooled OLS

      Comment


      • #4
        Oh, of course! Thanks.

        Comment


        • #5
          Thanks a lot

          Comment


          • #6
            Denis:
            you can also include an -if- clause and keep your original dataset unchanged.
            Assuming that you are interested in the -re- specification, you can code something along the following lines:
            Code:
            xtreg <yourdepvar> <yourindepvar> if wave<=8
            In addition you can test the correctness of -xtreg,re- for your data via the community-contributed module -xtoverid-.
            Kind regards,
            Carlo
            (Stata 19.0)

            Comment

            Working...
            X