This is a Mata function written together with my PhD colleague Silvio Daidone. It perform the running product of a vector. DOWNLOAD
HTH,
Federico
This is a Mata function written together with my PhD colleague Silvio Daidone. It perform the running product of a vector. DOWNLOAD
HTH,
Federico
This is a Mata function written together with my PhD colleague Giuseppe Ilardi. It is exactly the Mata equivalent of the R function rtnorm() allowing random generation for the truncated Normal distribution with mean equal to m and standard deviation equal to s (before truncation), and truncated on the interval [lower, upper]. DOWNLOAD
HTH,
Federico
The following image describes more or less as my ambitions have evolved over the past 3 years!

Yet, I persist in living in Italy. I’m in the “Get a job” stage … At what stage are you??
Federico
This post just to explain how to install a user written mata function.
You have to follow a very simple procedure:
do 'your PERSONAL dir path'/function_name.mata
mata: mata mosave function_name(), dir(PERSONAL)
HTH,
Federico