A.
Code:
logistic y x covariates [pweight=perwtf], vce(cl f00011)
margins, subpop(b) dydx(x covariates)
B.
Code:
logistic y x covariates if b==1 [pweight=perwtf], vce(cl f00011)
margins, dydx(x covariates)
Does anyone know the reason why I get different results from code A and B above? I would imagine the results should be the same. An explanation for the difference would be appreciated. Thanks