search for: yprisx

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

Did you mean: prism
2003 Oct 24
2
predict for a model with a subset
Hello running R 1.7.1 on Windows 2000 I have a model notmar1 <- glm(yprisx~age+harddrug+sex, subset = marcom == 0, family = quasipoisson) and summary(notmar1) gives (as it should) 433 df for the null model but when I run predict(notmar1 <- glm(yprisx~age+harddrug+sex, subset = marcom == 0, family = quasipoisson)) I get preditions for 528 people (the full data set,...
2003 Jul 15
1
Tree question
...dependent variable. e.g. Breiman Olshen et al. Classification and Regression Trees state "In a standard data structure [a tree] is invariant under all monotone transformations of individual ordered varaibles" (p. 57) However, I get very different results from tr.hh.pri <- rpart((log(YPRISX+1)~AGE+DRUGUSEY+SEX+OBSXNUM)) and tr.hh.pri <- rpart(YPRISX~AGE+DRUGUSEY+SEX+OBSXNUM) the former gives more splits and different splits. Some notes: The DV is a count variable, and highly skew, with some 0s, many 1s, and a long right tail out to 99. AGE ranges from 18-25 DRUGUSEY is ordered...