Use SAS code to answer the following prompt: 1) Import the file Data for Programming.xlsx into...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use SAS code to answer the following prompt: 1) Import the file "Data for Programming.xlsx" into SAS 2) Next, DISPLAY the first 10 observations for all variables (including new ones) in a .html body file with 'Statistical' style and meet these requirements: 1). Use the original column names for all original variables 2). Use the date format for original date variables as appeared in .xlsx file; 2). Calculate the 'Discharge_Date' based on Admission date and LOS and display the values with form like this: 09/30/23; 3). Calculate the patient's out of pocket payment 'Patient_pay' using 'Total cost' and 'Insurance pay' columns; 4). Use the dollar format to display values in 'Total cost', 'Insurance pay' and 'Patient_pay': Excel file content: Pt ID Date of birth COVID-19 test results Admission date LOS (Length of Stay, days) Total cost Insurance pay 210 367 9/21/73 10/30/90 Pos 2-Sep-20 4 $2,398.00 $2,000.00 Positive 30-Jan-20 6 $3,568.00 $3,210.00 271 3/21/00 Neg 21-Feb-20 12 $8,765.00 $8,300.00 897 4/6/11 pos 16-Apr-20 2 $1,870.00 $1,065.00 2134 3/3/86 negative 30-Mar-20 1 $564.00 $510.00 9801 9/21/99 NA 21-Sep-20 9 $7,890.00 $7,100.00 210 1/27/97 Pos 29-Apr-20 7651 8/1/96 Neg 1-Aug-20 30 $124,980.00 28 $34,598.00 $123,100.00 $30,678.00 361 8/1/90 Pos 1-Jul-20 12 $12,098.00 $10,876.00 2076 10/11/96 11-Jul-20 5 $3,678.00 $3,005.00 8710 1/1/99 NA 10-May-20 9 $8,765.00 21 5/1/02 Negative 30 4/11/03 Neg 1-May-20 17-Apr-20 1 $876.00 37 $35,678.00 912 7/17/03 Positive 19-Jul-20 16 $21,098.00 $8,000.00 $521.00 $30,567.00 $20,165.00 Use SAS code to answer the following prompt: 1) Import the file "Data for Programming.xlsx" into SAS 2) Next, DISPLAY the first 10 observations for all variables (including new ones) in a .html body file with 'Statistical' style and meet these requirements: 1). Use the original column names for all original variables 2). Use the date format for original date variables as appeared in .xlsx file; 2). Calculate the 'Discharge_Date' based on Admission date and LOS and display the values with form like this: 09/30/23; 3). Calculate the patient's out of pocket payment 'Patient_pay' using 'Total cost' and 'Insurance pay' columns; 4). Use the dollar format to display values in 'Total cost', 'Insurance pay' and 'Patient_pay': Excel file content: Pt ID Date of birth COVID-19 test results Admission date LOS (Length of Stay, days) Total cost Insurance pay 210 367 9/21/73 10/30/90 Pos 2-Sep-20 4 $2,398.00 $2,000.00 Positive 30-Jan-20 6 $3,568.00 $3,210.00 271 3/21/00 Neg 21-Feb-20 12 $8,765.00 $8,300.00 897 4/6/11 pos 16-Apr-20 2 $1,870.00 $1,065.00 2134 3/3/86 negative 30-Mar-20 1 $564.00 $510.00 9801 9/21/99 NA 21-Sep-20 9 $7,890.00 $7,100.00 210 1/27/97 Pos 29-Apr-20 7651 8/1/96 Neg 1-Aug-20 30 $124,980.00 28 $34,598.00 $123,100.00 $30,678.00 361 8/1/90 Pos 1-Jul-20 12 $12,098.00 $10,876.00 2076 10/11/96 11-Jul-20 5 $3,678.00 $3,005.00 8710 1/1/99 NA 10-May-20 9 $8,765.00 21 5/1/02 Negative 30 4/11/03 Neg 1-May-20 17-Apr-20 1 $876.00 37 $35,678.00 912 7/17/03 Positive 19-Jul-20 16 $21,098.00 $8,000.00 $521.00 $30,567.00 $20,165.00
Expert Answer:
Posted Date:
Students also viewed these mathematics questions
-
Determine A in the indicated figures. Fig. 2.40 (a) A 84 (a) 40 B
-
McGonigals Meats, Inc. currently pays no dividends. The firm plans to begin paying dividends in 3 years (at the end of t3). The first dividend at that time will be $1 and dividends are expected to...
-
The following items were included in Venicio Corporations inventory account on December 31, 2019: Merchandise out on consignment, at sales price, including 40% markup on selling price...
-
A decentralized company utilizes each of the following account descriptions for certain of its expense accounts. Identify each account as either a separable cost/asset or a common cost/asset. (a)...
-
Procter & Gamble (P&G) is one of the largest consumer products companies in the world, famous for such brands as Crest and Tide. Financial information for the company for three recent years is as...
-
4. (a) Sketch the H-B hysteresis curves for both soft and hard magnets. Label the key parameters of the curves. (5 marks) (b) With reference to your answer for part (a) explain the different...
-
Helix Corporation uses the weighted-average method in its process costing system. It produces prefabricated flooring in a series of steps carried out in production departments. All of the material...
-
Rita is a self-employed taxpayer who turns 39 years old at the end of the year (2023). In 2023, her net Schedule C income was $276,000. This was her only source of income. This year, Rita is...
-
Fraser's taxable income is $53,540. According to the table below, the federal tax payable is: Taxable Income Federal Tax Rate $46,605 or less (Base Amount) 15% Between $46,605 and $93,208 15% on the...
-
Explain the role of an HR audit as it relates to strategy formation. Describe one benefit of an HR audit
-
Experts often _ _ _ _ _ _ _ _ . appear meek and unassuming on TV use language everyone easily understands have special knowledge in a narrow field know a little about a variety of topics
-
Write a 5 -8 paragraph essay in MLA styles about "Drones" with references. In order to generate MLA citations, use CCC library, Purdue Owl; citethisforme.com: this is a citation generator for MLA and...
-
9.The average speed of an object is defined to be a) one half of the sum of the maximum and the minimum speeds. b) distance it travels multiplied by the time it takes. c) the distance it travels...
-
Given that all the choices are true, which one concludes the paragraph with a precise and detailed description that relates to the main topic of the essay? A. NO CHANGE B. Decades, X-ray C. Decades...
Study smarter with the SolutionInn App