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: categorical by continuous interaction
From
Milena Przheska <[email protected]>
To
[email protected]
Subject
Re: st: categorical by continuous interaction
Date
Mon, 18 Nov 2013 16:28:17 +0100
Oh, thanks
On Mon, Nov 18, 2013 at 4:25 PM, Fernando Rios Avila <[email protected]> wrote:
> Hi Milena,
> The problem there is that you need to tell Stata that your variable is
> continuous.
> For instance, your command should be:
> logistic positive ib(0).categorical continuous ib(0).categorical#c.continuous
> HTH
> Fernando
>
> On Mon, Nov 18, 2013 at 10:22 AM, Milena Przheska
> <[email protected]> wrote:
>> Dear Statalist members,
>>
>> I am trying to fit a logistic regression model that involves an
>> interaction between a categorical and continuous variable, but I get
>> the following message:
>>
>> continuous: "factor variables may not contain noninteger values"
>>
>> The command looks something like this:
>>
>> logistic positive ib(0).categorical continuous ib(0).categorical#continuous
>>
>>
>> I can't find a reason why a continuous by categorical interaction
>> wouldn't work in Stata, so I would very much appreciate it if someone
>> can enlighten me regarding this issue.
>>
>> Thank you,
>> Milena
>> *
>> * 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/
*
* 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/