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.
Related Posts with ritest command
Sorting panel data with numerous conditionsHi. I am currently working with longitudinal data I have converted to panel data and I now need some…
Is it possible to use itsa for interrupted time series with multiple panels all affected by a policy?Hi, I am running an interrupted time series analysis to assess the impact of a policy on medicine c…
Panel data: Identify change in id of respondent for imputation Dear statalist community, I have a panel of around 12,000 individuals and four rounds, where the i…
log fileDear All, just a quick question. I am running some estimates and producing a log file. The latter i…
Help with mlogitHi everyone, I am exploiting a multinomial logit model to study the probability of workers of belong…
Subscribe to:
Post Comments (Atom)
0 Response to ritest command
Post a Comment