

Variable format: Click on the variable name.Variable labels: Click on the variable name.Variable names can’t include a dash use an underscore instead. Stata is case sensitive: race is different from Race or RACE. Variable names must begin with a letter they can’t begin with a number. Variable names: Click on the variable name.The option clean leaves out table lines.list variablename1 variablename2 variablename3.Copy and paste from an Excel file: In Excel, highlight the cells you want then Edit menu –> Copy then in the Stata Data Editor, put the cursor in the upper-left cell and Edit menu –> Paste.Type it in manually: In a Stata data file, type the datum in the appropriate cell, then Enter.The extension for Stata data files is.


Or in Stata: click on the “Open” toolbar button (or File menu –> Open) and select the file. To get into an existing data file: Double-click on the file.To create a new data file: Click on the “Data Editor” toolbar button.To repeat an earlier command without having to retype it: Look at the list of your previous commands in the “History” window and click on the one you want then Enter.Type the command or paste it in then Enter.How to enter commands in the “Command” window While nearly everything in Stata can be done via the menus, you’re better off typing commands into a word processing file and saving them, then copying-and-pasting them into the Stata “Command” window. Use commands rather than point-and-click. Type set scheme s1mono, permanently then Enter. Double-click on the Stata icon or on a Stata dataset.Email: Put your Stata serial # in the subject line of the email.If you don’t know the command name, type lookup topic (e.g., lookup regression). Type help command (e.g., help regress) then Enter.
