Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Problem to run Inequal7


From   "Patrick W�hrle Guimar�es" <[email protected]>
To   [email protected]
Subject   st: Problem to run Inequal7
Date   Wed, 14 Feb 2007 03:08:18 -0300

I�m working with a complex sample and I would like to calculate
measures of inequality - Gini, Theil, etc...When I use - Inequal -
it�s ok but when i try to use inequal7 - the ado - it�s not ok. After
some time - Stata give the msg (there are 9364 value with
<=0..run...run..and nothing). The programa that I�m running is:
gene rendapc = rend_fa1/numfam1 if rend_fa1 < 1000000000
inequal rendapc [fw=peso]
replace rendapc = 0 if rendapc == .
replace rendapc = 0.0000001 if rendapc == 0
inequal rendapc [fw=peso]
But the problem it�s not a program or value with . or zero - I dont
know what happen!

Patrick

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