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" <>
To   "StataList" <>
Subject   st: Create submatrix from estimates
Date   Sat, 14 Oct 2006 11:00:17 -0400


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,

* For searches and help try:

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