search for: listt

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

Did you mean: list
2009 Oct 09
1
svy / weighted regression
...ust # loading survey library(survey) # creating data listc <- c("Denmark","Finland","Norway","Sweden","Denmark","Finland","Norway","Sweden") listw <- c(1,2,1,1,1,1,1,1) listd <- c(0,0,0,0,1000,1000,1000,2000) listt <- c(750000,500000,900000,1900000,5000,5000,5000,10000) list.cwdt <- c(listc, listw, listd, listt) country <- data.frame(country=listc,weight=listw,deaths=listd,yrs_at_risk=listt) # running a frequency weighted regression to get the correct point estimates for comparison glm <- glm(dea...