If you restarted your SAS session since the last exercise, open and submit theibname.sas program that...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
If you restarted your SAS session since the last exercise, open and submit theibname.sas program that can be found in the data folder. Level 1 1. Displaying orion.order_fact with the PRINT Procedure a. Retrieve the starter program p104e01. Run the program and view the output. Observe that there are 617 observations. Observations might be displayed over two lines, depending on output settings. b. Add a SUM statement to display the sum of Total_Retail_Price. The last several lines of the report are shown below. Order Obs Type Product ID Quantity 610 611 612 613 Total Retail 614 615 616 617 1 240700100007 2 1 240700100017 2 1 240700400003 2 1 240800100042 3 1 240500200016 3 1 240500200122 2 1 240700200018 4 I 220101400130 2 CostPrice Price $45.70 $19.98 $24.80 $760.80 $95.10 $48.20 $75.20 $33.80 Per Unit Discount $9.30 $11.40 40% $5.60 $105.30 $14.50 $11.50 $10.30 $5.70 + $100,077.46 c. Add a WHERE statement to select only the observations with Total_Retail_Price more than 500. Submit the program. Verify that 35 observations are displayed. What do you notice about the Obs column? Obs values jumped. Did the sum of Total_Retail_Price change to reflect only the subset? No_ d. Add an option to suppress the Obs column. Verify that there are 35 observations in the results. How can you verify the number of observations in the results? Counting e. Add an ID statement to use Customer_ID as the identifying variable. Submit the program. The results contain 35 observations. How did the output change? Customer ID was printed at the beginning of each row. f. Add a VAR statement to display Customer_ID, Order_ID, Order_Type, Quantity, and Total_Retail_Price. What do you notice about Customer_ID? Customer ID was duplicated g. Modify the VAR statement to address the issue with Customer_ID. If you restarted your SAS session since the last exercise, open and submit theibname.sas program that can be found in the data folder. Level 1 1. Displaying orion.order_fact with the PRINT Procedure a. Retrieve the starter program p104e01. Run the program and view the output. Observe that there are 617 observations. Observations might be displayed over two lines, depending on output settings. b. Add a SUM statement to display the sum of Total_Retail_Price. The last several lines of the report are shown below. Order Obs Type Product ID Quantity 610 611 612 613 Total Retail 614 615 616 617 1 240700100007 2 1 240700100017 2 1 240700400003 2 1 240800100042 3 1 240500200016 3 1 240500200122 2 1 240700200018 4 I 220101400130 2 CostPrice Price $45.70 $19.98 $24.80 $760.80 $95.10 $48.20 $75.20 $33.80 Per Unit Discount $9.30 $11.40 40% $5.60 $105.30 $14.50 $11.50 $10.30 $5.70 + $100,077.46 c. Add a WHERE statement to select only the observations with Total_Retail_Price more than 500. Submit the program. Verify that 35 observations are displayed. What do you notice about the Obs column? Obs values jumped. Did the sum of Total_Retail_Price change to reflect only the subset? No_ d. Add an option to suppress the Obs column. Verify that there are 35 observations in the results. How can you verify the number of observations in the results? Counting e. Add an ID statement to use Customer_ID as the identifying variable. Submit the program. The results contain 35 observations. How did the output change? Customer ID was printed at the beginning of each row. f. Add a VAR statement to display Customer_ID, Order_ID, Order_Type, Quantity, and Total_Retail_Price. What do you notice about Customer_ID? Customer ID was duplicated g. Modify the VAR statement to address the issue with Customer_ID.
Expert Answer:
Answer rating: 100% (QA)
1 Displaying hsprgorderfact with the PRINT Procedure a Retrieve the starter program ch04e01 Run the program and view the output Observe that there are ... View the full answer
Related Book For
Understanding Financial Statements
ISBN: 978-0133874037
11th edition
Authors: Lyn Fraser, Aileen Ormiston
Posted Date:
Students also viewed these accounting questions
-
In Problems 37-42, the indefinite integral can be found in more than one way. First use the substitution method to find the indefinite integral. Then find it without using substitution. Check that...
-
The following information can be found in the Murphy Oil Corporation Annual Report to Share-holders. For each variable, indicate the level of data measurement. a. List of Principal Offices (e.g., El...
-
The 2006 Form 10-K for Wal-Mart can be found in Appendix A. Answer the following questions: 1. Locate Wal-Mart's 2006 balance sheet. What percentage of its total assets consists of cash and cash...
-
As our energy structure transitions toward renewable fuels, forest-based biomass fuels benefit from this transition. What are the likely effects of this transition on consumers, producers, and the...
-
Explain why the U.S. demand for Mexican pesos is downward-sloping and the supply of pesos to Americans is upward-sloping. Assuming a system of flexible exchange rates between Mexico and the United...
-
The City of Southern Pines maintains its books so as to prepare fund accounting statements and records worksheet adjustments in order to prepare government wide statements. As such, the City's...
-
What type of documents can be obtained through document requests?
-
A small vessel was purchased by a chemical company for $55,000 and is to be depreciated by MACRS depreciation . When its requirements changed suddenly, the chemical company leased the vessel to an...
-
Zebra, Inc., a calendar year S corporation, incurred the following items this year. Sammy is a 40% Zebra shareholder throughout the year. Sales Cost of goods sold $205,000 (82,000) Depreciation...
-
Bob and Susan Menzel are planning to open a food service operation and have heard about operating leverage. They are forecasting annual sales and depreciation expenses as follows: Annual sales Food...
-
If f(x) and g(x) = 2x2x find the following: (a) (fog)(x), it's Domain (16) (gof)(x), it's Domain 2+x 2-x (represent infinity as inf } CS
-
How much is the maturity value if Jay will borrow. worth $5000 at 62% simple interest for years and money 6 months?
-
A student used the following trigonometric substitution. Let x = sec 8, dx = sec 0 tan de The student simplified the integral and gets: tan (0) + tan (0) + c Help the student with the right triangle...
-
3. Let A be an array of integers and let p be an integer. Consider the problem of rearranging the values in A such that: The values that are less than or equal to p are placed before the values that...
-
Thermal Rising, Incorporated, makes paragliders for sale through specialty sporting goods stores. The company has a standard paraglider model, but also makes custom-designed paragliders. Management...
-
Elaborate on the principles of electrochemical engineering in the design of advanced energy storage and conversion systems, including fuel cells, batteries, and electrolyzers, discussing key...
-
YWN uses a target costing system and is launching a new product. The company has estimated that the selling price will be Y$100 per unit, and has set a mark-up on cost of 25%. Material will cost Y$50...
-
Nitrogen monoxide reacts with hydrogen as follows: 2NO(g)+ H2(g) N2O(g) + H2O(g) The rate law is [H2]/ t = k[NO]2[H2], where k is 1.10 107 L2/(mol2s) at 826oC. A vessel contains NO and H2 at...
-
The following information is available for Chemco Inc's inventories as of June 30, 2015: We used the LIFO method of valuing our inventories for approximately 40% and 44% of total inventories at June...
-
The 2013 Intel Form 10-K can be found at the following Web site: www.pearsonhighered.com/fraser. Using the Form 10-K, answer the following questions: (a) Prepare a common-size balance sheet for Intel...
-
The Hydrogenics case is the first in a series of four cases that illustrate a comprehensive analysis of an international corporation. In this case the balance sheet will be analyzed with the income...
-
Will you accept the following as good voucher? (a) A bill of Rs. 5,000 submitted by a salesman for his travelling allowance (b) A cash memo for Rs. 500 for a perambulator of a company producing...
-
How do you vouch the following? (a) Custom duty paid on import of machinery (b) Income from house property (c) Royalty payable to a foreign collaborator (d) Traveling expenses (e) Interest and...
-
What are the differences between auditing and accountancy?
Study smarter with the SolutionInn App