Search found 473 matches

Go to advanced search

by Penguin_Knight
Wed Nov 19, 2014 7:21 pm
Forum: Coding SPSS syntax
Topic: Creating series of Dummy Variables with Syntax
Replies: 2
Views: 553

Re: Creating series of Dummy Variables with Syntax

Macro may work. Suppose your two variables are called ba and cat:

Code: Select all

define manyLoop ().
!do !i = 1 !to 10
!do !j = 1 !to 35
compute !concat("ba", !i, "cat", !j) = (ba = !i & cat = !j) .
!doend
!doend
!enddefine .

manyLoop .
execute .
by Penguin_Knight
Thu Jan 23, 2014 1:54 pm
Forum: Coding SPSS syntax
Topic: Cases to vars challenge
Replies: 2
Views: 823

Re: Cases to vars challenge

Try this syntax: SORT CASES BY SubjectID Measure VisitNum. CASESTOVARS /ID=SubjectID Measure /INDEX=VisitNum /GROUPBY=VARIABLE. SORT CASES BY SubjectID Measure. CASESTOVARS /ID=SubjectID /INDEX=Measure /GROUPBY=VARIABLE. RENAME VARIABLES VisitDate.1 = HxVisitDate1 VisitDate.2 = HxVisitDate2 VisitDat...
by Penguin_Knight
Fri Nov 22, 2013 1:59 pm
Forum: General
Topic: Dummy variables in Logistic regression
Replies: 2
Views: 857

Re: Dummy variables in Logistic regression

Hi- I'm interested in running a Logistic regression using gender as my dependent variable and would like to use multiple categorical independent variables (special education classification, school) in my model. Is this recommended, if so, would I code all variables similarly, or is there another me...
by Penguin_Knight
Fri Nov 22, 2013 1:56 pm
Forum: Modifying SPSS output
Topic: Illustrating interaction effects with graph
Replies: 1
Views: 841

Re: Illustrating interaction effects with graph

I'm currently trying to create a graph in order to visually point out an interaction effect. At first, I used a grouped scatter plot which assigned values to 3 subgroups. Then I added the fit line for these subgroups. However, my teacher asked me to present a graph without showing all the dots and ...
by Penguin_Knight
Wed Oct 02, 2013 3:29 pm
Forum: Output
Topic: help with data and output
Replies: 1
Views: 845

Re: help with data and output

A few possibilities. Could you run a histogram and a descriptive to check the if there are data at all?
by Penguin_Knight
Wed Oct 02, 2013 1:36 pm
Forum: Statistics for beginners
Topic: Merging Variables
Replies: 2
Views: 839

Re: Merging Variables

Hi All I am a beginner to SPSS and have been trying to work out something with little success. I have multiple variable labels that I want to merge into one output. The example I have is below. VARIABLE LABELS NAME 'NAME'. MISSING VALUES NAME (0). ADD VALUE LABELS NAME 1 'Bill' 2 'Frank' 3 Stan 4 '...
by Penguin_Knight
Wed Oct 02, 2013 1:22 pm
Forum: Coding SPSS syntax
Topic: Loop and concatenate name
Replies: 1
Views: 824

Re: Loop and concatenate name

I would like to implemment the following syntax in a loop, but I don't know how to concatenate the name in the command to save the files. GET FILE='X:\atus\admin\ahtus\data\2003\01_orig\download\usa0312quest.sav'. select if wave=1. save outfile='X:\atus\admin\ahtus\data\2003\01_orig\download\usa200...
by Penguin_Knight
Fri Jul 05, 2013 5:58 pm
Forum: Errors
Topic: Spreadsheet goes BLANK when I try to sort or split!!
Replies: 1
Views: 890

Re: Spreadsheet goes BLANK when I try to sort or split!!

If you run a frequency on "Frame_Condition," can you describe what the table looks like?
by Penguin_Knight
Fri Jul 05, 2013 5:54 pm
Forum: General
Topic: From zero
Replies: 1
Views: 887

Re: From zero

SPSS Statistics Base should be able to do what you want:
http://public.dhe.ibm.com/common/ssi/ec ... 21USEN.PDF
by Penguin_Knight
Fri Jul 05, 2013 5:40 pm
Forum: General
Topic: How to test proportions of one variable
Replies: 5
Views: 1075

Re: How to test proportions of one variable

Try Analyze > Non-parametric > One-sample chi-square.

Here is a good resource:
https://statistics.laerd.com/spss-tutor ... istics.php

The first 5 illustrations are not applicable to you, you can jump right to the 6th one for the demonstration.
by Penguin_Knight
Wed Apr 17, 2013 12:37 pm
Forum: Data input
Topic: T-Test on interaction in Anova
Replies: 1
Views: 710

Re: T-Test on interaction in Anova

Use general linear model > univariate. Put in the appropriate dependent variable and factors, and then specify the interaction after clicking the Model button.
by Penguin_Knight
Wed Apr 17, 2013 12:33 pm
Forum: SPSS for beginners
Topic: Crosstabs
Replies: 1
Views: 530

Re: Crosstabs

See http://www-01.ibm.com/support/docview.w ... wg21479398

It is likely that when the cases have a value for the first variable, they don't have any value in the second variable.
by Penguin_Knight
Tue Apr 09, 2013 3:08 pm
Forum: SPSS for beginners
Topic: finding a confounding variable - please help!
Replies: 1
Views: 553

Re: finding a confounding variable - please help!

This is mostly a conceptual question. To be qualified as a confounder, a variable must fulfill two conditions: 1) The variable itself is a causal determinant of the dependent variable. Or it is a proxy of another causal determinant of the dependent variable, and 2) The variable itself is correlated ...
by Penguin_Knight
Tue Apr 09, 2013 2:52 pm
Forum: Output
Topic: Two-Way ANOVA Post Hoc Tests Won't Run
Replies: 1
Views: 764

Re: Two-Way ANOVA Post Hoc Tests Won't Run

To perform a post-hoc test each small group has to provide their standard error. If there is any group that has only one case, there will be no SE to be spoken off. Doubling the reading will not help because SD is zero (same numbers have zero variation), and SE will then also be zero. You should use...
by Penguin_Knight
Tue Apr 09, 2013 2:47 pm
Forum: SPSS for beginners
Topic: Insanity is near! Please help me with adding scores on SPSS
Replies: 1
Views: 591

Re: Insanity is near! Please help me with adding scores on S

First have your data opened, then go to New > File > Syntax, and then use the follow syntax a template. Suppose your questionnaire items are called q# (you'll need to replace the variable name if they aren't.) compute item1 = sum(q1,q2,q3,q5,q9,q10,q13,q14,q19,q20,q21,q22,q23,q25,q27,q28,q29,q30,q31...

cron