Docsity

Introduction to SPSS and SAS in STAT 530/J530 at University of South Carolina - Prof. B. H, Study notes of Statistics

Toggle sidebar
bg1
1
STAT 530/J530 B.Habing Univ. of S.C. 1
STAT 530/J530
August 28th, 2008
Instructor: Brian Habing
Department of Statistics
LeConte 203
Telephone: 803-777-3578
STAT 530/J530 B.Habing Univ. of S.C. 2
Introduction to SPSS
University owned computers can get
licensed copies for $70.00 per year
(http://www.sc.edu/software/)
STAT 530/J530 B.Habing Univ. of S.C. 3
Introduction to SPSS
The “SPSS Student Version” does NOT
have all of the options we will need.
You can get a 6 or 12 month leased copy
of the “SPSS Graduate Pack” is
available from e-academy.com for
$79.99 and $139.99 respectively.
pf3
pf4
pf5

Partial preview of the text

Download Introduction to SPSS and SAS in STAT 530/J530 at University of South Carolina - Prof. B. H and more Study notes Statistics in PDF only on Docsity!

STAT 530/J530 B.Habing Univ. of S.C. (^1)

STAT 530/J

August 28th^ , 2008

Instructor: Brian Habing

Department of Statistics

LeConte 203

Telephone: 803-777-

E-mail: [email protected]

STAT 530/J530 B.Habing Univ. of S.C. (^2)

Introduction to SPSS

University owned computers can get

licensed copies for $70.00 per year

(http://www.sc.edu/software/)

STAT 530/J530 B.Habing Univ. of S.C. (^3)

Introduction to SPSS

The “SPSS Student Version” does NOT

have all of the options we will need.

You can get a 6 or 12 month leased copy

of the “SPSS Graduate Pack” is

available from e-academy.com for

$79.99 and $139.99 respectively.

STAT 530/J530 B.Habing Univ. of S.C. (^4)

The Main Screen

The main screen in SPSS is “Data Editor”

spreadsheet which has many menu

options.

STAT 530/J530 B.Habing Univ. of S.C. (^5)

The Menus

  • File - the usual save and print options
  • Edit - undo, copy, cut, and paste
  • Data - split, sort, and merge data sets
  • Tranform - create new variables as functions

of the old ones

  • Analyze - various statistical procedures
  • Graphs - various graphical displays
  • Help - a variety of tools to get help STAT 530/J530 B.Habing Univ. of S.C. (^6)

Variables

After entering 5, 4, 3, and 2 in the first

column we can see some of the

properties of our new variable by

selecting the Variable View tab at

the bottom.

You can

rename

the variables

here.

STAT 530/J530 B.Habing Univ. of S.C. (^10)

Introduction to SAS

University faculty, staff, and students can

get an annual SAS license for $60.

annually ( http://www.sc.edu/software/)

SAS is also available in the room 124 and

303A labs in LeConte.

STAT 530/J530 B.Habing Univ. of S.C. (^11)

The Main Screen

STAT 530/J530 B.Habing Univ. of S.C. (^12)

A Few Important Notes

  • [F3] or the “running man” will run the program
  • Watch the semi-colons!
  • Check the log window whenever you run

something!

STAT 530/J530 B.Habing Univ. of S.C. (^13)

Entering Some Data

DATA sample;

INPUT letter $ x @@;

LABEL x = "The variable X"

letter = "Label for the data point";

CARDS;

A 5 B 4

C 3 D 2

PROC PRINT DATA=sample;

TITLE "Just printing out the sample";

RUN;

STAT 530/J530 B.Habing Univ. of S.C. (^14)

Modifying Data

DATA weirdsample;

SET sample;

weird = sin(x)+x**2;

KEEP x weird;

RUN;

PROC PRINT DATA=weirdsample;

RUN;

STAT 530/J530 B.Habing Univ. of S.C. (^15)

PROC INSIGHT

Get to it either the PROC INSIGHT

statement in the editor window, or

Solutions > Analysis >

Interactive Data Analysis