| To: | Do: |
| ANOVA
|
Analyze:General Linear Model : Univariate
|
| Append | Open the master file (the one you want to append something to), insert your disk, Click on Data: MergeFiles: AddCases: Open your file and the file is merged |
| Compute | Transform: Compute:
Put in name of new variable in Target Variable and equation
in Numeric Expression. Okay.
You should be able to add, subtract, multiply and divide as well as compute SDs, MEANs and SUMs of variables. |
| Copy | Edit: Copy OR Ctrl + C |
| Create a SPSS File | File: New: Data |
| Create a Syntax File | Either:
|
| Chi-Square | Either:
|
| Count | Transform: Count: Insert new variable name into target variable. Indicate what variables you want to look at under variables. Insert what level you want counted. |
| Delete an entire row (case) or column (variable) | Select with mouse : Edit: Clear |
| Do Repeat
(This is helpful for a number of purposes, for example, it could create a string of variables. However, the "numeric" command is preferred for creation of variables in syntax. I. e., USE NUMERIC!!!!) |
Let's say that you have run a study in which
13 observers rated how attractive a photograph was (att1 to att13).
Some observers were male and some were female and this information is in
the obsex1 to obsex13 variables (1 = female, 2 = male). Now lets say
that you want seperate sums of the male and female ratings. For this,
you need a Do Repeat.
First you would Compute the new variables, lets say msum and fsum, and make them equal to 0 (This pre-compute is necessary for the sum below to work, but isn't always necessary ). Having done this we can now Do Repeat. do repeat x = att1 to att13/y = obsex1 to
obsex13. DON'T MISS ANY PERIODS!!!! |
| Help in specific area | Help: Topics: Type in what you need help on. |
| List Variables | This can only be used in a Syntax File.
If you'd like to have an efficient listing of variable values (say you
are trying to make a scattergram to go with a Pearson Correlation), this
is one way to get it.
The following would list height and weights. List Variables=height weight.
|
| Numeric | With this command, you can create numeric variables using syntax
numeric qa1 to qa200 qb1 to qb50 (f1.0) qc1 to qc10 (f3.1). The preceding creates three strings of variables--qa1 to qa200 and qb1 to qb50, each one didget long with no decimal places and qc1 to qc10 with three didgets and one decimal place. The "execute" runs the preceding line. Note!! This command only works if you have at least one variable (even if it's empty of data) in your dataset. I often simply creat a "junk" variable, run the numeric syntax, and then delete the junk variable. |
| Paste | Edit: Paste OR Ctrl + V (Just like Word). |
| PearsonCorrelation | Analyze: Correlate
: Bivariate: Move variables into right box: Click on Pearson
: Two-tailed OR one-tailed:
Click on Options and Means and SD if want to show means and SD, then click on Continue. |
| Recode | Transform: Recode:
Choose into same variable or different variable
. (I suggest different):
If using different variable: move Variable to right, under Output Variable: Name: put new variable name. Click change. Click on Old and New values, put original value in Value under Old Value . Put new value in Value under New Value. Click Add. Repeat steps until you have all values recoded. Click Continue. Click okay. If using same variable: follow the steps above except ignore Output: Name directions since there is no new variable. |
| Rename | Double click on variable name and then type in new name. |
| If
(using Compute )– |
Transform:Compute : If: Include if case satisfies condition: Move
the "if" variable to the right: use numeric equation items to insert
equation: Continue : Insert name for Target Variable: Insert
compute statement in right box.
Symbols: And = &
You should be able to use the following symbols: <, >, <=, >=, =. Also under Recode: follow same directions. |
| Select Cases |
Data:Select Cases: If: Then you use the buttons and boolean concepts in the text
to define the conditions you wish to select based upon. You
use the same logic here as described for If above. I have to
admit that this may take some practice on your part. But it's worth
the boolean exercise. |
| Temporary
Select If or Split File (Split File is the preferred method!! Use it on your proficiency test if you are asked to do something like this....) |
This command can only be used in a Syntax
File. You could do this if, for example, you have males and females
in your data set and you want to look at the Pearson Correlation between
Height and Weight for Females only ("temporarily" ignoring Males).
Temporary. Other ways to do the above analysis would be to Compute a new variable that only exists If gender = 2 and then run your analysis on the new variable. You could also go to Data: Select Cases: If. Another cute option is to go to Data: Split File: and then split the file based on gender. Once this is done all subsequent tests will be done separately on each of the splitting variables, until you turn off the Split File. One Pearson will generate one for "males" and one for "females," for example. We recommend that you use Split File rather than Temporary Select if because if the Temporary part fails, then some of yourdata is thrown out. The syntax for splitting a file is as follows (again, notice the placement of periods): (The following goes prior to your analyses:)
(The following goes at the end of your analyses)
|
| t-Tests | Analyze:
CompareMeans: Select the t-test you want: Insert variables
you want to compare. (Options allows you to change confidence interval.)
If using independent samples: Under group Variable insert name of variable you want to compare them on. |
| Value Labels | To insert a label, double click on the variable name, then click
on Labels and then start defining your levels (e.g., 1= Male,
2 = Female).
You can also use syntax: value labels gender 1 'Female' 2 'Male'. Here an existing variable (gender) gets appropriate labels associated with the numeric values in the data set. The "execute" simply makes the preceding line "execute," as it were. Warning: You might notice that when you open up your SPSS file, that under a variable instead of having a number (e.g, 1) you will have a word (e.g, Male). This simply means that the computer is set up to show value labels. To fix this, simply got to View : and click off value labels. |
| Variable Labels | The logic here parallels the above.
Syntax would read: variable labels x 'Whatever You Want'. Here "x" is an existing variable name--the rest is self-explanatory. You can do multiple variables, if you'd like, just put / between each and it's best to not to go to the next line unless you've just /'d. |