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

st: Re: inequal7 and bs


From   "Steichen" <[email protected]>
To   <[email protected]>
Subject   st: Re: inequal7 and bs
Date   Mon, 20 Oct 2003 12:11:01 -0400

Katja --

A further thought...

If you specify the -real()- function around -r(gini)- then it will also
work:

    . bs "inequal7 i11101" real(r(gini)), reps(10)

Tom


> I want to bootstrap e.g. the gini coefficient with inequal7 in Stata8. In
version 7 I used
> the command line
>
> bs "inequal7 i11101" "S_4", reps(10)
>
> and it worked.
>
> Now the command line seems to have change for Stata8 as it should be
>
> bs "command" exp_list [, reps(#)]
>
> What I have tried is
>
> bs "inequal7 i11101" S_4, reps(10)
>
> Then Stata responds:
> S_4 not found
> error in statistic: S_4
>
> I also tried
>
> bs "inequal7 i11101" r(gini), reps(10)
>
> and Stata responds:
> type mismatch
> error in statistic: r(gini)
>
> Of course I could use
>
> version 7
> bs "inequal7 i11101" "S_4", reps(10)
>
> but isn't there a way to do it in Stata8?
>
> Thank you very much for your help,
>
> Katja Hoelsch
>
>
>
> -------
> Katja H�lsch
> Lehrstuhl f�r Statistik und �konometrie
> 520B
> Universit�t Hohenheim
> 70593 Stuttgart
> Tel. 0711-4592933
>
>
> *
> *   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/
>


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