Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72787

Help to work with matrix in STATA 12

$
0
0
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?

Viewing all articles
Browse latest Browse all 72787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>