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: SPSS to STATA


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: SPSS to STATA
Date   Sat, 10 Sep 2011 00:53:45 +0100

<non plain text propaganda for sports team removed!>

In Stata 12,

. rename <varlist>, lower

works fine.

In Stata 8, 9, 10, 11 then as Alan recommends you could install
-renvars- from the SJ files and

. renvars <varlist>, lower

or you could call up -rename- within a -foreach- loop.

Nick

On Fri, Sep 9, 2011 at 5:28 PM, Alan Acock <[email protected]> wrote:
>
> If you are affiliated in any way with a university that has a Stata Grad plan, you can buy Stat Transfer at a greatly reduced price. Check out
> http://www.stata.com/order/schoollist.html
> When I started using Stata I contacted them because my campus was not part of the grad plan and they made it very simple to join this plan.
> If you are in SPSS and use 'save as' to save a file as a Stata dataset, you might want to check a couple things. The last time I did this, the file was stored inefficiently. You will want to run compress from within Stata. Also, a Stata convention is to keep all variables in lower case. You may want to take advantage of the user written command, renvars, to make all the variable lower case. Others may have observed other problems.
> --Alan
> Alan Acock
> [email protected]
>
>

*
*   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