I tried specifying the seed in two different ways but still the outcome is different every time I run the example below. Any ideas how to get reproducible output?
Code:
sysuse auto, clear sort mpg replace price = . if mpg == 21 mi set mlong set seed 1234 mi register imputed price mi impute pmm price mpg headroom, add(1) knn(10) rseed(1234) mi extract 1, clear

I only got a workaround, as I use quite a lot of workarounds already to deal with problems and inconsistencies in Stata. And I've conveyed that also to tech support. I fully agree with the questions you raise here, and the fact that all of this is very curious and not documented. It's more of a time constraint that's holding me back from diving into this more
Comment