Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: Which test to use?

 From Toby To statalist@hsphsun2.harvard.edu Subject Re: st: Which test to use? Date Thu, 19 May 2011 10:34:49 +0200

```Hey,

Not all information is included because some decisions could not be
"mapped" by one of the rules. X and Y represent different rules how
one can explain the data of decision. I just want to test whether one
rule performs best.

Kind regards,
Toby

P.S. Sorry for my bad english.

2011/5/19 Nick Cox <njcoxstata@gmail.com>:
>
> 1. If there is some rule mapping -decision- to -X- and -Y-, then there
> is no information in -X- -Y- that is not in -decision-. If you have a
> quantitative variable and a categorical reduction of it, it is usually
> better practice to use all the information available.
>
> 2. I don't see how you can compare the frequencies of -X- and -Y-
> without in effect reporting (consequences of) your rule in #1.
>
> Nick
>
> On Thu, May 19, 2011 at 9:12 AM, Toby <spiegeldesaster@googlemail.com> wrote:
>> Hello,
>>
>> I have data of the following character
>>
>>
>> decision      X      Y
>> 34               1      0
>> 34               1      0
>> 56               0      0
>> 77               0      1
>> 23               0      0
>>
>>
>> X and Y take the function of categorizing the variable decision. If I
>> take the mean value of X I get the frequency of decision that could be
>> classifed as X, the same holds for Y. It could never be that X and Y
>> take the value 1 at the same time.
>> Now I want to test whether the frequency of X is significantly
>> different from the frequency of Y. Can anybody help me figuring out
>> which statistical test I have to use?
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```