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 Observations)

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

a. Orion Star wants to study catalog and Internet orders that were delivered quickly, as well as those that went slowly.

  • Create three data sets namedwork.fast,work.slow, andwork.veryslow.
  • type WHERE statement to read only the observations withOrder_Typeequal to 2 (catalog) or 3 (Internet).
  • Make a variable namedShipDaysthat is the number of days between when the order is placed and when the order is delivered.
  • Handle the output as follows:

- Output to work.fast when the value of ShipDays is less than 3.

- Output to work.slow when the value of ShipDays is 5 to 7.

- Output to work.veryslow when the value of ShipDays is greater than 7.

- Do not output an observation when the value of ShipDays is 3 or 4.

  • Drop the variableEmployee_ID.
  • There should be 80 observations inwork.fast, 69 observations inwork.slow, and 5 observations inwork.veryslow.

Of the 490 observations in orion.orders, only 230 are read due to the WHERE statement.

b. Print your results from work.veryslow with an appropriate title.

work.veryslow

Orders taking more than 7 days to deliver

Order_                      Order_    Delivery Ship

Obs       Order_ID    Type     Customer_ID        Date      Date       Days

1      1231305521      2               16    27AUG2007   04SEP2007      8

2      1236483576      2            70108    22JUL2009   02AUG2009     11

3      1236965430      3            70165    08SEP2009   18SEP2009    10

4      1237165927      3               79    27SEP2009   08OCT2009     11

5      1241298131      2             2806    29JAN2011   08FEB2011     10

C. Type solution to the previous exercise using SELECT logic instead of IF-THEN/ELSE logic. Refer to SAS documentation to explore the use of a compound expression in a SELECT statement. Print the data set work.veryslow.

Business Economics, Economics

  • Category:- Business Economics
  • Reference No.:- M92770900
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Business Economics

In a specific sample size of 100 what is the range within

In a specific sample size of 100, what is the range within the groups average iron level would be considered ususal? Using the Central Limit Theorem and the Empirical Rule.

Poblem 1 a firms production function c is given by c q

Problem 1. A firm's production function C is given by C (q) = 0:5q 2+2q 1 2 +18, where q is the level of output. (i) Calculate marginal costs (ii) If all fixed costs are sunk, and the minimum price at which this firm wil ...

Briefly explain what separations are how do they effect the

Briefly explain what separations are, how do they effect the average duration of unemployment?

Betsy ross owns 921 shares in the hanson fabrics company

Betsy Ross owns 921 shares in the Hanson Fabrics Company. There are 16 directors to be elected, and 32,500 shares outstanding. The firm has adopted cumulative voting.  a. How many total votes can be cast? (Do not round i ...

At litchfield college of nursingnbsp85nbspof incoming

At Litchfield College of Nursing, 85% of incoming freshmen nursing students are female and 15% are male. Recent records indicate that 70% of the entering female students will graduate with a BSN degree, while 80% of the ...

Suppose the elasticity of money demand with respect to

Suppose the elasticity of money demand with respect to income is 2/3. If the money supply increases by 10% and output increases by 4.5%, while the real interest rate and the expected inflation rate are unchanged, then th ...

Manny moe and jack have the following demand curves for

Manny, Moe and Jack have the following demand curves for pears: QManny = 100 - 2P = 70 - 2P + 10 Ppear + .25 YManny where P Pear = 2 and YManny = 40. QMoe = 300 - 4P = 80 - 4P + 35 Ppear + .75 YMoe where P Pear = 2 and Y ...

Give three numbers between -6 and 6 that satisfy the given

Give three numbers between -6 and 6 that satisfy the given condition. List the real positive numbers not integers.

The demand for salt is relatively price inelastic while the

The demand for salt is relatively price inelastic, while the demand for pretzels is relatively price elastic. How can you best explain why and elaborate your answer.

Below are the supply and demand schedules for fresh coffee

Below are the supply and demand schedules for fresh coffee in Vancouver: Price ($/cup) Quantity Demanded (cups/day) Quantity Supplied (cups/day) 1 440 330 2 415 360 3 390 390 4 365 420 5 340 450 6 315 480 7 290 510 a. Wh ...

  • 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