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]
st: New version of -xsvmat- on SSC
From
"Roger B. Newson" <[email protected]>
To
"[email protected]" <[email protected]>, Elizabeth A Barkowski <[email protected]>
Subject
st: New version of -xsvmat- on SSC
Date
Tue, 21 Feb 2012 11:21:35 +0000
Thanks as always to Kit Baum, a new version of the -xsvmat- package
(superseding last week's version) is now available for download from
SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you
already have an old version of -xsvmat-.
The -xsvmat- package is defined as below on my website, and is an
extended version of -svmat-. The new version adds 4 new options
-coleq(charname)-, -colnames(charname)-, -coleqnames(charname)- and
-collabels(charname)-, allowing the user to save, in variable
characteristics, the column equations, column names, column full mames,
and variable labels corresponding to column names, respectively, of the
matrix columns stored in the output variables. So, for instance, a user
might type
xsvmat covmat, rowlabel(rowid) collabel(varname) list(, abbr(32) subvarname)
and see the matrix -covmat- listed, with its rows and columns labelled
by the corresponding variable labels. The new version also fixes a bug,
which I discovered in the course of certifying the update, which caused
-xsvmat- very occasionally to drop the new variables created by the
-roweq(newvarname)-, -rownames(newvarname)-, -roweqnames(newvarname)-
and -rowlabels(newvarname)- options. I would like to thank Elizabeth
Barkowski of Texas University again for her earlier query, which helped
to set this wave of updates in motion.
Best wishes
Roger
--
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
---------------------------------------------------------------------------
package xsvmat from http://www.imperial.ac.uk/nhli/r.newson/stata10
---------------------------------------------------------------------------
TITLE
xsvmat: Convert a matrix to variables in an output dataset
DESCRIPTION/AUTHOR(S)
xsvmat is an extended version of svmat. It creates an output
dataset (or resultsset), with one observation per row of an
existing matrix, and data on the values of the column entries in
that row, and, optionally, extra variables specified by the user.
The output dataset created by xsvmat may be listed to the Stata
log, or saved to a disk file, or written to the memory (overwriting
any pre-existing dataset).
Author: Roger Newson
Distribution-Date: 16february2012
Stata-Version: 10
INSTALLATION FILES (click here to install)
xsvmat.ado
xsvmat.sthlp
---------------------------------------------------------------------------
(click here to return to the previous screen)
*
* 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/