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

From |
Jean-Gael Collomb <JG@ufl.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Unexpected proportions after survey commands |

Date |
Sat, 9 May 2009 17:13:57 -0400 |

Hello all,

Cheers, Jean-Gael Collomb, jg@ufl.edu (PS. I run Stata 10 in Mac OSX) State code entered: *ASSIGNING POST STRATIFICATION WEIGHTS *------------------------------------- gen samplewt2=0 label var samplewt2 "Post Stratification sample weight 2" replace samplewt2=0.99975204562360500 if conservancy==1 & sample==1 replace samplewt2=0.04357333333333330 if conservancy==2 & sample==2 replace samplewt2=1.39197814207650000 if conservancy==2 & sample==1 replace samplewt2=0.10144078144078100 if conservancy==3 & sample==2 replace samplewt2=1.18320139407518000 if conservancy==3 & sample==1 replace samplewt2=0.05683908045977010 if conservancy==4 & sample==2 replace samplewt2=1.47985380116959000 if conservancy==4 & sample==1 replace samplewt2=0.01906976744186050 if conservancy==5 & sample==2 replace samplewt2=1.05030411449016000 if conservancy==5 & sample==1 tab tourind bysort conservancy: tab tourind *applying weight2 (those derived from IRDNC data) svyset _n [pweight = samplewt2] svy: tab tourind, percent Jean-Gael "JG" Collomb PhD candidate

University of Florida jgcollomb@gmail.com jg@ufl.edu +1 (352) 870 6696

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

**Follow-Ups**:**Re: st: Unexpected proportions after survey commands***From:*sjsamuels@gmail.com

**Re: st: Unexpected proportions after survey commands***From:*"Michael I. Lichter" <MLichter@Buffalo.EDU>

- Prev by Date:
**Re: st: double hurble** - Next by Date:
**Re: st: Making a Matrix from Three Variables** - Previous by thread:
**st: double hurble** - Next by thread:
**Re: st: Unexpected proportions after survey commands** - Index(es):

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