I was experimenting with different uses of pointers. Turns out that in a larger dataset, pointer might conserve memory and hence offer some speed advantage. Those interested might find this code interesting. https://fintechprofessor.com/2021/12...in-mata-stata/
Related Posts with Speed comparison: Passing data vector by name vs pointers in Mata | Stata
How to Drop Duplicate ID Observations if There are Multiple Conditions I Want to ApplyHello Everyone, I hope that you could help me with the below. I have a cross-sectional dataset of …
graph with many linesDear All, Suppose that I have the following data Code: * Example generated by -dataex-. To install:…
Neumark or Oaxaca-RansomQuick question regarding decomposition methods and the use of omega with the Oaxaca command. https:…
Merge 1:1 problemHi, I am trying to merge two excel datasets which have unemployment and education data at the US co…
Loop and Append .dta filesHello All, I am trying to import d.ta file and append them, what is wrong with this code? For some …
Subscribe to:
Post Comments (Atom)
0 Response to Speed comparison: Passing data vector by name vs pointers in Mata | Stata
Post a Comment