Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st:histogram for weighted data
From
Amanda Fu <[email protected]>
To
[email protected]
Subject
st:histogram for weighted data
Date
Thu, 17 Mar 2011 14:37:50 -0400
Hi all,
My data set is constructed from a sample. Therefore, each observation
is assigned a probability weight to be representative of the
population. There are no cluster or sample unit. I would like to make
a histogram for some variables, but histogram just allows frequency
weight.
In my opinion, when making histogram to describe the distribution of a
variable in a weighted data set, it is appropriate to use the
"sampling weight" as "frequency weight". Even if the -hist- command
allows to use sampling weight, the graph should be the same as that
used frequency weight.
I would appreciate it if anyone could correct me if my opinion is
wrong. Thank you very much for your time!
Best wishes,
Amanda
*
* 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/