I am trying to fit a linear mixed model to a food purchase dataset to test the trend of the purchase of ultra-processed food between different social-economic groups over five years. Roughly about 10000 households have been sampled each year (most of them are repeated each year). The data comes with a population projection factor which can be inferred to the entire population. E.g. if the factor for a household is 700 that means there are 700 households like this in a particular year in the country. Below is my code with the corresponding results. What troubles me is that I get the warning message that the model is almost unidentifiable. I have tried to rescale the variables but didn't seem to help. Anyone have any ideas how I can resolve this? Thank you!
lmer(per_capita_year ~ irsad5.factor*year_record + lifestage_factor + num_child + num_adult + region_factor + (1|hhid),
data = want.year,
subset=(ultra_process=="Ultra-processed"),
weights=factor,
control=lmerControl(optimizer = "optimx", optCtrl = list(method='nlminb')))