Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • combomarginsplot

    Dear statalisters,
    I am trying to use combomarginsplot on stat 15.1 but i get an error message that says "this is version 15.1 of Stata; it cannot run version 16.0 programs"
    Is there another command that works on stata 15.5 and that can do the same think.
    my code is
    Code:
     logit prediabeteshba1c VAI  i.agecat5 if sex==1 & bmicat2==1
    margins i.agecat5, saving (file1, replace)
    
    logit prediabeteshba1c zwhtr1  i.agecat5 if sex==1 & bmicat2==1
    margins i.agecat5, saving (file2, replace)
    
    combomarginsplot file1 file2, labels("healthy" "disease") noci
    thanks in advance

  • #2
    combomarginsplot is from SSC, as you are asked to explain (FAQ Advice #12). You can try changing the line

    program combomarginsplot
    version 16
    to

    program combomarginsplot
    version 15
    in the ado-file and save it, naming it something like "mycombomarginsplot". Likely, the program uses some functionality in version 16 not available in version 15, but that is for you to find out.


    Code:
    findfile combomarginsplot.ado
    doedit "`r(fn)'"

    Comment

    Working...
    X