I am trying to calculate maximum likelihood estimates for the parameters of generalized gamma distribution, based on some data about the time spent in a hospital for those who have undergone surgery for 5 succesive days (data are not available for all 5 days since some have left for example the second day). Can anyone help me please?