Hello,

I ran the following commands to run a multiple imputation in Stata version 15.1, but ran into the following error when I try to create some trace plots.

Code:
mi set wide 

mi register imputed depvar1 depvar2

mi impute chained (pmm, knn(5)) depvar1 depvar2 = indepvar i.cluster i.id , add(20) force noisily

mi estimate: mixed depvar1 indepvar ||cluster: ||id:, covariance(unstructured) reml savetrace(“trace.dta”, replace)
option savetrace() not allowed
an error occurred when mi estimate executed mixed on m=1
r(198);

By all accounts savetrace is a perfectly valid option in mi estimate so I am not sure why I get this error. It doesn't seem to be a syntax problem either.