Essay about Sas Job

Sas Job

UNSW INSTITUTION OF MATH CONCEPTS MATH2871 INFO MANAGEMENT FOR STATISTICAL RESEARCH ASSIGNMENT 1 - ANSWERS TOTAL MARKS 20 (10% of final grade) Number of Questions: 2

The datafile consists of data through the U. S. 1992 Census of Farming (Appendix C S. Lohr Sampling: Design and Examination p437).

Column 1 a couple of 3 some 5 6 7 eight 9 10 11 12 13 16 15

1 .

Name region state acres92 acres87 acres82 farms92 farms87 farms82 largef92 largef87 largef82 smallf92 smallf87 smallf82 region

Value region name state abbreviation volume of acres dedicated to farms, 1992 number of acres devoted to facilities, 1987 range of acres dedicated to farms, 1982 number of facilities, 1992 number of farms, 1987 number of farms, 1982 range of farms with 1000 quadrat or more, 1992 number of farms with multitude of acres or even more, 1987 volume of farms with 1000 massive areas or more, 1982 number of farms with on the lookout for acres or fewer, 1992 number of facilities with being unfaithful acres or fewer, 1987 number of facilities with on the lookout for acres or fewer, 1982 S sama dengan south, W = western world, NC = north central, NE = northeast

[8marks] Create the SAS data, work. A1Q1 with the features described listed below from the BARRIERE dataset agpop. a. Produce the SAS data, job. A1Q1. m. Display only the variables place, county, express, acres92, and farms92. c. The data comes with two subsets (i) the number of acres dedicated to farms in 1992 (acres92) was among 32, 500 and 95, 000 in west place (‘W'). (ii) the number of quadrat devoted to facilities in 1992 (acres92) is less than 50, 1000 in southern region (‘S'). d. Use the labels listed below to replace the variable names. Variable acres92 farms92 Packaging Number of Acres Number of Facilities

data operate. A1Q1; set work. agpop; where (ACRES92 between 32000 and 100000 and region eq 'W') or (ACRES92