comparing a group to average of all others

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

comparing a group to average of all others

Nico Peruzzi
Hello Listers,

I have a numeric DV, and 7 groups, and want to do a post-hoc comparison
wherein 1 of the groups is compared to the average of the remaining groups.

I'm in v 13.0 and have sorted through some options under Post Hoc in ANOVA,
and can't quote seem to come up with it.

Does such a comparison option exist?  If not, does someone have a compute
statement handy that I could borrow from to create the comparison?

Thanks in advance, Nico

--
Nico Peruzzi, Ph.D.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: comparing a group to average of all others

Marta Garcia-Granero
Hi Nico

Use HELMERT contrasts (UNIANOVA). From the online help: "Helmert
contrasts: Each level of the factor except the last is compared to the
mean of subsequent levels." Code your grouping variable so that the
group you want to compare with the rest is the first, and then the first
HELMERT contrast will give you the comparison you want.

HTH,
Marta GarcĂ­a-Granero

> I have a numeric DV, and 7 groups, and want to do a post-hoc comparison
> wherein 1 of the groups is compared to the average of the remaining groups.
>
> I'm in v 13.0 and have sorted through some options under Post Hoc in ANOVA,
> and can't quote seem to come up with it.
>
> Does such a comparison option exist?  If not, does someone have a compute
> statement handy that I could borrow from to create the comparison?
>


--
For miscellaneous statistical stuff, visit:
http://gjyp.nl/marta/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Production facility command line mode

Albert-Jan Roskam
Hi list,

I would like to run an spss production facility file in DOS mode. The DOS code is easy, e.g.:
"c:\progra~1\spss\spssprod.exe" "d:\test.spp" -s

But can I also embed any user prompts (the ones that start with an @-sign in the sps syntax) in this DOS code? I would like to run an identical syntax on a whole bunch of directories. Here's the pseudo code:
"c:\progra~1\spss\spssprod.exe" "d:\test.spp" "out1" -s -yes
"c:\progra~1\spss\spssprod.exe" "d:\test.spp" "out2" -s -yes
"c:\progra~1\spss\spssprod.exe" "d:\test.spp" "out3" -s -yes
('-yes' to indicate the the out argument should be quoted).

The contents of the associated sps file could start with:
get file = 'd:\temp\' + @out_dir + 'somefile.sav'.


Is this possible?

Thanks in advance!

Cheers!
Albert-Jan

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD