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]

Re: st: -svmat- with matrix colnames based on factor variable names?

From   Scott Merryman <>
Subject   Re: st: -svmat- with matrix colnames based on factor variable names?
Date   Fri, 11 Feb 2011 13:02:58 -0600

On Fri, Feb 11, 2011 at 11:22 AM,  <> wrote:
> I'm having difficulty using a list of factor variable names to construct
> the column names of a matrix post-estimation.
> This arises when using -margins, over(.)- with multiple -at(.)- options.
> I want to collect to collect all the estimates in a matrix with one row
> per at/over combination, with additional columns also containing values
> for the at values chosen. To keep track, I want the column names for the
> additional at columns to contain names that identify the factor
> variables.
> Overall aim: once I have created the summary matrix , I want to convert
> each of the columns to a variable, with all the at variables -- together
> with other variables containing estimates and SE -- to be saved to a
> separate mini-dataset, and used for graphing or table processing.

Perhaps the thread  "Graphic displays or results from margins" at:

or the example in the vol 25 number 3 of The Stata News ( ) would be useful.

*   For searches and help try:

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