Displaying 1 result from an estimated 1 matches for "reg24".
Did you mean:
reg2
2010 Oct 13
2
Using NLS with a Kappa function
...that best fit
value for k is very small.) If so, this problem would intractable, but I
thought I see what response I got from other users before giving up on this
track.
Here are a few lines from the command line:
> funct3
function(x, h, k, z, a) { (1 - h*(1 - k*(x - z)/a)^(1/k))^(1/h) }
> reg24 <-nls(FldFatRate ~ funct3(MeanDepth_m, h,k,z,a), data=data1,
+ start=list(h = -17, k = .05, z = 22, a = 3.7), trace=TRUE,
control=nls.control(minFactor=.00009))
24.69316 : -17.00 0.05 22.00 3.70
Error in numericDeriv(form[[3L]], names(ind), env) :
Missing value or an infinity produced when evalu...