search for: random_effect

Displaying 2 results from an estimated 2 matches for "random_effect".

Did you mean: random_effects
2012 Nov 07
2
LMER vs PROC MIXED estimates
...estimates are coming different. My SAS code is as follows (trying to randomise X2 and Intercept): PROC MIXED DATA = <DATASET NAME> NAMELEN=100 METHOD=REML MAXITER=1000; CLASS GEOGRAPHY; MODEL y = X1 X2 X3/SOLUTION; RANDOM INTERCEPT X2/SOLUTION SUBJECT = GEOGRAPHY; ODS OUTPUT SOLUTIONR=RANDOM_EFFECT; ODS OUTPUT SOLUTIONF= FIXED_EFFECT; RUN; the equivalent code that I was writting in R is as follows: testdata <- read.csv("adstest.csv",header=TRUE,sep=",") attach(testdata) library(lme4) options(contrasts = c(factor = "contr.SAS",ordered = "contr.poly...
2006 Jul 24
3
standardized random effects with ranef.lme()
Using ranef() (package nlme, version 3.1-75) with an 'lme' object I can obtain random effects for intercept and slope of a certain level (say: 1) - this corresponds to (say level 1) "residuals" in MLWin. Maybe I'm mistaken here, but the results are identical. However, if I try to get the standardized random effects adding the paramter "standard=T" to the