Changeset - 32990bba4df7
[Not reviewed]
0 1 0
Hannes Muehleisen - 9 years ago 2015-06-24 16:30:30
hannes@muehleisen.org
mc2
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
survey.R
Show inline comments
 
@@ -110,22 +110,22 @@ for (s in c("alabama", "california", "acs3yr" )) {
 
  print("loaded")
 
  svydsgn <- svrepdesign(
 
      weight = ~pwgtp ,
 
      repweights = 'pwgtp[1-9]' ,
 
      scale = 4 / 80 ,
 
      rscales = rep( 1 , 80 ) ,
 
      mse = TRUE ,
 
      data = svydata) 
 
  print("initialized")
 
  for (r in 1:5) {
 
    timing <- system.time({
 
      agep <- svymean(~agep, svydsgn, se=TRUE)
 
      relp <- svymean(~relp, svydsgn, se=TRUE)
 
      relp <- svymean(~adjinc, svydsgn, se=TRUE)
 
      print(agep)
 
      print(relp)
 
    })[[3]]
 

	
 
    log.result("survey", sys, conf, s, r, timing)
 
    clearResultRecycler()
 
  }
 
}
 

	
0 comments (0 inline, 0 general)