[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
"Michael I. Lichter" <mlichter@buffalo.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Question about svyset command |

Date |
Thu, 19 Feb 2009 12:38:19 -0500 |

Thomas,

Michael Steven Samuels wrote:

Thomas,1. The finite population corrections should affect only standarderrors and confidence intervals, not estimates of means, proportions,or confidence intervals.2. fpc's should be employed only for descriptive analyses(proportions, means). These analyses describe the specific finitepopulation that you sampled: tort, contract, and real property trialsin the 75 counties.If the purpose of your model is analystic: to develop predictions,estimate odds ratios, compare proportions, or otherwise testhypotheses, you should *omit* the finite population corrections. Thereasoning is interesting (Cochran, 1977, p.39): It is seldom ofscientific interest to ask if a null hypothesis (e.g. that twoproportions are equal) is exactly true in a finite population . Exceptby a very rare chance, a null hypothesis will never be true. You woulddiscover this by enumerating the entire population. This leads to theadoption of a "superpopulation" viewpoint, which is taken by almostall statisticians these days. See also Deming(1966) pp 247-261"Distinction between enumerative and analystic studies"; Korn andGraubard (1999), p. 227.In other words, you should use one -svyset- for describing the targetpopulation and another for the logistic regression.Two questions came to mind:1. If a trial had >1 plaintiff or >1 defendant, would that notincrease the probability of a post trial motion? How are you going toaccount for that?2. For descriptive analyses, counties selected with certainty needspecial treatment. Look up the "singleunit" option for -svyset-.Good luck! -Steve References Cochran, W. G. (1977). Sampling techniques (3ded.). New York: Wiley.Deming, W. E. (1966). Some theory of sampling. New York: DoverPublications.Korn, E. L., & Graubard, B. I. (1999). Analysis of health surveys(Wiley series in probability and statistics). New York: Wiley.On Feb 19, 2009, at 12:04 AM, thomashcohen@aol.com wrote:Iâm a beginner Stata user and have a question about the svysetcommand in Stata that I hope someone can help me with.For some background, I'm engaged in a logistic regression model thatexamines the likelihood of either a plaintiff or defendant filing apost trial motion. The database I'm working with is the Civil JusticeSurvey of State Courts (CJSSC). The CJSSC provides case level datafor all t conclude in a sample of 46 of the nation's 75 most populouscounties in 2005. Data are collected on about 8,000 trials in these46 counties which are weighted to represent about 10,500 trialsconcluded in the nation's 75 most populous counties. I understandthat one of the nice features of Stata is that it allows you to takeinto account the sampling structure of a dataset when doing logisticregression modeling. Here is the Stata code that I used to take inaccount the sampling structure of these civil trial data:svyset sitecode [pweight=bwgt0], strata(strata) fpc(fpc1) || su2,fpc(fpc2)Where Sitecode = County where the civil trial took placeBwgt0 = Weights to weight the data from 46 to the 75 most populouscountiesStrata = Strata where the counties are located. The dataset has 5 stratafpc1 = The probability of a county appearing in the sample. Forexample, a county with a weight of 2 would have a 50% probability ofappearing in the samplesu2 = Unique identifier that identifies the trials that occurred ineach of the 46 countiesFpc2 = 1 for all 8,000 trials disposed in the 46 counties. I gavefpc2 a value of 1 because I wanted to tell Stata that the trials hada 100% probability of showing up in these 46 counties.I think that I got the part of this programming that deals with thefirst level of the sample design correct. Itâ€™s the second levelthat Iâ€™m having some problems with At the second level of thesample design, I'm trying to correct for the fact that I have datafor every civil trial concluded in the 46 counties. Basically, I wantto tell Stata that part of this sample is actually a census of alltrials concluded in the 46 counties in 2005. I understand Stata has afinite population correction command that takes into account thecensus like format of these data. The logistic regression resultswere the same irrespective of whether I used the 1st or 2nd stages inthe sample design. I think this is telling me that Stata is notcorrecting for the census like aspect of this sample. Can anyone giveme some guidance as to whether I'm correctly taking into account thesampling structure of these data. In particular, I would like to knowwhether I'm using the fpc2 factor correctly. Any assistance you couldgive on this matter would be very much appreciated.Thanks Thomas Cohen * * 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/

-- Michael I. Lichter, Ph.D. Research Assistant Professor & NRSA Fellow UB Department of Family Medicine / Primary Care Research Institute UB Clinical Center, 462 Grider Street, Buffalo, NY 14215 Office: CC 125 / Phone: 716-898-4751 / E-Mail: mlichter@buffalo.edu * * 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/

**References**:**st: Question about svyset command***From:*thomashcohen@aol.com

**Re: st: Question about svyset command***From:*Steven Samuels <sjhsamuels@earthlink.net>

- Prev by Date:
**Re: st: DiD with panel data** - Next by Date:
**Re: st: AW: compare files, vars only** - Previous by thread:
**Re: st: Question about svyset command** - Next by thread:
**Re: st: Question about svyset command** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |