Test of periodicity using response surface regression