Hi, Im still new to R and I have a problem regarding the code below. I don't 
know how to solve that. I want
to compute profile log-likelihood using the rainfall data. I use the code below 
from Dunn:



" 
tweedie.profile(Amount~Year*Month,p.vec=seq(1.35,1.75,length=50),method="series",do.ci=TRUE)
 "

I got the message below when I run the code above. Anyone know why the p.vec 
taken from 1.35 to 1.75? Can someone help me? 


"1.35 1.358163 1.366327 1.374490 1.382653 1.390816 1.398980 1.407143 1.415306 
1.423469 1.431633 1.439796 1.447959 1.456122 1.464286 1.472449 1.480612 
1.488776 1.496939 1.505102 1.513265 1.521429 1.529592 1.537755 1.545918 
1.554082 1.562245 1.570408 1.578571 1.586735 1.594898 1.603061 1.611224 
1.619388 1.627551 1.635714 1.643878 1.652041 1.660204 1.668367 1.676531 
1.684694 1.692857 1.701020 1.709184 1.717347 1.725510 1.733673 1.741837 1.75 
..................................................Done.
  No valid values of the likelihood computed: smooth aborted
   Consider trying another value for the input  method.
Error in if ((xi.max > 0) & (xi.max < 1)) { : 
  missing value where TRUE/FALSE needed
In addition: There were 50 or more warnings (use warnings() to see the first 
50)"

Thanks for yourattention and help.

Regard,
Zuhri
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to