A two stage modeling approach for chronic migraine data