Displaying 1 result from an estimated 1 matches for "_unweighted_".
2007 Sep 25
0
non-linear fitting (nls) and confidence limits
...ng this here since: (A) the
problem might suggest a modification to the `m' component in the return
argument of `nls' (making this post formally OK for this list) and (B) I
got no response on r-help (my "secret" motivation for posting here,
hoping for some clarifications...):
for _unweighted_ fits using `nls' one can compute confidence intervals for the
fitted model function via
#-------------------
se.fit <- sqrt(apply(res$m$gradient(), 1, function(x) sum(vcov(res)*outer(x,x))))
luconf <- yfit + outer(se.fit, qnorm(c(probex, 1 - probex)))
#-------------------
where `res'...