Announcement

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

  • "class member function not found" Error trying to create a histogram

    Hi, I'm trying to create a super simple histogram just to start figuring out stata (I have the 13 version). After following all the necessary steps, this message of error comes out:

    sysuse nlsw88.dta
    (NLSW, 1988 extract)

    . histogram age
    (bin=33, start=34, width=.36363636)
    relative_posn.new,: class member function not found
    (error occurred while loading textstyle.class)
    textstyle.new: class member function not found
    (error occurred while loading tickstyle.class)
    tickstyle.new: class member function not found
    (error occurred while loading ticksetstyle.class)
    ticksetstyle.new: class member function not found
    (error occurred while loading axisstyle.class)
    axisstyle.new: class member function not found
    (error occurred while loading axis.class)
    axis.new: class member function not found
    (error occurred while loading twowaygraph_g.class)
    twowaygraph_g.new (histogram age [], barwidth(-99) plotregion(margin(b=0))
    density start(34) bin(33)) if __000000, ytitle(`"Density"') xtitle(`"age in
    current year"') legend(cols(1)) legend(nodraw): class member function not
    found

    twoway is not a valid graph subcommand
    r(198);

    How can I fix it? It also goes for all other graphs I tried to create(box plots, etc...) always the same error.

    Thanks in advance!

  • #2

    Restart your computer, then update your Stata by running;
    Code:
    update q
    and follow instructions.

    You may also verify that Stata has been installed properly by running the Stata Installation Qualification Tool (IQT): https://www.stata.com/support/instal...lification/13/

    If this does not help you may reinstall Stata and/or contact StataCorp https://www.stata.com/support/tech-support/contact/

    Comment


    • #3
      Hi. I am trying to draw diagram in stata (version 14) for quantile regression. The command is displaying
      sqreggraph_g.new BMI female: class member function not found
      What will be the right command if I want to find out the two-way graph for BMI and its determinants?
      Thanks in advance.

      Comment

      Working...
      X