Hi All,
I am new to the Mata programming and currently trying to convert some codes from Matlab to Stata using Mata. I am sorry if my question seems rather straightforward.
I would need to create functions that can be ran individually. Should I use ado files or do-files to create the functions?
Also, when I tried to run a do-file with Mata, it seems that the program cannot be ran automatically by hitting the Execute button. Does that mean I shouldn't add the command "Mata" and "end" to the do-file?
Thank you in advance!
Related Posts with Create Functions using Mata
Tow stage Least Square (2SLS) estimation - dynamic panel modelsHi experts and researchers, I have four models ( dynamic panel models ) : 1- linear model GDP = β…
Invalid nameHello everyone, I would like to kindly ask the community for a help. I use STATA 16, Windows 10. Whe…
Suppressing the iterlog with mlogit for Stata 14Hello, I was looking to suppress the iterlog when running mlogit. I'm aware of set iterlog, but ran…
Problem with IRT 2PL ConvergenceDear Sir/Madam, I have gone through the previous two post on IRT 2PL methods and am facing the same …
Exporting table into LatexI am trying to produce the share of police stops per NYC borough in a table, then export it from Sta…
Subscribe to:
Post Comments (Atom)
0 Response to Create Functions using Mata
Post a Comment