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: Last estimates not found after bs4rw


From   Stas Kolenikov <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Last estimates not found after bs4rw
Date   Fri, 20 Sep 2013 13:29:31 -0500

You need to learn how to program estimation commands, see -help
ereturn- and then go on to read the section of the [P] manual with a
skeleton of a proper -program ... , eclass-. What -bs4rw- is
complaining about is that when it calls -forecast- (terrible, terrible
name for a user-written program; you could just as well call it -reg-
or -ver-), it receives -logit- results from it.

-- Stas Kolenikov, PhD, PStat (ASA, SSC)
-- Senior Survey Statistician, Abt SRBI
-- Opinions stated in this email are mine only, and do not reflect the
position of my employer
-- http://stas.kolenikov.name



On Fri, Sep 20, 2013 at 1:17 PM, Saidé Salazar <[email protected]> wrote:
> Dear Stata listers,
>
> I am running a logistic regression after svy. I am having problems
> using bs4rw. I wrote a very simple program to check the syntax of
> bs4rw and I obtained "last estimates not found". Here is my do-file:
>
> program define forecast, properties(svyb)
> logit y x1 x2 x3 [pw=wt]
> end
> bs4rw, rw(wt*): forecast
>
>
> On the other hand, I do not have problems using:
>
> bs4rw, rw(wt*): logit y x1 x2 x3 [pw=wt]
>
> Thank you for your help!
>
>
> Aranzazu
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index