search for: startparam

Displaying 3 results from an estimated 3 matches for "startparam".

Did you mean: startparams
2009 Jul 26
1
Non-Linear Regression with two Predictors
Hello there, I am using nls the first time for a non-linear regression with a logistic growth function: startparam <- c(alpha=3e+07,beta=4000,gamma=2) fit <- nls(dataset$V2~(( alpha / ( 1 + exp( beta - gamma * dataset$V1 ) ) ) ),data=dataset,start=startparam) Everything works fine and i get good results. Now I would like to improve the results using my DUMMY Variable (dataset$V6) the runs half of the...
2012 Dec 07
1
Error using constrOptim in constraint definition
Hello, I'm trying to run constrOptim. It returns to me an error about the fact that constraints arguments (ui and ci) are non compatibles: > optout= constrOptim(startparams, f=ImpulseSS, grad=grImpulse, ui=UI, ci=CI, data=gexp[k,], t=t) Error in ui %*% theta : non-conformable arguments I would like to point out that I can calculate that product in the command line: > UI %*% startparams [,1] [1,] 2.297217e+05 [2,] 1.699765e+05 [3,] 2.037806e...
2012 Nov 20
0
double gaussian with mixdist: what's wrong?
...253,331,419,563,781,1134,1423,1842,2505,374,6099,9343,13009, ? ? ? ? ? ? ? ? ? ?15097,13712,9969,6785,4742,3626,3794,4737,5494,5656,4806,3474,2165,1290,799,431,213,137,66,57,41,35,27,27,27) ? data.df <- data.frame(time=time, counts=counts) ? data.mix <- as.mixdata(data.df) ? plot(data.mix) ? startparam <- mixparam(c(699,707),1 ? data.fit <-?mix(data.mix, startparam, "norm") --- end code --- This results in: ? Error in nlm(mixlike, lmixdat = mixdat, lmixpar = fitpar, ldist = dist, ?:? ? ? missing value in parameter I have used this fit method successfully with other data sets. W...