Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

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

Consider the following estimated regression model relating

Consider the following estimated regression model relating annual salary to years of education and work experience. Estimated Salary=11,756.80+2723.3(Education)+1092.64(Experience) Suppose an employee with 11 years of ed ...

You have developed a paper-pencil survey that you claim

You have developed a paper-pencil survey that you claim measures "love of pets." To establish its validity, you do the following: correlate scores on it with the number of pets a person has; correlate scores on it with h ...

Link changes in unemployment inflation wages and gdp to one

Link changes in unemployment, inflation, wages, and GDP to one another and how they impacted each other during periods of economic decline (recessions) and periods of economic growth (expansion) over the past 10 years.

Xl cos dividends are expected to grow at a 20 rate for the

XL Co.'s dividends are expected to grow at a 20% rate for the next 3 years, with the growth rate falling off to a constant 6% thereafter. If the required return is 14% and the company just paid a $3.10 dividend, what is ...

A consumer analyst reports that the mean life of a certain

A consumer analyst reports that the mean life of a certain type of alkaline battery is no more than 63 months. Write the null and alternative hypotheses and note which is the claim.

Suppose we have a hypothetical economy with a marginal

Suppose we have a hypothetical economy with a Marginal Propensity to Consume of seventy-five percent (75%). Further assume business investment spending increases by $2,000. By how much will this change affect Gross Domes ...

What does this demand sequence meani am assuming that xyand

What does this demand sequence mean? (I am assuming that x,y,and s are related products) Qx= 1.5 -3.0Px  +  0.8(Income)   + 2.0 Py -0.6 Ps   + 1.2(Advertising) Then a year passes and the values are: Px=2 I=2.5 Py=1.80 Ps ...

If the probability of making a type i error is decreased

If the probability of making a Type I error is decreased, the probability of making a Type-II error: A) also decreases B) remains the same C) increases D) depends on the sample size Which of the following statements is  ...

You work for a large company with tens of thousands of

You work for a large company with tens of thousands of retail outlets throughout the world. The average sales at each retail outlet is $2,400,000 per year, with a standard deviation of $600,000. You want to put in place ...

A research a research institute conduct the clinical trials

A research a research institute conduct the clinical trials of a method designed to increase the probability of conceiving a boy. Amount 170 to babies born to parents using the method. 146 for boys. Identity identify the ...

  • 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