Hi,
I am a doctoral student in the economics domain. I am facing some issues with respect to ritest command. The syntax for the command is :
ritest resampvar exp_list , options : command
With a typical example given below for a regression regress testscore treatment age:
ritest treatment _b [ treatment ] , cluster ( class ) strata ( school ) : regress testscore treatment age
The issue that I am facing here is that my 'treatment' variable is formed by interaction of two other variables ,say, a and b. so in place of treatment variable I want to put something like 'a#b' , as I am interested in beta of 'a#b'. However, I only want to randomize only one out of a and b at a time.
So, in effect, I am trying to check for something like this:
ritest a _b [ a#b ] , cluster ( class ) strata ( school ) : regress testscore a#b age
However, when I enter such a command it gives an error that there is an error in expression and a#b is invalid name.
Both a and b are dummy variables.
It would be really helpful if someone could suggest a way to enter these arguments. Thank you.
0 Response to ritest command
Post a Comment