buildmodelmatrix function

Build the model matrix based on particular data, as required to check for identifiability and existence of the maximum likelihood estimate