Ask Business Economics Expert

The data set orion.orders contains information about in-store, catalog, and Internet orders as well as delivery dates.

Partial orion.orders (490 Total Observa

Order    Order  Delivery

Order_ID    Type     Employee_ID    Customer_ID        Date      Date

1230058123      1           121039             63    11JAN2007   11JAN2007

1230080101      2         99999999              5    15JAN2007   19JAN2007

1230106883      2         99999999             45    20JAN2007   22JAN2007

1230147441      1           120174             41    28JAN2007   28JAN2007

1230315085      1           120134            183    27FEB2007    27FEB2007

1230333319      2         99999999             79    02MAR2007   03MAR2007

a. Do two data sets, work.instore and work.delivery, to analyze in-store sales.

  • Use a WHERE statement to read-only observations withOrder_Typeequal to 1.
  • Make a variableShipDaysthat is the number of days between when the order was placed and when the order was delivered.
  • Output towork.instorewhenShipDaysis equal to 0.
  • Output towork.deliverywhenShipDaysis greater than 0.
  • Thework.instoredata set should contain three variables (Order_ID,Customer_ID, andOrder_Date).

The work.delivery data set should contain four variables (Order_IDCustomer_IDOrder_Date, and ShipDays).

  • Test this program by reading the first 30 observations that satisfy the WHERE statement. Check the SAS log to verify that no warnings or errors were reported.

b. Modify the program to read the full orion.orders data set. Of the 490 observations in orion.orders, only 260 are read due to the WHERE statement.

c. Print your results from work.delivery with an appropriate title.

Partial work.delivery (10 Total Observations) Deliveries from In-store Purchases

Order_   Ship

Obs       Order_ID    Customer_ID        Date   Days

1     1231468750             52   25SEP2007     5

2     1231657078             63   29OCT2007     4

3     1232648239             49   07APR2008     8

4     1241063739             89   03JAN2011     1

5     1241235281            171   23JAN2011     7

d. Use PROC FREQ to display the number of orders per year in work.instore. Add an appropriate title.

Hint: Format the variable Order_Date with a YEAR. format. Restrict the analysis to the variable Order_Date with a TABLES statement.

Business Economics, Economics

  • Category:- Business Economics
  • Reference No.:- M92770894
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Business Economics

Standards drive instruction therefore how do standards

Standards "drive instruction," therefore, how do standards influence curriculum planning?

Explain how the application of the pdca cycle can support a

Explain how the application of the PDCA cycle can support a competitive strategy of low cost leadership.

Ford motors expects a new hybrid-engine project to produce

Ford Motors expects a new? Hybrid-engine project to produce incremental cash flows of $ 95 million each year and expects these to grow at 4?% each year. The upfront project costs are? $900 million and? Ford's weighted av ...

A five-year bond with a yield of 11 continuously compounded

A five-year bond with a yield of 11% (continuously compounded) pays an 8% coupon at the end of each year. a) What is the bond's price? b) What is the bond's duration? c) Use the duration to calculate the effect on the bo ...

Image manufacturing is an electronics manufacturer and

IMAGE Manufacturing is an electronics manufacturer and retailer. Its main products are Ultrabook computers, PCs and calculators. The current price of the Ultrabook is $ 600, the PC is $700 and the calculator is $30. This ...

According to kulish what is about the design of the euro

According to Kulish, what is about the design of the euro currency that lessens its appeal compared to prior national currencies?

How has the value of the euro changed compared to other

How has the value of the Euro changed, compared to other countries, over the past 10 years (since the Great Recession began)?

In lecture we discussed why the production possibilities

In lecture we discussed why the production possibilities frontier (the boundary of the production possibilities set) is bowed 'outwards'. When might the production possibilities set be bowed 'inwards'? Give an example of ...

In 2013 gallup conducted a poll and found a 95 confidence

In 2013, Gallup conducted a poll and found a 95% confidence interval of the proportion of Americans who believe it is the government's responsibility for health care. Give the statistical interpretation. I do not underst ...

The standard deviation of the number of video game as

The standard deviation of the number of video game A's outcomes is 0.5479, while the standard deviation of the number of video game B's outcomes is 0.2498. Which game would you be likely to choose if you wanted players t ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As