Displaying 4 results from an estimated 4 matches for "multdv".
Did you mean:
mult
2010 Jan 18
1
a question about "multilevel"model
Hello all:
I've read the document named "A Brief Introduction to R, the multilevel package and the nlme package".
At p68, one can transform the dataset to the required format by using "make.univ".
I wanna know,how the new variable "MULTDV" is calculated(can you show me the formula if possible please?)?And what's the usage of this new variable in the following analysis?
Thanks a lot!
My best.
[[alternative HTML version deleted]]
2008 Oct 03
1
question on xyplot
...from help:
library(multilevel)
data(univbct) #a data set already in univariate or stacked form for job satisfaction
TEMP<-univbct[3*1:495,c(22,1:17)] #converting it back to multivariate form
TEMP2<-make.univ(x=TEMP,dvs=TEMP[,c(10,13,16)]) #transforming it to univariate form again
xyplot(MULTDV~TIME|as.factor(SUBNUM),data=TEMP2,type=c("p","r","g"),col="blue",col.line="black",xlab="Time",ylab="SAT") # taken from Bliese Paul ? Multilevel Modeling in R
Now I want to be able to identify those SUBNUM that have a downwards t...
2003 Feb 28
2
lattice and fitted function error
Platform: WIN2000
Version of R: 1.6.2
I'm interested in plotting fitted values in a trellis xyplot. I believe the
following should work; however, I only get the points (not the fitted
lines).
library(lattice)
trellis.device(bg="white")
xyplot(MULTDV~TIME|SUBNUM,data=TEMP,
panel=function(x,y){
panel.xyplot(x,y)
lines(x,fitted(lm(y~poly(x,1),na.action=na.omit)))
lines(x,fitted(lm(y~poly(x,2),na.action=na.omit)),lty=3)},
xlab="Time",
ylab="Average Reaction Time")
Happy to send the very small TEMP file for the curious......
2008 Oct 06
1
question on lmList
Hi list,
Using the lmList function from ?nlme package? I get the following error message:
?Error in !unlist(lapply(sum.lst, is.null)) : invalid argument type?
# this is the syntax used
# fm_cream <-lmList(MULTDV~TIME|cod, data=zz, na.action=na.omit)
# summary(fm_cream)
When I generate a simple example the function works, but on the real data I get that message. I imagine that it is a common message when data is misused, but I don?t know where the problem could be. Has anyone encountered this message and...