1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
WARRIOR [948]
2 years ago
10

From the SAS data set sashelp.shoes, create a new data set that includes the subsidiaries whose total returns accounts for at le

ast 30% of overall total returns of their associated region
Business
1 answer:
aleksley [76]2 years ago
5 0

The following is the SAS code to generate the dataset. The lines starting with * are the command lines. Before each code, documentation is given to understand what this is actually doing.

* First create a dataset which gives the total sales for

* each of the subsidiary for every region. The output dataset

* should be unique at subsidiary*region level. The variable  

* total_sales_sub denotes the total sales for that subsidiary;

data tot_sale_per_sub;

set sashelp.shoes;

by region subsidiary;

retain total_sales_sub 0;

if first.subsidiary then total_sales_sub = 0;

total_sales_sub+sales;

if last.subsidiary then output;

keep region subsidiary total_sales_sub;

run;

* The dataset 'sales_gt_20pct' is our final dataset where we

* put only those subsidiaries for which total sales is atleast

* 20%=1/5 of the total sales of the region. The variable total_sales_sub

* denotes the total sales for that subsidiary and total_sales_reg

* denotes the total sales for that region;

proc sql;

create table sales_gt_20pct as

select region, subsidiary, total_sales_sub, sum(total_sales_sub) as total_sales_reg

from tot_sale_per_sub

group by region

having total_sales_sub >= total_sales_reg/5;

quit;

* Printing the output data;

proc print data=sales_gt_20pct; run;

* END OF CODE;

To learn more about SAS data code, click the links.

brainly.com/question/15062427

#SPJ4

You might be interested in
Sherry is known for being very task oriented in her approach to manage subordinates. Which at the following statement is noot li
Furkat [3]

Answer:

a. She tends to work to develop trusting relationships with subordinates.

Explanation:

since in the given situation it is mentioned that sherry to be called as the very task oriented person in order to manage the subordinates so as per the given situation the first option is correct as it is not describe her behavior that she develop the relationship with the subordinates in a trust worthy way

So the option a is correct

6 0
3 years ago
What should you do first if you receive a phone that there has been fraudulent behavior use on your credit card?
pentagon [3]
Call the bank and have them cancel the card
8 0
4 years ago
Supply of Children's Books Price (dollars) Quantity (books) $12 24 10 20 8 16 6 12 4 8 2 4 0 0 Instructions: Round your answers
Nataly_w [17]

Answer:

40%

Explanation:

the percentage change in price using the midpoint method = {(P₂ - P₁) / [(P₂ + P₁)/2]} x 100

= {($6- $4) / [($6 + $4)/2]} x 100 = [$2 / ($10 / 2)] x 100 = ($2 / $5) x 100 = 0.4 x 100 = 40%

The advantage of using the midpoint method for calculating percentage changes is that it doesn't matter if the change is positive or negative, e.g. it will yield the same result if the price increases or decreases in the same amounts.

5 0
3 years ago
On January 1, a company issued and sold a $408,000, 9%, 10-year bond payable, and received proceeds of $403,000. Interest is pay
MariettaO [177]

Answer and Explanation:

The Journal entry is shown below:-

Bond interest expense Dr, $18,610

         To Cash $18360

           To Discount on bonds $250

(Being first interest payment is recorded)

For recording the first interest payment we simply debited the bond interest expenses as it increased the expenses and we credited cash and discount on bonds as  it reduced the assets and the discount should be credited

Working Note

Total discount on bonds issued = Sold bonds - Received proceeds

= $408,000 - $403,000

= $5,000

Amortization of Semi Annual Discount = Total discount on bonds issued ÷ Number of periods

= $5,000 ÷ 20

= $250

Cash interest paid = Sold bonds × Interest rate × From Jan to June ÷ Total number of months in a year

= $408,000 × 9% × 6 ÷ 12

= $18,360

Total Interest expense = Cash interest paid + Amortization of Semi Annual Discount

= $18,360 + $250

= $18,610

3 0
3 years ago
Under the new form of republican government in spain, the ______ lost position and many possessions.
Usimov [2.4K]
Under the new form of republican government in spain, the nobility lost position and may possessions. Nobility people are the people who are associated and belong to a noble class in a place or let us say in a country in which most have a hereditary life and other a honorary life is what they have.
3 0
3 years ago
Other questions:
  • Self-confidence is the most important quality for
    13·1 answer
  • One measure of the extent of competition in an industry is the concentration ratio. What level of concentration indicates that a
    13·1 answer
  • The finance department is evaluating two accounts receivable transaction processing systems. System A provides for batch process
    6·1 answer
  • A bank pays "interest" (the rental price paid for use of the money) on savings accounts, CD’s and on some types of______________
    11·1 answer
  • A company uses direct labor costs as it allocation base. Management estimates the company will incur $150,000 of direct labor co
    5·1 answer
  • When a 2/10 end of month discount is used on an invoice dated may 29, a discount is allowed if the invoice is paid by________
    9·1 answer
  • ÂOaktree, Inc. is a merchandiser of inlaid wooden boxes. The company sold 7,500 units during the year. The company has provided
    7·1 answer
  • Management of Childers Corporation is considering whether to purchase a new model 370 machine costing $459,000 or a new model 24
    9·1 answer
  • "Stock R has a beta of 1.5, Stock S has a beta of 0.75, the required return on an average stock is 10%, and the risk-free rate o
    8·1 answer
  • a written document prepared by an entrepreneur that describes all the relevant external and internal elements involved in starti
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!