Displaying 3 results from an estimated 3 matches for "kervahu".
2005 Apr 08
0
TR: The results of your email commands
...and not the
first ones. I think that I have forget a subscrib but I don't know
where. so
if you can help me, it will be great....
I have try an other program where y and x are directly calculate in sce
function but the time of running was to long.
Thanks in advance,
Anne KERVAHU
rm(list=ls())
nbr=10
#list of data
x_a<-c(0,0.5,1,1.5,2,3,4,6,8,15,20,40,60,80,120)
y_a<-c(5.4771213,5.0791812,4.8450980,4.3010300,4,2.30103,1.5563025,1.30103,1
,1.6434527,0.60206,0.60206,0.30103,0,0.4771213)
x_b<-c(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14)
y_b<-c...
2005 Apr 01
1
optim problem, nls regression
..., method = "L-BFGS-B", lower = pinf, upper =
psup, :
L-BFGS-B needs finite values of fn"
And I don't understand why it doesn't work. Do I forget an option in optim
computation. Or is there an other function instead of optim that I can use.
Thanks in advance
Anne Kervahu
annekervahu at yahoo.fr
2005 Feb 18
1
nls.regression syntax problem
...it doesn't work
this is the programm that i run:
f <- function (x,p) {
u <- p[1]
v <- p[2]
w <- p[3]
(I((x*u)^v))+w
}
x<-c(1:10)
y<-c(5,6,6.5,8,7,4,3,5,9,15)
r <- nls( y ~ f(x,c(a,b,d)), start=c(a=3, b=2.5, d=3) )
so, if you see a mistake can you contact me:
Anne KERVAHU
annekervahu at yahoo.fr