Dear all,

I would like to perform a coefficient equality test across all five quantiles following rifhdreg in a loop. I'd like to do it for all coefficients. I've tried using the option retain as follows:

Code:
set matsize 1000
foreach qu in 10 25 50 75 90{
bootstrap, reps(200): rifhdreg ln_hpay _dvage sq_dvage _nchild_dv _jbhrs MaritalStatus#Education i.wave if _sex == 2, rif(q(`qu')) robust retain(q(`qu'))
}
But I get the error message:

( invalid name
an error occurred when bootstrap executed rifhdreg


Any ideas?

Thanks

Stefano