Bookmark and Share

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]

Re: st:histogram for weighted data


From   Amanda Fu <[email protected]>
To   [email protected]
Subject   Re: st:histogram for weighted data
Date   Thu, 17 Mar 2011 16:27:26 -0400

Hello Mr. Cox,

Thank you for the response! I apologize for missing the previous
discussion about histogram. I did remind myself to check previous
discussion and read all that I can find  before posting my question.
But for some reason I searched in my inbox emails for histogram ,
weight, pweight, or fweight, instead of the statalist archives. Next
time, I will keep in mind to check the correct place.

Thanks again!

Best wishes,
Amanda

On Thu, Mar 17, 2011 at 2:41 PM, Nick Cox <[email protected]> wrote:
> There was a question on histograms with pweights just two days ago.
>
> http://www.stata.com/statalist/archive/2011-03/msg00984.html
>
> Please follow the thread, and its references; also check the archives first!
>
> Nick
> [email protected]
>
> Amanda Fu
>
> 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.
>
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index