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: Problem with bfit command for model selection
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Problem with bfit command for model selection
Date
Thu, 20 Mar 2014 19:23:24 +0000
I don't think this is the issue. The call to -st_local()- would need
to provide a name for a local macro and a string to put it, and at
least one of those is wrong. A variable being string rather than
numeric wouldn't cause either problem and in any case -bfit- wouldn't
expect string variables.
Nick
[email protected]
On 20 March 2014 19:17, Joe Canner <[email protected]> wrote:
> Lubo,
>
> I don't know much about -bfit- (as per the FAQ, you should provide information on where this came from), but based on what I could find out about it, I can't imagine a reason why it would require a string variable. Accordingly, the only suggestion I can provide is to do a -set trace on- before running the -bfit- command and see exactly where the problem is. If that doesn't give you any hints, report back and perhaps someone here will have some ideas.
>
> Regards,
> Joe Canner
> Johns Hopkins University School of Medicine
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Lubo Larsson
> Sent: Thursday, March 20, 2014 12:40 PM
> To: [email protected]
> Subject: Re: st: Problem with bfit command for model selection
>
> Hello,
> The actual command was : bfit logit v gend appt cdate
> The variables were originally in an SPSS file then converted to Stat
> format using StatTransfer.
> Lubo.
>
> On Thu, Mar 20, 2014 at 11:27 AM, Richard Goldstein
> <[email protected]> wrote:
>> as per the FAQ, please show us what you actually typed
>>
>> Rich
>>
>> On 3/20/14, 11:51 AM, Lubo Larsson wrote:
>>> Hello,
>>> I am trying to use bfit. The syntax is: bfit logit depvar indepvars.
>>>
>>> However I am getting an error message r(3254):
>>> st_local(): 3254 nonstring found where string required
>>>
>>> Would very much appreciate if anyone has any insights on this.
*
* 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/