MATLAB Code for Effect of Age and Morphology on Live Birth Rate After Cleavage Stage Embryo Transfer
The MATLAB program solve_morphology3.m takes in embryo transfer information including age at oocyte retrieval, number of embryos of each embryo quality grouping, and number of live births that resulted. The program uses linear algebra to solve for the best fit live birth rates for embryos in each quality group and age using moving centered age groups centered on the age of interest. The analysis is performed for moving centered age groups of 1, 3, 5, 7, and 9 years. The program can analyze any number of embryo quality groupings (such as good/fair/poor or excellent/good/fair/poor or others). A description of the program including required inputs and outputs is included in the comments section at the beginning of the code.