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
estat vif after reghdfeHi, In a regression I'm running using reghdfe with two way fixed effects and two way clustering, on…
Command subinstr doesn't work to remove space in number stringHi Statalist, I have this data set: Code: * Example generated by -dataex-. To install: ssc install…
Recover population size by groupHi, I am trying to construct a "population" variable from household survey data. Data is collected …
Prefix ‘by’ when running post-estimation statistics for a PCAHi I have a question regarding the use of the prefix ‘by’ when running post-estimation statistics fo…
🐛 Stata inserts ESC as a character into inputI've been looking for a way to reproduce this since about the times of Stata 10, and finally today f…
Subscribe to:
Post Comments (Atom)
0 Response to help on stacking matrices
Post a Comment