Hi, Stata gurus,
this seems to be easy, once with right Mata commands.
I have N matrices, same number of columns, but different number of rows. They are named matrix1 .. matrixN.
I would like to stack them all, dropping the original ones, using a loop.
Any clue ? thanks, in advance.
Related Posts with help on stacking matrices
How to delete the spaces in the string? Code: * Example generated by -dataex-. For more info, type help dataex clear input str7 code " …
Dealing with Missing ValuesGreetings Everyone! Hopefully, you will be doing well. I have a problem with missing values. I have…
xtreg fixed effect and estimate using wlsDear Statalist, Following is the code for firm and year fixed effect using xtreg [CODE] xtset comp…
Identifying how many times Distinct Observations occur within another variable.Hi, I am using panel data from 2008-2019 and I am trying to identify the number of participants who…
Difference-in-differences without baseline (only midline and endline)Dear all, good morning, I am currently dealing with some data issue for an impact evaluation I have …
Subscribe to:
Post Comments (Atom)
0 Response to help on stacking matrices
Post a Comment