female choice in command

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

female choice in command

ro
Hi all,

I wanna make several graph only for female sex using this command, how i could only select sex=2

EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY sex*locacion
    /PLOT BOXPLOT
  /COMPARE GROUPS
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.

Regards
Thanks in advance
Rodrigo
Reply | Threaded
Open this post in threaded view
|

Re: female choice in command

Bruce Weaver
Administrator
I don't have SPSS on this machine, so the following is untested.  

If you use only records with SEX=2, then you want "BY locacion", not "BY sex*locacion".  So something like this should do it:

TEMPORARY.
SELECT if sex EQ 2.
EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY locacion
    /PLOT BOXPLOT
  /COMPARE GROUPS
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.

HTH.

ro wrote
Hi all,

I wanna make several graph only for female sex using this command, how i could only select sex=2

EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY sex*locacion
    /PLOT BOXPLOT
  /COMPARE GROUPS
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.

Regards
Thanks in advance
Rodrigo
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
ro
Reply | Threaded
Open this post in threaded view
|

Re: female choice in command

ro
Dear Bruce,

Thanks for you information i will use right now!

Regards
Rodrigo
\-/    > ><((((º>`·.¸¸.·´¯`·.¸¸><((((º>¸.
 /\
/--\    ´¯`·.<º))))><·´¯´
\-/         Atte.
 /\         Rodrigo Badilla.
/--|        Biologo Marino.
            62202469


2012/10/13 Bruce Weaver [via SPSSX Discussion]
<[hidden email]>:

> I don't have SPSS on this machine, so the following is untested.
>
> If you use only records with SEX=2, then you want "BY locacion", not "BY
> sex*locacion".  So something like this should do it:
>
> TEMPORARY.
> SELECT if sex EQ 2.
> EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY locacion
>     /PLOT BOXPLOT
>   /COMPARE GROUPS
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL.
>
> HTH.
>
> ro wrote
> Hi all,
>
> I wanna make several graph only for female sex using this command, how i
> could only select sex=2
>
> EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY
> sex*locacion
>     /PLOT BOXPLOT
>   /COMPARE GROUPS
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL.
>
> Regards
> Thanks in advance
> Rodrigo
>
> --
> Bruce Weaver
> [hidden email]
> http://sites.google.com/a/lakeheadu.ca/bweaver/
>
> "When all else fails, RTFM."
>
> NOTE: My Hotmail account is not monitored regularly.
> To send me an e-mail, please use the address shown above.
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://spssx-discussion.1045642.n5.nabble.com/female-choice-in-command-tp5715633p5715634.html
> To unsubscribe from female choice in command, click here.
> NAML
ro
Reply | Threaded
Open this post in threaded view
|

Re: female choice in command

ro
In reply to this post by Bruce Weaver
Dear Bruce,

Sorry for my mail, yesterday you sent me a syntax  for  choice only
one sex for diferents locations, lamentably, in both sex i have the
same results, also i have some problems un run the commands because  i
i got "Pending Transformation" and my execution crash...

do you know where coul be the problem? could be my PC slow for the command??

I would appreciate any coments.
Regards and thanks in advance
Rodrigo

> I don't have SPSS on this machine, so the following is untested.
>
> If you use only records with SEX=2, then you want "BY locacion", not "BY
> sex*locacion".  So something like this should do it:
>
> TEMPORARY.
> SELECT if sex EQ 2.
> EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY locacion
>     /PLOT BOXPLOT
>   /COMPARE GROUPS
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL

\-/    > ><((((º>`·.¸¸.·´¯`·.¸¸><((((º>¸.
 /\
/--\    ´¯`·.<º))))><·´¯´
\-/         Atte.
 /\         Rodrigo Badilla.
/--|        Biologo Marino.
            62202469


2012/10/13 Bruce Weaver [via SPSSX Discussion]
<[hidden email]>:

> I don't have SPSS on this machine, so the following is untested.
>
> If you use only records with SEX=2, then you want "BY locacion", not "BY
> sex*locacion".  So something like this should do it:
>
> TEMPORARY.
> SELECT if sex EQ 2.
> EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY locacion
>     /PLOT BOXPLOT
>   /COMPARE GROUPS
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL.
>
> HTH.
>
> ro wrote
> Hi all,
>
> I wanna make several graph only for female sex using this command, how i
> could only select sex=2
>
> EXAMINE VARIABLES=TALLA PESO IMC sistolica diastolica imcpercent BY
> sex*locacion
>     /PLOT BOXPLOT
>   /COMPARE GROUPS
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL.
>
> Regards
> Thanks in advance
> Rodrigo
>
> --
> Bruce Weaver
> [hidden email]
> http://sites.google.com/a/lakeheadu.ca/bweaver/
>
> "When all else fails, RTFM."
>
> NOTE: My Hotmail account is not monitored regularly.
> To send me an e-mail, please use the address shown above.
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://spssx-discussion.1045642.n5.nabble.com/female-choice-in-command-tp5715633p5715634.html
> To unsubscribe from female choice in command, click here.
> NAML