Using Wharton's FDIC Research Database



Similar documents
UNIX Operating Environment

Moving Files from TSO to a PC

When to Move a SAS File between Hosts

Preparing your data for analysis using SAS. Landon Sego 24 April 2003 Department of Statistics UW-Madison

Valuation of the Minimum Guaranteed Return Embedded in Life Insurance Products

Transferring vs. Transporting Between SAS Operating Environments Mimi Lou, Medical College of Georgia, Augusta, GA

Synergy Controller Application Note 4 March 2012, Revision F Tidal Engineering Corporation Synergy Controller Bar Code Reader Applications

FDRSOS (Safeguard Open Storage)

Tips and Techniques For Moving Between Operating Environments

Linux System Administration

How To Transfer Your Mainframe SAS (R) Dataset Into Your Lotus 123 (R) Spreadsheet or dbase III (R) Databaste; Det1ef Dewitz, idv GmbH Bonn

CHAPTER 1 Overview of SAS/ACCESS Interface to Relational Databases

THE POWER OF PROC FORMAT

PC/SAS Archive and Restore System

Effective Use of SAS/CONNECT ~ Cheryl Garner SAS Institute Inc., Cary, NC

Product Brief: XenData X2500 LTO-6 Digital Video Archive System

Using PC-SAS with WRDS. Sun Li Centre for Academic Computing

A SAS Based Correspondence Management System Bernd E. Imken, Patented Medicine Prices Review Board, Ottawa, Canada

DBF Chapter. Note to UNIX and OS/390 Users. Import/Export Facility CHAPTER 7

SSN validation Virtually at no cost Milorad Stojanovic RTI International Education Surveys Division RTP, North Carolina

MDL 100S Product Description

MICR Laser Printed Checks for Payroll PR-1034

Top 10 Things to Know about WRDS

SAS Views The Best of Both Worlds

ABSTRACT THE ISSUE AT HAND THE RECIPE FOR BUILDING THE SYSTEM THE TEAM REQUIREMENTS. Paper DM

You have got SASMAIL!

From the Ridiculous to the Sublime: Getting Files from There to Here

VERITAS NetBackup 6.0 Encryption

SUGI 29 Applications Development

It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.

Introduction to SAS on Windows

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

We begin by defining a few user-supplied parameters, to make the code transferable between various projects.

Data Presentation. Paper Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs

SAS Scalable Performance Data Server 5.1

CA MICS Resource Management r12.7

Get in Control! Configuration Management for SAS Projects John Quarantillo, Westat, Rockville, MD

Master Your Domain: Automated Software Distribution In A Client/Server Environment Jeff Lessenberry, Jeff Lessenberry Consulting Group

Software Installation Guide. HP Software CD-ROM for DOS, Windows, Windows95, and WindowsNT. B January,

Analyzing the Server Log

9.1 SAS/ACCESS. Interface to SAP BW. User s Guide

Accounts Payable Invoice Data Import AP-1012

SAS Drug Development Release Notes 35DRG07

HP One-Button Disaster Recovery Solution for ProLiant Servers

IMF Tune v7.0 Backup, Restore, Replication

Solution Brief: Creating Avid Project Archives

How To Create An Audit Trail In Sas

An Application of the Internet-based Automated Data Management System (IADMS) for a Multi-Site Public Health Project

Software: Systems and Application Software

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

AN INTRODUCTION TO MACRO VARIABLES AND MACRO PROGRAMS Mike S. Zdeb, New York State Department of Health

Using Stat/Transfer on the Linux/UNIX Systems

Backing Up and Restoring Software

LTFS for Microsoft Windows User Guide

SecureVault Online Backup Service FAQ

2.2 INFORMATION SERVICES Documentation of computer services, computer system management, and computer network management.

Implementing Offline Digital Video Storage using XenData Software

Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

SAS/ACCESS 9.3 Interface to PC Files

A Method for Cleaning Clinical Trial Analysis Data Sets

4 Backing Up and Restoring System Software

Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc

Large File System Backup NERSC Global File System Experience

Computer Engineering

IBM FileNet Image Services

Support Plus User Guide HP-UX Version 11.00

ALTIRIS INVENTORY SOLUTION 6.1 FOR WINDOWS REFERENCE

EMC NetWorker Release 7.4 Service Pack 1 Multiplatform Version

Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports

REx: An Automated System for Extracting Clinical Trial Data from Oracle to SAS

VMware ESX 2.5 Server Software Backup and Restore Guide on Dell PowerEdge Servers and PowerVault Storage

File Transfers. Contents

Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX

Consolidated Packages and SubPackages Management

Advanced Server Virtualization: Vmware and Microsoft Platforms in the Virtual Data Center

VTLBackup4i. Backup your IBM i data to remote location automatically. Quick Reference and Tutorial. Version 02.00

Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel

Essential Project Management Reports in Clinical Development Nalin Tikoo, BioMarin Pharmaceutical Inc., Novato, CA

Getting Started CHAPTER 1

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

lesson 1 An Overview of the Computer System

ABSTRACT INTRODUCTION SAS AND EXCEL CAPABILITIES SAS AND EXCEL STRUCTURES

AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL

Intel Matrix Storage Manager 8.x

While You Were Sleeping - Scheduling SAS Jobs to Run Automatically Faron Kincheloe, Baylor University, Waco, TX

Carl R. Haske, Ph.D., STATPROBE, Inc., Ann Arbor, MI

2.5" XTreme Files OS & Data Backup/Restore User Manual Please read the Instruction manual before using the XTreme Files (X Series) 1.

Managing very large EXCEL files using the XLS engine John H. Adams, Boehringer Ingelheim Pharmaceutical, Inc., Ridgefield, CT

FlexArray Virtualization

Transcription:

Financial Institutions Center Using Wharton's FDIC Research Database by Jalal D. Akhavein Supplement 95-24

THE WHARTON FINANCIAL INSTITUTIONS CENTER The Wharton Financial Institutions Center provides a multi-disciplinary research approach to the problems and opportunities facing the financial services industry in its search for competitive excellence. The Center's research focuses on the issues related to managing risk at the firm level as well as ways to improve productivity and performance. The Center fosters the development of a community of faculty, visiting scholars and Ph.D. candidates whose research interests complement and support the mission of the Center. The Center works closely with industry executives and practitioners to ensure that its research is informed by the operating realities and competitive demands facing industry participants as they pursue competitive excellence. Copies of the working papers summarized here are available from the Center. If you would like to learn more about the Center or become a member of our research community, please let us know of your interest. Anthony M. Santomero Director The Working Paper Series is made possible by a generous grant from the Alfred P. Sloan Foundation

Using Wharton s FDIC Database 1 Last Update: April 1996 Summary: This document is one of two papers on Wharton's FDIC Research Database. Working paper #95-24 reviews the structure and data elements of the database. Supplement #95-24 facilitates its installation and use. 1 Jalal D. Akhavein is a Research Associate at the Wharton Financial Institutions Center.

INTRODUCTION The purpose of this document is help facilitate the installation and use of Wharton s FDIC database. Included in this package are: x x 4mm or 8mm cartridge tape(s) that contain data 3 1/2 inch floppy containing the Data Dictionary 3 1/2 inch floppy containing SAS programs. How the Database Works: Transfer the transport formatted SAS Datasets from the 4mm or 8mm tape onto a hard drive. Use the programs supplied to convert the files from transport format to a regular SAS dataset. Once completed, other supplied programs help extract the data. x Important: It is important to understand how the five different datasets on the 4mm or 8mm tape are related. The five datasets are STRUYYMM, FTSYYMM, CDIYYMM, RATYYMM, 1 and MERGYYMM, were YYMM stands for the year and month. For example, the STRUcture data file for year end 1986 is named STRU8612. The most important dataset is the STRU file that contains all of the structure information about the firms. For example this might be the firms name, address, insurance status, state of operation, city and county codes, etc. The researcher will use this file to filter or limit the dataset to their need. For example one might only want insured commercial banks operating in California, Oregon, and Washington. They would use the appropriate fields on this dataset to achieve this goal. There are several SAS programs included in this package and also mentioned below that help guide the user. The FTS file contains all of the balance sheet and income data of the firms. The CDI and RAT files use the data in the FTS file to derive or construct various new fields (ROA and ROE are examples.) The MERG file is the merger history file of the firms. It should be clear at this point that the FTS, CDI, RAT, and MERG files all rely on the STRU file in some way. The only common variable between the datasets is the CERT. This is the certificate number associate with each firm and is the unique identifier of that firm. With this in mind, please notice that we always merge the datasests (for example the STRU and FTS) by the variable CERT. Since the researcher would primarily be concerned with the STRU and FTS files, we have concentrated on these two for the examples and the programs included in this package. 1 Please refer to the document Wharton s FDIC Database, by Jalal D. Akhavein, Working Paper 95-24, Wharton Financial Institutions Center for more details on the content of the various datasets.

THE TRANSFER STAGE SAS transport format datasets allow the user to ship the data across different platforms (e.g. PC, workstation, mainframe, etc) without sacrificing usability. The programs are ASCII format and should run in SAS on any platform (Please note: problems might arise with assigning library names, please consult your SAS manual for the appropriate syntax under your system.) Step One: 2 Transfer the files from the 4mm or 8mm tape(s) onto your hard disk. By hard disk we mean any device attached to your computer that allows random access to the data residing on it. For example this would be a hard drive on the PC, a SCSI Disk Drive on the workstation level, etc. Once this has been done, note the path to the device. For example c:\temp\fdicdata on the PC level, or /tmp/fdicdata on the workstation level. Step Two: Refer to the CPORT1.SAS and CIMPORT1.SAS files supplied. The CPORT1.SAS and CIMPORT1.SAS Programs: The following four programs should be on one of the 3 1/2 inch floppies provided, CPORT.SAS, CIMPORT.SAS, CPORT1.SAS, CIMPORT1.SAS. The two programs that do not contain 1 in their names are more advanced versions that include SAS Macro functions. The CPORT1.SAS program was used to convert a regular SAS dataset into a SAS transport file. The CIMPORT1.SAS program converts a SAS transport file into a regular SAS dataset. Please refer to the CIMPORT1.SAS file, this is the program you will be using. --------------------------------------------------------- options ps=60 ls=80 mprint; 2 We used the tar command under HP-UX 9.0 to tranfer the files from our disk drive to the 4mm or 8mm tape.

libname fdic 'SAS-data-library'; filename tranfile 'transport-file-name'; proc cimport data=fdic.prefix9412 file=tranfile; run; ---------------------------------------------------------- The libname statement should be modified to include the appropriate path for the SAS-datalibarary where you want your final or regular SAS datasets to reside, once they have been imported. The filename statement should be modified to include the appropriate path for the transportfile-name. The transport-file name consists of the path where the file resides and the name of the file. For example if the transport file name is STRU9412 and is in the /tmp/fdicdata/ directory, then the filename statement would look like this filename tranfile '/tmp/fdicdata/stru9412'; One Caution: Under some environments the filenames are case sensitive. Next, you have to modify the proc cimport data=fdic.prefix9412 file=tranfile; statement. By prefix we refer to one of the following five possibilities: STRU, FTS, MERG, CDI, and RAT. In the tranfile example above we used the STRU prefix which refers to the structure dataset. Once these changes have been made you are ready to run the program. Example: Use the above examples to create the following program. --------------------------------------------------------- options ps=60 ls=80 mprint; libname fdic '/final/fdicdata/sasdata'; filename tranfile '/tmp/fdicdata/stru9412'; proc cimport data=fdic.stru9412 file=tranfile; run; ---------------------------------------------------------- This program should take the file STRU9412 from the /tmp/fdicdata directory and create the regular dataset STRU9412.SSD01 in the /final/fdicdata/sasdata directory. Notice that the transport file does not have a suffix (namely.ssd01) and the final data set does.

This process should be repeated until you have restored all of your transport files. If you have a good understanding of the SAS language the program CIMPORT.SAS could be used to simplify your task if there are many files involved. THE EXTRACTION STAGE You are ready to extract your fields and create your own dataset. First will generate a list containing the names of the variables. This involves installing the Data Dictionary on an IBM compatible PC system. Please print the README.1ST file contained on the 3 1/2 inch floppy and follow the instructions for installation. Once installed, please refer to Appendix D of the Document Wharton s FDIC Database, by Jalal D. Akhavein, Working Paper 95-24, Wharton Financial Institutions Center, The Wharton School, University of Pennsylvania. This is the Call Report form. Referring to page 11 of this form, the Schedule RC- Balance Sheet, assume you are interested in obtaining a series for Total Assets, Assets held in Trading Accounts, Federal Funds Sold and Premises and fixed 3 Assets. Associated with the above are the following Call or MDRM numbers RCFD2170, RCFD3545, RCFD0276, and RCFD2145. Using the Data Dictionary you are going to find a mapping between these MDRM or Call numbers and their associated names in Wharton s FDIC database. Bootup the Data Dictionary. Select the RIS Names... options, which should be the first one. This should take you one screen down. Now press the F2 button, this corresponds to Source/Call Numbers. Start typing the first Call Number, RCFD2170. As you type, the dictionary is searching for the match. Once the match is found, record the RIS data associated name. In this case it is ASSET. Repeating this for the above example should yield the following list: ASSET, TRADE, FFSOLD, BKPREM. This process generates the list we need. Now we are ready to run some of the SAS programs provided. Please refer to the program RIS1.SAS. This program should work on any environment. Program : ris1.sas 3 MDRM numbers are assigned by the FDIC.

Usage : To read FDIC Research Database (SAS dataset) Input : stru9412.ssd01 -- Structure File fts9412.ssd01 -- Financial Time Series File Output : ris.log -- Log file ris.lst -- Output(list) file. ris9412.ssd01 -- Final File Method : Hardware : HP 9000-700 series OS : HP-UX 9.0 Software : SAS 6.09 Author : Jalal D. Akhavein 3/96 Modified : The name of the files indicated above are DATE dependent If the date variable was 9306 then the input files would be stru9306.ssd01, fts9306.ssd01. Define the Date variable %let date=9412; Other examples include 9403, 9406, 9409, etc. Define Options Options nocenter nodate nonumber mprint; Define Library path Where you want your data stored libname out 'your-path';

Read the Structure File libname fdic 'SAS-data-library'; data stru; set fdic.stru&date KEEP statement to select variables (keep= cert name inscoml callymd); Read the Financial Time Series File data fts; set fdic.fts&date KEEP statement to select variables (keep= cert asset eq); MERGE Structure and FTS File, by Certificate number data ris&date; merge stru (in=in1) fts (in=in2); by cert; if in1=1 and in2=1; Select criteria. if inscoml =1; (Flag for Insured Commercial Bank); (This constraint is for STRU file); if asset > 1000000; (This constraint is for FTS file); Output selected data to file. proc means data = ris&date; title "Means of the RIS File";

data out.ris&date; set ris&date; You have to modify the following %let date=9412; libname out 'your-path'; libname fdic 'SAS-data-library'; as well as the names of the variables in the KEEP statement. The %let date=9412; refers to quarter of data in question. The date takes on values of YY03, YY06, YY09, and YY12 where YY refers to the year, 03 refers to March (end of the first quarter), 06 refers to June (end of the second quarter), etc. The libname out 'your-path'; specifies the path where you want your datasets saved and the libname fdic 'SAS-data-library'; specifies where the SAS datatsets are stored. In one of the examples above the path was /final/fdicdata/sasdata. Type in the names of variables obtained through the Data Dictionary and run the program. Keep in mind that the program RIS.SAS is a more advanced version of RIS1.SAS. If you have any question please e-mail consultant@wharton.upenn.edu.