Hi everybody

I am encountering a strange problem. I am using - margins, eydx - but it is not working. It provides the error "inconsistent estimation sample levels 0 and 1 of factor treatment". However, if I use - margins, dydx - with exactly the same specifications, then the problem does not arise. Does anyone have knowledge on this issue?

I have also done the same with a different outcome and here eydx works fine.

I cannot provide data as it is confidential.

Best,
Gustav