I'm calculating some indexes in the STATA 12 and I'm putting together the schedule so that you can run without error, but in one of those steps I ran into the following error:
matrix operators that return matrices not allowed in this context
r (509);
The commands I'm using were:
gen KK1 = J1 * Z
I'm trying to generate a variable KK1, from the multiplication of another variable J1 and an matrix Z
To generate J1 I used:
gen J1=(1/5564)*QLa
list J1
What am I doing wrong?
Can someone help me?
matrix operators that return matrices not allowed in this context
r (509);
The commands I'm using were:
gen KK1 = J1 * Z
I'm trying to generate a variable KK1, from the multiplication of another variable J1 and an matrix Z
To generate J1 I used:
gen J1=(1/5564)*QLa
list J1
What am I doing wrong?
Can someone help me?
Comment