Announcement

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

  • Regression of a few selected observations

    I have a set of data but would only require to use of a few observations from the entire dataset. I was wondering if there is an easier way I can select the observations I want to be used in my regression than me keeping them one by one.

    Thank you

  • #2
    Eunice:
    without any data example from your end, I'd recommend you an -if- clause or to take a look at the -group- function available from -egen-.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment

    Working...
    X