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

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

From   "Martin Weiss" <>
To   <>
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...


-----Ursprüngliche Nachricht-----
Von: [] Im Auftrag von Maarten buis
Gesendet: Donnerstag, 4. Februar 2010 14:33
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.

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

-- Maarten

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


*   For searches and help try:

*   For searches and help try:

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