Dear Statalisters,

I am running a regression with proportions as dependent variable. In the beta regression I run interactions between independent variables. The interactions work perfectly in the regression but when trying to find the margins, Stata does not deliver the values.

I get either of the following errors:
'only factor variables and their interactions are allowed'
'factor variables may not contain noninteger values'




I have tried everything from using the prefix 'c', to using dyex, dydx and much more.

I would greatly appreciate it if someone could help me out

Thank you in advance!