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
Related Posts with Inconsistent estimation sample levels using eydx
Incorrect results when subtracting timeDear all I am trying to compute call duration from subtracting two time periods in Stata but I get …
Splitting a data set with specific IDsHello, I want to split the data in two files containing observations with specific IDs. I am giving …
How to list all unique values in the variable?Hello, I see 'unique' or 'distinct' commands will show the total number of unique values in the var…
firm ageHello, I have 26,000 observations. I would like to calculate the age of these incorporations. What …
Renaming variables according to positionGood morning, Long text to avoid XY problem. I'm writing a Stata code that opens and conduct clean…
Subscribe to:
Post Comments (Atom)
0 Response to Inconsistent estimation sample levels using eydx
Post a Comment