Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: re: Sample with weights


From   "Stephen P. Jenkins" <[email protected]>
To   [email protected]
Subject   st: RE: re: Sample with weights
Date   Thu, 6 Oct 2005 13:36:43 +0100

>
>Date: Fri, 30 Sep 2005 11:48:40 +0200
>From: "Willard van Ooij" <[email protected]>
>Subject: st: Sample with weights
>
>Dear statalisters,
>
>I have a population of company's. I want a sample from this population,

>but the probability of a company to be sampled has to be equivalent
>with the number of employees (let's call this "size").
>
>So I thought i could
>- -sample 10 [fweight=size]


I have written -samplepps- ("sample proportional to size"), available from SSC
with -ssc install samplepps-. It sounds as if this may do what you seek

A -findit pps- would have found it (and a program by Stas Kolenikov.

--
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester, CO4 3SQ, UK
Tel: +44 (0)1206 873374. Fax: +44 (0)1206 873151.
http://www.iser.essex.ac.uk


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

*
*   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