[R] It is possible to use "input parameters" with "standard error" in fitting function nls

Vicente Martí Centelles martiv at qio.uji.es
Wed Aug 10 16:00:04 CEST 2016


Dear all,

I found the solution to my question on internet:

https://www.r-bloggers.com/introducing-propagate/

The ‘propagate’ package on CRAN can do this It has one single purpose:
propagation of uncertainties (“error propagation”).

predictNLS: The propagate function is used to calculate the propagated
error to the fitted values of a nonlinear model of type nls or nlsLM.
Please refer to my post here:
http://rmazing.wordpress.com/2013/08/26/predictnls-part-2-taylor-approximation-confidence-intervals-for-nls-models/
.

Best regards

Vicente

2016-08-03 9:57 GMT+01:00 Vicente Martí Centelles <martiv at qio.uji.es>:

>
> Dear all,
>
> I would like to introduce an input parameter with an associated standard
> error to perform a fitting using the nls function (or any similar function):
>
> parameter1 = 9.00 +/- 0.20  (parameter 1 has a value of 9.00 and standard
> error of 0.20)
>
> fittingResults <- nls(y ~ function(xdata, ydata, parameter1,
> fittingparameter),start=list(parameter1=9.00, fittingparameter=5.00))
> summary(fittingResults)
>
> Does anyone know how to  introduce the associated standard error of the
> parameter to the fitting function?
>
> Many thanks for your help,
>
> Best regards
>
> Vicente
>
>
> --
> _______________________________________
> *Dr. Vicente Martí Centelles*
> *Postdoctoral Researcher (VALi+d Generalitat Valenciana, Spain)*
>
>
> *Universitat Jaume I*Departamento de Química Inorgánica y Orgánica
> Avda Sos Baynat s/n
> E-12071-Castellón (Spain)
> Tel.: +34 964728235
> Fax: +34 964728214
> e-mail: martiv at qio.uji.es
>
> *web page*: www.vmarti.es
>



-- 
_______________________________________
*Dr. Vicente Martí Centelles*
*Postdoctoral Researcher (VALi+d Generalitat Valenciana, Spain)*


*Universitat Jaume I*Departamento de Química Inorgánica y Orgánica
Avda Sos Baynat s/n
E-12071-Castellón (Spain)
Tel.: +34 964728235
Fax: +34 964728214
e-mail: martiv at qio.uji.es

*web page*: www.vmarti.es

	[[alternative HTML version deleted]]



More information about the R-help mailing list