Displaying 3 results from an estimated 3 matches for "sck2348".
2003 Mar 26
1
nls
...ata.txt", header=T);
df1 = na.omit(df[, 1:2])
library(nls);
fm = nls(y ~ (x+d)^(-exp(lb)), data = df1, start=c(lb = 0, d = 0),alg =
'plinear', trace = TRUE);
I would be glad if someone can help me.
Thanks & Regards,
Sai Charan Komanduru
>To: Komanduru Sai C <sck2348 at cacs.louisiana.edu>
>Cc: r-help at stat.math.ethz.ch
>Subject: Re: [R] nls
>From: Douglas Bates <bates at stat.wisc.edu>
>Date: 19 Feb 2003 08:33:52 -0600
>User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)
>MIME-Version: 1.0
>X-Keywords:
>
>Koma...
2003 Jan 30
2
Regarding R
Hi,
I am a grad student at the university of Louisiana at Lafayette. I have a
question. I have an equation with 3 unknowns. f= P/ (r+p) pow(B). I have values
of f for different r's. Can i use R to find the P,p,B values which are
constants. The equation is Manderbolts equation.
Thanks and regards,
Sai Charan Komanduru
Research Assistant, CACS
ULL
2003 Feb 19
1
nls
Hi,
I am using nls library
df <- read.table("data.txt", header=T);
library(nls);
fm <- nls(y ~ a*(x+d)^(-b), df, start=list(a=max(df->y,na.rm=T)/2,b=1,d=0));
coef(fm);
q();
When i am using the above routine i am getting the following error
Error in nlsModel(formula, mf, start) : singular gradient matrix at initial
parameter estimates
Can some one help me in this.