[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
Sascha Robert <sascha.robert@iew.unizh.ch> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: statsby? |

Date |
Tue, 03 May 2005 17:43:48 +0200 |

Dear Nick Your solution is exactly what I needed. A thousend thanks, Sascha Nick Winter wrote:

In Stata 8, this should do the trick: . statsby "ktau x y " TauB=r(tau_b) P=r(p) , by(z) saving(myfile) In Stata 9, it would be: statsby TauB=r(tau_b) P=r(p) , by(z) saving(myfile) : ktau x y --Nick Winter At 04:49 PM 5/3/2005 +0200, you wrote:With STATA 8, I tried

_statsby "ktau x y" exp_list, by(v w z) saving(myfile)_

where for exp_list I tried _se and _b (I have to admit that the grammar of exp_list remains a riddle to me).

The error produced is r(301): last estimates not found.

Regards, Sascha

Nick Cox wrote:

In principle, -statsby- sounds a good solution.

However, we cannot comment on what went wrong without seeing your code. Also, the syntax of -statsby- differs between Stata 8 and Stata 9, so you would need to specify version as well.

Nick n.j.cox@durham.ac.uk

Sascha Robert

I have to do a bunch of Kendall's tau correlations. Now the output of

_ktau x y, by(z)_

is quite exaustive, and I am mostly interested in

- Kendall's tau-a

- Prob > ¦z¦

Is there a way to direclty produce a table of the results, like

tau-a prob ...

a b ...

c d ...,

instead of producing text output?

Is _statsby_ a solution for my problem? It does not seem to work for my puposes, though.

* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/-- ***** sascha robert | mailto: sascha.robert@iew.unizh.ch ***** * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/-------------------------------------------------------- Nicholas Winter 607.255.8819 t Assistant Professor 607.255.4530 f Department of Government nw53@cornell.edu e 308 White Hall falcon.arts.cornell.edu/nw53 w Cornell University Ithaca, NY 14853-4601 * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

-- ***** sascha robert | mailto: sascha.robert@iew.unizh.ch ***** * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**st: RE: statsby?***From:*Roger Newson <roger.newson@kcl.ac.uk>

**References**:**st: RE: statsby?***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: statsby?***From:*Nick Winter <nw53@cornell.edu>

- Prev by Date:
**st: WG: Kaplan-Meier** - Next by Date:
**RE: st: Question about producing fit statistics after logistic with pweights** - Previous by thread:
**Re: st: RE: statsby?** - Next by thread:
**st: RE: statsby?** - Index(es):

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