I included some factor variables in my regression and I keep on receiving an error message.
The regression code is the following (simplified version of my actual regression):
Code: Select all
runmlwin x011 cons c.gtrust_rdev##c.educ_nat , ///
level3(s003: cons) level2(x048: cons) level1(id:) ///
discrete(distribution(poisson) pql2) nopause
__000003 is held to more precision than MLwiN can handle, to reduce the precision use recast float __000003, force
r(198);
I have tried to recast the variable:
Code: Select all
recast float __000003, force
variable __000003 not found
When I construct the interaction and run the regression, I don't encounter any problems.
Code: Select all
gen gtrustdev_educ = gtrust_rdev*educ_nat
runmlwin x011 cons gtrust_rdev educ_nat gtrustdev_educ, ///
level3(s003: cons) level2(x048: cons) level1(id:) ///
discrete(distribution(poisson) pql2) nopause
Thank you for your help.