Most of methods of imputations requires either MAR or MCAR. How do we check the assumption on MAR or MCAR in general?
In how to check missing data is missing at random or not?, Turgeon said $H_0:MCAR$ vs $H_1:MAR$ is tested by logistic regression of missingness against covariates. There is no particular reason why one should assume $log(f(M=1|X)/f(M=0|X))$ must take the form of linear function of covariates $X$ where $M$ is missingness indicator function. In general $f(M|X)$'s form is not known.
Why in above situation, one can test by logistic regression?