Giter Site home page Giter Site logo

regfit's Introduction

regfit

regfit gives the equation after a regression.

Example

. sysuse auto, clear
(1978 Automobile Data)

. reg mpg price wei len 

      Source |       SS           df       MS      Number of obs   =        74
-------------+----------------------------------   F(3, 70)        =     46.63
       Model |  1628.52531         3  542.841771   Prob > F        =    0.0000
    Residual |  814.934146        70  11.6419164   R-squared       =    0.6665
-------------+----------------------------------   Adj R-squared   =    0.6522
       Total |  2443.45946        73  33.4720474   Root MSE        =     3.412

------------------------------------------------------------------------------
         mpg |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       price |     -0.000      0.000    -1.03   0.305       -0.001       0.000
      weight |     -0.003      0.002    -1.72   0.091       -0.007       0.000
      length |     -0.097      0.058    -1.67   0.099       -0.212       0.019
       _cons |     49.685      6.329     7.85   0.000       37.062      62.308
------------------------------------------------------------------------------

. regfit

mpg =  49.68 - 0.00*price - 0.00*weight - 0.10*length
      (6.33) (0.00)       (0.00)        (0.06)
       N = 74, R2 = 0.67, adj-R2 = 0.65
Note: S.E. in parentheses

regfit's People

Contributors

arlionn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.