Question
Basic SAS coding

3. Use the SAS dataset insure to (a) create a new SAS dataset insure10 that i. reads in only Name, Company, PctInsured, and BalanceDue 11. outputs records where Petinsured < 100 ii. only retains the variables Name, Company, and BalanceDue (b) based on the results of the last part, create a listing report which i. is sorted by BalanceDue (largest first) ii. displays Name, Company, BalanceDue iii. uses a dollar format for BalanceDue
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Only first one solved.
data insure;
set insure10(keep= Name Company PetInsured BalanceDue);
run;
DATA insure10;
PROC PRINT DATA = insure10;
WHERE PetInsured <100
var Name Company BalanceDue;
run;

Add a comment
Know the answer?
Add Answer to:
Basic SAS coding 3. Use the SAS dataset insure to (a) create a new SAS dataset...
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
  • Basic SAS coding 2. Use the SAS datasets empdata and raisel to calculate each employee's new...

    Basic SAS coding 2. Use the SAS datasets empdata and raisel to calculate each employee's new salary. Employees are to receive a 3% raise or the amount specified in dataset rasel, İ.e. the amount of raise is the amount specified in the dataset raise! or 3% if not specified. Prepare a report which (a) is sorted by LastName, FirstName, NewSalary (b) displays only LastName, FirstName, NewSalary (c) suppresses the observations column (d) uses labels 'Last Name', First Name', 'New Salary...

  • use SAS to solve it plz 2. Create the following dataset, named work.xw, using a datalines...

    use SAS to solve it plz 2. Create the following dataset, named work.xw, using a datalines statement 5 a 6 b 7 b 9 z 8 a 9 e 2 f Prepare a printed report which (a) displays the rows of the dataset where w is a or b (b) displays the title 'Listing Report (c) uses column headings 'Explanatory variable' for x and 'Category' for w 2. Create the following dataset, named work.xw, using a datalines statement 5 a...

  • Region Country Item Type Sales Channel Order Priority Order Date Order ID Ship Date Units Sold Unit Price...

    Region Country Item Type Sales Channel Order Priority Order Date Order ID Ship Date Units Sold Unit Price Unit Cost Total Revenue Total Cost Total Profit Asia Morocco Clothes Online M ######## 6.68E+08 ######## 4611 109.28 35.84 503890.1 165258.2 338631.8 Sub-Saharan Africa Ghana Office Supplies Online L ######## 6.01E+08 ######## 896 651.21 524.96 583484.2 470364.2 113120 Sub-Saharan Africa Slovakia Beverages Offline L ######## 1.75E+08 ######## 3973 47.45 31.79 188518.9 126301.7 62217.18 For this assignment you have been engaged by an...

  • Help needed with Python 3: Dictionaries and Sets. The problem is one that asks the user to create...

    Help needed with Python 3: Dictionaries and Sets. The problem is one that asks the user to create a completed program that prompts the user for the name of a data file, and reads the contents of that data file, then creates variables in a form suitable for computing the answer to some questions. The format should be in the same manner as the attached .py file. All subsequent assignment details (.py and .csv files) can be found at this...

  • If possible please just send the SQL statement. Thank you Each question within deliverable 3 must begin on a new page and be sure to document the question as the title of each item at the top o...

    If possible please just send the SQL statement. Thank you Each question within deliverable 3 must begin on a new page and be sure to document the question as the title of each item at the top of each page. Also, using a 12-point font, include the SQL statement and then provide a screen shot of each query. The screen shots must include both the SQL statement and the results for each item below based on the data entered in...

  • In C++ Write a menu driven C++ program to read a file containing information for a list of Students, process the data, t...

    In C++ Write a menu driven C++ program to read a file containing information for a list of Students, process the data, then present a menu to the user, and at the end print a final report shown below. You may(should) use the structures you developed for the previous assignment to make it easier to complete this assignment, but it is not required. Required Menu Operations are: Read Students’ data from a file to update the list (refer to sample...

  • CIT 149 Java 1 programming question Use DrJava to compile the following try-catch program ? The...

    CIT 149 Java 1 programming question Use DrJava to compile the following try-catch program ? The Assignment ? Specifications General Structure your file name and class name on the following pattern: The first three letters of your last name (begin with upper case.). Then the first two letters of your first name (begin with upper case.). Follow this with the name of the program: TryCatch. For a student called ’John Doe,’ the class name and file name would be: DoeJoTryCatch...

  • (2 bookmarks) In JAVA You have been asked to write a program that can manage candidates...

    (2 bookmarks) In JAVA You have been asked to write a program that can manage candidates for an upcoming election. This program needs to allow the user to enter candidates and then record votes as they come in and then calculate results and determine the winner. This program will have three classes: Candidate, Results and ElectionApp Candidate Class: This class records the information for each candidate that is running for office. Instance variables: first name last name office they are...

  • I need one file please (C++)(Stock Market) Write a program to help a local stock trading...

    I need one file please (C++)(Stock Market) Write a program to help a local stock trading company automate its systems. The company invests only in the stock market. At the end of each trading day, the company would like to generate and post the listing of its stocks so that investors can see how their holdings performed that day. We assume that the company invests in, say, 10 different stocks. The desired output is to produce two listings, one sorted...

  • Usage Usage: sna inputFile userName outputFile Requirements Summary Create a program that will re...

    Usage Usage: sna inputFile userName outputFile Requirements Summary Create a program that will read in the text file containing graph specification of Twitter account followers and write to the output a list of all users within a depth of 3 of the specified root user (the user specified from the userName command line argument), that are not already being followed by that user. The program should be able to create the directed graph from the input file and output the...

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