search for: meanagem

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

Did you mean: meanage
2004 May 27
1
Getting the same values of adjusted mean and standard errors as SAS
...for Gender using values from predict. So I attempted to get them directly from the residuals as follows. The data is at the end of the email. While there is a match for the males there is a large difference for the females indicating that what I am doing is wrong. # meanAge <- mean(dd$Age) meanAgeM <- mean(dd$Age[d$Gender=="M"]) meanAgeF <- mean(dd$Age[d$Gender=="F"]) # determine adjusted means for the males and females at meanAge using predict # set up data frame to get predicted values at meanAge evalDF <- data.frame(Age = meanAge, Gender = c("F",&q...