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

Re: st: RE: prtest and fweights


From   Ronán Conroy <rconroy@rcsi.ie>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: prtest and fweights
Date   Wed, 22 Sep 2004 12:53:54 +0100

Nick Cox wrote:

I can't comment on why not. I guess no one asked, or no one thought of doing it.
For the moment,
preserve expand prtest restore

But beware of -expand-. If an observation represents a zero frequency, it will be retained. You will see a warning but it's a behaviour that you might not have anticipated.

I transcribe tables from papers that I am reviewing into Stata frequently, to cross-check stats, and it's easy to transcribe a zero without remembering that this will create a single observation in the expanded dataset.

--

Ronan M Conroy (rconroy@rcsi.ie) Senior Lecturer in Biostatistics Royal College of Surgeons Dublin 2, Ireland +353 1 402 2431 (fax 2764) -------------------- Just say no to drug reps http://www.nofreelunch.org/

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index