UCLA Academic Technology Services HomeServicesClassesContactJobs
Help the Stat Consulting Group by giving a gift             
Loading

MLwiN FAQ
How do I rename a variable?


From Names Window

Let's say that we have entered some data manually below and we want to rename the variables.

Select Names from Data Manipulation menu, click on variable c1 and type "id" in the text input field, then press the Enter key. This will change the name of the variable to id.


From Calculate Window

Select Calculate from Data Manipulation menu. Click on the variable that you want to rename.

Then use Ctrl-N. A small window shown below will appear. You can now type a new name for the variable and click on Rename. That is all.


From Command Interface Window

Select Command interface from Data Manipulation menu. If we want to change the name of  column 1 variable to newid, we can issue the following command and hit Enter key after. This will change the name of column 1 variable from its old name to newid

name c1 "newid"


How to cite this page

Report an error on this page or leave a comment

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.