nlmR | R Documentation |
This function returns goodness-of-fit criteria for nonlinear model selection. Adjusted R squared (rho), the AIC, and BIC are estimated.
nlmR(object)
object |
An object which inherits from 'nls' class, typically returned
after performing a nonlinear regression fit with function
|
The Stein's formula for adjusted R squared (rho) is applied as an estimator of the average cross-validation predictive power (1).
Robersy Sanchez - 10/22/2020
1. Stevens JP. Applied Multivariate Statistics for the Social Sciences. Fifth Edit. Routledge Academic; 2009.
mcgoftest
for Bootstrap test for Goodness of fit.
### Examples from 'nls' doc
DNase1 <- subset(DNase, Run == 1)
## using a selfStart model
fm1DNase1 <- nls(density ~ SSlogis(log(conc), Asym, xmid, scal), DNase1)
nlmR(fm1DNase1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.