Dear all,
A simple code:
for (x = 1; x <= 5; x++) {
m_x = x
}
doesn't create five variables (m_1...m_5), as I expected, but rather creates one variable m_x.
Anyone has any idea about how to make Mata generate these 5 variables in a loop? Would be much appreciated.
Dmitry
A simple code:
for (x = 1; x <= 5; x++) {
m_x = x
}
doesn't create five variables (m_1...m_5), as I expected, but rather creates one variable m_x.
Anyone has any idea about how to make Mata generate these 5 variables in a loop? Would be much appreciated.
Dmitry
Comment