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

st: Filling a matrix


From   Graeme Inglis <[email protected]>
To   "Stata List (E-mail)" <[email protected]>
Subject   st: Filling a matrix
Date   Tue, 15 Apr 2003 16:56:39 +1000

Hi
I have a 1500x1 matrix and want to create a 1500 x 50 matrix where the 50
columns are identical and a repeat of col 1.
Later I want to create another matrix of duplicated rows.
I can't find the Stata command to do these manipulations. Can someone advise
me please?
I am using Stata7
Thankyou for any assistance

Graeme Inglis.
Research Officer.
Cancer Control Research Institute.
Centre for Behavioural Research in Cancer.
The Cancer Council of Victoria.
Telephone: 61(0)3 9635 5203.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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