Threshold resummation in SCET vs. perturbative QCD: an analytic comparison