Displaying 3 results from an estimated 3 matches for "intermediatemod".
2023 Aug 20
1
Issues when trying to fit a nonlinear regression model
Dear Bert,
Thank you for your extremely valuable feedback. Now, I just want to
understand why the signs for those starting values, given the following:
> #Fiting intermediate model to get starting values
> intermediatemod <- lm(log(y - .37) ~ x, data=mod14data2_random)
> summary(intermediatemod)
Call:
lm(formula = log(y - 0.37) ~ x, data = mod14data2_random)
Residuals:
Min 1Q Median 3Q Max
-0.7946 -0.0908 0.0379 0.1111 0.5917
Coefficients:
Estimate Std. Error t value Pr(>...
2023 Aug 20
1
Issues when trying to fit a nonlinear regression model
...?PM Paul Bernal <paulbernal07 at gmail.com> wrote:
> Dear Bert,
>
> Thank you for your extremely valuable feedback. Now, I just want to
> understand why the signs for those starting values, given the following:
> > #Fiting intermediate model to get starting values
> > intermediatemod <- lm(log(y - .37) ~ x, data=mod14data2_random)
> > summary(intermediatemod)
>
> Call:
> lm(formula = log(y - 0.37) ~ x, data = mod14data2_random)
>
> Residuals:
> Min 1Q Median 3Q Max
> -0.7946 -0.0908 0.0379 0.1111 0.5917
>
> Coefficients:...
2023 Aug 20
1
Issues when trying to fit a nonlinear regression model
Oh, sorry; I changed signs in the model, fitting
theta0 + theta1*exp(theta2*x)
So for theta0 - theta1*exp(-theta2*x) use theta1= -.exp(-1.8) and theta2 =
+.055 as starting values.
-- Bert
On Sun, Aug 20, 2023 at 11:50?AM Paul Bernal <paulbernal07 at gmail.com> wrote:
> Dear Bert,
>
> Thank you so much for your kind and valuable feedback. I tried finding the
> starting