DTDJ_Show_Models.m uses a function called sd2k() that is not a part of the stats or econometrics toolboxes. Googling the function pulls up this code from a JOV mixture modelling paper (http://www.paulbays.com/code/JV10/). The topic is relevant, so this is likely to be the source. The alternative is that Pat wrote his own functions.
DTDJ_Show_Models.m uses a function called sd2k() that is not a part of the stats or econometrics toolboxes. Googling the function pulls up this code from a JOV mixture modelling paper (http://www.paulbays.com/code/JV10/). The topic is relevant, so this is likely to be the source. The alternative is that Pat wrote his own functions.