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: probable error, "weights invalid" using stset


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: probable error, "weights invalid" using stset
Date   Mon, 31 Oct 2011 15:20:33 -0400

Elizabeth <[email protected]>:
Use first-observed weights, not last, and make sure none are zero or
missing. Or spend some more effort to define exactly what population
you want your analysis sample to be representative of. Also note 2009
PSID data is available.  Also, you have discrete time data, not
continuous time data--people are poor or not in one year, not at each
point in time, at least using US definitions.  So use a discrete time
hazard model; see e.g.
http://www.iser.essex.ac.uk/resources/survival-analysis-with-stata-module-ec968

On Mon, Oct 31, 2011 at 2:51 PM, Brown, Elizabeth <[email protected]> wrote:
> Dear all,
> I encountered a PROBABLE ERROR using stset that I'm unsure how to investigate/resolve. After stset, I get the following output, with a probable error with respect to 219 "weights invalid". What would cause weights to be invalid? How can I fix this?
>
> I'm using data from the Panel Study of Income Dynamics to examine multiple poverty transitions of families over the 1968 - 2007 period.
>
> With respect to how the weights were prepared, I first: 1) replaced any missing family weight values with family_weight[_n-1], and 2) made weights consistent within id by replacing  family weight with the last observed family weight value. In previous attempts to stset the data using weights, stata complained when weights were inconsistent within id.

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