WSUG M AY 2012 EViews, S-Plus and R Damian Staszek Bristol Water
EV IEWS : I NTRO & G RAPHS EViews (Econometric Views) is a statistical package for Windows, used mainly for the time-series oriented econometric analysis. Version 1.0 was released in March 1994 The current version of EViews is 7.2, released in Nov 2011
EV IEWS - R EGRESSION ANALYSIS Dependent Variable: BURSTS Method: Least Squares Date: 05/15/12 Time: 11:56 Sample: 2008M M03 Included observations: 51 BURSTS=C(1)+C(2)*FROST CoefficientStd. Errort-StatisticProb. C(1) C(2) R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criterion Sum squared resid Schwarz criterion Log likelihood Hannan-Quinn criter F-statistic Durbin-Watson stat Prob(F-statistic)
EV IEWS : O THER SETS OF ANALYSIS Time Series Econometrics Forecasting Cross-section data Panel data analysis
E VIEWS - W ORKFILE STRUCTURE
S-P LUS –I NTRO & G RAPHS S-PLUS is a commercial implementation of the S programming language sold by TIBCO Software Inc. 1988: S-PLUS is first produced by a Seattle- based start-up company called Statistical Sciences, Inc. 2004: Insightful purchases the S language 2007: S-PLUS 8 released. 2008: TIBCO acquires Insightful Corporation
S-P LUS –G RAPHS Nr Air Frost Days vs. Bursts
S-P LUS - R EGRESSION ANALYSIS *** Linear Model *** Call: lm(formula = Bursts ~ NrAirFrostDays, data = WSUG, na.action = na.exclude) Residuals: Min 1Q Median 3Q Max Coefficients: Value Std. Error t value Pr(>|t|) (Intercept) NrAirFrostDays Residual standard error: on 49 degrees of freedom Multiple R-Squared: Adjusted R-squared: F-statistic: on 1 and 49 degrees of freedom, the p-value is e- 009
S-P LUS – 2 D G RAPHS Trellis Graph Scatterplot Matrix
R -I NTRO R is an open source programming language and software environment for statistical computing and graphics Appeared in 1993 Current version: Version – October 31, 2011 R is part of the GNU project (it is free) R is an implementation of the S programming language, much of the code written for S runs unaltered
R -G RAPH
R -R EGRESSION ANALYSIS Call: lm(formula = bursts ~ frost) Residuals: Min 1Q Median 3Q Max Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) < 2e-16 *** frost e-09 *** --- Signif. codes: 0 ‘***’ ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Residual standard error: on 49 degrees of freedom Multiple R-Squared: , Adjusted R-squared: F-statistic: on 1 and 49 DF, p-value: 2.186e-09
EV IEWS, S-P LUS AND R C OMPARISON EviewsS-PlusR Statistics Econometrics Panel Data Graphs Language Easy to use Help / Manual
EV IEWS - S OFTWARE POSITIVES EViews - econometrics software E-Views has an easy-to-learn graphical user interface (GUI) E-Views has the best workfile structure- easy to manage Panel Data Econometrics with E-Views
S-P LUS - S OFTWARE POSTIVES S-Plus and R - Statistical software S-Plus can be integrated with TIBCO Spotfire® Professional software - interactive analytic interface for accessing and manipulating data Vast documentation
R - S OFTWARE POSITIVES R - command driven language R is extended through user-created packages (collections of code + data + documentation) R has various Grapfical User Interfaces i.e. R Commander, Deducer, Weka, RStudio R is a freely-available programming language and software environment Vast documentation provided by R community: help pages, packages, manuals, R mailing lists Search engines (RSeek) and journals available for R