Linearity of IV's to log odds

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Linearity of IV's to log odds

mllx4eg5
I have a variable 'sexshun', when i try to run the following syntax;

COMPUTE sexshun_LN=LN(sexshun).
EXECUTE.

I get this error message:

>Warning # 602
>The argument for the natural log function is less than or equal to zero.
The
>result has been set to the system-missing value.

When I run a regression to see if the interaction is significant, the
sexshun_LN*sexshun is not included in my regression.
Does anyone know how to fix this.

Thankyou
 



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Linearity of IV's to log odds

Bruce Weaver
Administrator
I think your original post was delayed in being distributed to the mailing
list--or at least in appearing in the Nabble archive.  By the time I saw it
(in Nabble), some discussion of your question has taken place in another
thread:

http://spssx-discussion.1045642.n5.nabble.com/linearity-of-independent-variables-to-log-odds-td5738355.html

I suggest that further discussion be restricted to that thread.  



mllx4eg5 wrote

> I have a variable 'sexshun', when i try to run the following syntax;
>
> COMPUTE sexshun_LN=LN(sexshun).
> EXECUTE.
>
> I get this error message:
>
>>Warning # 602
>>The argument for the natural log function is less than or equal to zero.
> The
>>result has been set to the system-missing value.
>
> When I run a regression to see if the interaction is significant, the
> sexshun_LN*sexshun is not included in my regression.
> Does anyone know how to fix this.
>
> Thankyou
>  
>
>
>
> --
> Sent from: http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to

> LISTSERV@.UGA

>  (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD





-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).