The link given to the %COMBCHI macro is not being updated and still points to v1.0. There is an amended formula in version 2.1 of Dr. Paul Allison's %COMBCHI macro from 2007 linked from the "Resources" section of his bio at https://statisticalhorizons.com/our-instructors/paul-allison/
... View more