Statalist The Stata Listserver


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

st: Re: Writing output to a file


From   "Paul Fenner" <[email protected]>
To   [email protected]
Subject   st: Re: Writing output to a file
Date   Tue, 28 Feb 2006 09:34:14 +0000

I am using permute on a Kruskal-Wallis test;
permute var z=r(chi2_adj), reps(10000) nodots nowarn: kwallis var if class==6|class==7,by(class)
and I can obtain the probability from:

.matrix list r(p)
symmetric r(p)[1,1]
z
y1 .8759

I would like to write this value to a file for subsequent processing but I am unable to display the matrix element:
. display r(p)[1,1]
invalid syntax
r(198);
Could somebody point me in the correct direction for displaying matrix elements.
Thank you.
Paul

_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger 7.5 today! http://messenger.msn.co.uk

*
* 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/




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