Displaying 3 results from an estimated 3 matches for "fitdata".
Did you mean:
findata
2006 Apr 18
2
get the parameter estimates from lm model
R-help,
Sorry for posting the same question (almost) once again.
I'm using a lm model for some data.
The code is below:
fitData <- glm(pm ~ age + mw , family = binomial(link = logit), maxit =
30, data = inputModel1)
"age" is a factor and "mw" is a continous variable.
The summary function does not provide the parameter estimates for
the first level of the categorical variable (I think the others are...
2008 Dec 22
0
nlsrob fails with puzzling error message on input accepted by nls
...model is well-behaved for the
parameters that come from nls - no huge values, NAs or infinities for
the values of the independent variables. But nlrob fails immediately
(on the first pass) with the error message
> pxe2 <- nlrob(dpx ~ peFnc(tradeSide, tradeSz, tcScale, szScale,
alpha), data=fitData, start= pxe$m$getAllPars(), trace=TRUE);
robust iteration 1
2138.747 : 2.19 2.31 0.45
Error in numericDeriv(form[[3]], names(ind), env) :
<--------------------
Missing value or an infinity produced when evaluating the model
<-------------------
With debug(), I've traced the problem...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...model is well-behaved for the
parameters that come from nls - no huge values, NAs or infinities for
the values of the independent variables. But nlrob fails immediately
(on the first pass) with the error message
> pxe2 <- nlrob(dpx ~ peFnc(tradeSide, tradeSz, tcScale, szScale,
alpha), data=fitData, start= pxe$m$getAllPars(), trace=TRUE);
robust iteration 1
2138.747 : 2.19 2.31 0.45
Error in numericDeriv(form[[3]], names(ind), env) :
<--------------------
Missing value or an infinity produced when evaluating the model
<-------------------
With debug(), I've traced the problem to...