code for spsurveyVignette_FiniteDesign.pdf