Hello Everyone
I am trying to address the missing values of four variables (price) in my research and I am using Hotdeck package in Stata. I was wondering if you guide me about categorical variable in the By option. Data structure is Panel data as below

State , Population, Longitude, Latitude, Municipality , date , Price of Commodity 1, Price of Commodity 2, Price of Commodity 3, Price of Commodity 4
…. … …. … …. …. … … … …

Panel identifiers are Municipality and Date.

I used different combinations of State Population Longitude and Latitude as Categorical variables to impute missing data using hotdeck command. I am not sure which combination should be chosen. Municipalities are grouped by states. Rationale behind the using these variable is to create more donor pool and use more relevant data for imputation.
I appreciate your comments in advance