Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Nonparametric test


From   nigussie Tefera <[email protected]>
To   [email protected]
Subject   Re: st: RE: Nonparametric test
Date   Tue, 7 Oct 2008 04:35:02 -0700 (PDT)

Hello Nick!

I am not sure whether you have already received the details of my question I posted six hours ago. I do repeat the same issues since I need your help badly! Here, is an example. Once again, I am sorry for ambiguity of the questions I posted yesterday!
 
country    individual    income group
x                1            2
x                2            1
x                3            2
x                4            3
.                  .            .
.                  .            .   
.                  .            .
y                1            1
y                2            3
y                3            1
y                4             2
.                .             .
.                .             .
.                .             .
y                1            3
y                2            2
y                3            1
y                4             1
.                .             .
.                .             .
.                .             .
Now I want to generate the following table with paired test (compared all countries)
 
Income group                country
                                X            y           z               w             paired test
        1                    count     count        count       count             ?
        2                    count     count        count       count             ? 
        3                    count     count        count       count             ?  
 
 
If I want to fill all ? (question marks) what stata command should I use? Note: I have no problem in producing count. By the way, count can be either row or column percentages. I hope this will clarify the issues
 
With regards
Nigussie



----- Original Message ----
From: Nick Cox <[email protected]>
To: [email protected]
Sent: Monday, October 6, 2008 7:57:00 PM
Subject: RE: st: RE: Nonparametric test

I don't get a clear picture of what your data look like. We have countries, groups and individuals floating around in perfect fuzziness. Let me try again. 

1. Do your data look like this? i.e. one observation, one country. 

Country  Income group 
x            1
y            2
z            2
w            3 

2. Or do you have replicates (e.g. areas, individuals) within each country?
i.e. several observations for each country. 

3. Or do you have something else? If so, give an example. 

Please answer: 1, 2 or 3. 

Also, what do you mean when you say that you want a separate test for each income group? 

No difference in what? 

Nick 
[email protected] 

nigussie Tefera

Many thanks! 

My data looks like eactly what you stated but country x has high, middle and low income groups (individuals) and the same is applied for country y, z and w. Now, I want to test, whether there is statistically significant difference among high income groups across countries. The same is also true for mindle and low income groups. In short: the null hypothesis is no difference among countries  for low, middle and high income groups (I need separate test for each income groups)

Nick Cox <[email protected]>

These are your variables, but what is your data structure? 

Do your data look like this? 

Country  Income group 
x            1
y            2
z            2
w            3 

Or do you have replicates (e.g. areas, individuals) within each country? 

And what hypothesis are you testing? 

nigussie Tefera

I have two categorical variables: namely incomecat (1=high,2=middle and 3=low income) and country ( labeled as (x, y, z, w)). Suppose that each country has high, middle and low income group. If I want to run paired test for each income group across countries, what stata command  should I use?

*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index