econometrics.it

Federico Belotti's niche on the web

This is a simple Mata function written together with my PhD colleague Silvio Daidone. It perform the running product of a vector. DOWNLOAD

HTH,

Federico

This is a simple Mata function written together with my PhD mate 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:

  1. Make a copy of the function_name.mata file in your personal ADO directory;
  2. Compile the updated source code:
  3. do 'your PERSONAL dir path'/function_name.mata

  4. Save the compiled source in a .mo file in your personal directory:
  5. mata: mata mosave function_name(), dir(PERSONAL)

  6. The function is actually part of your official Mata.


HTH,

Federico

Powered by WordPress © 2005 - 2019 econometrics.it © Web Design by myself using Arjuna-x theme (by SRS Solutions)