Displaying 4 results from an estimated 4 matches for "facotres".
Did you mean:
facetre
2012 May 04
1
necesito ayuda para realizar contrastes
Hola a todos,
Ajusté un modelo lineal mixto en el cual tengo una interacción significativa entre dos facotres, cada uno con 3 niveles (osea un diseño 3x3). Esta es la tabla de medias
P1 P 2 P3
M1 220.66 311.85 260.80
M2 348.57 89.33 191.71
M3 103.57 381.37 511.62
Con el fin de interpretar correctamente el sig...
2003 Aug 23
1
explanation of lm's coefficients
I don't understand the coefficients returned from the lm function. I
expected these to be the mean values for each factor in the model. Given
this data and model:
data<-c(rnorm(10,mean=0,sd=1),rnorm(10,mean=1,sd=1),rnorm(10,mean=-.5,sd=1))
ftr<-as.factor(rep(1:3,each=10))
fit<-lm(data ~ ftr)
the mean values of the three facotrs from the data:
c(mean(data[1:10]),
2012 Jul 08
1
Grouped regression
Hi,
I am a very occasional user of R, and will be grateful for some help in
constructing a regression across groups.
Here is an example:
library(MASS)
attach(cats)
Sex[120:144]<-factor(TG) #Renaming some males to transgender, to create 3
groups, male, female and transgender
out<-lm(Bwt~Sex/Hwt) #Gives me 3 separate linear regressions for groups M,
F and TG
What I now want to do
2012 Mar 05
1
index instead of loop?
Hello,
Does anyone know of a way I can speed this up? Basically I'm attempting to
get the data item on the same row as the report date for each report date
available. In reality, I have over 11k of columns, not just A, B, C, D and
I have to do that over 100 times. My solution is slow, but it works. The
loop is slow because of merge.
# create sample data
z.dates =