separating output by group

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

separating output by group

Courtney Nichols
Hello All,
 
I am needing to run analyses looking at some t-tests, ANOVAs and regression models with my data, but separated into two groups.  For example, I want to know the results of each above test in those individuals who have previously had cholesterol screening and separately in those who have not.  I have a dichotomous variable created for previous cholesterol screening and never screened before.  I tried to do Data->Split File then group by this dichotomous variable and choose the option of "organize output by group".  But when I then tried running a t-test, I only got one result and it was for all cases in the dataset, as if I'd never done the split file.  Did I do something wrong?  Is there another way to do this?
I don't know how to use the command syntax so will need advice on how to do this with the click and point interface menus.
 
Thanks so much in advance!
Courtney
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -- Douglas Adams
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
====================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: separating output by group

Justin Meyer-3
I am interpreting what you wrote to mean that you want to run two t-tests at the same time, one on the screened group and another on the never-screened group. If you are willing to run the analyses separately, you could try Data->Select Cases and select only the screened group, run the analysis, then select only the never-screened group and run the analysis. If you have to run multiple t-tests at the same time, perhaps someone else will post with instructions on how to do that.

____________________________________

Justin Meyer

Rowland Reading Foundation

phone: 866-370-7323  fax: 608-204-3846

____________________________________


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Courtney Nichols
Sent: Thursday, February 14, 2008 10:22 PM
To: [hidden email]
Subject: separating output by group

Hello All,

I am needing to run analyses looking at some t-tests, ANOVAs and regression models with my data, but separated into two groups.  For example, I want to know the results of each above test in those individuals who have previously had cholesterol screening and separately in those who have not.  I have a dichotomous variable created for previous cholesterol screening and never screened before.  I tried to do Data->Split File then group by this dichotomous variable and choose the option of "organize output by group".  But when I then tried running a t-test, I only got one result and it was for all cases in the dataset, as if I'd never done the split file.  Did I do something wrong?  Is there another way to do this?
I don't know how to use the command syntax so will need advice on how to do this with the click and point interface menus.

Thanks so much in advance!
Courtney
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -- Douglas Adams
_________________________________________________________________
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
=======
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

=====================
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: separating output by group

John Fiedler
or SORT CASES BY group_id_variable
then SPLIT FFILE BY group_id_variable
run t-tests.
then SPLIT FILE OFF

The tests will be run separately and the output will show the results side
by side (usually!)
JOHN

----- Original Message -----
From: "Justin Meyer" <[hidden email]>
To: <[hidden email]>
Sent: Friday, February 15, 2008 7:55 AM
Subject: Re: separating output by group


>I am interpreting what you wrote to mean that you want to run two t-tests
>at the same time, one on the screened group and another on the
>never-screened group. If you are willing to run the analyses separately,
>you could try Data->Select Cases and select only the screened group, run
>the analysis, then select only the never-screened group and run the
>analysis. If you have to run multiple t-tests at the same time, perhaps
>someone else will post with instructions on how to do that.
>
> ____________________________________
>
> Justin Meyer
>
> Rowland Reading Foundation
>
> phone: 866-370-7323  fax: 608-204-3846
>
> ____________________________________
>
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
> Courtney Nichols
> Sent: Thursday, February 14, 2008 10:22 PM
> To: [hidden email]
> Subject: separating output by group
>
> Hello All,
>
> I am needing to run analyses looking at some t-tests, ANOVAs and
> regression models with my data, but separated into two groups.  For
> example, I want to know the results of each above test in those
> individuals who have previously had cholesterol screening and separately
> in those who have not.  I have a dichotomous variable created for previous
> cholesterol screening and never screened before.  I tried to do
> Data->Split File then group by this dichotomous variable and choose the
> option of "organize output by group".  But when I then tried running a
> t-test, I only got one result and it was for all cases in the dataset, as
> if I'd never done the split file.  Did I do something wrong?  Is there
> another way to do this?
> I don't know how to use the command syntax so will need advice on how to
> do this with the click and point interface menus.
>
> Thanks so much in advance!
> Courtney
> I may not have gone where I intended to go, but I think I have ended up
> where I needed to be. -- Douglas Adams
> _________________________________________________________________
> Helping your favorite cause is as easy as instant messaging. You IM, we
> give.
> http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
> =======
> 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
>
> =====================
> 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
>

=====================
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