search for: qelin

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

Did you mean: delin
2017 Dec 20
1
Nonlinear regression
...t; wrote: >Sorry about that. Here is the code typed directly on the email. > >qe = (Qmax * Kl * ce) / (1 + Kl * ce) > >##The data >ce <- c(15.17, 42.15, 69.12, 237.7, 419.77) >qe <- c(17.65, 30.07, 65.36, 81.7, 90.2) > >##The linearized data >celin <- 1/ce >qelin <- 1/qe > >plot(ce, qe, xlim = xlim, ylim = ylim) > >##The linear model >fit1 <- lm(qelin ~ celin) >intercept1 <- fit1$coefficients[1] >slope1 <- fit1$coeffecients[2] >summary(fit1) > >Qmax <- 1/intercept1 >Kl <- .735011*Qmax > >xlim <- ra...
2017 Dec 20
0
Nonlinear regression
...yped directly on the email. > > > >qe = (Qmax * Kl * ce) / (1 + Kl * ce) > > > >##The data > >ce <- c(15.17, 42.15, 69.12, 237.7, 419.77) > >qe <- c(17.65, 30.07, 65.36, 81.7, 90.2) > > > >##The linearized data > >celin <- 1/ce > >qelin <- 1/qe > > > >plot(ce, qe, xlim = xlim, ylim = ylim) > > > >##The linear model > >fit1 <- lm(qelin ~ celin) > >intercept1 <- fit1$coefficients[1] > >slope1 <- fit1$coeffecients[2] > >summary(fit1) > > > >Qmax <- 1/intercept...
2017 Dec 20
1
Nonlinear regression
...mothy Axberg < > > axbergtimothy at gmail.com> wrote: > > >Sorry about that. Here is the code typed directly on the email. > > > > > >qe = (Qmax * Kl * ce) / (1 + Kl * ce) [...] > > >##The linearized data > > >celin <- 1/ce > > >qelin <- 1/qe Plotting qelin against celin, I can see why you call this the linearized data. But fitting a linear model to these data obviously does not give you good starting values for nls(). Given your model equation, I would linearize the model to: qe = Qmax*KL * ce + KL * ce*qe and fit a...