Announcement

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

  • Alternate pairs of variables in a regression

    Hi Statalists!
    I want to run the following regressions:
    Code:
    reg disqualfied ten_plus ten_minus
    reg disqualfied ten_plus_spline ten_minus_spline
    As you can see, the regressions are identical, but for the pairs of variables. I want to run this regression using a loop that switches from the pair ten_plus ten_minus to the pair ten_plus_spline ten_minus_spline.

    Many thanks!

  • #2
    Do you have a list of y and x variables?

    Comment

    Working...
    X