Bookmark and Share

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


[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 <[email protected]>
To   [email protected]
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,  <[email protected]> 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:

http://www.stata.com/statalist/archive/2010-09/msg00807.html

or the example in the vol 25 number 3 of The Stata News (
http://www.stata.com/news/statanews.25.3.pdf ) would be useful.

Scott
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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