I'm building a two-level multilevel model with variables at student and school level, I assume a level twon endogeneity, i.e. between school and student characteristics. I'd like to confirm or invalidate this hypothesis using the Hausman test. I enter the following command, but it gives me an error I don't understand
HTML Code:
mixed Nrdtlectf diflcev1ir avoirfaim rvauxdome11ique langue1arlé Nbelvdanslécole nbsalledeclasse agedirecteur || id_ecole: , covariance(unstructured)
HTML Code:
hausman fixed ., sigmamore
Comment