Rachel Yee04/27/2023, 2:22 PM
Kin Gtz. Olivares04/27/2023, 2:33 PM
inputs. In your specific example, you can transform rural/urban dummy into an average of urban population as an aggregate measure. Hope these ideas help.
Cristian (Nixtla)04/27/2023, 2:44 PM
class operates as any other
model. If there is no obvious aggregation rule for the exogenous variables, it might also work to simply set missing/not defined variables to 0 (or other value which does not collide with true values of the lower level variables), which is equivalent to "masking out" the missing data.