I did not use the PISA data, I used the svprepdesign method last year using a microsphere for public use from the American Community Survey (US Census Bureau), which also came with 80 repetitive weights. They claim that they use the Fay method for this particular survey, so here you can build the svyrep object using this data:
pums_p.rep<-svrepdesign(variables=pums_p[,2:7], repweights=pums_p[8:87], weights=pums_p[,1],combined.weights=TRUE, type="Fay",rho=(1-1/sqrt(4)),scale=1,rscales=1) attach(pums_p.rep) #CROSS - TABS #unweighted xtabs(~ is5to17youth + withinAMILimit) table(is5to17youth + withinAMILimit) #weighted, mean income by sex by race for select age groups svyby(~PINCP,~RAC1P+SEX,subset( pums_p.rep,AGEP > 25 & AGEP <35),na.rm = TRUE,svymean,vartype="se","cv")
To make this work, I found an article article from A. Damico: Damico, A. (2009). Transitioning to R: Replicating SAS, Stata, and SUDAAN Analysis Techniques in Health Policy Data. The R Journal, 1(2), 37–44. Damico, A. (2009). Transitioning to R: Replicating SAS, Stata, and SUDAAN Analysis Techniques in Health Policy Data. The R Journal, 1(2), 37–44.
source share