Ctables and Significance testing

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

Ctables and Significance testing

Natalie
Hello,

I'm using the ctables function along with MRSETS to create custom tables of multiple response set questions. I'd like to test these for significance, however, so far what I've seen will test the entire variable against the entire variable

For example
Age vs Gender

When what I want is to be able to determine whether or not specific aspects of age are significant.

18-25 yr old Males are significantly different from 18-25 yr old females, but otherwise there are not significant differences between males and females on age.

The syntax I am using is below. This example is to determine if there are significant differences in the desire for park services in different areas of the city. I'm volunteering on a park team for my city :)

MRSETS   /MDGROUP NAME=$icq10_rename Label='Which is most important facility? ' categorylabels=countedvalues
variables=icq10a to icq10h value=1
 /DISPLAY Name=[$icq10_rename].


CTABLES
 /VLABELS VARIABLES=!myvars area DISPLAY=LABEL
 /TABLE !myvars BY area [COUNT F40.0] +  area [COLPCT.COUNT PCT40.1, TOTALS[COLPCT.COUNT PCT40.1]]  
 /CATEGORIES VARIABLES=!myvars area ORDER=A KEY=VALUE EMPTY=INCLUDE TOTAL=YES POSITION=AFTER

 !ENDDEFINE.

!XTABLES MYVARS=$icq10_rename.


Thank you in advance for any assistance  or guidance you can provide.
Reply | Threaded
Open this post in threaded view
|

Re: Ctables and Significance testing

David Marso
Administrator
"I'd like to test these for significance."
Completely unclear what this statement even means within the context of MRSETS.
---
For the most part I find the incorporation of significance tests within CTABLES to be a rather scary proposition for more reasons than I care to state!
--
Natalie wrote
Hello,

I'm using the ctables function along with MRSETS to create custom tables of multiple response set questions. I'd like to test these for significance, however, so far what I've seen will test the entire variable against the entire variable

For example
Age vs Gender

When what I want is to be able to determine whether or not specific aspects of age are significant.

18-25 yr old Males are significantly different from 18-25 yr old females, but otherwise there are not significant differences between males and females on age.

The syntax I am using is below. This example is to determine if there are significant differences in the desire for park services in different areas of the city. I'm volunteering on a park team for my city :)

MRSETS   /MDGROUP NAME=$icq10_rename Label='Which is most important facility? ' categorylabels=countedvalues
variables=icq10a to icq10h value=1
 /DISPLAY Name=[$icq10_rename].


CTABLES
 /VLABELS VARIABLES=!myvars area DISPLAY=LABEL
 /TABLE !myvars BY area [COUNT F40.0] +  area [COLPCT.COUNT PCT40.1, TOTALS[COLPCT.COUNT PCT40.1]]  
 /CATEGORIES VARIABLES=!myvars area ORDER=A KEY=VALUE EMPTY=INCLUDE TOTAL=YES POSITION=AFTER

 !ENDDEFINE.

!XTABLES MYVARS=$icq10_rename.


Thank you in advance for any assistance  or guidance you can provide.
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"