Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72798

Marginsplot command sub-option showing error

$
0
0
Dear all,

Below my codes for margins plot which is throwing up error message. The 'marginsplot' works fine when I am using the 'by' option alone. Whenever any sub-option with 'by' is added, the error message plays the role. I am sure it is a valid command for 'twoway graph' options and used it several times. Not sure why it is not working with marginsplot:


Code:
margins i.sex, at(lmg=(15(10)65)agecen=(-4.4 -1.4 1.5 4.5))

 marginsplot, xdim(lmg) by(sex, title("My title"))

option title() not allowed
Is the sub-options followed by 'by' not allowed with 'marginsplot' ? I would not assume so.

Stata version: 14.1, OS: Mac 64-bit
Updated as of today.

Viewing all articles
Browse latest Browse all 72798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>