Thanks to all for giving answer. However, I have already got my answer from other source. It will be easy if one first install cusum6 in his STATA. Simply write the command in STATA:
I have to see after how many procedures my yield has increased using cusum analysis. I have XLstat in excell but i dont know how to enter the data. I have coded the yield 0 as failure and 1 as success. I have the results as per date and year. How can i analyse my data