Kevin Blaine
Participant
Post count: 53

Hi Dr. Shah — thanks for this! I’m running into an error:


asdocx regress score i.asian, label template(reg2) replace save($Results/Regress.docx)


Error:

i.asian invalid name
r(198);

So, I remove the factor notation and try this:

asdocx regress score asian, label template(reg2) replace save($Results/Regress.docx)

A new error:

variable previous_sheetname undeclared
variable sheets undeclared
 masterclass_populator():  3499  flexmat_to_excel() not found
                 :     -  function returned error [1]
r(3499);

Interestingly, this is the same error I received on the new thread I posted a few minutes ago. Any ideas?