Announcement

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

  • New version of eclplot on SSC

    Thanks as always to Kit Baum, a new version of the eclplot package (described as below on my website) is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of eclplot.

    The eclplot package creates any one of 56 varieties of confidence interval plots,some of which are more useful than others. The new version updates the supby(supby_varname [, suboptions] ) option, which enables the user to superimpose multiple confidence interval plots on the same graph. I have fixed a bug/feature, which caused legend key text labels to be truncated at 32 bytes, enabling longer key text labels. I have also enabled the supby_varname variable to be string instead of numeric, in which case the key text labels in the legend are ordered alphabetically by string value.

    Best wishes

    Roger

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    package eclplot from http://www.rogernewsonresources.org.uk/stata13
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    TITLE
    eclplot: Horizontal and vertical confidence interval plots

    DESCRIPTION/AUTHOR(S)
    eclplot creates a plot of estimates with lower and upper confidence limits
    on one axis against another numeric variable on the other axis. The estimates
    and lower and upper confidence limits are stored in three variables, in a
    data set with one observation per confidence interval to be plotted. Data
    sets with such variables may be created manually (using a spreadsheet),
    or using the parmest package, or using statsby or postfile in official Stata.
    The user has a choice of plotting the confidence intervals horizontally or
    vertically, a choice of plot styles for the estimates, and a choice of range
    plot styles for the confidence intervals. It is also possible to overlay
    the confidence interval plot with other plots using the plot() option,
    and to overlay multiple superimposed confidence interval plots using the
    supby() option. eclplot may be used either as a command or through a dialog.

    Author: Roger Newson
    Distribution-Date: 06march2021
    Stata-Version: 13

    INSTALLATION FILES (click here to install)
    eclplot.ado
    eclplot.sthlp
    eclplot.dlg
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    (click here to return to the previous screen)


  • #2
    Hello dear, Please I learn how to use eclplot command.
    From Stata help, I run the example:

    . sysuse auto,clear
    . parmby "xi:regress mpg i.foreign i.rep78", label norestore
    . sencode parm,gene(parmid)
    sencode mpg foreign rep78, gene(foreign rep78)
    . eclplot estimate min95 max95 parmid

    But I get error about 2nd line : "variable parm not found"

    I don't know how to fix the issue?

    Can You help me please?


    Thk you

    Comment


    • #3
      There are two entries/lines of
      sencode...
      Does this code work? It is the first example in the help-file:
      Code:
      clear
      sysuse auto
      parmby "xi:regress mpg i.foreign i.rep78",label norestore
      sencode parm,gene(parmid)
      eclplot estimate min95 max95 parmid

      Comment


      • #4
        It takes several minutes to edit a post on Statalist, so I post a new one. The first part of post #3 should read:

        There are two entries/lines of
        sencode...
        in post #2 above. Does this code ...

        Comment

        Working...
        X