Announcement

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

  • Day omitted due to collinearity

    My project involves data for internet search terms where I am trying to remove seasonal effects of these by regressing each word's log daily difference on the day of the week and month dummies. For all of my terms day, Saturday is omitted due to an issue of collinearity, and December is not included (This is my base but I want this to be included in the table so I can keep its residual). I want to keep the residual for each word as a new column in my data (new variable) so I can use this further but I am also unsure how to do this.

    This is my regression for all 50 words:
    foreach var of varlist ldiffcost_w-ldiffexpense_w {
    regress ldiff`var'_w ib12.month ib7.month, robust
    }

  • #2
    This discussion was started at

    https://www.statalist.org/forums/for...iple-variables

    and continues there with posts made subsequent to post #1 here.

    When posting a topic that is based on an earlier topic, it is good etiquette to include a link to the earlier topic so the readers don't spent their time telling you what you have already been told.

    Comment

    Working...
    X