xsmle fits fixed or random effects spatial models for balanced panel data. however the mi prefix command can be used xsmle in the unbalanced case. for example:
. webuse mheart5 (1)
. mi set mlong (2)
. mi register imputed age bmi (3)
. set seed 29390 (4)
. mi impute mvn age bmi = attack smokes hsgrad female, add(10) (5)
. mi estimate: logistic attack smokes age bmi hsgrad female (6)