Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to get a two-line-graph for predicted probabilites in logistic regression model with a metric controll variable (SE10)


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to get a two-line-graph for predicted probabilites in logistic regression model with a metric controll variable (SE10)
Date   Mon, 3 Jun 2013 11:53:34 +0200

On Mon, Jun 3, 2013 at 11:24 AM, Prof. Dr. Claudia Schuchart wrote:
> My problem is, that the twoway-command does not work and I could not find
> out a solution:
> . twoway rarea lb ub south if union == 0, astyle(ci) ||    ///
> (...)
> / / / is not a twoway plot type
> r(198);
>  .        rarea lb ub south if union == 1, astyle(ci2) ||   ///
> unrecognized command:  rarea
> r(199);

Sounds like something went wrong when you coppied that code into
Stata. A common mistake is to copy such examples in the command window
instead of the do-file editor. I give a step by step guide on how to
run such examples here:

http://www.maartenbuis.nl/example_faq/index.html#work

Hope this helps,
Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index