use sample weights for XV