Kevin Blaine
Participant
Post count: 53

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

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

Error:

i.asian invalid name
r(198);
[/code]

So, I remove the factor notation and try this:
[code]asdocx regress score asian, label template(reg2) replace save($Results/Regress.docx)[/code]

A new error:
[code]variable previous_sheetname undeclared
variable sheets undeclared
masterclass_populator(): 3499 flexmat_to_excel() not found
: – function returned error [1]
r(3499);
[/code]

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