I am a novice in Stata. This is a great software, provides 
me with a lot more tools than many other statistics packages.
I would like to save the output (chi-square and p-value) 
from stphtest. How do I go about this? I am doing some 
simulations and would need to output about 10000 of these 
values to a data set. Please help! I have searched all over 
and can not seem to find a solution to this.
I attmpted using the parmby command but the output that I 
got was from the stcox model.
Regards,
Nfii
*
*   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/