Slackbot
04/27/2023, 2:22 PMKin Gtz. Olivares
04/27/2023, 2:33 PMstatic_df
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 PMHINT
class operates as any other nf
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.