Sas Programming for Researchers and Social Scientists (2ND)

個数:

Sas Programming for Researchers and Social Scientists (2ND)

  • 提携先の海外書籍取次会社に在庫がございます。通常2週間で発送いたします。
    重要ご説明事項
    1. 納期遅延や、ご入手不能となる場合が若干ございます。
    2. 複数冊ご注文の場合、分割発送となる場合がございます。
    3. 美品のご指定は承りかねます。
  • 製本 Hardcover:ハードカバー版/ページ数 231 p.
  • 言語 ENG
  • 商品コード 9780761922674
  • DDC分類 519.5028553

Full Description


This book provides instruction about how to write computer programs using SAS language. It focuses on common programming tasks frequently encountered in conducting data analysis; and provides advice about how to learn the SAS lanuguage and how to use it efficiently.

Table of Contents

Preface                                            xi
What's New in the Second Edition xiv
Acknowledgments xv
Introduction to the SAS® System 1 (26)
What Makes the SAS System a Computer 2 (1)
Language?
Example of a SAS Program 3 (2)
Different Releases and Versions of the SAS 5 (1)
System
A SAS Programming Session With the Windows 6 (9)
Version
Overview of the SAS System Interface, 7 (2)
Release 6.11
Overview of the SAS System Interface, 9 (3)
Release 8.01
Running Program 1.1 With the Windows 12 (3)
Version
How to Approach Programming a Problem 15 (2)
Debugging a Program 17 (4)
Types of Errors 18 (1)
Finding Errors 19 (2)
SAS Statements 21 (1)
Additional Help 22 (2)
Using This Book 24 (1)
Debugging Exercises 25 (2)
Inputting and Outputting Data 27 (28)
Defining a Data Step 28 (3)
Location of the Data Set to Input 31 (3)
Inside the Program 32 (1)
External File 32 (1)
SAS Data Library 33 (1)
Inputting Data Lines 34 (7)
Specifying Column Locations 35 (1)
W. d Formats 35 (3)
Character Values 38 (1)
List Input 38 (2)
Holding the Input Line 40 (1)
Controlling Output to the SAS Data Set 41 (1)
Specifying the Location for Outputting 42 (1)
Formatting the Output 43 (1)
PROC Print 44 (1)
Example of Inputting and Outputting 45 (3)
Writing Reports With PUT Statements 48 (4)
Using PROC Print and PUT for Debugging 52 (1)
Common Errors 53 (1)
Debugging Exercises 53 (2)
Programming Algebraic and Mathematical 55 (20)
Operations
Arithmetic Operators 56 (3)
SAS Functions 59 (8)
ABS 59 (2)
Descriptive Statistics Functions 61 (2)
Log and Exponential Functions 63 (1)
MOD 63 (1)
Factorials, Combinations, and 63 (1)
Permutations (Release 8)
Probability Distributions 64 (1)
Random Number Generators 64 (1)
Rounding Functions 65 (1)
SQRT 66 (1)
Trigonomic Functions 66 (1)
Deleting Variables From a SAS Data Set 67 (1)
Examples Using Functions 68 (4)
Common Errors 72 (1)
Debugging Exercises 73 (2)
Logical Statements 75 (20)
Program to Screen for Data Errors 79 (2)
The ELSE Statement 81 (1)
Selecting and Deleting Cases From a SAS 82 (1)
Data Set
Detecting the End of a File 83 (1)
Executing Several Statements After an IF 84 (1)
... THEN
Overriding Case-by-Case Resetting of 84 (2)
Variable Values
Accumulators and Counters 86 (1)
Computing an Independent Group t Test 87 (4)
Common Errors 91 (1)
Debugging Exercises 92 (3)
Branching With GOTO and LINK 95 (16)
GOTO Statement 96 (1)
LINK Statement 97 (1)
RETURN Statement 97 (1)
STOP Statement 98 (1)
OUTPUT Statement Revisited 98 (1)
Flags 99 (2)
A More Complex Example of Statement Control 101(4)
Program Flow 105(2)
Common Errors 107(2)
Debugging Exercises 109(2)
Do Loops 111(18)
Do Index= 112(1)
Do UNTIL 113(2)
DO WHILE 115(2)
Coin Flip Simulation With a Do Loop 117(1)
Nested Loops 118(3)
Simulation of the Violation of t-Test 121(5)
Assumptions
Common Errors 126(2)
Debugging Exercises 128(1)
Arrays 129(22)
ARRAY Statement 130(1)
One-Dimensional Arrays 131(1)
Scoring Psychological Tests With Arrays 132(5)
Multidimensional Arrays 137(3)
Handling Two-Dimensional Data Using 140(2)
Multidimensional Arrays
Programming Matrix Algebra Operations 142(6)
Matrix Transpose 144(1)
Matrix Multiplication 144(1)
The SSCP Matrix Program 145(3)
Common Errors 148(1)
Debugging Exercises 149(2)
Manipulating Files 151(24)
Inputting Multiple Files 151(5)
Concatenation 152(1)
Merging 153(3)
Sorting With PROC SORT 156(1)
Inputting From and Outputting to SAS Data 157(2)
Library Files
Outputting Multiple Data Sets 159(3)
Outputting to SAS Data Sets 160(1)
Outputting to Non-SAS Files 161(1)
Combining Data From Several Files 162(3)
Creating Multiple Files 165(6)
Deleting Cases With Missing Values 169(2)
Common Errors 171(1)
Debugging Exercises 172(3)
Using SAS® PROCs 175(30)
Turnover Among University Clerical Workers 176(1)
Correlations With PROC CORR 177(2)
Frequency Tables With PROC FREQ 179(9)
Descriptive Statistics With PROC MEANS 188(1)
Scatterplots With PROC PLOT 188(2)
t Tests With PROC TTEST 190(1)
Complex Statistics 191(10)
Multiple Regression 193(2)
One-Way ANOVA 195(1)
Factorial ANOVA 196(2)
Factor Analysis 198(3)
Common Errors 201(1)
Resources for Information About Using PROCs 201(4)
Final Advice on Becoming a SAS® Programmer 205(6)
Debugging and Testing a Program Revisited 206(1)
Alternate Approaches 206(2)
Advance Planning 208(1)
How to Become a Good Programmer 209(2)
Appendix A: Definitions of Useful Programming 211(2)
Terms
Appendix B: Summary of SAS Language Statements 213(2)
Appendix C: Summary of Popular SAS PROCs 215(4)
Appendix D: Sources of Information About Using 219(2)
SAS PROCs for Statistical Analysis
Appendix E: Corrections to the Debugging 221(4)
Exercises
References 225(2)
Index 227(4)
About the Author 231