Statalist


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

AW: AW: AW: st: -if- and r() in -histogram-


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: AW: AW: st: -if- and r() in -histogram-
Date   Thu, 4 Feb 2010 14:37:18 +0100

<> 


pdf logs of -hist x if x<‘r(p95)’, name(ha)- and -hist x if x<r(p95), name(ha)-, run for 2070/2077 pages, respectively. But the substitution of "r(p95)" for its value -or not- happens on the very first page...



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Maarten buis
Gesendet: Donnerstag, 4. Februar 2010 14:33
An: [email protected]
Betreff: Re: AW: AW: st: -if- and r() in -histogram-

--- On Thu, 4/2/10, Martin Weiss wrote:
> Nick: How is -kdensity- different in this respect? Maybe it
> does not create r-results internally?

I don't know about -kdensity-, but I do know about -histogram-.
Within -histogram- a lot of the preparation is done by 
-twoway__histogram_gen-, see -help twoway__histogram_gen- and
David A. Harrison (2005) Stata tip 20: Generating histogram 
bin variables. The Stata Journal, 5(2): 280--281.
<http://www.stata-journal.com/article.html?article=gr0014>.

This command is an r-class command, so it overwrites previous
r-results.

-- Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

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


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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index