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
Comment