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

From |
David Airey <[email protected]> |

To |
[email protected] |

Subject |
Re: st: RE: Nonparametric test |

Date |
Tue, 7 Oct 2008 09:22:50 -0500 |

See the command -tabulate twoway- for a simple solution. See the command -survey- if I'm wrong. -Dave On Oct 7, 2008, at 7:22 AM, Nick Cox wrote:

Your data structure is now clear. Thanks for that.I remain totally in the dark on what kind of test and what kind ofhypothesis you have in mind. You ask for a paried test but even aguess that that is a typo for paired does not help me as I do notsee here a paired comparison of any kind.What's more, advice is difficult if not foolish in the absence ofinformation on survey design.Sorry not to be able to add more, but you didn't answer severalquestions in my earlier post.Naturally this doesn't inhibit others from answering your question. Nick [email protected] nigussie TeferaI am very sorry for stating my question in an ambiguous form. Here,is an examplecountry 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 paried test(compared all countries)Income group countryX yz w paried test1 count count countcount ?2 count count countcount ?3 count count countcount ?If I want to fill all ? (question marks) what stata command should Iuse? Note: I have no problem in producing count. By the way, countcan be either row or column percentages. I hope this will clarifythe issuesNick Cox <[email protected]>I don't get a clear picture of what your data look like. We havecountries, groups and individuals floating around in perfectfuzziness. 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 32. Or do you have replicates (e.g. areas, individuals) within eachcountry?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 testfor 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 appliedfor country y, z and w. Now, I want to test, whether there isstatistically significant difference among high income groups acrosscountries. The same is also true for mindle and low income groups.In short: the null hypothesis is no difference among countries forlow, middle and high income groups (I need separate test for eachincome 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 3Or do you have replicates (e.g. areas, individuals) within eachcountry?And what hypothesis are you testing? nigussie TeferaI have two categorical variables: namely incomecat (1=high,2=middleand 3=low income) and country ( labeled as (x, y, z, w)). Supposethat each country has high, middle and low income group. If I wantto run paired test for each income group across countries, whatstata command should I 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/

**Follow-Ups**:**RE: st: RE: Nonparametric test***From:*"Verkuilen, Jay" <[email protected]>

**Re: st: RE: Nonparametric test***From:*Steven Samuels <[email protected]>

**RE: st: RE: Nonparametric test***From:*"Nick Cox" <[email protected]>

**References**:**Re: st: RE: Nonparametric test***From:*nigussie Tefera <[email protected]>

**RE: st: RE: Nonparametric test***From:*"Nick Cox" <[email protected]>

- Prev by Date:
**st: SSC Archive** - Next by Date:
**st: Re: how to open very large txt files (>6G)** - Previous by thread:
**RE: st: RE: Nonparametric test** - Next by thread:
**RE: st: RE: Nonparametric test** - Index(es):

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