Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Multiplying elements

From   Marie-Eve St-Onge <>
To   "" <>
Subject   st: Multiplying elements
Date   Sat, 8 Feb 2014 13:29:52 -0300

Dear all,

I wonder if someone can give me tips on how to write a Stata program to multiply one element by other selected elements in the same row, say element E[1,1] by elements A[1,1] B[1,1] C[1,1], and (1 -A[1,1] -B[1,1] -C[1,1]), then divide each result by /100+1. Additionally, this must go through row by row until the end of the matrix.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index