Hello everyone,
I am having three different regions for my regression analysis. Every region consists of distinct countries. I am running regression region wise and everything is looped over. Now, for example, I have 20 countries (and i want to use country wise fixed effects) thus have generated 20 dummies for all 20 countries which means 20 columns consist of 0 and 1. Here is the command i am using for regression
for v local is defined where i have all the variables of interest. Since i have dum1 dum2.....dum20. That's how i am trying to use dummies with absorb. It works fine if i use only one 1 dummy like dum15 or dum2. But it does not work altogether in the current format and gives me this error
Can you please suggest how to fix this problem.
I am having three different regions for my regression analysis. Every region consists of distinct countries. I am running regression region wise and everything is looped over. Now, for example, I have 20 countries (and i want to use country wise fixed effects) thus have generated 20 dummies for all 20 countries which means 20 columns consist of 0 and 1. Here is the command i am using for regression
Code:
areg `v' evt_time evt_l* `controls' [pweight=rwtresp], absorb(dum*) cluster(hhid)
for v local is defined where i have all the variables of interest. Since i have dum1 dum2.....dum20. That's how i am trying to use dummies with absorb. It works fine if i use only one 1 dummy like dum15 or dum2. But it does not work altogether in the current format and gives me this error
absorb(): too many variables specified
Comment