Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: matrix accum

From   "Maureen Paul" <>
To   <>
Subject   st: matrix accum
Date   Wed, 23 Oct 2002 14:43:47 +0100

I am using the -matrix accum-command to programme some matrices. I am not altogether confident with what I am doing. Here is what I would like to achieve and what I am doing:

I want to programme the calculation of 1/3 SUM(xi)(i=1,..N)SUM(GijHij)(j=1,...,Y). Note, x=variable list. What I have done is to first calculate the SUM(GijHij)(j=1,...,Y), call the result, say GH. Then I use the following

matrix accum XGH= 1/3 varlist GH

So my question is, is this correct?


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index