Question

IN SAS NOT ALGEBRA OR MINITAB OR R, SO ON. Please type up the SAS CODE. Thanks.

Question 4: A company wanted to know if attending a course on “how to be a successful salesperson” can increase the average s

0 0
Add a comment Improve this question Transcribed image text
Answer #1

SAS CODE:

data sales;
infile cards;
input before after;
cards;
12 18
18 24
25 24
9 14
14 19
16 20
;
run;
proc ttest data=sales;
paired before*after;
run;

Output

The TTEST Procedure

Difference: before - after

N Mean Std Dev Std Err Minimum Maximum
6 -4.1667 2.6394 1.0775 -6.0000 1.0000
Mean 95% CL Mean Std Dev 95% CL Std Dev
-4.1667 -6.9366 -1.3967 2.6394 1.6476 6.4735
DF t Value Pr > |t|
5 -3.87 0.0118

Distribution of Difference: before - after With 95% Confidence Interval for Mean Normal Kernel Percent 0 95% Confidence Diffe

t=-3.87

p=0.0118--this is two tail p value as we get two tail test results in pairedt test

one tail p value =p=0.0118/2= 0.0059

p<0.01

Reject null hypothesis

accept alternative hypothesis

Can conlcude that mean weakly sales for all salespersons increase as a result of attending this course

Add a comment
Know the answer?
Add Answer to:
IN SAS NOT ALGEBRA OR MINITAB OR R, SO ON. Please type up the SAS CODE....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please show work :) 3. A company wanted to know if attending a course on how...

    Please show work :) 3. A company wanted to know if attending a course on how to be a successful salesperson can increase the average sales of its employees. The company sent six of its salespersons to attend this course. The following table gives the 1-week sales of these salespersons before and after they attended this course. 12 18 25 9 14 16 Before After 18 24 24 14 19 20 Using the 1% significance level, can you conclude that...

  • Please show the formulas that need to be used if needed. Thank you Small Builders, Inc....

    Please show the formulas that need to be used if needed. Thank you Small Builders, Inc. has two lines of business: product and service. Their product line of business offers 2 products: Product A and Product B. In this assignment, you will use Pivot Tables to help show which product is more successful, which salesperson is selling the most or the least and which customer(s) are the most important relationships to maintain. Use the Excel spreadsheet included here which provides...

  • Pittman Company is a small but growing manufacturer of telecommunications equipment. The company has no sales...

    Pittman Company is a small but growing manufacturer of telecommunications equipment. The company has no sales force of its own; rather, it relies completely on independent sales agents to market its products. These agents are paid a sales commission of 16% for all items sold. Barbara Cheney, Pittman’s controller, has just prepared the company’s budgeted income statement for next year. The statement follows: Pittman Company Budgeted Income Statement For the Year Ended December 31 Sales $ 20,800,000 Manufacturing expenses: Variable...

  • please solve 1-4 in detail please solve 1-3 in only 3-34. could you please tell why...

    please solve 1-4 in detail please solve 1-3 in only 3-34. could you please tell why you solved the problem like that Chapter 2 An Introduction to Cost Terms and Purposes Function Representative Cost Driver 1. Accounting 2. Human resources 3. Data processing 4. Research and development 5. Purchasing 6. Distribution 7. Billing A. Number of invoices sent B. Number of purchase orders C. Number of research scientists D. Hours of computer processing unit (CPU) E. Number of employees F...

  • Please help me with this! I'm so confused about how to prepare the trial balance before...

    Please help me with this! I'm so confused about how to prepare the trial balance before adjustment. Here is all the information: The 2019 Balance Sheet of the Victoria Co. is as follows: Victoria Co. Balance Sheet As of December 31, 2019 Cash 85,000 Notes Payable 150,000 Notes Receivable 34,590 Accounts Payable 125,000 Accounts Receivable 35,000 Unearned Revenue 1,000 Less: Allowance for Doubtful A/Cs (2,930) Property Tax Payable 0 Inventories 65,000 Interest Payable 3,500 Office Supplies                                                                                         0 Income Tax Payable...

  • Q R S T U A B C D E F G H 4 Problem C...

    Q R S T U A B C D E F G H 4 Problem C (26 points): 5 Statue Company is able to produce two products, a Fancy Statue and a Plain 6 Statue with the same machine in its factory. NOTE that only ONE Statue can be 7 manufactured at a time using this machine. The Company currently makes both 8 statues, but management is concerned that this strategy is not providing 9 maximum benefit. They are thinking...

  • Someone please help! If possible can whoever answers give a detailed explanation with the answer so...

    Someone please help! If possible can whoever answers give a detailed explanation with the answer so I can fully understand. Thank you in advance. The question is as followed 1. A. What yearly cash flows are relevant fr this investment decision? Do not forget the effect of taxes and the initial investment amount B. What discount rate should Worldwide Paper Company (WPC) use to analyze those cash flows? Be prepared to justify your recommended rate and the assumptions that you...

  • hi..please help..so i took a test and i got all of it wrong and im not...

    hi..please help..so i took a test and i got all of it wrong and im not sure how to do this problems..this is Investment class..please explain every step because im going to study using this material.thank you Fall 2010 4. Compare and contrast open end ve closed-end mutual funds will sell as long you want to buy the share, management comparin thom to you, while closed end mutual funds Preferred stocks on any public traced securities such as cquity, bond...

  • John Beckett enjoys vegetables, so much so that he has given up his full-time job as...

    John Beckett enjoys vegetables, so much so that he has given up his full-time job as a lawyer to concentrate on growing and marketing organic vegetables. He started growing vegetables 20 years ago in his back garden and eventually became fully self-sufficient in supplying vegetables for the family. Partly bored with his legal job and tempted by an attractive severance package, John decided he would try to establish his own vegetable supply business. Eighteen months ago he looked around for...

  • The last 3 cases are tests .cpp files to test the code. The language of this...

    The last 3 cases are tests .cpp files to test the code. The language of this code must be C++ because that is the only I am familiar with. Soreland, a software company, is planning on releasing its first C++ compiler with the hopes of putting MiniSoft's Visual C++ out of business (that reminds me of another story). Consequently, Soreland has contracted with the Fruugle Corporation to design and build part of their compiler. Of course, since Fruugle gets all...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT