Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: new variable column


From   Roger Newson <r.newson@imperial.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: new variable column
Date   Tue, 13 Sep 2011 18:40:59 +0100

See help for -order- to find out about reordering variables in Stata datasets.

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: r.newson@imperial.ac.uk
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.

On 13/09/2011 18:38, Adler Scott A. wrote:
In stata12, is there way to add a variable column in between already existing variable columns, rather than just at the end of the dataset?  Or, alternatively, creating a new variable at the end of the dataset and then moving it to location within the dataset where you want it?

Scott

<><><><><><><><><><><><><><><><><><><><><><><>
  Scott A. Adler, Ph.D.
  Associate Professor
  Coordinator, Developmental Graduate Program
  Center for Vision Research
  Department of Psychology
  Visual and Cognitive Development Project
  Sherman Health Science Research Centre
  Room 1006E
  York University
  281 Ian Macdonald Blvd.
  Toronto, Ontario M3J 1P3
  Canada

  Office: 416-736-2100, ext.33389
  Lab: 416-736-2100, ext. 20036
  Fax: 416-736-5772
  Email: adler@yorku.ca
  Website: http://babylab.cvr.yorku.ca/

  "A path diverged in the woods,
  and I took the one less traveled"
  -- Robert Frost
<><><><><><><><><><><><><><><><><><><><><><><>













*
*   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/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index