1 / 11

Fisheries Data Analysis Using The SAS System

Fisheries Data Analysis Using The SAS System. DATA Step Programming. Importing data from Excel and dBase File…Import Wizard. Fisheries Data Analysis Using The SAS System. DATA Step Programming. Creating a SAS data set from a previously defined SAS data set… the SET statement.

gibson
Télécharger la présentation

Fisheries Data Analysis Using The SAS System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fisheries Data Analysis Using The SAS System DATA Step Programming. • Importing data from Excel and dBaseFile…Import Wizard

  2. Fisheries Data Analysis Using The SAS System DATA Step Programming. • Creating a SAS data set from a previously defined SAS data set… the SET statement. • Since you are referring to a data set that has already been defined to SAS there is no need to define columns, variables, etc. • You can give it a new name or can ‘write over’ the existing name.

  3. Fisheries Data Analysis Using The SAS System DATA Step Programming. • Creating a SAS data set from a previously defined SAS data set… the SET statement. • KEEP and DROP statements and • KEEP and DROP options.

  4. Fisheries Data Analysis Using The SAS System DATA Step Programming. • Creating a SAS data set from a previously defined SAS data set… the SET statement. • From a SAS data set previously stored on disk.

  5. Fisheries Data Analysis Using The SAS System DATA Step Programming. • Creating a SAS data set from a previously defined SAS data set… the SET statement. • Concatenating SAS data sets. • End-to-end • Interleaving

  6. Fisheries Data Analysis Using The SAS System DATA Step Programming. • Creating a SAS data set from a previously defined SAS data set… the SET statement. • Saving SAS Data Sets to Disk.

  7. Fisheries Data Analysis Using The SAS System More PROC MEANS • PROC MEANS with • DATA= • CLASS • OUTPUT & PROC PRINT

  8. Fisheries Data Analysis Using The SAS System PROC CORR

  9. Fisheries Data Analysis Using The SAS System PROC TTEST

  10. Fisheries Data Analysis Using The SAS System PROC UNIVARIATE

  11. Fisheries Data Analysis Using The SAS System Homework • Read the three dBase files in M:\WEEK04\HOMEWORK into SAS • (since this uses a ‘wizard’ you don’t have to show this work) • Concatenate the three SAS data sets into one new data set and save that set to your own hard drive space (may use either a local drive on your computer, such as your C: drive or your network U: or P: drives) • In a separate data step subset the data for only striped bass and white perch • Run a PROC TTEST on the s.b. and w.p data to test for differences in average size • Subset the original concatenated data again for only croaker and run a proc univariate on fish length data with your selection of options. • Read DiIorio pages 54-57 and the SAS Language Guide pages 151-155 (not ‘Updating’)

More Related