1. A method for calculating a sample size for a clinical trial of a first treatment, comprising: reading a survival curve from a clinical trial for a second treatment; selecting a plurality of points on the survival curve; storing coordinates for each of the plurality of points; generating a hazard curve based on the coordinates that were stored; and calculating a sample size for the clinical trial of the first treatment using a Markov model based on the hazard curve.