Tuesday, February 28, 2006

st: Re: Writing output to a file

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/


Links to this post:

Create a Link

<< Home

This page is powered by Blogger. Isn't yours?