View source: R/summary.marqLevAlg.R
summary.marqLevAlg | R Documentation |
A short summary of parameters estimates by marqLevAlg algorithm.
## S3 method for class 'marqLevAlg'
summary(object, digits = 8, loglik = FALSE, ...)
object |
a marqLevAlg object |
digits |
Number of digits to print in outputs. Default value is 8. |
loglik |
Logical indicating if the objective function is a log-likelihood. By default, loglik=FALSE. |
... |
other (unsued) arguments |
A data frame containing as many rows as estimated parameters. If loglik=FALSE, it includes one column containing the estimated parameters values. If loglik=TRUE, it includes 6 columns : the estimated parameters, their standard errors, the corresponding Wald statistic, the associated p-value and the boundaries of the 95% confidence interval.
V. Philipps, C. Proust-Lima, B. Hejblum, D. Commenges, M. Prague, A. Diakite
marqLevAlg
, print.marqLevAlg
f1 <- function(b){
return(4*(b[1]-5)^2+(b[2]-6)^2)
}
test.marq <- marqLevAlg(b=c(8,9),m=2,maxiter=100,epsa=0.001,epsb=0.001,
epsd=0.001,fn=f1)
summary(test.marq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.