I am using Stata 15.1.

This post refers to mixed, margins, lincom, mi estimate and mimrgns (from SSC). I have achieved my aim using mixed,...