Has Payment, for AMI, to above National Average Hospitals, Increased?

Slides:



Advertisements
Similar presentations
Session 2Introduction to Database Technology Data Types and Table Creation.
Advertisements

N.G.Acharya & D.K.Marathe college Chembur-E, Mumbai-71
Databases. A database program can be used to:  sort a file into a different order  Maintain contact with clients  search through the records for a.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Tutorial on Tukey Charts Farrokh Alemi, Ph.D. Sunday, 11/25/2007.
Week 2 Normalization and Queries
Concepts of Database Management, 4th Edition, Pratt & Adamski
XmR Chart Farrokh Alemi, Ph.D.. Purpose of Control Chart  Real or random.  Tell a story of changes in outcomes of the process.
Descriptive Statistics, Part Two Farrokh Alemi, Ph.D. Kashif Haqqi, M.D.
DATABASES AND SQL. Introduction Relation: Relation means table(data is arranged in rows and columns) Domain : A domain is a pool of values appearing in.
MY SQL Eng: SAHAR. Introduction to SQL What is SQL? When a user wants to get some information from a database file, he can issue a query A query is a.
PAIRED TEST Farrokh Alemi Ph.D.. Framework for Hypothesis Testing.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Introduction to Database Lei Yang Computer Science Department.
Go to Index Analysis of Means Farrokh Alemi, Ph.D. Kashif Haqqi M.D.
Introduction to Control Charts: XmR Chart
FIA Forest Inventory Analysis Plots in forests over the US –Coordinates “fuzzed” at 1km –Tree species and characteristics –Resampled every decade FIA database:
VARIANCE & STANDARD DEVIATION By Farrokh Alemi, Ph.D. This lecture is organized by Dr. Alemi and narrated by Yara Alemi. The lecture is based on the OpenIntro.
MIT5314: Database ApplicationsSlide # 1 More SQL Dr. Peeter KirsFall, 2003 More SQL (With a little more on Database Design)
Table of Contents 1. Standard Deviation
 z – Score  Percentiles  Quartiles  A standardized value  A number of standard deviations a given value, x, is above or below the mean  z = (score.
Mass s Tailored to Individuals Farrokh Alemi, Ph.D.
Databases and Speadsheets
Concepts of Database Management Seventh Edition Chapter 3 The Relational Model 2: SQL.
Santa Clara School of Law Case Study: Class Roster, and Seating Chart.
Create Stored Procedures and Functions Database Management Fundamentals LESSON 2.4.
Access Queries and Forms. Access Queries Simple Queries  To create an Access query, don’t use the query wizard. Instead, create query in Design view.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Quick Lesson on Databases
SQL – Data types.
Group Functions Lab 6.
eARS Release 2.0 Tips for AY 2014 File Upload
Calculation of Present Value
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
Merge Data & Calculate Average
Standard Deviation Calculate the mean Given a Data Set 12, 8, 7, 14, 4
P-Chart Farrokh Alemi, Ph.D..
Graphical Interface for Queries
GROUP BY & Subset Data Analysis
SQL for Calculating Likelihood Ratios
Farrokh Alemi, PhD Sunday, January 29, 2017
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Receiver Operating Curves
SELECT & FROM Commands Farrokh Alemi, PhD
Chapter 4 Summary Query.
Creating Tables & Inserting Values Using SQL
MongoDB Aggregations.
Comparison of Rates Question 1
Farrokh Alemi, Ph.D. Revised by Akhil Anto
MongoDB Aggregations.
Has Rate of Hospitals Exceeding National Payment for AMI Changed?
Has Rate of Changed for Southeast Alabama Medical Center?
Dead Patients Visiting
Causal Control Chart Farrokh Alemi, Ph.D..
Xbar Chart Farrokh Alemi, Ph.D..
Analysis of Observed & Expected Infections
Query Functions.
Excel Formulas Made Easy
P-Chart Farrokh Alemi, Ph.D. This lecture was organized by Dr. Alemi.
MongoDB Aggregations.
MCC6.SP.5c, MCC9-12.S.ID.1, MCC9-12.S.1D.2 and MCC9-12.S.ID.3
Joins and other advanced Queries
Xbar Chart By Farrokh Alemi Ph.D
Time between Control Chart: When Is Harm Reduction Drug Use?
Database Management System
Time-between Control Chart for Exercise By Farrokh Alemi Ph.D
Categorical Data By Farrokh Alemi, Ph.D.
Introduction to SQL Server and the Structure Query Language
Tukey Control Chart Farrokh Alemi, Ph.D.
Practice Project Practice to know SQL
Presentation transcript:

Has Payment, for AMI, to above National Average Hospitals, Increased? Farrokh Alemi, Ph.D.

Download, Unzip, Rename Data To H-YYYY-MM

Merge into Access in Order of Date 1 2 4 3

Upload from File Names Indicated from Database for the Year

Ignore Tables with Same Time Periods Only 3 unique time periods in 9 tables: 2010-2013 in HQI_HOSP_AMI_Payment 2011-2014 in HQI_HOSP_Payment 2012-2015 in HQI_HOSP_PaymentAndValueOfCare4

Join Tables on Provider & Measure ID

Select above Average Hospitals

Drop Hospitals Not Reporting Remove Hospitals Not Reporting Remove Hospitals Not Reporting Remove Hospitals Not Reporting

Restrict to AMI 30 Day Measure Select Measure Payment_30_AMI

Average Payment across Hospitals Average = Total Payment / Number of Cases Total Payment is Sum of Hospital Averages times Number of Cases Paid2010-2013: CCur(Sum(CCur(CStr([HQI_HOSP_AMI_Payment]![payment])) * Int(CStr([HQI_HOSP_AMI_Payment]![denominator]))) / Sum(Int(CStr([HQI_HOSP_AMI_Payment]![denominator])))) Divide by Sum of Cases across Hospitals Ccur converts to currency from text CStr converts to string from memo Int converts to integer

Calculation for 2011-2014

Calculation for 2011-2014 SELECT Count(([HQI_HOSP_Payment]![Provider ID])) AS [Hospitals2011-2014] , StDev(CCur(CStr([HQI_HOSP_Payment]![Payment]))) AS [StDev2011-2014] , CCur(Sum(CCur(CStr([HQI_HOSP_Payment]![Payment]))* Int(CStr([HQI_HOSP_Payment]![denominator]))) / Sum(Int(CStr([HQI_HOSP_Payment]![denominator])))) AS [Paid2011-2014] FROM HQI_HOSP_AMI_Payment INNER JOIN HQI_HOSP_Payment ON (HQI_HOSP_AMI_Payment.[Measure ID] = HQI_HOSP_Payment.[Measure ID]) AND (HQI_HOSP_AMI_Payment.[Provider ID] = HQI_HOSP_Payment.[Provider ID]) WHERE (((HQI_HOSP_AMI_Payment.[Compared to National]) Like "*Greater*") AND ((HQI_HOSP_AMI_Payment.Denominator)<>"Not Available") AND ((HQI_HOSP_AMI_Payment.[Measure ID])="PAYM_30_AMI"));

Three Query Results Time Period Number of Hospitals Average Payment Standard Deviation 2010-2013 382 $23,827.56 1052.52 2011-2014 $24,168.80 1228.38 2012-2015 381 $24,511.89 1353.20

Calculate Control Limits Time period 2010-2013 2011-2014 2012-2015 Number of Hospitals 382 381 Observed Average $23,827.56 $24,168.80 $24,511.89 Standard Deviation $1,052.52 $1,228.38 $1,353.20 Grand Average $24,169.42 Upper Limit $26,232.36 $26,577.05 $26,821.70 Lower Limit $22,106.48 $21,761.79 $21,517.14 Standard Deviation calculated in SQL Upper Limit =Grand Average + 1.96 * Standard Deviation Lower Limit =Grand Average – 1.96 * Standard Deviation

Plot Control Chart

Payment to 381 hospitals that received above average hospital payments in 2010-2013 period did not change in subsequent time periods No change in AMI payments for hospitals that had initially received above national average payments