Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Independent Sample TTEST

1,589 views
Skip to first unread message

outwith...@gmail.com

unread,
Feb 14, 2009, 3:34:24 PM2/14/09
to
Hi All,

I am having a problem with SPSS I am trying to run a independent
sample t-test and keep getting this message (see below)
I have defined the groups 1 middle school and 2 elementary, but for
some reason it does not detect any elementary students and I checked
the data and there are no empty cells


Group Statistics

What grade are you in?
N Mean Std. Deviation Std. Error
Mean
Mastery
Middle School 212 4.1910 .90060 .06185
Elementary 0a . . .
a. t cannot be computed because at least one of the groups is empty.

Hope someone can help!

TY
Patricia

Ryan

unread,
Feb 14, 2009, 4:37:49 PM2/14/09
to
On Feb 14, 3:34 pm, "outwiththel...@gmail.com"

Patricia,

What does your dataset look like? Does it look like this?:

School Score
1 45
1 22
.
.
2 15
2 12
.
.

If yes, then the following should work:

***********************

T-TEST GROUPS=School(1 2)
/MISSING=ANALYSIS
/VARIABLES=Score
/CRITERIA=CI(.9500).

***********************

If yes to everything above and it is still not working, then make sure
you don't have an active filter on.

Ryan

RichUlrich

unread,
Feb 14, 2009, 7:31:20 PM2/14/09
to

What are the values for the Group?

Show us your pasted syntax. (... bet they don't match...)

Of course you always ought to paste your syntax to
save it for documentation, even if you don't need to
show it to someone for debugging.

--
Rich Ulrich

researc...@gmail.com

unread,
Nov 9, 2017, 4:44:59 AM11/9/17
to
this is what my syntax shows:

T-TEST GROUPS=Gender('male' 'female')
/MISSING=ANALYSIS
/VARIABLES=OPTIMISM AUTONOMY
/CRITERIA=CI(.95).

But am still getting the same message

Bruce Weaver

unread,
Nov 9, 2017, 7:20:14 AM11/9/17
to
What type of variable is Gender, string or numeric? If it is numeric with value labels set to "male" and "female", you need to specify the numeric values (e.g., 1 and 2, or whatever they are) in your TTEST syntax.

If Gender is a STRING variable, what do you see when you run the following?

FREQUENCIES Gender.

Here, I'm wondering if the string values include one or more capital letters, making them different from what you specified in your TTEST syntax.

HTH.
0 new messages