Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Specifying how to center bins and what points to use as estimates in histograms and kernel densities


From   "Aim�e R. Dechter" <[email protected]>
To   <[email protected]>
Subject   st: Specifying how to center bins and what points to use as estimates in histograms and kernel densities
Date   Sat, 15 Jul 2006 16:09:14 -0500

Hello Stata Users,

  I would like to analyze the univariate distribution of a continuous
variable where the vast majority of observations have a single value,
zero. I would be grateful for advice on how to handle the bins of the
histograms and kernel density estimates that I am graphing. Specifically I
would like to find out how I can ensure two things: 1) that Stata always
uses the value 0 for one of its point estimates, and 2) that Stata always
create bins, such that the bin that includes the value 0 will always be
centered around 0. Both restrictions are especially important when
comparing the histograms and kernel density across sub-populations. I
would be very grateful for any information on how I might be able to do
these two things.

 FYI: The minimum value for the continuous variable is less than zero and
the maximum is greater than zero. I am looking at the univariate
distribution of several variables, including the absolute difference
between two continuous measures, the ratio, the log of the ratio, the
proportionate difference, etc., and trying to see how the distributions of
each of these variables differ between two or more subpopulations.

Thank you very much for your time.

Aim�e Dechter

University of Wisconsin-Madison
1180 Observatory Drive
Madison, WI 53706
PH (608) 262-4896
FAX (608) 262-8400


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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