Skip to content
Prev 363096 / 398502 Next

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

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