search for: adjdf

Displaying 1 result from an estimated 1 matches for "adjdf".

Did you mean: addf
2004 May 27
1
Getting the same values of adjusted mean and standard errors as SAS
...Group = c("1NC","1NC", "2UCLP", "2UCLP", "3BCLP", "3BCLP", "4ICP", "4ICP", "5CLPP", "5CLPP")) mod <-lm(Measurement ~ Age + Gender + Group, data=dd) pred <- predict(mod, evalDF, se.fit = TRUE) adjDF <- data.frame(evalDF,fit = pred$fit, se = pred$se.fit) adjMeanMale <- mean(adjDF$fit[adjDF$Gender=="M"]); # match: 3.889965 cf 3.88996483 adjMeanFemale <- mean(adjDF$fit[adjDF$Gender=="F"]); # match: 3.91111 cf 3.91111036 # Try to get standard errors at the adjusted...