[R] Fitdistr Error in new VR version

Bernardo Rangel Tura tura at centroin.com.br
Thu Dec 18 20:42:52 CET 2003


>Hi R-Masters

I found a strange error in fitdistr():


In case of VR Version 7.1-11

k21stsList<-c(0.76697,0.57642,0.75938,0.82616,0.93706,0.77377,0.58923,0.37157,0.60796,1.00070,0.97529,0.62858,0.63504,0.68697,0.61714,0.75227,1.16390,0.66702,0.83578)

fitdistr(k21stsList, "normal",list(mean = 0.5, sd = 0.1))
     mean          sd    
 0.74584591   0.17908744 
(0.04108548) (0.02904255)
 

In case of VR Version 7.1-13

k21stsList<-c(0.76697,0.57642,0.75938,0.82616,0.93706,0.77377,0.58923,0.37157,0.60796,1.00070,0.97529,0.62858,0.63504,0.68697,0.61714,0.75227,1.16390,0.66702,0.83578)

fitdistr(k21stsList, "normal",list(mean = 0.5, sd = 0.1))
     mean          sd    
 0.74584591   0.17908744 
(0.04108548) (0.02904255)

Error in fitdistr(k21stsList, "normal", list(mean = 0.5, sd = 0.1)) : 
        supplying pars for the Normal is not supported


Why this occur?

[]s
Tura 
-------------- next part --------------

---





More information about the R-help mailing list