search for: kid5

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

Did you mean: kid
2006 Jan 18
4
negative predicted values in poisson glm
Dear R helpers, running the following code of a glm model of the family poisson, gives predicted values < 0. Why? library(MASS) library(stats) library(mvtnorm) library(pscl) data(bioChemists) poisson_glm <- glm(art ~ fem + mar + kid5 + phd + ment, data = bioChemists, family = poisson) predicted.values = predict(poisson_glm) range(predicted.values) Thank you in advance for any hints. Best regards, P. Olsson [[alternative HTML version deleted]]
2012 Jun 23
0
Using at.level() with a MCMCglmm zero-inflated poisson model
...on examples that use the at.level(trait, x):variableName syntax. Specifically, the MCMCglmm course notes, available on the package's CRAN page, uses the following example on page 102: m5d.1 <- MCMCglmm(art ~ trait - 1 + at.level(trait, 1):fem + at.level(trait, 1):mar + at.level(trait, 1):kid5 + at.level(trait, 1):phd + at.level(trait, 1):ment, rcov = ~idh(trait):units, data = bioChemists, prior = prior.m5d.1, family = "zipoisson", verbose = FALSE) I have been unable to find an answer to the following questions and would appreciate any guidance: 1) Does at.level(trait, 1) i...