Displaying 8 results from an estimated 8 matches similar to: "Consulta gráfica"
2003 May 22
1
[R ] Query : problems with the arithmetic operator "^" with function "lme"
Dear all,
I've got a problem in including square variables in lme function. I've
tried to work on Dialyzer data of Pinheiro and Bates'book.
We fit the heteroscedastic model with:
> data(Dialyzer)
> fm2Dial.lme<-lme(rate~(pressure+pressure^2+pressure^3+pressure^4)*QB,
+ Dialyzer,~pressure+pressure^2,weights=varPower(form=~pressure))
We Obtain
> fm2Dial.lme
Linear
2012 Jul 01
8
Regresión lineal múltiple: modelo polinómico de grado 3 superpuesto a componentes cosenoidales
Hola:
Tengo un modelo de regresión lineal en el cual las componentes son cosenoidales, y lo construyo del siguiente modo:
modelo = "y ~ I(t) + I(t^2) + I(t^3) + x1[, 1] + x2[, 1]"
x1[, 1] = cos(2 * pi * t / periods[1])
x2[, 1] = sin(2 * pi * t / periods[1])
for (i in 2:nComp) {
x1[, i] = cos(2 * pi * t / periods[i])
x2[, i] = sin(2 * pi * t / periods[i])
modelo =
2008 Jan 22
1
anova function to test the difference between two coefficients in nlme package
Dear Dr. Bates, and R-help,
I've tried the anova function to test the difference between two
coefficients, as shown on page 225 of your book "Mixed Effects Models
in S and S-Plus (Statistics and Computing)".
When I type: anova( fm2BW.lme, L = c(TimeDiet2 = 1, TimeDiet3 = -1) )
I got the following error message:
Error: unexpected '=' in "anova( fm2BW.lme, L =
2002 Feb 13
1
nlme package dependencies?
Dear R-help,
The following nlme example, from help(Variogram.gls), does not work on my
system.
> data(BodyWeight)
> fm1 <- gls(weight ~ Time * Diet, BodyWeight)
> Variogram(fm1, form = ~ Time | Rat)[1:10,]
Error in FUN(X[[1]], ...) : unused argument(s) (method ...)
It looks like I might not have loaded a necessary package. I did load nls
and lattice (the latter not actually being
2006 Jan 05
1
Problem with nlme version 3.1-68
Dear All:
I updated my R program as well as associated packages yesterday. Currently
my R version is 2.2.1 running under WINXP SP-2.
When I tried to list (summary) an nlme object that I developed before, I got
the following error message:
[ Error in .C("ARMA_constCoef", as.integer(attr(object, "p")),
as.integer(attr(object, :
C entry point "ARMA_constCoef"
2008 Jan 26
0
how to use anova() to test the sum of coefficients in nlme package
Dear R-help,
In nlme package, anova () can be used to test the difference between
two coefficients as shown on page 225
of "Mixed Effects Models in S and S-Plus":
anova(fm2BW.lme, L = c("Time:Diet2" = 1, "Time:Diet3" = -1))
Now my question is instead of test the difference between two
coefficients, can I use anova to test the significance of the sum of
two
2002 Nov 19
0
Help on variogram.gls (nlme package)
I am trying to use the nlme package in R following the book
"Mixed-Effects Models in S and S-Plus". I have the latest versions of R
(1.6.1) and nlme (3.1-33) for Windows (95 or later).
I had problems with the instruction Variogram using a gls class object
(Section 5.4, pg 261-262). Even when I use the scripts included in the
package, I get an error message and not the expected
2008 Jun 11
0
ARMA random effects?
Hi, All:
Is there a way to get random effects for ARMA parameters?
Consider the following example from the 'corARMA' help page:
fm1Ovar.lme <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time),
data = Ovary, random = pdDiag(~sin(2*pi*Time)))
fm5Ovar.lme <- update(fm1Ovar.lme,
corr = corARMA(p = 1, q = 1))
fm5Ovar.lme
Linear