# st: Removing extraneous output in regression

 From "Richard Hayes" To Subject st: Removing extraneous output in regression Date Wed, 25 Mar 2009 08:55:53 +1100

```Apologies for any duplication, after 12 hours the original had not
appeared on Statalist.

I am using Stata 9.2 and I am getting extraneous output when running
regressions. I would like to find a way to stop this extraneous output.

Here is the data, prices_1:
time	sydney
1	29.053
2	28.96014
3	28.503
4	28.48871
5	28.34586
6	28.08871
7	28.03157
8	27.16014
9	26.603

Here are the commands:
use prices_1, clear;
regress sydney time;
clear;

The response is as follows:
. use prices_1, clear;
.         regress sydney time;
matrin input
6.00000e+001
* 0 6.00000e+001 6.00000e-008
matrin output
1.66667e-002

Source |       SS       df       MS              Number of obs =
9
-------------+------------------------------           F(  1,     7) =
55.27
Model |  4.56108786     1  4.56108786           Prob > F      =
0.0001
Residual |  .577651396     7  .082521628           R-squared     =
0.8876
0.8715
Total |  5.13873925     8  .642342407           Root MSE      =
.28727

------------------------------------------------------------------------
------
sydney |      Coef.   Std. Err.      t    P>|t|     [95% Conf.
Interval]
-------------+----------------------------------------------------------
------
time |  -.2757139   .0370859    -7.43   0.000     -.363408
-.1880198
_cons |    29.5157   .2086938   141.43   0.000     29.02221
30.00918
------------------------------------------------------------------------
------

. clear;

With a small regression such as this the extraneous material "matrin
input" and "matrin output" do not matter much. But much bigger versions
of these extraneous outputs occur in more complex regressions.

A search of the Statalist archives did not turn up any refrerences to
"matrin".

Can anyone suggest a way to stop this extraneous material from appearing
in the regression output?

Regards
Dr Richard Hayes
Senior Research Fellow

--
_______________________________________________________________________________

Notice from Melbourne Business School Ltd

The information contained in this e-mail is confidential, and is intended for
the named person's use only.  It may contain proprietary or legally privileged
information. If you have received this email in error, please notify the
sender and delete it immediately.  You must not, directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you are not
the intended recipient

Internet communications are not secure. You should scan this message and any
attachments for viruses. Melbourne Business School does not accept any
liability for loss or damage which may result from receipt of this message or
any attachments.

______________________________________________________________________________

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