Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- adjust new WINDOW regression test to reduce chances of spurious

  failure on other platforms
  • Loading branch information...
commit b14c6b37582d52408ed208a597e4319c3b288b6d 1 parent e436325
Joe Conway authored
Showing with 404 additions and 404 deletions.
  1. +403 −403 expected/plr.out
  2. +1 −1  sql/plr.sql
806 expected/plr.out
View
@@ -917,413 +917,413 @@ $BODY$
return(slope)
$BODY$
LANGUAGE plr WINDOW;
-SELECT *, r_regr_slope(eps, lag_eps) OVER w AS slope_R
+SELECT *, round((r_regr_slope(eps, lag_eps) OVER w)::numeric,6) AS slope_R
FROM (SELECT firm, fyear, eps,
lag(eps) OVER (ORDER BY firm, fyear) AS lag_eps
FROM test_data) AS a
WHERE eps IS NOT NULL
WINDOW w AS (ORDER BY firm, fyear ROWS 8 PRECEDING);
- firm | fyear | eps | lag_eps | slope_r
-------+-------+-------+---------+-------------------
- 31 | 1991 | -2 | |
- 31 | 1992 | -1.99 | -2 |
- 31 | 1993 | -1.98 | -1.99 |
- 31 | 1994 | -1.97 | -1.98 |
- 31 | 1995 | -1.96 | -1.97 |
- 31 | 1996 | -1.95 | -1.96 |
- 31 | 1997 | -1.94 | -1.95 |
- 31 | 1998 | -1.93 | -1.94 |
- 31 | 1999 | -1.92 | -1.93 | 1
- 31 | 2000 | -1.91 | -1.92 | 1
- 32 | 1991 | -1.9 | -1.91 | 0.999999999999996
- 32 | 1992 | -1.89 | -1.9 | 1
- 32 | 1993 | -1.88 | -1.89 | 1
- 32 | 1994 | -1.87 | -1.88 | 0.999999999999998
- 32 | 1995 | -1.86 | -1.87 | 0.999999999999994
- 32 | 1996 | -1.85 | -1.86 | 1
- 32 | 1997 | -1.84 | -1.85 | 0.999999999999995
- 32 | 1998 | -1.83 | -1.84 | 1.00000000000001
- 32 | 1999 | -1.82 | -1.83 | 1
- 32 | 2000 | -1.81 | -1.82 | 0.999999999999996
- 33 | 1991 | -1.8 | -1.81 | 1.00000000000001
- 33 | 1992 | -1.79 | -1.8 | 1
- 33 | 1993 | -1.78 | -1.79 | 1
- 33 | 1994 | -1.77 | -1.78 | 0.999999999999996
- 33 | 1995 | -1.76 | -1.77 | 1
- 33 | 1996 | -1.75 | -1.76 | 1
- 33 | 1997 | -1.74 | -1.75 | 1
- 33 | 1998 | -1.73 | -1.74 | 0.999999999999996
- 33 | 1999 | -1.72 | -1.73 | 1
- 33 | 2000 | -1.71 | -1.72 | 1
- 34 | 1991 | -1.7 | -1.71 | 1
- 34 | 1992 | -1.69 | -1.7 | 0.999999999999996
- 34 | 1993 | -1.68 | -1.69 | 1
- 34 | 1994 | -1.67 | -1.68 | 1
- 34 | 1995 | -1.66 | -1.67 | 1
- 34 | 1996 | -1.65 | -1.66 | 1
- 34 | 1997 | -1.64 | -1.65 | 0.999999999999991
- 34 | 1998 | -1.63 | -1.64 | 1
- 34 | 1999 | -1.62 | -1.63 | 0.999999999999998
- 34 | 2000 | -1.61 | -1.62 | 0.999999999999994
- 35 | 1991 | -1.6 | -1.61 | 1
- 35 | 1992 | -1.59 | -1.6 | 0.999999999999999
- 35 | 1993 | -1.58 | -1.59 | 1
- 35 | 1994 | -1.57 | -1.58 | 0.999999999999995
- 35 | 1995 | -1.56 | -1.57 | 1
- 35 | 1996 | -1.55 | -1.56 | 1
- 35 | 1997 | -1.54 | -1.55 | 1
- 35 | 1998 | -1.53 | -1.54 | 1
- 35 | 1999 | -1.52 | -1.53 | 0.999999999999996
- 35 | 2000 | -1.51 | -1.52 | 1
- 36 | 1991 | -1.5 | -1.51 | 0.999999999999996
- 36 | 1992 | -1.49 | -1.5 | 1
- 36 | 1993 | -1.48 | -1.49 | 1
- 36 | 1994 | -1.47 | -1.48 | 0.999999999999996
- 36 | 1995 | -1.46 | -1.47 | 1
- 36 | 1996 | -1.45 | -1.46 | 0.999999999999996
- 36 | 1997 | -1.44 | -1.45 | 0.999999999999996
- 36 | 1998 | -1.43 | -1.44 | 1
- 36 | 1999 | -1.42 | -1.43 | 1
- 36 | 2000 | -1.41 | -1.42 | 1
- 37 | 1991 | -1.4 | -1.41 | 1
- 37 | 1992 | -1.39 | -1.4 | 0.999999999999996
- 37 | 1993 | -1.38 | -1.39 | 0.999999999999996
- 37 | 1994 | -1.37 | -1.38 | 1
- 37 | 1995 | -1.36 | -1.37 | 1
- 37 | 1996 | -1.35 | -1.36 | 1
- 37 | 1997 | -1.34 | -1.35 | 0.999999999999991
- 37 | 1998 | -1.33 | -1.34 | 1
- 37 | 1999 | -1.32 | -1.33 | 1
- 37 | 2000 | -1.31 | -1.32 | 0.999999999999996
- 38 | 1991 | -1.3 | -1.31 | 1.00000000000001
- 38 | 1992 | -1.29 | -1.3 | 1
- 38 | 1993 | -1.28 | -1.29 | 1
- 38 | 1994 | -1.27 | -1.28 | 0.999999999999996
- 38 | 1995 | -1.26 | -1.27 | 1
- 38 | 1996 | -1.25 | -1.26 | 1
- 38 | 1997 | -1.24 | -1.25 | 1
- 38 | 1998 | -1.23 | -1.24 | 1
- 38 | 1999 | -1.22 | -1.23 | 1
- 38 | 2000 | -1.21 | -1.22 | 0.999999999999996
- 39 | 1991 | -1.2 | -1.21 | 1
- 39 | 1992 | -1.19 | -1.2 | 1
- 39 | 1993 | -1.18 | -1.19 | 0.999999999999996
- 39 | 1994 | -1.17 | -1.18 | 1
- 39 | 1995 | -1.16 | -1.17 | 1
- 39 | 1996 | -1.15 | -1.16 | 0.999999999999996
- 39 | 1997 | -1.14 | -1.15 | 1
- 39 | 1998 | -1.13 | -1.14 | 1
- 39 | 1999 | -1.12 | -1.13 | 0.999999999999998
- 39 | 2000 | -1.11 | -1.12 | 0.999999999999999
- 40 | 1991 | -1.1 | -1.11 | 0.999999999999999
- 40 | 1992 | -1.09 | -1.1 | 0.999999999999999
- 40 | 1993 | -1.08 | -1.09 | 1
- 40 | 1994 | -1.07 | -1.08 | 0.999999999999995
- 40 | 1995 | -1.06 | -1.07 | 1
- 40 | 1996 | -1.05 | -1.06 | 0.999999999999996
- 40 | 1997 | -1.04 | -1.05 | 1
- 40 | 1998 | -1.03 | -1.04 | 1
- 40 | 1999 | -1.02 | -1.03 | 1
- 40 | 2000 | -1.01 | -1.02 | 1
- 41 | 1991 | -1 | -1.01 | 0.999999999999996
- 41 | 1992 | -0.99 | -1 | 1
- 41 | 1993 | -0.98 | -0.99 | 1
- 41 | 1994 | -0.97 | -0.98 | 1
- 41 | 1995 | -0.96 | -0.97 | 1
- 41 | 1996 | -0.95 | -0.96 | 1
- 41 | 1997 | -0.94 | -0.95 | 1
- 41 | 1998 | -0.93 | -0.94 | 0.999999999999999
- 41 | 1999 | -0.92 | -0.93 | 0.999999999999997
- 41 | 2000 | -0.91 | -0.92 | 1
- 42 | 1991 | -0.9 | -0.91 | 0.999999999999999
- 42 | 1992 | -0.89 | -0.9 | 1
- 42 | 1993 | -0.88 | -0.89 | 0.999999999999998
- 42 | 1994 | -0.87 | -0.88 | 1
- 42 | 1995 | -0.86 | -0.87 | 1
- 42 | 1996 | -0.85 | -0.86 | 1
- 42 | 1997 | -0.84 | -0.85 | 1
- 42 | 1998 | -0.83 | -0.84 | 1
- 42 | 1999 | -0.82 | -0.83 | 1
- 42 | 2000 | -0.81 | -0.82 | 1
- 43 | 1991 | -0.8 | -0.81 | 1
- 43 | 1992 | -0.79 | -0.8 | 0.999999999999995
- 43 | 1993 | -0.78 | -0.79 | 0.999999999999999
- 43 | 1994 | -0.77 | -0.78 | 1
- 43 | 1995 | -0.76 | -0.77 | 1
- 43 | 1996 | -0.75 | -0.76 | 0.999999999999998
- 43 | 1997 | -0.74 | -0.75 | 1
- 43 | 1998 | -0.73 | -0.74 | 0.999999999999998
- 43 | 1999 | -0.72 | -0.73 | 1
- 43 | 2000 | -0.71 | -0.72 | 0.999999999999998
- 44 | 1991 | -0.7 | -0.71 | 1
- 44 | 1992 | -0.69 | -0.7 | 1
- 44 | 1993 | -0.68 | -0.69 | 0.999999999999999
- 44 | 1994 | -0.67 | -0.68 | 0.999999999999997
- 44 | 1995 | -0.66 | -0.67 | 1
- 44 | 1996 | -0.65 | -0.66 | 1
- 44 | 1997 | -0.64 | -0.65 | 0.999999999999997
- 44 | 1998 | -0.63 | -0.64 | 1
- 44 | 1999 | -0.62 | -0.63 | 0.999999999999996
- 44 | 2000 | -0.61 | -0.62 | 1
- 45 | 1991 | -0.6 | -0.61 | 1
- 45 | 1992 | -0.59 | -0.6 | 1
- 45 | 1993 | -0.58 | -0.59 | 1
- 45 | 1994 | -0.57 | -0.58 | 1
- 45 | 1995 | -0.56 | -0.57 | 0.999999999999999
- 45 | 1996 | -0.55 | -0.56 | 0.999999999999997
- 45 | 1997 | -0.54 | -0.55 | 1
- 45 | 1998 | -0.53 | -0.54 | 1
- 45 | 1999 | -0.52 | -0.53 | 0.999999999999997
- 45 | 2000 | -0.51 | -0.52 | 1
- 46 | 1991 | -0.5 | -0.51 | 0.999999999999998
- 46 | 1992 | -0.49 | -0.5 | 1
- 46 | 1993 | -0.48 | -0.49 | 1
- 46 | 1994 | -0.47 | -0.48 | 1
- 46 | 1995 | -0.46 | -0.47 | 1
- 46 | 1996 | -0.45 | -0.46 | 1
- 46 | 1997 | -0.44 | -0.45 | 1
- 46 | 1998 | -0.43 | -0.44 | 1
- 46 | 1999 | -0.42 | -0.43 | 1
- 46 | 2000 | -0.41 | -0.42 | 1
- 47 | 1991 | -0.4 | -0.41 | 1
- 47 | 1992 | -0.39 | -0.4 | 1
- 47 | 1993 | -0.38 | -0.39 | 1
- 47 | 1994 | -0.37 | -0.38 | 0.999999999999999
- 47 | 1995 | -0.36 | -0.37 | 1
- 47 | 1996 | -0.35 | -0.36 | 1
- 47 | 1997 | -0.34 | -0.35 | 0.999999999999997
- 47 | 1998 | -0.33 | -0.34 | 1
- 47 | 1999 | -0.32 | -0.33 | 1
- 47 | 2000 | -0.31 | -0.32 | 1
- 48 | 1991 | -0.3 | -0.31 | 1
- 48 | 1992 | -0.29 | -0.3 | 0.999999999999998
- 48 | 1993 | -0.28 | -0.29 | 1
- 48 | 1994 | -0.27 | -0.28 | 0.999999999999999
- 48 | 1995 | -0.26 | -0.27 | 1
- 48 | 1996 | -0.25 | -0.26 | 0.999999999999999
- 48 | 1997 | -0.24 | -0.25 | 1
- 48 | 1998 | -0.23 | -0.24 | 0.999999999999999
- 48 | 1999 | -0.22 | -0.23 | 0.999999999999999
- 48 | 2000 | -0.21 | -0.22 | 1
- 49 | 1991 | -0.2 | -0.21 | 1
- 49 | 1992 | -0.19 | -0.2 | 1
- 49 | 1993 | -0.18 | -0.19 | 1
- 49 | 1994 | -0.17 | -0.18 | 1
- 49 | 1995 | -0.16 | -0.17 | 1
- 49 | 1996 | -0.15 | -0.16 | 1
- 49 | 1997 | -0.14 | -0.15 | 0.999999999999998
- 49 | 1998 | -0.13 | -0.14 | 1
- 49 | 1999 | -0.12 | -0.13 | 1
- 49 | 2000 | -0.11 | -0.12 | 0.999999999999999
- 50 | 1991 | -0.1 | -0.11 | 1
- 50 | 1992 | -0.09 | -0.1 | 1
- 50 | 1993 | -0.08 | -0.09 | 1
- 50 | 1994 | -0.07 | -0.08 | 1
- 50 | 1995 | -0.06 | -0.07 | 1
- 50 | 1996 | -0.05 | -0.06 | 1
- 50 | 1997 | -0.04 | -0.05 | 0.999999999999999
- 50 | 1998 | -0.03 | -0.04 | 1
- 50 | 1999 | -0.02 | -0.03 | 1
- 50 | 2000 | -0.01 | -0.02 | 1
- 50 | 2001 | 0 | -0.01 | 0.999999999999999
- 50 | 2002 | 0.01 | 0 | 1
- 50 | 2003 | 0.02 | 0.01 | 1
- 50 | 2004 | 0.03 | 0.02 | 1
- 50 | 2005 | 0.04 | 0.03 | 1
- 50 | 2006 | 0.05 | 0.04 | 1
- 50 | 2007 | 0.06 | 0.05 | 1
- 50 | 2008 | 0.07 | 0.06 | 1
- 50 | 2009 | 0.08 | 0.07 | 1
- 51 | 2000 | 0.09 | 0.08 | 1
- 51 | 2001 | 0.1 | 0.09 | 1
- 51 | 2002 | 0.11 | 0.1 | 1
- 51 | 2003 | 0.12 | 0.11 | 1
- 51 | 2004 | 0.13 | 0.12 | 1
- 51 | 2005 | 0.14 | 0.13 | 1
- 51 | 2006 | 0.15 | 0.14 | 1
- 51 | 2007 | 0.16 | 0.15 | 1
- 51 | 2008 | 0.17 | 0.16 | 1
- 51 | 2009 | 0.18 | 0.17 | 1
- 52 | 2000 | 0.19 | 0.18 | 1
- 52 | 2001 | 0.2 | 0.19 | 1
- 52 | 2002 | 0.21 | 0.2 | 1
- 52 | 2003 | 0.22 | 0.21 | 1
- 52 | 2004 | 0.23 | 0.22 | 1
- 52 | 2005 | 0.24 | 0.23 | 1
- 52 | 2006 | 0.25 | 0.24 | 1
- 52 | 2007 | 0.26 | 0.25 | 1
- 52 | 2008 | 0.27 | 0.26 | 1
- 52 | 2009 | 0.28 | 0.27 | 0.999999999999999
- 53 | 2000 | 0.29 | 0.28 | 1
- 53 | 2001 | 0.3 | 0.29 | 1
- 53 | 2002 | 0.31 | 0.3 | 0.999999999999999
- 53 | 2003 | 0.32 | 0.31 | 1
- 53 | 2004 | 0.33 | 0.32 | 1
- 53 | 2005 | 0.34 | 0.33 | 1
- 53 | 2006 | 0.35 | 0.34 | 1
- 53 | 2007 | 0.36 | 0.35 | 0.999999999999999
- 53 | 2008 | 0.37 | 0.36 | 1
- 53 | 2009 | 0.38 | 0.37 | 1
- 54 | 2000 | 0.39 | 0.38 | 0.999999999999998
- 54 | 2001 | 0.4 | 0.39 | 1
- 54 | 2002 | 0.41 | 0.4 | 0.999999999999999
- 54 | 2003 | 0.42 | 0.41 | 1
- 54 | 2004 | 0.43 | 0.42 | 0.999999999999998
- 54 | 2005 | 0.44 | 0.43 | 1
- 54 | 2006 | 0.45 | 0.44 | 1
- 54 | 2007 | 0.46 | 0.45 | 1
- 54 | 2008 | 0.47 | 0.46 | 0.999999999999998
- 54 | 2009 | 0.48 | 0.47 | 1
- 55 | 2000 | 0.49 | 0.48 | 1
- 55 | 2001 | 0.5 | 0.49 | 0.999999999999999
- 55 | 2002 | 0.51 | 0.5 | 1
- 55 | 2003 | 0.52 | 0.51 | 1
- 55 | 2004 | 0.53 | 0.52 | 1
- 55 | 2005 | 0.54 | 0.53 | 1
- 55 | 2006 | 0.55 | 0.54 | 1
- 55 | 2007 | 0.56 | 0.55 | 1
- 55 | 2008 | 0.57 | 0.56 | 0.999999999999999
- 55 | 2009 | 0.58 | 0.57 | 0.999999999999999
- 56 | 2000 | 0.59 | 0.58 | 0.999999999999999
- 56 | 2001 | 0.6 | 0.59 | 0.999999999999999
- 56 | 2002 | 0.61 | 0.6 | 1
- 56 | 2003 | 0.62 | 0.61 | 1
- 56 | 2004 | 0.63 | 0.62 | 1
- 56 | 2005 | 0.64 | 0.63 | 1
- 56 | 2006 | 0.65 | 0.64 | 1
- 56 | 2007 | 0.66 | 0.65 | 0.999999999999998
- 56 | 2008 | 0.67 | 0.66 | 1
- 56 | 2009 | 0.68 | 0.67 | 1
- 57 | 2000 | 0.69 | 0.68 | 0.999999999999999
- 57 | 2001 | 0.7 | 0.69 | 0.999999999999999
- 57 | 2002 | 0.71 | 0.7 | 0.999999999999999
- 57 | 2003 | 0.72 | 0.71 | 1
- 57 | 2004 | 0.73 | 0.72 | 0.999999999999999
- 57 | 2005 | 0.74 | 0.73 | 0.999999999999998
- 57 | 2006 | 0.75 | 0.74 | 1
- 57 | 2007 | 0.76 | 0.75 | 1
- 57 | 2008 | 0.77 | 0.76 | 0.999999999999996
- 57 | 2009 | 0.78 | 0.77 | 1
- 58 | 2000 | 0.79 | 0.78 | 1
- 58 | 2001 | 0.8 | 0.79 | 0.999999999999997
- 58 | 2002 | 0.81 | 0.8 | 1
- 58 | 2003 | 0.82 | 0.81 | 0.999999999999997
- 58 | 2004 | 0.83 | 0.82 | 0.999999999999999
- 58 | 2005 | 0.84 | 0.83 | 0.999999999999999
- 58 | 2006 | 0.85 | 0.84 | 1
- 58 | 2007 | 0.86 | 0.85 | 1
- 58 | 2008 | 0.87 | 0.86 | 1
- 58 | 2009 | 0.88 | 0.87 | 0.999999999999996
- 59 | 2000 | 0.89 | 0.88 | 1
- 59 | 2001 | 0.9 | 0.89 | 1
- 59 | 2002 | 0.91 | 0.9 | 0.999999999999997
- 59 | 2003 | 0.92 | 0.91 | 0.999999999999998
- 59 | 2004 | 0.93 | 0.92 | 1
- 59 | 2005 | 0.94 | 0.93 | 0.999999999999999
- 59 | 2006 | 0.95 | 0.94 | 0.999999999999999
- 59 | 2007 | 0.96 | 0.95 | 0.999999999999995
- 59 | 2008 | 0.97 | 0.96 | 1
- 59 | 2009 | 0.98 | 0.97 | 1
- 60 | 2000 | 0.99 | 0.98 | 1
- 60 | 2001 | 1 | 0.99 | 1
- 60 | 2002 | 1.01 | 1 | 1
- 60 | 2003 | 1.02 | 1.01 | 1
- 60 | 2004 | 1.03 | 1.02 | 1
- 60 | 2005 | 1.04 | 1.03 | 1
- 60 | 2006 | 1.05 | 1.04 | 0.999999999999997
- 60 | 2007 | 1.06 | 1.05 | 1
- 60 | 2008 | 1.07 | 1.06 | 1
- 60 | 2009 | 1.08 | 1.07 | 1
- 61 | 2000 | 1.09 | 1.08 | 1
- 61 | 2001 | 1.1 | 1.09 | 1
- 61 | 2002 | 1.11 | 1.1 | 1
- 61 | 2003 | 1.12 | 1.11 | 1
- 61 | 2004 | 1.13 | 1.12 | 0.999999999999998
- 61 | 2005 | 1.14 | 1.13 | 0.999999999999999
- 61 | 2006 | 1.15 | 1.14 | 0.999999999999999
- 61 | 2007 | 1.16 | 1.15 | 1
- 61 | 2008 | 1.17 | 1.16 | 0.999999999999999
- 61 | 2009 | 1.18 | 1.17 | 0.999999999999995
- 62 | 2000 | 1.19 | 1.18 | 1
- 62 | 2001 | 1.2 | 1.19 | 0.999999999999996
- 62 | 2002 | 1.21 | 1.2 | 1
- 62 | 2003 | 1.22 | 1.21 | 1
- 62 | 2004 | 1.23 | 1.22 | 1
- 62 | 2005 | 1.24 | 1.23 | 1
- 62 | 2006 | 1.25 | 1.24 | 0.999999999999996
- 62 | 2007 | 1.26 | 1.25 | 1
- 62 | 2008 | 1.27 | 1.26 | 0.999999999999996
- 62 | 2009 | 1.28 | 1.27 | 1
- 63 | 2000 | 1.29 | 1.28 | 1
- 63 | 2001 | 1.3 | 1.29 | 1
- 63 | 2002 | 1.31 | 1.3 | 1
- 63 | 2003 | 1.32 | 1.31 | 1
- 63 | 2004 | 1.33 | 1.32 | 1
- 63 | 2005 | 1.34 | 1.33 | 1
- 63 | 2006 | 1.35 | 1.34 | 1
- 63 | 2007 | 1.36 | 1.35 | 0.999999999999996
- 63 | 2008 | 1.37 | 1.36 | 1
- 63 | 2009 | 1.38 | 1.37 | 0.999999999999998
- 64 | 2000 | 1.39 | 1.38 | 0.999999999999999
- 64 | 2001 | 1.4 | 1.39 | 0.999999999999999
- 64 | 2002 | 1.41 | 1.4 | 0.999999999999995
- 64 | 2003 | 1.42 | 1.41 | 1
- 64 | 2004 | 1.43 | 1.42 | 1
- 64 | 2005 | 1.44 | 1.43 | 0.999999999999996
- 64 | 2006 | 1.45 | 1.44 | 0.999999999999997
- 64 | 2007 | 1.46 | 1.45 | 1
- 64 | 2008 | 1.47 | 1.46 | 1
- 64 | 2009 | 1.48 | 1.47 | 1
- 65 | 2000 | 1.49 | 1.48 | 0.999999999999996
- 65 | 2001 | 1.5 | 1.49 | 0.999999999999996
- 65 | 2002 | 1.51 | 1.5 | 1
- 65 | 2003 | 1.52 | 1.51 | 1
- 65 | 2004 | 1.53 | 1.52 | 1
- 65 | 2005 | 1.54 | 1.53 | 0.999999999999996
- 65 | 2006 | 1.55 | 1.54 | 1
- 65 | 2007 | 1.56 | 1.55 | 1
- 65 | 2008 | 1.57 | 1.56 | 0.999999999999996
- 65 | 2009 | 1.58 | 1.57 | 0.999999999999996
- 66 | 2000 | 1.59 | 1.58 | 1.00000000000001
- 66 | 2001 | 1.6 | 1.59 | 0.999999999999995
- 66 | 2002 | 1.61 | 1.6 | 0.999999999999996
- 66 | 2003 | 1.62 | 1.61 | 0.999999999999996
- 66 | 2004 | 1.63 | 1.62 | 1
- 66 | 2005 | 1.64 | 1.63 | 0.999999999999999
- 66 | 2006 | 1.65 | 1.64 | 0.999999999999999
- 66 | 2007 | 1.66 | 1.65 | 1
- 66 | 2008 | 1.67 | 1.66 | 0.999999999999995
- 66 | 2009 | 1.68 | 1.67 | 1
- 67 | 2000 | 1.69 | 1.68 | 1
- 67 | 2001 | 1.7 | 1.69 | 0.999999999999996
- 67 | 2002 | 1.71 | 1.7 | 1
- 67 | 2003 | 1.72 | 1.71 | 0.999999999999996
- 67 | 2004 | 1.73 | 1.72 | 1
- 67 | 2005 | 1.74 | 1.73 | 0.999999999999996
- 67 | 2006 | 1.75 | 1.74 | 0.999999999999996
- 67 | 2007 | 1.76 | 1.75 | 1.00000000000001
- 67 | 2008 | 1.77 | 1.76 | 0.999999999999995
- 67 | 2009 | 1.78 | 1.77 | 0.999999999999996
- 68 | 2000 | 1.79 | 1.78 | 0.999999999999996
- 68 | 2001 | 1.8 | 1.79 | 1
- 68 | 2002 | 1.81 | 1.8 | 1
- 68 | 2003 | 1.82 | 1.81 | 1
- 68 | 2004 | 1.83 | 1.82 | 0.999999999999996
- 68 | 2005 | 1.84 | 1.83 | 1
- 68 | 2006 | 1.85 | 1.84 | 1
- 68 | 2007 | 1.86 | 1.85 | 1
- 68 | 2008 | 1.87 | 1.86 | 0.999999999999991
- 68 | 2009 | 1.88 | 1.87 | 1
- 69 | 2000 | 1.89 | 1.88 | 1
- 69 | 2001 | 1.9 | 1.89 | 0.999999999999994
- 69 | 2002 | 1.91 | 1.9 | 1
- 69 | 2003 | 1.92 | 1.91 | 0.999999999999995
- 69 | 2004 | 1.93 | 1.92 | 1
- 69 | 2005 | 1.94 | 1.93 | 1
- 69 | 2006 | 1.95 | 1.94 | 0.999999999999996
- 69 | 2007 | 1.96 | 1.95 | 0.999999999999996
- 69 | 2008 | 1.97 | 1.96 | 1
- 69 | 2009 | 1.98 | 1.97 | 1
- 70 | 2000 | 1.99 | 1.98 | 1
+ firm | fyear | eps | lag_eps | slope_r
+------+-------+-------+---------+----------
+ 31 | 1991 | -2 | |
+ 31 | 1992 | -1.99 | -2 |
+ 31 | 1993 | -1.98 | -1.99 |
+ 31 | 1994 | -1.97 | -1.98 |
+ 31 | 1995 | -1.96 | -1.97 |
+ 31 | 1996 | -1.95 | -1.96 |
+ 31 | 1997 | -1.94 | -1.95 |
+ 31 | 1998 | -1.93 | -1.94 |
+ 31 | 1999 | -1.92 | -1.93 | 1.000000
+ 31 | 2000 | -1.91 | -1.92 | 1.000000
+ 32 | 1991 | -1.9 | -1.91 | 1.000000
+ 32 | 1992 | -1.89 | -1.9 | 1.000000
+ 32 | 1993 | -1.88 | -1.89 | 1.000000
+ 32 | 1994 | -1.87 | -1.88 | 1.000000
+ 32 | 1995 | -1.86 | -1.87 | 1.000000
+ 32 | 1996 | -1.85 | -1.86 | 1.000000
+ 32 | 1997 | -1.84 | -1.85 | 1.000000
+ 32 | 1998 | -1.83 | -1.84 | 1.000000
+ 32 | 1999 | -1.82 | -1.83 | 1.000000
+ 32 | 2000 | -1.81 | -1.82 | 1.000000
+ 33 | 1991 | -1.8 | -1.81 | 1.000000
+ 33 | 1992 | -1.79 | -1.8 | 1.000000
+ 33 | 1993 | -1.78 | -1.79 | 1.000000
+ 33 | 1994 | -1.77 | -1.78 | 1.000000
+ 33 | 1995 | -1.76 | -1.77 | 1.000000
+ 33 | 1996 | -1.75 | -1.76 | 1.000000
+ 33 | 1997 | -1.74 | -1.75 | 1.000000
+ 33 | 1998 | -1.73 | -1.74 | 1.000000
+ 33 | 1999 | -1.72 | -1.73 | 1.000000
+ 33 | 2000 | -1.71 | -1.72 | 1.000000
+ 34 | 1991 | -1.7 | -1.71 | 1.000000
+ 34 | 1992 | -1.69 | -1.7 | 1.000000
+ 34 | 1993 | -1.68 | -1.69 | 1.000000
+ 34 | 1994 | -1.67 | -1.68 | 1.000000
+ 34 | 1995 | -1.66 | -1.67 | 1.000000
+ 34 | 1996 | -1.65 | -1.66 | 1.000000
+ 34 | 1997 | -1.64 | -1.65 | 1.000000
+ 34 | 1998 | -1.63 | -1.64 | 1.000000
+ 34 | 1999 | -1.62 | -1.63 | 1.000000
+ 34 | 2000 | -1.61 | -1.62 | 1.000000
+ 35 | 1991 | -1.6 | -1.61 | 1.000000
+ 35 | 1992 | -1.59 | -1.6 | 1.000000
+ 35 | 1993 | -1.58 | -1.59 | 1.000000
+ 35 | 1994 | -1.57 | -1.58 | 1.000000
+ 35 | 1995 | -1.56 | -1.57 | 1.000000
+ 35 | 1996 | -1.55 | -1.56 | 1.000000
+ 35 | 1997 | -1.54 | -1.55 | 1.000000
+ 35 | 1998 | -1.53 | -1.54 | 1.000000
+ 35 | 1999 | -1.52 | -1.53 | 1.000000
+ 35 | 2000 | -1.51 | -1.52 | 1.000000
+ 36 | 1991 | -1.5 | -1.51 | 1.000000
+ 36 | 1992 | -1.49 | -1.5 | 1.000000
+ 36 | 1993 | -1.48 | -1.49 | 1.000000
+ 36 | 1994 | -1.47 | -1.48 | 1.000000
+ 36 | 1995 | -1.46 | -1.47 | 1.000000
+ 36 | 1996 | -1.45 | -1.46 | 1.000000
+ 36 | 1997 | -1.44 | -1.45 | 1.000000
+ 36 | 1998 | -1.43 | -1.44 | 1.000000
+ 36 | 1999 | -1.42 | -1.43 | 1.000000
+ 36 | 2000 | -1.41 | -1.42 | 1.000000
+ 37 | 1991 | -1.4 | -1.41 | 1.000000
+ 37 | 1992 | -1.39 | -1.4 | 1.000000
+ 37 | 1993 | -1.38 | -1.39 | 1.000000
+ 37 | 1994 | -1.37 | -1.38 | 1.000000
+ 37 | 1995 | -1.36 | -1.37 | 1.000000
+ 37 | 1996 | -1.35 | -1.36 | 1.000000
+ 37 | 1997 | -1.34 | -1.35 | 1.000000
+ 37 | 1998 | -1.33 | -1.34 | 1.000000
+ 37 | 1999 | -1.32 | -1.33 | 1.000000
+ 37 | 2000 | -1.31 | -1.32 | 1.000000
+ 38 | 1991 | -1.3 | -1.31 | 1.000000
+ 38 | 1992 | -1.29 | -1.3 | 1.000000
+ 38 | 1993 | -1.28 | -1.29 | 1.000000
+ 38 | 1994 | -1.27 | -1.28 | 1.000000
+ 38 | 1995 | -1.26 | -1.27 | 1.000000
+ 38 | 1996 | -1.25 | -1.26 | 1.000000
+ 38 | 1997 | -1.24 | -1.25 | 1.000000
+ 38 | 1998 | -1.23 | -1.24 | 1.000000
+ 38 | 1999 | -1.22 | -1.23 | 1.000000
+ 38 | 2000 | -1.21 | -1.22 | 1.000000
+ 39 | 1991 | -1.2 | -1.21 | 1.000000
+ 39 | 1992 | -1.19 | -1.2 | 1.000000
+ 39 | 1993 | -1.18 | -1.19 | 1.000000
+ 39 | 1994 | -1.17 | -1.18 | 1.000000
+ 39 | 1995 | -1.16 | -1.17 | 1.000000
+ 39 | 1996 | -1.15 | -1.16 | 1.000000
+ 39 | 1997 | -1.14 | -1.15 | 1.000000
+ 39 | 1998 | -1.13 | -1.14 | 1.000000
+ 39 | 1999 | -1.12 | -1.13 | 1.000000
+ 39 | 2000 | -1.11 | -1.12 | 1.000000
+ 40 | 1991 | -1.1 | -1.11 | 1.000000
+ 40 | 1992 | -1.09 | -1.1 | 1.000000
+ 40 | 1993 | -1.08 | -1.09 | 1.000000
+ 40 | 1994 | -1.07 | -1.08 | 1.000000
+ 40 | 1995 | -1.06 | -1.07 | 1.000000
+ 40 | 1996 | -1.05 | -1.06 | 1.000000
+ 40 | 1997 | -1.04 | -1.05 | 1.000000
+ 40 | 1998 | -1.03 | -1.04 | 1.000000
+ 40 | 1999 | -1.02 | -1.03 | 1.000000
+ 40 | 2000 | -1.01 | -1.02 | 1.000000
+ 41 | 1991 | -1 | -1.01 | 1.000000
+ 41 | 1992 | -0.99 | -1 | 1.000000
+ 41 | 1993 | -0.98 | -0.99 | 1.000000
+ 41 | 1994 | -0.97 | -0.98 | 1.000000
+ 41 | 1995 | -0.96 | -0.97 | 1.000000
+ 41 | 1996 | -0.95 | -0.96 | 1.000000
+ 41 | 1997 | -0.94 | -0.95 | 1.000000
+ 41 | 1998 | -0.93 | -0.94 | 1.000000
+ 41 | 1999 | -0.92 | -0.93 | 1.000000
+ 41 | 2000 | -0.91 | -0.92 | 1.000000
+ 42 | 1991 | -0.9 | -0.91 | 1.000000
+ 42 | 1992 | -0.89 | -0.9 | 1.000000
+ 42 | 1993 | -0.88 | -0.89 | 1.000000
+ 42 | 1994 | -0.87 | -0.88 | 1.000000
+ 42 | 1995 | -0.86 | -0.87 | 1.000000
+ 42 | 1996 | -0.85 | -0.86 | 1.000000
+ 42 | 1997 | -0.84 | -0.85 | 1.000000
+ 42 | 1998 | -0.83 | -0.84 | 1.000000
+ 42 | 1999 | -0.82 | -0.83 | 1.000000
+ 42 | 2000 | -0.81 | -0.82 | 1.000000
+ 43 | 1991 | -0.8 | -0.81 | 1.000000
+ 43 | 1992 | -0.79 | -0.8 | 1.000000
+ 43 | 1993 | -0.78 | -0.79 | 1.000000
+ 43 | 1994 | -0.77 | -0.78 | 1.000000
+ 43 | 1995 | -0.76 | -0.77 | 1.000000
+ 43 | 1996 | -0.75 | -0.76 | 1.000000
+ 43 | 1997 | -0.74 | -0.75 | 1.000000
+ 43 | 1998 | -0.73 | -0.74 | 1.000000
+ 43 | 1999 | -0.72 | -0.73 | 1.000000
+ 43 | 2000 | -0.71 | -0.72 | 1.000000
+ 44 | 1991 | -0.7 | -0.71 | 1.000000
+ 44 | 1992 | -0.69 | -0.7 | 1.000000
+ 44 | 1993 | -0.68 | -0.69 | 1.000000
+ 44 | 1994 | -0.67 | -0.68 | 1.000000
+ 44 | 1995 | -0.66 | -0.67 | 1.000000
+ 44 | 1996 | -0.65 | -0.66 | 1.000000
+ 44 | 1997 | -0.64 | -0.65 | 1.000000
+ 44 | 1998 | -0.63 | -0.64 | 1.000000
+ 44 | 1999 | -0.62 | -0.63 | 1.000000
+ 44 | 2000 | -0.61 | -0.62 | 1.000000
+ 45 | 1991 | -0.6 | -0.61 | 1.000000
+ 45 | 1992 | -0.59 | -0.6 | 1.000000
+ 45 | 1993 | -0.58 | -0.59 | 1.000000
+ 45 | 1994 | -0.57 | -0.58 | 1.000000
+ 45 | 1995 | -0.56 | -0.57 | 1.000000
+ 45 | 1996 | -0.55 | -0.56 | 1.000000
+ 45 | 1997 | -0.54 | -0.55 | 1.000000
+ 45 | 1998 | -0.53 | -0.54 | 1.000000
+ 45 | 1999 | -0.52 | -0.53 | 1.000000
+ 45 | 2000 | -0.51 | -0.52 | 1.000000
+ 46 | 1991 | -0.5 | -0.51 | 1.000000
+ 46 | 1992 | -0.49 | -0.5 | 1.000000
+ 46 | 1993 | -0.48 | -0.49 | 1.000000
+ 46 | 1994 | -0.47 | -0.48 | 1.000000
+ 46 | 1995 | -0.46 | -0.47 | 1.000000
+ 46 | 1996 | -0.45 | -0.46 | 1.000000
+ 46 | 1997 | -0.44 | -0.45 | 1.000000
+ 46 | 1998 | -0.43 | -0.44 | 1.000000
+ 46 | 1999 | -0.42 | -0.43 | 1.000000
+ 46 | 2000 | -0.41 | -0.42 | 1.000000
+ 47 | 1991 | -0.4 | -0.41 | 1.000000
+ 47 | 1992 | -0.39 | -0.4 | 1.000000
+ 47 | 1993 | -0.38 | -0.39 | 1.000000
+ 47 | 1994 | -0.37 | -0.38 | 1.000000
+ 47 | 1995 | -0.36 | -0.37 | 1.000000
+ 47 | 1996 | -0.35 | -0.36 | 1.000000
+ 47 | 1997 | -0.34 | -0.35 | 1.000000
+ 47 | 1998 | -0.33 | -0.34 | 1.000000
+ 47 | 1999 | -0.32 | -0.33 | 1.000000
+ 47 | 2000 | -0.31 | -0.32 | 1.000000
+ 48 | 1991 | -0.3 | -0.31 | 1.000000
+ 48 | 1992 | -0.29 | -0.3 | 1.000000
+ 48 | 1993 | -0.28 | -0.29 | 1.000000
+ 48 | 1994 | -0.27 | -0.28 | 1.000000
+ 48 | 1995 | -0.26 | -0.27 | 1.000000
+ 48 | 1996 | -0.25 | -0.26 | 1.000000
+ 48 | 1997 | -0.24 | -0.25 | 1.000000
+ 48 | 1998 | -0.23 | -0.24 | 1.000000
+ 48 | 1999 | -0.22 | -0.23 | 1.000000
+ 48 | 2000 | -0.21 | -0.22 | 1.000000
+ 49 | 1991 | -0.2 | -0.21 | 1.000000
+ 49 | 1992 | -0.19 | -0.2 | 1.000000
+ 49 | 1993 | -0.18 | -0.19 | 1.000000
+ 49 | 1994 | -0.17 | -0.18 | 1.000000
+ 49 | 1995 | -0.16 | -0.17 | 1.000000
+ 49 | 1996 | -0.15 | -0.16 | 1.000000
+ 49 | 1997 | -0.14 | -0.15 | 1.000000
+ 49 | 1998 | -0.13 | -0.14 | 1.000000
+ 49 | 1999 | -0.12 | -0.13 | 1.000000
+ 49 | 2000 | -0.11 | -0.12 | 1.000000
+ 50 | 1991 | -0.1 | -0.11 | 1.000000
+ 50 | 1992 | -0.09 | -0.1 | 1.000000
+ 50 | 1993 | -0.08 | -0.09 | 1.000000
+ 50 | 1994 | -0.07 | -0.08 | 1.000000
+ 50 | 1995 | -0.06 | -0.07 | 1.000000
+ 50 | 1996 | -0.05 | -0.06 | 1.000000
+ 50 | 1997 | -0.04 | -0.05 | 1.000000
+ 50 | 1998 | -0.03 | -0.04 | 1.000000
+ 50 | 1999 | -0.02 | -0.03 | 1.000000
+ 50 | 2000 | -0.01 | -0.02 | 1.000000
+ 50 | 2001 | 0 | -0.01 | 1.000000
+ 50 | 2002 | 0.01 | 0 | 1.000000
+ 50 | 2003 | 0.02 | 0.01 | 1.000000
+ 50 | 2004 | 0.03 | 0.02 | 1.000000
+ 50 | 2005 | 0.04 | 0.03 | 1.000000
+ 50 | 2006 | 0.05 | 0.04 | 1.000000
+ 50 | 2007 | 0.06 | 0.05 | 1.000000
+ 50 | 2008 | 0.07 | 0.06 | 1.000000
+ 50 | 2009 | 0.08 | 0.07 | 1.000000
+ 51 | 2000 | 0.09 | 0.08 | 1.000000
+ 51 | 2001 | 0.1 | 0.09 | 1.000000
+ 51 | 2002 | 0.11 | 0.1 | 1.000000
+ 51 | 2003 | 0.12 | 0.11 | 1.000000
+ 51 | 2004 | 0.13 | 0.12 | 1.000000
+ 51 | 2005 | 0.14 | 0.13 | 1.000000
+ 51 | 2006 | 0.15 | 0.14 | 1.000000
+ 51 | 2007 | 0.16 | 0.15 | 1.000000
+ 51 | 2008 | 0.17 | 0.16 | 1.000000
+ 51 | 2009 | 0.18 | 0.17 | 1.000000
+ 52 | 2000 | 0.19 | 0.18 | 1.000000
+ 52 | 2001 | 0.2 | 0.19 | 1.000000
+ 52 | 2002 | 0.21 | 0.2 | 1.000000
+ 52 | 2003 | 0.22 | 0.21 | 1.000000
+ 52 | 2004 | 0.23 | 0.22 | 1.000000
+ 52 | 2005 | 0.24 | 0.23 | 1.000000
+ 52 | 2006 | 0.25 | 0.24 | 1.000000
+ 52 | 2007 | 0.26 | 0.25 | 1.000000
+ 52 | 2008 | 0.27 | 0.26 | 1.000000
+ 52 | 2009 | 0.28 | 0.27 | 1.000000
+ 53 | 2000 | 0.29 | 0.28 | 1.000000
+ 53 | 2001 | 0.3 | 0.29 | 1.000000
+ 53 | 2002 | 0.31 | 0.3 | 1.000000
+ 53 | 2003 | 0.32 | 0.31 | 1.000000
+ 53 | 2004 | 0.33 | 0.32 | 1.000000
+ 53 | 2005 | 0.34 | 0.33 | 1.000000
+ 53 | 2006 | 0.35 | 0.34 | 1.000000
+ 53 | 2007 | 0.36 | 0.35 | 1.000000
+ 53 | 2008 | 0.37 | 0.36 | 1.000000
+ 53 | 2009 | 0.38 | 0.37 | 1.000000
+ 54 | 2000 | 0.39 | 0.38 | 1.000000
+ 54 | 2001 | 0.4 | 0.39 | 1.000000
+ 54 | 2002 | 0.41 | 0.4 | 1.000000
+ 54 | 2003 | 0.42 | 0.41 | 1.000000
+ 54 | 2004 | 0.43 | 0.42 | 1.000000
+ 54 | 2005 | 0.44 | 0.43 | 1.000000
+ 54 | 2006 | 0.45 | 0.44 | 1.000000
+ 54 | 2007 | 0.46 | 0.45 | 1.000000
+ 54 | 2008 | 0.47 | 0.46 | 1.000000
+ 54 | 2009 | 0.48 | 0.47 | 1.000000
+ 55 | 2000 | 0.49 | 0.48 | 1.000000
+ 55 | 2001 | 0.5 | 0.49 | 1.000000
+ 55 | 2002 | 0.51 | 0.5 | 1.000000
+ 55 | 2003 | 0.52 | 0.51 | 1.000000
+ 55 | 2004 | 0.53 | 0.52 | 1.000000
+ 55 | 2005 | 0.54 | 0.53 | 1.000000
+ 55 | 2006 | 0.55 | 0.54 | 1.000000
+ 55 | 2007 | 0.56 | 0.55 | 1.000000
+ 55 | 2008 | 0.57 | 0.56 | 1.000000
+ 55 | 2009 | 0.58 | 0.57 | 1.000000
+ 56 | 2000 | 0.59 | 0.58 | 1.000000
+ 56 | 2001 | 0.6 | 0.59 | 1.000000
+ 56 | 2002 | 0.61 | 0.6 | 1.000000
+ 56 | 2003 | 0.62 | 0.61 | 1.000000
+ 56 | 2004 | 0.63 | 0.62 | 1.000000
+ 56 | 2005 | 0.64 | 0.63 | 1.000000
+ 56 | 2006 | 0.65 | 0.64 | 1.000000
+ 56 | 2007 | 0.66 | 0.65 | 1.000000
+ 56 | 2008 | 0.67 | 0.66 | 1.000000
+ 56 | 2009 | 0.68 | 0.67 | 1.000000
+ 57 | 2000 | 0.69 | 0.68 | 1.000000
+ 57 | 2001 | 0.7 | 0.69 | 1.000000
+ 57 | 2002 | 0.71 | 0.7 | 1.000000
+ 57 | 2003 | 0.72 | 0.71 | 1.000000
+ 57 | 2004 | 0.73 | 0.72 | 1.000000
+ 57 | 2005 | 0.74 | 0.73 | 1.000000
+ 57 | 2006 | 0.75 | 0.74 | 1.000000
+ 57 | 2007 | 0.76 | 0.75 | 1.000000
+ 57 | 2008 | 0.77 | 0.76 | 1.000000
+ 57 | 2009 | 0.78 | 0.77 | 1.000000
+ 58 | 2000 | 0.79 | 0.78 | 1.000000
+ 58 | 2001 | 0.8 | 0.79 | 1.000000
+ 58 | 2002 | 0.81 | 0.8 | 1.000000
+ 58 | 2003 | 0.82 | 0.81 | 1.000000
+ 58 | 2004 | 0.83 | 0.82 | 1.000000
+ 58 | 2005 | 0.84 | 0.83 | 1.000000
+ 58 | 2006 | 0.85 | 0.84 | 1.000000
+ 58 | 2007 | 0.86 | 0.85 | 1.000000
+ 58 | 2008 | 0.87 | 0.86 | 1.000000
+ 58 | 2009 | 0.88 | 0.87 | 1.000000
+ 59 | 2000 | 0.89 | 0.88 | 1.000000
+ 59 | 2001 | 0.9 | 0.89 | 1.000000
+ 59 | 2002 | 0.91 | 0.9 | 1.000000
+ 59 | 2003 | 0.92 | 0.91 | 1.000000
+ 59 | 2004 | 0.93 | 0.92 | 1.000000
+ 59 | 2005 | 0.94 | 0.93 | 1.000000
+ 59 | 2006 | 0.95 | 0.94 | 1.000000
+ 59 | 2007 | 0.96 | 0.95 | 1.000000
+ 59 | 2008 | 0.97 | 0.96 | 1.000000
+ 59 | 2009 | 0.98 | 0.97 | 1.000000
+ 60 | 2000 | 0.99 | 0.98 | 1.000000
+ 60 | 2001 | 1 | 0.99 | 1.000000
+ 60 | 2002 | 1.01 | 1 | 1.000000
+ 60 | 2003 | 1.02 | 1.01 | 1.000000
+ 60 | 2004 | 1.03 | 1.02 | 1.000000
+ 60 | 2005 | 1.04 | 1.03 | 1.000000
+ 60 | 2006 | 1.05 | 1.04 | 1.000000
+ 60 | 2007 | 1.06 | 1.05 | 1.000000
+ 60 | 2008 | 1.07 | 1.06 | 1.000000
+ 60 | 2009 | 1.08 | 1.07 | 1.000000
+ 61 | 2000 | 1.09 | 1.08 | 1.000000
+ 61 | 2001 | 1.1 | 1.09 | 1.000000
+ 61 | 2002 | 1.11 | 1.1 | 1.000000
+ 61 | 2003 | 1.12 | 1.11 | 1.000000
+ 61 | 2004 | 1.13 | 1.12 | 1.000000
+ 61 | 2005 | 1.14 | 1.13 | 1.000000
+ 61 | 2006 | 1.15 | 1.14 | 1.000000
+ 61 | 2007 | 1.16 | 1.15 | 1.000000
+ 61 | 2008 | 1.17 | 1.16 | 1.000000
+ 61 | 2009 | 1.18 | 1.17 | 1.000000
+ 62 | 2000 | 1.19 | 1.18 | 1.000000
+ 62 | 2001 | 1.2 | 1.19 | 1.000000
+ 62 | 2002 | 1.21 | 1.2 | 1.000000
+ 62 | 2003 | 1.22 | 1.21 | 1.000000
+ 62 | 2004 | 1.23 | 1.22 | 1.000000
+ 62 | 2005 | 1.24 | 1.23 | 1.000000
+ 62 | 2006 | 1.25 | 1.24 | 1.000000
+ 62 | 2007 | 1.26 | 1.25 | 1.000000
+ 62 | 2008 | 1.27 | 1.26 | 1.000000
+ 62 | 2009 | 1.28 | 1.27 | 1.000000
+ 63 | 2000 | 1.29 | 1.28 | 1.000000
+ 63 | 2001 | 1.3 | 1.29 | 1.000000
+ 63 | 2002 | 1.31 | 1.3 | 1.000000
+ 63 | 2003 | 1.32 | 1.31 | 1.000000
+ 63 | 2004 | 1.33 | 1.32 | 1.000000
+ 63 | 2005 | 1.34 | 1.33 | 1.000000
+ 63 | 2006 | 1.35 | 1.34 | 1.000000
+ 63 | 2007 | 1.36 | 1.35 | 1.000000
+ 63 | 2008 | 1.37 | 1.36 | 1.000000
+ 63 | 2009 | 1.38 | 1.37 | 1.000000
+ 64 | 2000 | 1.39 | 1.38 | 1.000000
+ 64 | 2001 | 1.4 | 1.39 | 1.000000
+ 64 | 2002 | 1.41 | 1.4 | 1.000000
+ 64 | 2003 | 1.42 | 1.41 | 1.000000
+ 64 | 2004 | 1.43 | 1.42 | 1.000000
+ 64 | 2005 | 1.44 | 1.43 | 1.000000
+ 64 | 2006 | 1.45 | 1.44 | 1.000000
+ 64 | 2007 | 1.46 | 1.45 | 1.000000
+ 64 | 2008 | 1.47 | 1.46 | 1.000000
+ 64 | 2009 | 1.48 | 1.47 | 1.000000
+ 65 | 2000 | 1.49 | 1.48 | 1.000000
+ 65 | 2001 | 1.5 | 1.49 | 1.000000
+ 65 | 2002 | 1.51 | 1.5 | 1.000000
+ 65 | 2003 | 1.52 | 1.51 | 1.000000
+ 65 | 2004 | 1.53 | 1.52 | 1.000000
+ 65 | 2005 | 1.54 | 1.53 | 1.000000
+ 65 | 2006 | 1.55 | 1.54 | 1.000000
+ 65 | 2007 | 1.56 | 1.55 | 1.000000
+ 65 | 2008 | 1.57 | 1.56 | 1.000000
+ 65 | 2009 | 1.58 | 1.57 | 1.000000
+ 66 | 2000 | 1.59 | 1.58 | 1.000000
+ 66 | 2001 | 1.6 | 1.59 | 1.000000
+ 66 | 2002 | 1.61 | 1.6 | 1.000000
+ 66 | 2003 | 1.62 | 1.61 | 1.000000
+ 66 | 2004 | 1.63 | 1.62 | 1.000000
+ 66 | 2005 | 1.64 | 1.63 | 1.000000
+ 66 | 2006 | 1.65 | 1.64 | 1.000000
+ 66 | 2007 | 1.66 | 1.65 | 1.000000
+ 66 | 2008 | 1.67 | 1.66 | 1.000000
+ 66 | 2009 | 1.68 | 1.67 | 1.000000
+ 67 | 2000 | 1.69 | 1.68 | 1.000000
+ 67 | 2001 | 1.7 | 1.69 | 1.000000
+ 67 | 2002 | 1.71 | 1.7 | 1.000000
+ 67 | 2003 | 1.72 | 1.71 | 1.000000
+ 67 | 2004 | 1.73 | 1.72 | 1.000000
+ 67 | 2005 | 1.74 | 1.73 | 1.000000
+ 67 | 2006 | 1.75 | 1.74 | 1.000000
+ 67 | 2007 | 1.76 | 1.75 | 1.000000
+ 67 | 2008 | 1.77 | 1.76 | 1.000000
+ 67 | 2009 | 1.78 | 1.77 | 1.000000
+ 68 | 2000 | 1.79 | 1.78 | 1.000000
+ 68 | 2001 | 1.8 | 1.79 | 1.000000
+ 68 | 2002 | 1.81 | 1.8 | 1.000000
+ 68 | 2003 | 1.82 | 1.81 | 1.000000
+ 68 | 2004 | 1.83 | 1.82 | 1.000000
+ 68 | 2005 | 1.84 | 1.83 | 1.000000
+ 68 | 2006 | 1.85 | 1.84 | 1.000000
+ 68 | 2007 | 1.86 | 1.85 | 1.000000
+ 68 | 2008 | 1.87 | 1.86 | 1.000000
+ 68 | 2009 | 1.88 | 1.87 | 1.000000
+ 69 | 2000 | 1.89 | 1.88 | 1.000000
+ 69 | 2001 | 1.9 | 1.89 | 1.000000
+ 69 | 2002 | 1.91 | 1.9 | 1.000000
+ 69 | 2003 | 1.92 | 1.91 | 1.000000
+ 69 | 2004 | 1.93 | 1.92 | 1.000000
+ 69 | 2005 | 1.94 | 1.93 | 1.000000
+ 69 | 2006 | 1.95 | 1.94 | 1.000000
+ 69 | 2007 | 1.96 | 1.95 | 1.000000
+ 69 | 2008 | 1.97 | 1.96 | 1.000000
+ 69 | 2009 | 1.98 | 1.97 | 1.000000
+ 70 | 2000 | 1.99 | 1.98 | 1.000000
(400 rows)
2  sql/plr.sql
View
@@ -416,7 +416,7 @@ $BODY$
$BODY$
LANGUAGE plr WINDOW;
-SELECT *, r_regr_slope(eps, lag_eps) OVER w AS slope_R
+SELECT *, round((r_regr_slope(eps, lag_eps) OVER w)::numeric,6) AS slope_R
FROM (SELECT firm, fyear, eps,
lag(eps) OVER (ORDER BY firm, fyear) AS lag_eps
FROM test_data) AS a
Please sign in to comment.
Something went wrong with that request. Please try again.