Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Create submatrix from estimates


From   "Tonya Marie Cropper" <tonya_cropper@ksgphd.harvard.edu>
To   "StataList" <statalist-digest@hsphsun2.harvard.edu>
Subject   st: Create submatrix from estimates
Date   Sat, 14 Oct 2006 11:00:17 -0400

Hello,

I am using Stata 8.2 and I am having difficulties creating 2 submatrices from a mlogit equation estimates.

I want to define a separate matrix for each of the two outcomes (col names are "1:" and "2:"). For instance I defined:

matrix A = e(b) ** where e(b) is a coefficients matrix of size [1,20]

But, I want matrix A1 = the first 10 columns of e(b) and matrix A2 = the last 10 columns. I tried subscriptions notations, but I keep getting errors. I'd appreciate any assistance.

Thank you,

Tonya
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index