[R] Error in family$linkfun(mustart) : Value 1.125 out of range (0, 1)

David Winsemius dwinsemius at comcast.net
Thu Aug 16 19:07:10 CEST 2012


On Aug 16, 2012, at 12:03 AM, Dinuk Jayasuriya wrote:

> John/Michael, thanks for your comments.
>
> I get the following error when I run my code (the code is attached  
> as is a section of the data set):

No, it's not (anymore at least). It needs to be a mime-text formated  
file at the time it hits the R mail-server, and typically those need  
to be constructed with extension ".txt" although details may vary  
among OSes.

-- 
David.

> Error in family$linkfun(mustart) : Value 1.125 out of range (0, 1)
>
> If anyone can please provide assistance that would be much  
> appreciated - I'm not sure if it's something wrong with my dataset  
> or a bug in the program "list"
>
> Many thanks,
> Dinuk
>
> On 08/16/12, John  <jwd at surewest.net> wrote:
>> On Wed, 15 Aug 2012 17:59:53 +1000
>> Dinuk Jayasuriya <Dinuk.Jayasuriya at anu.edu.au> wrote:
>>
>>> Hi Jeff,
>>>
>>> Thank you - your comment was much appreciated.
>>>
>>> I'm now running an ordered probit regression and get the following
>>> error:
>>>
>>> Error in family$linkfun(mustart) : Value 1.125 out of range (0, 1)
>>>
>>> I can't decipher (after looking at other posts on google!) why this
>>> error occurs - is it something wrong with my dataset?
>>>
>>> If anyone can advise that would be very helpful.
>>>
>>> Thanks,
>>> Dinuk
>>
>> You need to supply considerably more information before you can  
>> expect
>> much help. A subset of the data would help, since otherwise people  
>> are
>> guessing. Also, if you look at the example here:
>>
>> http://www.ats.ucla.edu/stat/R/dae/probit.htm
>>
>> you may find some useful pointers.
>>
>> JWDougherty


David Winsemius, MD
Alameda, CA, USA



More information about the R-help mailing list