search for: popage

Displaying 3 results from an estimated 3 matches for "popage".

Did you mean: poage
2013 Jan 03
1
Survey package help with svystandardize
...e Male 0.2277632725 0.2097154285 0.2468790907 Female Female 0.1486524831 0.1349832066 0.1634444481 ------------------------- R Code: sample.brfss <- svydesign(id=~brfss.2011$SEQNO, strata=~brfss.2011$ststr, weights=~brfss.2011$LLCPWT, data=brfss.2011, nest=T) popage <- c(0.128810, 0.182648, 0.219077, 0.299194, 0.170271) options("survey.lonely.psu"="adjust") testing_dataset <- subset(sample.brfss, (!is.na(agegr5) & !is.na(sex) & ! is.na(rfsmok))) stdes<-svystandardize(testing_dataset, by=~agegr5, over=~sex, population=popage...
2012 Aug 10
1
Direct Method Age-Adjustment to Complex Survey Data
Hi everyone, my apologies in advance if I'm overlooking something simple in this question. I am trying to use R's survey package to make a direct method age-adjustment to some complex survey data. I have played with postStratify, calibrate, rake, and simply multiplying the base weights by the correct proportions - nothing seems to hit the published numbers on the nose. I am trying to
2012 Apr 23
2
Problem extracting enough coefs from gam (mgcv package)
Dear useRs, I have used using the excellent mgcv package (version 1.7-12) to create a generalized additive model (gam) including random effects - represented with s(...,bs="re") - on the basis of dialect data. My model contains two random-effect factors (Word and Key - the latter representing a speaker) and I have added both random intercepts and various random slopes for these