[Rd] nls fails to return correlation matrix (PR#8127)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Sep 9 11:55:49 CEST 2005


Carsten.Urbach at physik.fu-berlin.de writes:

> Full_Name: Carsten Urbach
> Version: 2.1.1  (2005-06-20)
> OS: Linux
> Submission from: (NULL) (141.34.5.241)
> 
> 
> I observed one case where nls failed to return the correlation matrix, while the
> parameter estimates were computed correctly. In the follwing I include all the
> commands leading to this problem. R was started with 'R --vanilla':


.............................
> 
> Residual standard error: 0.001722 on 1 degrees of freedom
> 
> Correlation of Parameter Estimates:
>   a b c d
> b   1
> c , , 1
> d   * , 1 
> e . , * *
> attr(,"legend")
> [1] 0 ‘ ’ 0.3 ‘.’ 0.6 ‘,’ 0.8 ‘+’ 0.9 ‘*’ 0.95 ‘B’ 1


And the problem was??? 

You may not like the graphical representation, but it is not a bug.

Just use

print(summary(fit),symbolic.cor=FALSE)

to get rid of it.


-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-devel mailing list