Using a set-up file to read ASCII data into Stata

Similar documents
Using an ICPSR set-up file to create a SAS dataset

Lab - Configure Data Backup and Recovery in Windows 8

Picasa for Mac Users. 1. Go to Click Download Picasa for Mac (Beta) to download Picasa. 2. You will see this screen:

Introduction to Windows

Dell Canvas Layout. Version 1.0 User s Guide

Reading: Managing Files in Windows XP

Flwrap Users Manual Generated by Doxygen

1 - Download the VarAFT software. Go to click on the Download section

HOW TO USE THE EXPORT FEATURE IN LCL

Perkin-Elmer Lambda 3B Spectrophotometer

Creating a Do File in Stata

Atlantic Capital Exchange ACE Secure Browser MAC Quick Start Guide

Basic Windows 95 Skills

Microsoft FrontPage 2003 The Basics

2. This will bring you to a new window asking what type of policy you are inserting. Personal Policies. Commercial Policies. All Other Policies

Instructions for Migrating (importing) Data to CTAS 2018 (or later) from CTAS 7

Unit Microsoft Word. Microsoft Word is the word processor included in Office. Word is one of the most popular word processors.

Projecting The Digital Teacher s Edition in READ 180 Universal

Preparing Adobe Acrobat 8 for Deployment. Windows User Guide

Access PayrollSE v5.50a

Using Microsoft Word. Getting Started With Word. Starting the Program

GP2X USB Accelerometer Quick Start Guide

A+ Guide to Managing & Maintaining Your PC, 8th Edition. Chapter 3 Introducing Windows Operating Systems

Lesson 4 - Creating a Text Document Using WordPad

Module 2: Content Development Organize Course Materials

Conversion Software User Guide for

Starting Windows. Week 1, Module 2 Sunday, January 10 th 2010

GFEC Version 3.0 Installation Guide MATTHEW WARD SALVESON

CREATING A PROGRAM OF STUDY FOR DOCUSIGN Create a Program of Study for DocuSign (GPC use only)

FLWRAP Users Manual 1.3. Generated by Doxygen Wed Jun :40:27

Excel window. This will open the Tools menu. Select. from this list, Figure 3. This will launch a window that

Table of Contents WINDOWS 95

Acer enet Management. Using Acer enet Management

1/29/2019. Storage Media. Storage Media

GUIDE TO REFWORKS SKILLS FOR LEARNING

METS methane sensor SOFTWARE MANUAL UNDERWATER SENSORS FOR DISSOLVED GASES

WebSphere Transformation Extender LAB 7

Boxoft PDF Split works with password-protected pdf files, and can apply various pdf security features to the split output files.

How to Download and Install R The R software can be downloaded from: Click on download R link.

2a. Widgets-Basics 10/30/06 4:05 PM

Importing a Table into Excel

Pursuit 7 for Windows

Closing Credits. Tutorial 1

The QuickCalc BASIC User Interface

COGNOS User-Defined Prompts and Maps User Guide

COMPUTER SKILLS LECTURE 07

About Boxoft All to AMR Converter

Chapter 2: Working with the Windows 7 Desktop

Don t jump ahead, there is more you need to do first in order for this to work properly.

INTERNET ORDERING YOU ARE NOW READY TO START YOUR ORDER SETTING UP YOUR COMPUTER IT S AS EASY AS NOTE: WHEN LOADING

To complete this project, you will need the following folder:

UNIVERSITY OF NORTH TEXAS DEPARTMENT OF LEARNING TECHNOLOGIES SPRING

1. A folder inside a folder is called. a) Mini Directory b) Sub Directory c) Root Folder d) Child Folder e) None of these

Introduction to Stata Toy Program #1 Basic Descriptives

From using an External Harddrive, to a Google Cloud Drive; there is no one way to backup data.

PowerPoint X. 1. The Project Gallery window with the PowerPoint presentation icon already selected. 2. Click on OK.

Computer & Windows Explorer

Using Media with 10.1

PREFERRED TRANSCRIPT STYLE

HOW TO DOWNLOAD BLOOMBERG DATA INTO EXCEL

Windows Me Navigating

2 The Stata user interface

Lesson 3 Saving, Folders, Documents and Files

ECONOMICS 351* -- Stata 10 Tutorial 1. Stata 10 Tutorial 1

Q. I see some word in a program [Notepad, Wordpad, MS Word, FireFox, Opera, Google Chrome,...] and want to find in dictionary. What should I do?

Introduction to Stata First Session. I- Launching and Exiting Stata Launching Stata Exiting Stata..

Citrix Desktop for Home Computers Mac OS Instructions

For this option, you need a flash drive or CD (CD-R or CD-RW). NOTE: If you use a CD-R, be careful not to close the session.

Faculty Tutorial: Export/Import a Test

How to SFTP to nice.fas.harvard.edu from Windows

Chapter 3. Shortcuts

Address Bar. Application. The space provided on a web browser that shows the addresses of websites.

Introduction to Stata: An In-class Tutorial

Accessing Web Version of Life Illustrator

My Digital Downloader Instruction Guide *WINDOWS*

E-Advisor - Vet Messaging

Introduction This document will explain how to use the quick and advanced search functions in Document Locator.

PowerPoint Launching PowerPointX

My Digital Downloader Instruction Guide *MAC*

The Start menu. Computer & Windows Explorer 1/28/2015. New streamlined design. No more My. Recently programs now sport Jump Lists

Nextiva Drive The Setup Process Mobility & Storage Option

A Hands-on Experience with Arc/Info 8 Desktop

CCIS 2.7 Troubleshooting

WORKING WITH YOUR PORTFOLIO

GOLASSO GOLF SYSTEMS SCREEN SHOT GUIDE THE EXPORT UTILITY

Computer Skills: Files and Folders Tutorial

Step 4 Part F - How to Download a Video on YouTube and Delete a Video

Getting Started with Energia for MSP432 LaunchPad

Project Example Using LookoutDirect as an OPC Client

EZ-Snapshot for Windows NT, 2000 & XP

Q:-1: A file deleted from disk drive A: in windows goes to

Chapter. Accessing Files and Folders MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER

Market Insight How to Import Data (Virtual Variable)

Ript User Guide (v )

INDEX. WebDAV...Page - 1 Web address...page - 2 WebDAV for Windows...Page - 3 Goliath for Macintosh...Page - 7

1. Adjusting Your Work Area

IRIS Hosted Systems Apple Mac Installation Guide

JNIOR. A Network I/O Resource Utilizing the JAVA Platform. JNIOR Support Tool Manual. Release 6.0

Let s begin by naming the first folder you create Pictures.

Quickest way to transfer names & addresses into your Address Book

Transcription:

Using a set-up file to read ASCII data into Stata The download file is saved to the desktop. The first step is to remove the files from the zip folder that are needed to read in the data. Double-click on the icon to open the folder. Look for the file that ends with.do. This is the set-up file. The other two files that are needed are the data.txt file, and the dictionary file, which ends with set-up.dct. Simply drag and drop these files to the desktop. When using a study with multiple dataset, be sure to use the Set-up, Data, and Dictionary files that have the same dataset number. The next step is to modify the Set-up file. To open the Stata set-up file, right-click on the icon and select the OPEN WITH option and select WordPad. Or launch WordPad from the Start menu and point to this file on the desktop. The first line in this file is the set mem command. This line tells Stata how much available RAM to use running this file. A large dataset may require that the default,6 mg, be increased. When using INTERCOOL version, the study size should be checked. Some ICPSR studies are very large and may not run with this version.

To display the box, put the cursor on the icon and right-click. Go to Properties. And left-click. Set the box next to WordPad. Look for the section that begins with Local raw_data DATA-FILENAME Each line in this section must have the place-holder, seen here with quotation marks, replaced with the location of the actual files. Edit DATA-FILENAME by replacing it with information from the Data file s Properties Box. Highlight only DATA-FILENAME. Click on the Properties Box and go to the line, Location. Select the text and copy it. Click on WordPad and, as DATA-FILENAME is already highlighted, paste over it. Then, add a backslash.

Now, we need to add the filename. Go back to the Properties Box. At the top, find the notepad icon. The name of the file is next to the icon. Select and copy the filename. Click on WordPad. As the cursor is still in the line being edited, we can paste it right in. Close the Data.txt file s Properties Box. Make the same change to the next line. This time, edit DICTIONARY- FILENAME, with information from the Dictionary file s Property Box. Highlight only DICTIONARY-FILENAME. To display the Dictionary file s Property Box, put the cursor on the icon and right-click. Go to Properties. And left-click. Set the box next to WordPad.

Click on the Properties Box and go to the line, Location. Select the text and copy it. Click on WordPad and, as DICTIONARY-FILE- NAME is already highlighted, paste over it. Then, add a backslash. Next, add the filename. Go back to the Properties Box. At the top, find the notepad icon. The file name is next to the icon. Select and copy the filename. Click on WordPad. As we left the cursor in the line that we are editing, we can paste it right in. The Location line from this Property Box is needed. So, leave the box open, for now.

The last line to edit is STATA-DATAFILE. The new name and location of this file need to be specified. Save it to the desktop, and name the file icpsr2167. Highlight only STATA-DATAFILE. The Properties Box for the Dictionary file is still open, so that the desktop path can be copied. Copy the Location line, that points to the desktop, and paste it over the highlighted STATA-DATAFILE. Then add a backslash. Then, name the file in a descriptive manner, icpsr 2167.

Finally, save the set-up file. Name it EDITED2167. setup.do and save it to the desktop. With all of the paths defined and the output file specified, this file is ready to run. From the Start menu, launch Stata. Go to File, then, DO, switch to Desktop view and select the file, EDITED2167.setup.do. 6

When the program indicates that the requested process has been executed, the file is ready to be used. To open the file next time, launch Stata from the start menu. The commnand line for opening the file is: use FILE-NAME clear. When data loads, the variable list will be visible, and the current status will be in the Results window. 7