Remove Voided Claims for Insurance Data Qiling Shi

Size: px
Start display at page:

Download "Remove Voided Claims for Insurance Data Qiling Shi"

Transcription

1 Remove Voided Claims for Insurance Data Qiling Shi ABSTRACT The purpose of this study is to remove voided claims for insurance claim data using SAS. Suppose that for these voided claims, we don t have a flag to identify them at first. All we know is that they have the same absolute values with positive and negative amounts for the same insurance ID. A SAS macro with procedures such as PROC SQL and DATA STEPS is employed to do the data analysis. INTRODUCTION An insurance Claim is filed by a policyholder stating that an insured event has occurred and that the insurance company should provide coverage. An insurance adjuster could be set up with access to portions of the claim to just the right payment amount. Insurance adjustment may be very complicated. For example, claims that be rejected as duplicates may be adjusted, cancelled or resubmitted. Claims that rejected for eligibility or other billing errors may be adjusted when the eligibility or billing issue is resolved. At different times, billing transactions that have previously processed may be paid or repaid with a duplicate payment. The Division of Medicaid and the fiscal agent allow adjusting and voiding of claims. If a paid claim is being adjusted, the Provider Identification Number and the Recipient cannot be changed. The voided amount originally paid will appear as a negative amount and that amount will be deducted from payments until the overpayment is recovered. Usually we have a void claim identifier which can be used to as an edit in the system to exclude the voided claims. Sometimes since some database or data warehouse is not real time and has different updating time, the voided claims identifier will not be effective or even exist in the system. For the same insurance ID, we have positive or negative amount charged which can be offset eventually. For these claims, we will remove them as voided claims before calculating any overpayments. SAS CODES ****************************************************************************; * Remove Void Insurance Claims ; ****************************************************************************; %macro remove_void(indata, outdata); *clear data before deleting voids; set &indata.; if verify(id, '8') ~= ' ' and amount_charged not in (.,0); *create partial void claim IDs; set temp; length voidid $200; amc1=floor(abs(amount_charged)); amc=put(amc1, 20.); insert='int'; voidid=cats(id, insert, amc); 1

2 drop amc1 amc insert; *Sort dataset by void ID and amount_charged ascendingly; proc sort data=temp; by voidid amount_charged; set temp; by voidid amount_charged; retain s1 0; if first.amount_charged then s1=0; if amount_charged >0 then s1=s1+1; *Sort dataset by void ID and amount_charged descendingly; proc sort data=temp; by voidid descending amount_charged; set temp; by voidid descending amount_charged; retain s2 0; if first.amount_charged then s2=0; if amount_charged < 0 then s2=s2+1; *Get the void claim flags; proc sql; create table flag_temp as select *, max(s1) as max_s1, max(s2) as max_s2 from temp group by voidid; quit; data flag_temp; set flag_temp; if max_s1=max_s2 then void_flag='y'; else if max_s1 < max_s2 then do; if s2<=max_s1 then void_flag ='Y'; else void_flag='n'; end; else do; if s1<=max_s2 then void_flag ='Y'; else void_flag='n'; end; if max_s1=0 or max_s2 =0 then void_flag='n'; *Remove the void claims; data voids; set flag_temp; if void_flag='y'; data novoids; set flag_temp; 2

3 if void_flag='n'; data &outdata.; set novoids; drop voidid s1 s2 max_s1 max_s2 void_flag; %mend remove_void; *Read in the insurance data; data insurance; infile "C:\Documents and Settings\shiq\Desktop\New Folder\WUSS\void.txt"; input id $6. amount_charged tpl adjustment_indicator; *use the macro to Remove the void claims; options symbolgen mprint mlogic; %remove_void(insurance, insurance_novoids); RESULTS The demonstrated data set INSURANCE has 22 observations and 4 variables. One variable is called ID which represents the claim identifications. AMOUNT_CHARGED means the provider charged on the insurance agents or companies. TPL represents the other third party payment to this claim. ADJUSTMENT_INDICATOR provides codes for different adjustment activities. Here the code 0 represents the original claims. The other codes mean claims with different partial adjustments. Table 1: The Dataset INSURANCE used as an example. 3

4 For the same claim ID, there are different records with different adjustments and third party payments. We want to find out the voided claims remove them from the above table. The following is the intermediate table derived from INSURANCE containing the check results for voided claims for the same claim IDs. Table 2: Dataset TEMP used to check voided claims for the same claim IDs. The field VOIDID is a concatenation of the insurance claim ID and the amount charged. Between ID and AMOUNT_CHARGED, there are three characters INT to differentiate these two values in the field of VOIDID. The field S1 is created to count the number of positive charged amounts for the same VOIDID. First we sort the dataset by VOIDID and ascending AMOUNT_CHARGED. Then for the first value of VOIDID in the sorting of AMOUNT_CHARGED, initialize S1=0. For positive amount charged, S1=S1+1. Retain the value of S1 for the same VOIDID. Repeat these steps until we get all the S1 values. The field S2 is created to count the number of negative charged amounts for the same VOIDID. First we sort the dataset by VOIDID and descending AMOUNT_CHARGED. Then for the first value of VOIDID in the sorting of AMOUNT_CHARGED, initialize S2=0. For negative amount charged, S2=S2+1. Retain the value of S2 for the same VOIDID. Repeat these steps until we get all the S2 values. Table 3: Dataset FLAG_TEMP. 4

5 From table 3, we can get the voided claim flags for all the records. The field VOID_FLAG is created. If VOID_FLAG = Y then this claim record is voided. If VOID_FLAG = N then this claim record is not voided. The MAX_S1 is the total number of positive charged amounts for the insurance claim ID. The MAX_S2 is the total number of negative charged amounts for the insurance claim ID. If MAX_S1 = MAX_S2, then all the records related to this claim ID will be identified as voided. If MAX_S1 < MAX_S2, then for all the records with S2 <= MAX_S1 assign VOID_FLAG = Y, otherwise VOID_FLAG = N. If MAX_S1 > MAX_S2, then for all the records with S1 <= MAX_S2 assign VOID_FLAG = Y, otherwise VOID_FLAG = N. If the insurance ID only have positive or negative charged amounts which means MAX_S1 =0 or MAX_S2 =0, then let VOID_FLAG = N for all the records of this insurance ID. Table 4: Dataset VOIDS. From table 4, we know that there are 12 voided claims altogether with VOID_FLAG = Y. Table 5: Dataset NOVOIDS. 5

6 From table 5, we know that there are 10 valid claims with VOID_FLAG = N. To get the final output dataset, we can simply drop the fields like VOIDID, S1, S2, MAX_S1, MAX_S2 and VOID_FLAG. REFERENCES 1. Detecting Medicaid Data Anomalies Using Data Mining Techniques, Southeast SAS Users Group Conference, Find Potential Fraud Leads Using Data Mining Techniques, Southeast SAS Users Group Conference, Assign Overpayment to Insurance Data with Adjustments, Southeast SAS Users Group Conference, CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the author at: Qiling Shi, Mathematics PhD, Certified Fraud Examiner shiqiling@gmail.com SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are trademarks of their respective companies. 6

Remove Orphan Claims and Third party Claims for Insurance Data Qiling Shi, NCI Information Systems, Inc., Nashville, Tennessee

Remove Orphan Claims and Third party Claims for Insurance Data Qiling Shi, NCI Information Systems, Inc., Nashville, Tennessee Paper S-101 Remove Orphan Claims and Third party Claims for Insurance Data Qiling Shi, NCI Information Systems, Inc., Nashville, Tennessee ABSTRACT The purpose of this study is to remove orphan claims

More information

One problem > Multiple solutions; various ways of removing duplicates from dataset using SAS Jaya Dhillon, Louisiana State University

One problem > Multiple solutions; various ways of removing duplicates from dataset using SAS Jaya Dhillon, Louisiana State University One problem > Multiple solutions; various ways of removing duplicates from dataset using SAS Jaya Dhillon, Louisiana State University ABSTRACT In real world, analysts seldom come across data which is in

More information

Introduction to Criteria-based Deduplication of Records, continued SESUG 2012

Introduction to Criteria-based Deduplication of Records, continued SESUG 2012 SESUG 2012 Paper CT-11 An Introduction to Criteria-based Deduplication of Records Elizabeth Heath RTI International, RTP, NC Priya Suresh RTI International, RTP, NC ABSTRACT When survey respondents are

More information

Converting Electronic Medical Records Data into Practical Analysis Dataset

Converting Electronic Medical Records Data into Practical Analysis Dataset Converting Electronic Medical Records Data into Practical Analysis Dataset Irena S. Cenzer, University of California San Francisco, San Francisco, CA Mladen Stijacic, San Diego, CA See J. Lee, University

More information

Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation

Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation Paper 109-25 Merges and Joins Timothy J Harrington, Trilogy Consulting Corporation Abstract This paper discusses methods of joining SAS data sets. The different methods and the reasons for choosing a particular

More information

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

Preparing your data for analysis using SAS. Landon Sego 24 April 2003 Department of Statistics UW-Madison Preparing your data for analysis using SAS Landon Sego 24 April 2003 Department of Statistics UW-Madison Assumptions That you have used SAS at least a few times. It doesn t matter whether you run SAS in

More information

An Approach to Creating Archives That Minimizes Storage Requirements

An Approach to Creating Archives That Minimizes Storage Requirements Paper SC-008 An Approach to Creating Archives That Minimizes Storage Requirements Ruben Chiflikyan, RTI International, Research Triangle Park, NC Mila Chiflikyan, RTI International, Research Triangle Park,

More information

Post Processing Macro in Clinical Data Reporting Niraj J. Pandya

Post Processing Macro in Clinical Data Reporting Niraj J. Pandya Post Processing Macro in Clinical Data Reporting Niraj J. Pandya ABSTRACT Post Processing is the last step of generating listings and analysis reports of clinical data reporting in pharmaceutical industry

More information

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

SSN validation Virtually at no cost Milorad Stojanovic RTI International Education Surveys Division RTP, North Carolina Paper PO23 SSN validation Virtually at no cost Milorad Stojanovic RTI International Education Surveys Division RTP, North Carolina ABSTRACT Using SSNs without validation is not the way to ensure quality

More information

Portfolio Construction with OPTMODEL

Portfolio Construction with OPTMODEL ABSTRACT Paper 3225-2015 Portfolio Construction with OPTMODEL Robert Spatz, University of Chicago; Taras Zlupko, University of Chicago Investment portfolios and investable indexes determine their holdings

More information

ABSTRACT INTRODUCTION %CODE MACRO DEFINITION

ABSTRACT INTRODUCTION %CODE MACRO DEFINITION Generating Web Application Code for Existing HTML Forms Don Boudreaux, PhD, SAS Institute Inc., Austin, TX Keith Cranford, Office of the Attorney General, Austin, TX ABSTRACT SAS Web Applications typically

More information

Overview. NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT

Overview. NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT 177 CHAPTER 8 Enhancements for SAS Users under Windows NT Overview 177 NT Event Log 177 Sending Messages to the NT Event Log Using a User-Written Function 178 Examples of Using the User-Written Function

More information

ABSTRACT INTRODUCTION HOW WE RANDOMIZE PATIENTS IN SOME OF THE CLINICAL TRIALS. allpt.txt

ABSTRACT INTRODUCTION HOW WE RANDOMIZE PATIENTS IN SOME OF THE CLINICAL TRIALS. allpt.txt SAS Program as a Backup Tool for an Adaptive Randomization System Yajie Wang, Clinical Studies Program Coordination Center (CSPCC), VA Palo Alto Health Care System, Mountain View, California ABSTRACT The

More information

Colorado Medical Assistance Program Web Portal Dental Claims User Guide

Colorado Medical Assistance Program Web Portal Dental Claims User Guide Colorado Medical Assistance Program Web Portal Dental Claims User Guide The Dental Claim Lookup screen (Figure 1) is the main screen from which to manage Dental claims. It consists of different sections

More information

Using SAS With a SQL Server Database. M. Rita Thissen, Yan Chen Tang, Elizabeth Heath RTI International, RTP, NC

Using SAS With a SQL Server Database. M. Rita Thissen, Yan Chen Tang, Elizabeth Heath RTI International, RTP, NC Using SAS With a SQL Server Database M. Rita Thissen, Yan Chen Tang, Elizabeth Heath RTI International, RTP, NC ABSTRACT Many operations now store data in relational databases. You may want to use SAS

More information

How To Create An Audit Trail In Sas

How To Create An Audit Trail In Sas Audit Trails for SAS Data Sets Minh Duong Texas Institute for Measurement, Evaluation, and Statistics University of Houston, Houston, TX ABSTRACT SAS data sets are now more accessible than ever. They are

More information

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

Data Presentation. Paper 126-27. Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Paper 126-27 Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Tugluke Abdurazak Abt Associates Inc. 1110 Vermont Avenue N.W. Suite 610 Washington D.C. 20005-3522

More information

Emailing Automated Notification of Errors in a Batch SAS Program Julie Kilburn, City of Hope, Duarte, CA Rebecca Ottesen, City of Hope, Duarte, CA

Emailing Automated Notification of Errors in a Batch SAS Program Julie Kilburn, City of Hope, Duarte, CA Rebecca Ottesen, City of Hope, Duarte, CA Emailing Automated Notification of Errors in a Batch SAS Program Julie Kilburn, City of Hope, Duarte, CA Rebecca Ottesen, City of Hope, Duarte, CA ABSTRACT With multiple programmers contributing to a batch

More information

A Method for Cleaning Clinical Trial Analysis Data Sets

A Method for Cleaning Clinical Trial Analysis Data Sets A Method for Cleaning Clinical Trial Analysis Data Sets Carol R. Vaughn, Bridgewater Crossings, NJ ABSTRACT This paper presents a method for using SAS software to search SAS programs in selected directories

More information

Paper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois

Paper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois Paper 70-27 An Introduction to SAS PROC SQL Timothy J Harrington, Venturi Partners Consulting, Waukegan, Illinois Abstract This paper introduces SAS users with at least a basic understanding of SAS data

More information

SAS and Electronic Mail: Send e-mail faster, and DEFINITELY more efficiently

SAS and Electronic Mail: Send e-mail faster, and DEFINITELY more efficiently Paper 78-26 SAS and Electronic Mail: Send e-mail faster, and DEFINITELY more efficiently Roy Fleischer, Sodexho Marriott Services, Gaithersburg, MD Abstract With every new software package I install, I

More information

Statistics and Analysis. Quality Control: How to Analyze and Verify Financial Data

Statistics and Analysis. Quality Control: How to Analyze and Verify Financial Data Abstract Quality Control: How to Analyze and Verify Financial Data Michelle Duan, Wharton Research Data Services, Philadelphia, PA As SAS programmers dealing with massive financial data from a variety

More information

CDW DATA QUALITY INITIATIVE

CDW DATA QUALITY INITIATIVE Loading Metadata to the IRS Compliance Data Warehouse (CDW) Website: From Spreadsheet to Database Using SAS Macros and PROC SQL Robin Rappaport, IRS Office of Research, Washington, DC Jeff Butler, IRS

More information

SAS PROGRAM EFFICIENCY FOR BEGINNERS. Bruce Gilsen, Federal Reserve Board

SAS PROGRAM EFFICIENCY FOR BEGINNERS. Bruce Gilsen, Federal Reserve Board SAS PROGRAM EFFICIENCY FOR BEGINNERS Bruce Gilsen, Federal Reserve Board INTRODUCTION This paper presents simple efficiency techniques that can benefit inexperienced SAS software users on all platforms.

More information

Nine Steps to Get Started using SAS Macros

Nine Steps to Get Started using SAS Macros Paper 56-28 Nine Steps to Get Started using SAS Macros Jane Stroupe, SAS Institute, Chicago, IL ABSTRACT Have you ever heard your coworkers rave about macros? If so, you've probably wondered what all the

More information

How to Reduce the Disk Space Required by a SAS Data Set

How to Reduce the Disk Space Required by a SAS Data Set How to Reduce the Disk Space Required by a SAS Data Set Selvaratnam Sridharma, U.S. Census Bureau, Washington, DC ABSTRACT SAS datasets can be large and disk space can often be at a premium. In this paper,

More information

Effective Use of SQL in SAS Programming

Effective Use of SQL in SAS Programming INTRODUCTION Effective Use of SQL in SAS Programming Yi Zhao Merck & Co. Inc., Upper Gwynedd, Pennsylvania Structured Query Language (SQL) is a data manipulation tool of which many SAS programmers are

More information

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

Managing very large EXCEL files using the XLS engine John H. Adams, Boehringer Ingelheim Pharmaceutical, Inc., Ridgefield, CT Paper AD01 Managing very large EXCEL files using the XLS engine John H. Adams, Boehringer Ingelheim Pharmaceutical, Inc., Ridgefield, CT ABSTRACT The use of EXCEL spreadsheets is very common in SAS applications,

More information

PharmaSUG2011 - Paper AD11

PharmaSUG2011 - Paper AD11 PharmaSUG2011 - Paper AD11 Let the system do the work! Automate your SAS code execution on UNIX and Windows platforms Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc.,

More information

Managing Data Issues Identified During Programming

Managing Data Issues Identified During Programming Paper CS04 Managing Data Issues Identified During Programming Shafi Chowdhury, Shafi Consultancy Limited, London, U.K. Aminul Islam, Shafi Consultancy Bangladesh, Sylhet, Bangladesh ABSTRACT Managing data

More information

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

AN INTRODUCTION TO MACRO VARIABLES AND MACRO PROGRAMS Mike S. Zdeb, New York State Department of Health AN INTRODUCTION TO MACRO VARIABLES AND MACRO PROGRAMS Mike S. Zdeb, New York State Department of Health INTRODUCTION There are a number of SAS tools that you may never have to use. Why? The main reason

More information

Applications Development ABSTRACT PROGRAM DESIGN INTRODUCTION SAS FEATURES USED

Applications Development ABSTRACT PROGRAM DESIGN INTRODUCTION SAS FEATURES USED Checking and Tracking SAS Programs Using SAS Software Keith M. Gregg, Ph.D., SCIREX Corporation, Chicago, IL Yefim Gershteyn, Ph.D., SCIREX Corporation, Chicago, IL ABSTRACT Various checks on consistency

More information

SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ

SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ PharmaSUG 2012 Paper PO11 SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ ABSTRACT: In the fast growing area

More information

MCIS Aggregate Claim Editor User Guide. Core system users

MCIS Aggregate Claim Editor User Guide. Core system users MCIS Aggregate Claim Editor User Guide Core system users TABLE OF CONTENTS INTRODUCTION... 3 HOW TO USE THIS GUIDE... 3 ABOUT AGGREGATE CLAIM EDITORS... 3 AGGREGATE CLAIM EDITOR TEAM LEADERS... 3 THE CLAIMS

More information

MEDICAL BENEFITS REVIEWER

MEDICAL BENEFITS REVIEWER MICHIGAN DEPARTMENT OF CIVIL SERVICE JOB SPECIFICATION MEDICAL BENEFITS REVIEWER JOB DESCRIPTION Employees in this job perform and oversee a variety of tasks where the processing and resolution of medical

More information

STATE OF NEW JERSEY DEPARTMENT OF EDUCATION DIVISION OF FINANCE OFFICE OF SCHOOL FUNDING INSTRUCTION MANUAL

STATE OF NEW JERSEY DEPARTMENT OF EDUCATION DIVISION OF FINANCE OFFICE OF SCHOOL FUNDING INSTRUCTION MANUAL STATE OF NEW JERSEY DEPARTMENT OF EDUCATION DIVISION OF FINANCE OFFICE OF SCHOOL FUNDING INSTRUCTION MANUAL SOCIAL SECURITY CONTRIBUTIONS SYSTEM January 2007 PURPOSE This manual includes instructions and

More information

SAS Comments How Straightforward Are They? Jacksen Lou, Merck & Co.,, Blue Bell, PA 19422

SAS Comments How Straightforward Are They? Jacksen Lou, Merck & Co.,, Blue Bell, PA 19422 SAS Comments How Straightforward Are They? Jacksen Lou, Merck & Co.,, Blue Bell, PA 19422 ABSTRACT SAS comment statements typically use conventional symbols, *, %*, /* */. Most programmers regard SAS commenting

More information

Centricity Business Eligibility - Training Manual

Centricity Business Eligibility - Training Manual Centricity Business Eligibility - Training Manual CB - Eligibility Training Manual Page 1 of 103 Table of Contents Eligibility Workspace... 3 Log In... 4 Eligibility Summary... 5 Eligibility Insurance

More information

AN INTRODUCTION TO THE SQL PROCEDURE Chris Yindra, C. Y. Associates

AN INTRODUCTION TO THE SQL PROCEDURE Chris Yindra, C. Y. Associates AN INTRODUCTION TO THE SQL PROCEDURE Chris Yindra, C Y Associates Abstract This tutorial will introduce the SQL (Structured Query Language) procedure through a series of simple examples We will initially

More information

Using Proc SQL and ODBC to Manage Data outside of SAS Jeff Magouirk, National Jewish Medical and Research Center, Denver, Colorado

Using Proc SQL and ODBC to Manage Data outside of SAS Jeff Magouirk, National Jewish Medical and Research Center, Denver, Colorado Using Proc SQL and ODBC to Manage Data outside of SAS Jeff Magouirk, National Jewish Medical and Research Center, Denver, Colorado ABSTRACT The ability to use Proc SQL and ODBC to manage data outside of

More information

MWSUG 2012 Paper PH14

MWSUG 2012 Paper PH14 ABSTRACT MWSUG 2012 Paper PH14 Using SAS Software to Aid in the ICD-10 Code Set Implementation Alexander Pakalniskis, M.S., Cedars-Sinai Medical Center, Los Angeles, CA Nilesh Bharadwaj, B.S., Cedars-Sinai

More information

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

We begin by defining a few user-supplied parameters, to make the code transferable between various projects. PharmaSUG 2013 Paper CC31 A Quick Patient Profile: Combining External Data with EDC-generated Subject CRF Titania Dumas-Roberson, Grifols Therapeutics, Inc., Durham, NC Yang Han, Grifols Therapeutics,

More information

Top 50 Billing Error Reason Codes With Common Resolutions (09-12)

Top 50 Billing Error Reason Codes With Common Resolutions (09-12) Top 50 Billing Error Reason Codes With Common Resolutions (09-12) On the following table you will find the top 50 Error Reason Codes with Common Resolutions for denied claims at Virginia Medicaid. This

More information

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

Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX Paper 126-29 Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX ABSTRACT This hands-on workshop shows how to use the SAS Macro Facility

More information

Topics. Database Essential Concepts. What s s a Good Database System? Using Database Software. Using Database Software. Types of Database Programs

Topics. Database Essential Concepts. What s s a Good Database System? Using Database Software. Using Database Software. Types of Database Programs Topics Software V:. Database concepts: records, fields, data types. Relational and objectoriented databases. Computer maintenance and operation: storage health and utilities; back-up strategies; keeping

More information

Using SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008

Using SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008 Using SAS to Control and Automate a Multi SAS Program Process Patrick Halpin November 2008 What are we covering today A little background on me Some quick questions How to use Done files Use a simple example

More information

The Power of CALL SYMPUT DATA Step Interface by Examples Yunchao (Susan) Tian, Social & Scientific Systems, Inc., Silver Spring, MD

The Power of CALL SYMPUT DATA Step Interface by Examples Yunchao (Susan) Tian, Social & Scientific Systems, Inc., Silver Spring, MD Paper 052-29 The Power of CALL SYMPUT DATA Step Interface by Examples Yunchao (Susan) Tian, Social & Scientific Systems, Inc., Silver Spring, MD ABSTRACT AND INTRODUCTION CALL SYMPUT is a SAS language

More information

Simple Rules to Remember When Working with Indexes Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, California

Simple Rules to Remember When Working with Indexes Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, California Simple Rules to Remember When Working with Indexes Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, California Abstract SAS users are always interested in learning techniques related

More information

An email macro: Exploring metadata EG and user credentials in Linux to automate email notifications Jason Baucom, Ateb Inc.

An email macro: Exploring metadata EG and user credentials in Linux to automate email notifications Jason Baucom, Ateb Inc. SESUG 2012 Paper CT-02 An email macro: Exploring metadata EG and user credentials in Linux to automate email notifications Jason Baucom, Ateb Inc., Raleigh, NC ABSTRACT Enterprise Guide (EG) provides useful

More information

B) Mean Function: This function returns the arithmetic mean (average) and ignores the missing value. E.G: Var=MEAN (var1, var2, var3 varn);

B) Mean Function: This function returns the arithmetic mean (average) and ignores the missing value. E.G: Var=MEAN (var1, var2, var3 varn); SAS-INTERVIEW QUESTIONS 1. What SAS statements would you code to read an external raw data file to a DATA step? Ans: Infile and Input statements are used to read external raw data file to a Data Step.

More information

SAS Macros as File Management Utility Programs

SAS Macros as File Management Utility Programs Paper 219-26 SAS Macros as File Management Utility Programs Christopher J. Rook, EDP Contract Services, Bala Cynwyd, PA Shi-Tao Yeh, EDP Contract Services, Bala Cynwyd, PA ABSTRACT This paper provides

More information

AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL

AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL Paper CC01 AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL Russ Lavery, Contractor for K&L Consulting Services, King of Prussia, U.S.A. ABSTRACT The primary purpose of this paper is to provide a generic DDE

More information

From Database to your Desktop: How to almost completely automate reports in SAS, with the power of Proc SQL

From Database to your Desktop: How to almost completely automate reports in SAS, with the power of Proc SQL From Database to your Desktop: How to almost completely automate reports in SAS, with the power of Proc SQL Kirtiraj Mohanty, Department of Mathematics and Statistics, San Diego State University, San Diego,

More information

Medicaid. Important Contact Information. In This Issue

Medicaid. Important Contact Information. In This Issue In This Issue Medicare & Medicaid Limitations Page 2 Resubmitting Denied Claims Page 2 Certain DME Under $50 Require PA Page 3 Top Reasons Claims are Returned to Providers Page 4 Medicaid New Medicaid

More information

Internet/Intranet, the Web & SAS. II006 Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA

Internet/Intranet, the Web & SAS. II006 Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA II006 Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA Abstract Web based reporting has enhanced the ability of management to interface with data in a

More information

Dup, Dedup, DUPOUT - New in PROC SORT Heidi Markovitz, Federal Reserve Board of Governors, Washington, DC

Dup, Dedup, DUPOUT - New in PROC SORT Heidi Markovitz, Federal Reserve Board of Governors, Washington, DC CC14 Dup, Dedup, DUPOUT - New in PROC SORT Heidi Markovitz, Federal Reserve Board of Governors, Washington, DC ABSTRACT This paper presents the new DUPOUT option of PROC SORT and discusses the art of identifying

More information

REP200 Using Query Manager to Create Ad Hoc Queries

REP200 Using Query Manager to Create Ad Hoc Queries Using Query Manager to Create Ad Hoc Queries June 2013 Table of Contents USING QUERY MANAGER TO CREATE AD HOC QUERIES... 1 COURSE AUDIENCES AND PREREQUISITES...ERROR! BOOKMARK NOT DEFINED. LESSON 1: BASIC

More information

Query Management Facility

Query Management Facility Chapter 5 Query Management Facility 5.1 Introduction to QMF 5.2 SQL Queries 5.3 Prompted Query 5.4 Query by Example 5.5 QMF Forms 5.6 Advanced SQL Queries 5.7 QMF Help 5.8 QMF Function Key Descriptions

More information

PharmaSUG 2014 Paper CC23. Need to Review or Deliver Outputs on a Rolling Basis? Just Apply the Filter! Tom Santopoli, Accenture, Berwyn, PA

PharmaSUG 2014 Paper CC23. Need to Review or Deliver Outputs on a Rolling Basis? Just Apply the Filter! Tom Santopoli, Accenture, Berwyn, PA PharmaSUG 2014 Paper CC23 Need to Review or Deliver Outputs on a Rolling Basis? Just Apply the Filter! Tom Santopoli, Accenture, Berwyn, PA ABSTRACT Wouldn t it be nice if all of the outputs in a deliverable

More information

A binary search tree or BST is a binary tree that is either empty or in which the data element of each node has a key, and:

A binary search tree or BST is a binary tree that is either empty or in which the data element of each node has a key, and: Binary Search Trees 1 The general binary tree shown in the previous chapter is not terribly useful in practice. The chief use of binary trees is for providing rapid access to data (indexing, if you will)

More information

You have got SASMAIL!

You have got SASMAIL! You have got SASMAIL! Rajbir Chadha, Cognizant Technology Solutions, Wilmington, DE ABSTRACT As SAS software programs become complex, processing times increase. Sitting in front of the computer, waiting

More information

NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT

NT Event Log. CHAPTER 8 Enhancements for SAS Users under Windows NT 157 CHAPTER 8 Enhancements for SAS Users under Windows NT 157 NT Event Log 157 Sending Messages to the NT Event Log using SAS Code 158 NT Performance Monitor 159 Examples of Monitoring SAS Performance

More information

A Macro to Create Data Definition Documents

A Macro to Create Data Definition Documents A Macro to Create Data Definition Documents Aileen L. Yam, sanofi-aventis Inc., Bridgewater, NJ ABSTRACT Data Definition documents are one of the requirements for NDA submissions. This paper contains a

More information

Using SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN

Using SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN Paper CC12 Using SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN ABSTRACT In addition to the static graph features, SAS provides

More information

Innovative Techniques and Tools to Detect Data Quality Problems

Innovative Techniques and Tools to Detect Data Quality Problems Paper DM05 Innovative Techniques and Tools to Detect Data Quality Problems Hong Qi and Allan Glaser Merck & Co., Inc., Upper Gwynnedd, PA ABSTRACT High quality data are essential for accurate and meaningful

More information

MEDICARE CROSSOVER PROCESS FREQUENTLY ASKED QUESTIONS

MEDICARE CROSSOVER PROCESS FREQUENTLY ASKED QUESTIONS MEDICARE CROSSOVER PROCESS FREQUENTLY ASKED QUESTIONS QUESTION 1. What is meant by the crossover payment? ANSWER When Medicaid providers submit claims to Medicare for Medicare/Medicaid beneficiaries, Medicare

More information

More Tales from the Help Desk: Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board

More Tales from the Help Desk: Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board More Tales from the Help Desk: Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board INTRODUCTION In 20 years as a SAS consultant at the Federal Reserve Board, I have seen SAS users make

More information

Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached.

Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached. Automating SAS Macros: Run SAS Code when the Data is Available and a Target Date Reached. Nitin Gupta, Tailwind Associates, Schenectady, NY ABSTRACT This paper describes a method to run discreet macro(s)

More information

The Essentials of Finding the Distinct, Unique, and Duplicate Values in Your Data

The Essentials of Finding the Distinct, Unique, and Duplicate Values in Your Data The Essentials of Finding the Distinct, Unique, and Duplicate Values in Your Data Carter Sevick MS, DoD Center for Deployment Health Research, San Diego, CA ABSTRACT Whether by design or by error there

More information

Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA

Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA Building a Web Based EIS for Data Analysis Ed Confer, KGC Programming Solutions, Potomac Falls, VA Abstract Web based reporting has enhanced the ability of management to interface with data in a point

More information

Unit 10: Microsoft Access Queries

Unit 10: Microsoft Access Queries Microsoft Access Queries Unit 10: Microsoft Access Queries Introduction Queries are a fundamental means of accessing and displaying data from tables. Queries used to view, update, and analyze data in different

More information

HowHow to Choose a Good Stock Broker For 2010

HowHow to Choose a Good Stock Broker For 2010 Paper 26-28 Using SAS Software to Analyze Web Logs Peter Parker, US Dept of Commerce, Washington, DC Peter_Parker@itadocgov Abstract SAS software macros provide the flexibility to perform advanced programming

More information

Top Ten Reasons to Use PROC SQL

Top Ten Reasons to Use PROC SQL Paper 042-29 Top Ten Reasons to Use PROC SQL Weiming Hu, Center for Health Research Kaiser Permanente, Portland, Oregon, USA ABSTRACT Among SAS users, it seems there are two groups of people, those who

More information

Calculating Changes and Differences Using PROC SQL With Clinical Data Examples

Calculating Changes and Differences Using PROC SQL With Clinical Data Examples Calculating Changes and Differences Using PROC SQL With Clinical Data Examples Chang Y. Chung, Princeton University, Princeton, NJ Lei Zhang, Celgene Corporation, Summit, NJ ABSTRACT It is very common

More information

1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe.

1. To start Installation: To install the reporting tool, copy the entire contents of the zip file to a directory of your choice. Run the exe. CourseWebs Reporting Tool Desktop Application Instructions The CourseWebs Reporting tool is a desktop application that lets a system administrator modify existing reports and create new ones. Changes to

More information

Handling Missing Values in the SQL Procedure

Handling Missing Values in the SQL Procedure Handling Missing Values in the SQL Procedure Danbo Yi, Abt Associates Inc., Cambridge, MA Lei Zhang, Domain Solutions Corp., Cambridge, MA ABSTRACT PROC SQL as a powerful database management tool provides

More information

Subsetting Observations from Large SAS Data Sets

Subsetting Observations from Large SAS Data Sets Subsetting Observations from Large SAS Data Sets Christopher J. Bost, MDRC, New York, NY ABSTRACT This paper reviews four techniques to subset observations from large SAS data sets: MERGE, PROC SQL, user-defined

More information

Minnesota Comprehensive Health Association (MCHA) - Frequently Asked Questions & Answers about Eligibility/Application

Minnesota Comprehensive Health Association (MCHA) - Frequently Asked Questions & Answers about Eligibility/Application Minnesota Comprehensive Health Association (MCHA) - Frequently Asked Questions & Answers about Eligibility/Application I. Medicare Supplement Plans Application Materials and Processing 1. Why does the

More information

Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports

Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports Jeff Cai, Amylin Pharmaceuticals, Inc., San Diego, CA Jay Zhou, Amylin Pharmaceuticals, Inc., San Diego, CA ABSTRACT To supplement Oracle

More information

SUGI 29 Applications Development

SUGI 29 Applications Development Backing up File Systems with Hierarchical Structure Using SAS/CONNECT Fagen Xie, Kaiser Permanent Southern California, California, USA Wansu Chen, Kaiser Permanent Southern California, California, USA

More information

SPC Data Visualization of Seasonal and Financial Data Using JMP WHITE PAPER

SPC Data Visualization of Seasonal and Financial Data Using JMP WHITE PAPER SPC Data Visualization of Seasonal and Financial Data Using JMP WHITE PAPER SAS White Paper Table of Contents Abstract.... 1 Background.... 1 Example 1: Telescope Company Monitors Revenue.... 3 Example

More information

Identifying Invalid Social Security Numbers

Identifying Invalid Social Security Numbers ABSTRACT Identifying Invalid Social Security Numbers Paulette Staum, Paul Waldron Consulting, West Nyack, NY Sally Dai, MDRC, New York, NY Do you need to check whether Social Security numbers (SSNs) are

More information

Performing Queries Using PROC SQL (1)

Performing Queries Using PROC SQL (1) SAS SQL Contents Performing queries using PROC SQL Performing advanced queries using PROC SQL Combining tables horizontally using PROC SQL Combining tables vertically using PROC SQL 2 Performing Queries

More information

ABSTRACT INTRODUCTION IMPORTING THE DATA SESUG 2012. Paper CT-23

ABSTRACT INTRODUCTION IMPORTING THE DATA SESUG 2012. Paper CT-23 SESUG 2012 Paper CT-23 Introducing a New FINDIT Macro: An Efficient Tool for Simultaneously Searching Several Free-Text Fields Using Multiple Keywords LaTonia Richardson, Centers for Disease Control and

More information

Managing Tables in Microsoft SQL Server using SAS

Managing Tables in Microsoft SQL Server using SAS Managing Tables in Microsoft SQL Server using SAS Jason Chen, Kaiser Permanente, San Diego, CA Jon Javines, Kaiser Permanente, San Diego, CA Alan L Schepps, M.S., Kaiser Permanente, San Diego, CA Yuexin

More information

Access Online. Transaction Approval Process User Guide. Approver. Version 1.4

Access Online. Transaction Approval Process User Guide. Approver. Version 1.4 Access Online Transaction Approval Process User Guide Approver Version 1.4 Contents Introduction...3 TAP Overview...4 View-Only Access... 5 Approve Your Own Transactions...6 View Transactions... 7 Validation

More information

Sales Territory and Target Visualization with SAS. Yu(Daniel) Wang, Experis

Sales Territory and Target Visualization with SAS. Yu(Daniel) Wang, Experis Sales Territory and Target Visualization with SAS Yu(Daniel) Wang, Experis ABSTRACT SAS 9.4, OpenStreetMap(OSM) and JAVA APPLET provide tools to generate professional Google like maps. The zip code boundary

More information

Predicting Customer Churn in the Telecommunications Industry An Application of Survival Analysis Modeling Using SAS

Predicting Customer Churn in the Telecommunications Industry An Application of Survival Analysis Modeling Using SAS Paper 114-27 Predicting Customer in the Telecommunications Industry An Application of Survival Analysis Modeling Using SAS Junxiang Lu, Ph.D. Sprint Communications Company Overland Park, Kansas ABSTRACT

More information

SUGI 29 Data Presentation

SUGI 29 Data Presentation Paper 088-29 Perfecting Report Output to RTF Steven Feder, Federal Reserve Board, Washington, D.C. ABSTRACT Output Delivery System (ODS) output to RTF presents possibilities for creating publication-ready

More information

Foundations & Fundamentals. A PROC SQL Primer. Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC

Foundations & Fundamentals. A PROC SQL Primer. Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC A PROC SQL Primer Matt Taylor, Carolina Analytical Consulting, LLC, Charlotte, NC ABSTRACT Most SAS programmers utilize the power of the DATA step to manipulate their datasets. However, unless they pull

More information

Normalized EditChecks Automated Tracking (N.E.A.T.) A SAS solution to improve clinical data cleaning

Normalized EditChecks Automated Tracking (N.E.A.T.) A SAS solution to improve clinical data cleaning Normalized EditChecks Automated Tracking (N.E.A.T.) A SAS solution to improve clinical data cleaning Frank Fan, Clinovo, Sunnyvale, CA Ale Gicqueau, Clinovo, Sunnyvale, CA WUSS 2010 annual conference November

More information

Ad Hoc Advanced Table of Contents

Ad Hoc Advanced Table of Contents Ad Hoc Advanced Table of Contents Functions... 1 Adding a Function to the Adhoc Query:... 1 Constant... 2 Coalesce... 4 Concatenate... 6 Add/Subtract... 7 Logical Expressions... 8 Creating a Logical Expression:...

More information

The SET Statement and Beyond: Uses and Abuses of the SET Statement. S. David Riba, JADE Tech, Inc., Clearwater, FL

The SET Statement and Beyond: Uses and Abuses of the SET Statement. S. David Riba, JADE Tech, Inc., Clearwater, FL The SET Statement and Beyond: Uses and Abuses of the SET Statement S. David Riba, JADE Tech, Inc., Clearwater, FL ABSTRACT The SET statement is one of the most frequently used statements in the SAS System.

More information

An Application of the Cox Proportional Hazards Model to the Construction of Objective Vintages for Credit in Financial Institutions, Using PROC PHREG

An Application of the Cox Proportional Hazards Model to the Construction of Objective Vintages for Credit in Financial Institutions, Using PROC PHREG Paper 3140-2015 An Application of the Cox Proportional Hazards Model to the Construction of Objective Vintages for Credit in Financial Institutions, Using PROC PHREG Iván Darío Atehortua Rojas, Banco Colpatria

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to

More information

Return of the Codes: SAS, Windows, and Your s Mark Tabladillo, Ph.D., MarkTab Consulting, Atlanta, GA Associate Faculty, University of Phoenix

Return of the Codes: SAS, Windows, and Your s Mark Tabladillo, Ph.D., MarkTab Consulting, Atlanta, GA Associate Faculty, University of Phoenix Paper AP-11 Return of the Codes: SAS, Windows, and Your s Mark Tabladillo, Ph.D., MarkTab Consulting, Atlanta, GA Associate Faculty, University of Phoenix ABSTRACT Robust applications participate in the

More information

Introduction to SQL and SQL in R. LISA Short Courses Xinran Hu

Introduction to SQL and SQL in R. LISA Short Courses Xinran Hu Introduction to SQL and SQL in R LISA Short Courses Xinran Hu 1 Laboratory for Interdisciplinary Statistical Analysis LISA helps VT researchers benefit from the use of Statistics Collaboration: Visit our

More information

Using the SQL Procedure

Using the SQL Procedure Using the SQL Procedure Kirk Paul Lafler Software Intelligence Corporation Abstract The SQL procedure follows most of the guidelines established by the American National Standards Institute (ANSI). In

More information

Merchant Interface Online Help Files

Merchant Interface Online Help Files Merchant Interface Online Help Files REGAL t e c h n o l o g i e s t h e f u t u r e o f p a y m e n t s Table of Contents Merchant Interface Online Help Files... 1 Tools... 2 Virtual Terminal... 7 Submit

More information

MWSUG 2011 - Paper S111

MWSUG 2011 - Paper S111 MWSUG 2011 - Paper S111 Dealing with Duplicates in Your Data Joshua M. Horstman, First Phase Consulting, Inc., Indianapolis IN Roger D. Muller, First Phase Consulting, Inc., Carmel IN Abstract As SAS programmers,

More information