Excel assignment

profilevk4queen
CF11theditionChapter10ExcelMasterstudent1.xlsx

Chapter 10

Ross, Westerfield, Jaffe, and Jordan's Excel Master
Corporate Finance, 11th edition
by Brad Jordan and Joe Smolira
Version 11.0
Chapter 10
In these spreadsheets, you will learn how to use the following Excel functions:
The following conventions are used in these spreadsheets:
1) Given data in blue
2) Calculations in red
NOTE: Some functions used in these spreadsheets may require that
the "Analysis ToolPak" or "Solver Add-In" be installed in Excel.
To install these, click on the File tab
then "Excel Options," "Add-Ins" and select
"Go." Check "Analysis ToolPak" and
"Solver Add-In," then click "OK."

Column charts

/xl/drawings/drawing1.xml#'Section%2010.1'!A33

COUNTIF

/xl/drawings/drawing1.xml#'Section%2010.1'!A70

Sorting data

/xl/drawings/drawing1.xml#'Section%2010.2'!A97

Filtering data

/xl/drawings/drawing1.xml#'Section%2010.1'!A97

Rank and percentile

/xl/drawings/drawing1.xml#'Section%2010.1'!A109

AVERAGE

/xl/drawings/drawing1.xml#'Section%2010.3'!A15

Frequency distribution

/xl/drawings/drawing1.xml#'Section%2010.5'!A34

Frequency distribution charts

/xl/drawings/drawing1.xml#'Section%2010.5'!A86

VAR

/xl/drawings/drawing1.xml#'Section%2010.5'!A134

STDEV

/xl/drawings/drawing1.xml#'Section%2010.5'!A134

Sorting data (2)

/xl/drawings/drawing1.xml#'Section%2010.3'!A41

VARP

/xl/drawings/drawing1.xml#'Section%2010.5'!A159

STDEVP

/xl/drawings/drawing1.xml#'Section%2010.5'!A159

NORMDIST

/xl/drawings/drawing1.xml#'Section%2010.5'!A191

NORMINV

/xl/drawings/drawing1.xml#'Section%2010.5'!A229

Descriptive statistics

/xl/drawings/drawing1.xml#'Section%2010.5'!A269

GEOMEAN

/xl/drawings/drawing1.xml#'Section%2010.6'!A12

Pivot Tables

/xl/drawings/drawing1.xml#'Pivot%20Tables'!A9

Section 10.1

Chapter 10 - Section 1
Returns
Calculating returns in Excel is a relatively simple matter since we only need to input basic equations. Consider the information from the Video Concepts Company:
Shares: 100
Beginning price: $ 37.00
Ending price: $ 40.33
Dividend per share: $ 1.85
With this information, we can calculate the dollar returns and percentage returns as:
Total dollar capital gains:
Dividend income:
Total dollar return:
Capital gains return:
Dividend yield:
Total return:
Yahoo! Finance Returns
A popular website that provides daily stock prices is Yahoo! Finance. However, if you use the prices quoted on this website to calculate the return of a stock, you must be careful to use the correct information. Yahoo! Finance reports two closing stock prices, the actual closing price and the adjusted close which is adjusted for stock splits and dividends. In a stock split, the number of shares is increased and the stock price is decreased. For example, in a 2-for-1 stock split, the number of shares would be doubled since shareholders would receive 2 shares for every 1 share they currently own, and the stock price would be halved.
Suppose a stock is currently trading at $120 per share and undergoes a 2-for-1 stock split. Also assume that the stock price remains unchanged during the day. The closing price on Yahoo! Finance would report prices of $120 and $60, respectively, which looks like a 50 percent decrease in the stock price. In actuality, the shareholder return during the day was zero because although the stock price was cut in half, the number of shares they owned was doubled. In this case, the adjusted closing price would be reported as $60 for both days.
The adjusted close reported on Yahoo! Finance also adjusts for dividends. Consider a stock that is selling for $100 at the end of April, pays a dividend of $5, and has a price of $108 at the end of May. The stockholder return for this period was ($108 - 100 + 5) / $100 = 13 percent. In this case, the adjusted close at the end of May would be $108, while the adjusted close for the end of April would be $95.581, which is a return of ($108 - 95.581) / $95.581 = 13 percent. Below, we have calculated the return for IBM over a 12 month period using both the closing price and dividend, and the adjusted close.
Date Close Dividend Adj Close Return with closing price and dividend Return with adjusted close
1/2/14 $ 176.68 $ 171.29
2/3/14 $ 185.17 $ 0.95 $ 180.51
3/3/14 $ 192.49 $ 187.64
4/1/14 $ 196.47 $ 191.52
5/1/14 $ 184.36 $ 1.10 $ 180.76
6/2/14 $ 181.27 $ 177.73
7/1/14 $ 191.67 $ 187.93
8/1/14 $ 192.30 $ 1.10 $ 189.66
9/2/14 $ 189.83 $ 187.23
10/1/14 $ 164.40 $ 162.15
11/3/14 $ 162.17 $ 1.10 $ 161.04
12/1/14 $ 160.44 $ 159.32
1/2/15 $ 153.31 $ 152.24
2/2/15 $ 163.89 $ 1.10 $ 163.89
Notice, the return calculations are very similar. The reason they are not exact is that Yahoo! Finance reports the adjusted close to the nearest cent. This rounding can cause a slight difference in the return calculation. Consider the example we used above. Using the adjusted price of $95.581, calculate for yourself that the return is actually 12.99 percent, not 13 percent. If you need total returns, the adjusted close will give you a fairly accurate return calculation that is much easier, especially since Yahoo! Finance won't download prices and dividends in the same spreadsheet. However, if you need capital gains returns and dividend yields separately, or very accurate returns, you will need to use the closing price and the dividends, not the adjusted close.

Section 10.2

Chapter 10 - Section 2
Holding Period Returns
In the text and on the next tab, we show the historical returns by year for various asset categories for the period 1926 to 2014. Of course, with a data series this long, charts will often allow you to better visualize the data over time. Below, we have produced a chart similar to Figure 10.5 in the textbook which graphically shows large company stock returns.
RWJ Excel Tip
To insert a column chart, select the data you want to graph, then go to the Insert tab, and select Column. Notice, we have different markings for positive and negative numbers. To do this, we right clicked on one of the columns, selected Format Data Series, went to the Fill option, and put a check in the "Invert if negative" box.
We have a question for you: In how many years over the 1926-2014 period were the annual large company stock returns greater than 12 percent? While you can count these by hand, Excel has a function that quickly counts these values for you.
How many times did large company stocks have a return greater than or equal to 12 percent for the period 1926 to 2014?
Number of years with a return greater than or equal to 12 percent:
RWJ Excel Tip
To count the number of times a value occurs that is greater than or less than a specified value, use the COUNTIF function located under More Functions, Statistical. The inputs for the function are relatively simple:
Range is the range of the data you want to count the occurrences, and Criteria is the criteria you wish to count, in this case, returns that are greater than or equal to 12 percent. If you click on cell G68 and look at the formula bar, you will notice that Excel puts quotes around >=.12. The reason is that Excel treats the mathematical operator as text. COUNTIF can also be used to count the number of occurrences of text in a data set. We should note that there appears to be a bug with COUNTIF. Notice that we entered the 12 percent minimum return in the equation box. Generally, we would like to make this a cell reference so that we could change the number in the cell and have Excel COUNTIF for another specified number. Unfortunately, because Excel treats this input as text, it will not allow you to reference a cell for this input. (Actually, Excel will allow you to reference a cell for this input, but it will not correctly perform the operation.)
Of course, as with any other function, the uses of COUNTIF can easily be extended. Suppose you wanted to count the number of annual returns for large company stocks that were greater than 9 percent but less than 23 percent. We could count all the returns greater than 9 percent and subtract all the returns greater than 23 percent. To do this, we could use two COUNTIF functions like this:
Large company stock returns greater than 9 percent and less than 23 percent:
Filtering Data
Of course, you may want to do more sorting and filtering of data. You may have noticed small arrows on the historical return header rows. These are sorting and filtering functions we built into the worksheet.
RWJ Excel Tip
When a filter is applied to a dataset, you will see a small arrow in the header row.
To insert these sort/filter icons, we selected all the headers for our data columns, went to the Home tab, and selected filter. You may notice that the arrow for the year has a small arrow in it. This indicates that the data is sorted by the year. If you left click on one of the arrows, it will bring up a box that allows you to sort the entire dataset by any particular column from the largest to smallest value, or smallest to largest value. If you look below the sorting options, you are also given filtering options. Go down to the Number Filter option and you will see a lot of different options. For example, you can filter by greater than a 30 percent large company stock return. When you do so, Excel will hide all rows in which the large company stock return is less than 30 percent. You can also filter by multiple columns. For example, if you filter by large company stock returns greater than 30 percent and long-term government bond returns greater than 10 percent, Excel will only display the years 1985, 1989, 1991, 1995, and 1997. To remove the filter on the column, left click on the filter arrow and then click on Clear Filter.
If the data is sorted by a particular column, the arrow will look like this:
If the data is filtered by a particular column, the arrow will look like this:
Percentile
If you want to sort the data and find a percentile ranking, Excel will also do this for you. For example, what is the 90th percentile returns for large company stocks since 1926? To answer this question, we can use Rank and Percentile.
RWJ Excel Tip
To sort data and find a percentile for each point, go to the Data tab, select Data Analysis, then Rank and Percentile:
Once you click OK, Excel will bring up another box with the input information:
We used the large company stock returns from the Historical Returns worksheet and selected the first row with the header. We also selected to have the output in a different worksheet. If you look at the Percentile worksheet, you will find the output. So, the 90th percentile return was about 33.36 percent. (Notice, the 89.7 percentile return was exactly 33.36 percent.)

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Large Company Stock Returns: 1926 - 2014

1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 0.13750000000000001 0.35700000000000004 0.45079999999999998 -8.8000000000000009E-2 -0.25129999999999997 -0.436 -8.7499999999999994E-2 0.52950000000000008 -2.3099999999999999E-2 0.46789999999999998 0.32490000000000002 -0.35450000000000004 0.31629999999999997 -1.43E-2 -0.1036 -0.1202 0.20749999999999999 0.25379999999999997 0.19489999999999999 0.36210000000000003 -8.4199999999999997E-2 5.0499999999999996E-2 4.99E-2 0.17809999999999998 0.30049999999999999 0.2379 0.18390000000000001 -1.0700000000000001E-2 0.52229999999999999 0.31620000000000004 6.9099999999999995E-2 -0.105 0.43569999999999998 0.1201 4.6999999999999993E-3 0.26839999999999997 -8.7499999999999994E-2 0.22699999999999998 0.1643 0.12380000000000001 -0.10060000000000001 0.23980000000000001 0.1103 -8.43E-2 3.9399999999999998E-2 0.14300000000000002 0.18989999999999999 -0.1469 -0.26469999999999999 0.37229999999999996 0.23929999999999998 -7.1599999999999997E-2 6.5700000000000008E-2 0.18609999999999999 0.32500000000000001 -4.9200000000000001E-2 0.2155 0.22559999999999999 6.2699999999999992E-2 0.31730000000000003 0.1867 5.2499999999999998E-2 0.1661 0.31690000000000002 -3.1E-2 0.30459999999999998 7.6200000000000004E-2 0.1008 1.32E-2 0.37579999999999997 0.2296 0.33360000000000001 0.2858 0.2104 -9.0999999999999998E-2 -0.11890000000000001 -0.221 0.28889999999999999 0.10880000000000001 4.9100000000000005E-2 0.15789999999999998 5.4899999999999997E-2 -0.37 0.2646 0.15060000000000001 2.1100000000000001E-2 0.16 0.32300000000000001 0.13700000000000001

Year-end

Total Annual Return

Historical Returns

Historical Returns
Large Company Stocks Long-Term Government Bonds U.S. Treasury Bills Consumer Price Index
1926 13.75% 5.69% 3.30% -1.12%
1927 35.70% 6.58% 3.15% -2.26%
1928 45.08% 1.15% 4.05% -1.16%
1929 -8.80% 4.39% 4.47% 0.58%
1930 -25.13% 4.47% 2.27% -6.40%
1931 -43.60% -2.15% 1.15% -9.32%
1932 -8.75% 8.51% 0.88% -10.27%
1933 52.95% 1.92% 0.52% 0.76%
1934 -2.31% 7.59% 0.27% 1.52%
1935 46.79% 4.20% 0.17% 2.99%
1936 32.49% 5.13% 0.17% 1.45%
1937 -35.45% 1.44% 0.27% 2.86%
1938 31.63% 4.21% 0.06% -2.78%
1939 -1.43% 3.84% 0.04% 0.00%
1940 -10.36% 5.70% 0.04% 0.71%
1941 -12.02% 0.47% 0.14% 9.93%
1942 20.75% 1.80% 0.34% 9.03%
1943 25.38% 2.01% 0.38% 2.96%
1944 19.49% 2.27% 0.38% 2.30%
1945 36.21% 5.29% 0.38% 2.25%
1946 -8.42% 0.54% 0.38% 18.13%
1947 5.05% -1.02% 0.62% 8.84%
1948 4.99% 2.66% 1.06% 2.99%
1949 17.81% 4.58% 1.12% -2.07%
1950 30.05% -0.98% 1.22% 5.93%
1951 23.79% -0.20% 1.56% 6.00%
1952 18.39% 2.43% 1.75% 0.75%
1953 -1.07% 2.28% 1.87% 0.75%
1954 52.23% 3.08% 0.93% -0.74%
1955 31.62% -0.73% 1.80% 0.37%
1956 6.91% -1.72% 2.66% 2.99%
1957 -10.50% 6.82% 3.28% 2.90%
1958 43.57% -1.72% 1.71% 1.76%
1959 12.01% -2.02% 3.48% 1.73%
1960 0.47% 11.21% 2.81% 1.36%
1961 26.84% 2.20% 2.40% 0.67%
1962 -8.75% 5.72% 2.82% 1.33%
1963 22.70% 1.79% 3.23% 1.64%
1964 16.43% 3.71% 3.62% 0.97%
1965 12.38% 0.93% 4.06% 1.92%
1966 -10.06% 5.12% 4.94% 3.46%
1967 23.98% -2.86% 4.39% 3.04%
1968 11.03% 2.25% 5.49% 4.72%
1969 -8.43% -5.63% 6.90% 6.20%
1970 3.94% 18.92% 6.50% 5.57%
1971 14.30% 11.24% 4.36% 3.27%
1972 18.99% 2.39% 4.23% 3.41%
1973 -14.69% 3.30% 7.29% 8.71%
1974 -26.47% 4.00% 7.99% 12.34%
1975 37.23% 5.52% 5.87% 6.94%
1976 23.93% 15.56% 5.07% 4.86%
1977 -7.16% 0.38% 5.45% 6.70%
1978 6.57% -1.26% 7.64% 9.02%
1979 18.61% 1.26% 10.56% 13.29%
1980 32.50% -2.48% 12.10% 12.52%
1981 -4.92% 4.04% 14.60% 8.92%
1982 21.55% 44.28% 10.94% 3.83%
1983 22.56% 1.29% 8.99% 3.79%
1984 6.27% 15.29% 9.90% 3.95%
1985 31.73% 32.27% 7.71% 3.80%
1986 18.67% 22.39% 6.09% 1.10%
1987 5.25% -3.03% 5.88% 4.43%
1988 16.61% 6.84% 6.94% 4.42%
1989 31.69% 18.54% 8.44% 4.65%
1990 -3.10% 7.74% 7.69% 6.11%
1991 30.46% 19.36% 5.43% 3.06%
1992 7.62% 7.34% 3.48% 2.90%
1993 10.08% 13.06% 3.03% 2.75%
1994 1.32% -7.32% 4.39% 2.67%
1995 37.58% 25.94% 5.61% 2.54%
1996 22.96% 0.13% 5.14% 3.32%
1997 33.36% 12.02% 5.19% 1.70%
1998 28.58% 14.45% 4.86% 1.61%
1999 21.04% -7.51% 4.80% 2.68%
2000 -9.10% 17.22% 5.98% 3.39%
2001 -11.89% 5.51% 3.33% 1.55%
2002 -22.10% 15.15% 1.61% 2.40%
2003 28.89% 2.01% 0.94% 1.90%
2004 10.88% 8.12% 1.14% 3.30%
2005 4.91% 6.89% 2.79% 3.40%
2006 15.79% 0.28% 4.97% 2.54%
2007 5.49% 10.85% 4.52% 4.08%
2008 -37.00% 14.24% 1.24% 0.90%
2009 26.46% -25.61% 0.15% 2.72%
2010 15.06% 7.73% 0.14% 1.50%
2011 2.11% 35.75% 0.06% 2.96%
2012 16.00% 1.80% 0.80% 1.74%
2013 32.30% -14.69% 0.50% 1.50%
2014 13.70% 12.90% 0.20% 0.80%

Percentile

Section 10.3

Chapter 10 - Section 3
Return Statistics
Calculating the average return for a large sample is a time consuming task. Fortunately, Excel has the function AVERAGE that calculates the arithmetic average of a series of numbers. In the Historical Returns worksheet, we have reproduced the historical returns from Table 10.1. To calculate the arithmetic average return for each of these return series, we can use the AVERAGE function, which gives us:
Average return
Large company stocks:
Long-term government bonds:
U.S. Treasury bills:
Inflation:
Notice the average returns are slightly different from those reported in Table 10.2 because they are from two different sources.
RWJ Excel Tip
The AVERAGE function is a Statistical function under More Functions on the Formula tab. The AVERAGE function is relatively simple to use. We only need to input the cells that we want to calculate the average for in the box. Below, you will see our inputs for calculating the large company stock average return. Notice, we entered the data as an array by selecting all the adjacent cells with the mouse. The array is reported with a colon (:) between the first cell and the last cell. Of course, we could have entered one cell at a time by entering the cell in Number1, hitting tab, and then entering the next cell in Number2, and so on.
As you can see, Excel will only allow 255 numeric arguments, but will allow many more numbers when you enter the values as an array.
Suppose you want to sort the returns by the highest large company stock return. Excel has a sort function that allows you to sort based on text (A to Z), whether the text is case sensitive, number, date or time, cell color, font, and/or icon. We want to sort the returns by largest to smallest return. First, we want to sort by large company stock returns, then Treasury bills returns, inflation, and finally, long-term government bond returns.
RWJ Excel Tip
To sort columns (or rows), first select the entire array of data you want to sort. In this case, we selected all five columns including the year. We also included the column headers in our selection. Next, on the Home tab, click on Sort & Filter, then Custom Sort. This brings up a box that will look something like the box below:
Notice at the top right of the box, the box with "My data has headers" has been checked. This tells Excel to ignore the first row when it sorts. We chose Large Company stocks in the first column, sorted on values in the second column, then chose largest to smallest in the third column. To add another level of sorting, we clicked on "Add Level" in the upper left of the box and repeated the procedure for the other data arrays. Below, you will find a snapshot of what we got.
Notice that 1933 had the largest large company stock return over this period. In this example, the sorts on the other data series are almost irrelevant. A multi-level sort such as we have done here uses the first sort as the first priority. In this case, Excel will sort the large company stock returns from largest to smallest. If any of the large company stock returns are the same, it will then sort by U.S. Treasury bill returns from largest to smallest. To get the data back to chronological order, sort the data by the year from smallest to largest.

Section 10.5

Chapter 10 - Section 5
Risk Statistics
To examine the variability of the historical returns, again we may want to start with a graphical analysis. In the textbook, Figure 10.9 illustrates a frequency distribution for large company stocks, which we will replicate here. To do this, we must first create bins. A bin is just the limits of the range. For example, in this case, the bin starts at -60%, which will count the number of annual returns less than -60%. The next bin is -55%. This will count the number of returns less than -55%, but greater than -60%. To create this frequency distribution, we will use the FREQUENCY function.
Bin Frequency Ranges Frequency
-60%
-55%
-50%
-45%
-40%
-35%
-30%
-25%
-20%
-15%
-10%
-5%
0%
5%
10%
15%
20%
25%
30%
35%
40%
45%
50%
55%
60%
RWJ Excel Tip
The FREQUENCY function is a Statistical function found under More Functions. Because the FREQUENCY function is somewhat complicated, we will walk through the process step-by-step.
1) Set up the bins as we described above. The bins should be set up so that the smallest and largest bins have no observations.
2) Select the column (or row) next to the bins. The FREQUENCY function will return one more value than the number of bins you have created, so select one more cell than the number of bins. In this case, we selected cell D33. This will return any results larger than your last bin value.
3) Go to the Formula tab and insert the Frequency function, found under More Functions, Statistical.
4) The Data_array is the data you want to analyze with the frequency distribution, while the bins array is the array that shows the bins you have already created.
5) DO NOT click OK when you have entered both the data array and bins array information! Before you click OK, hold down both the CTRL and SHIFT keys, then click on OK. This will populate the entire array of frequency distributions that you have created.
Below, you can see the function arguments we used to create this frequency distribution.
Notice that beside the frequency distribution, we created another frequency distribution with ranges. We created the ranges by concatenating the bins we created earlier. While we could graph a frequency distribution using the bins, the legend will not be as descriptive. We will use the ranges for graphing the frequency distribution, which you will see below.
RWJ Excel Tip
To create this frequency distribution, we selected the data we wanted to graph (H9:H32) and went to the Insert tab, Column chart, 2-D, Clustered Column. We then selected the data for the horizontal axis and input the legends as normal. Generally, when Excel draws a frequency distribution as we have done here, there is a large amount of space between the columns. You can change this width by right clicking on a column and selecting Format Data Series. In the box this brings up, there is a Series Option selection that will allow you to change the gap between the columns.
One thing to notice is that the frequency distribution here looks less normal than Figure 10.9 in the textbook. When looking at any graph, always be aware that it is relatively easy to make the graph look like you want. In other words, it is very easy to get mislead by a graph.
There is another way to graph a histogram in Excel. To graph the histogram with this method, we need to set up the bins as we have done, but we do not need to use the FREQUENCY function.
RWJ Excel Tip
For another way to graph a histogram, go to the Data tab, select Data Analysis, then Histogram:
Once you click OK, Excel will bring up another box for the input information:
We used the large company stock returns from the Historical Returns worksheet and the bins we previously created. We selected to have the output in a different worksheet, and selected the Chart Output option. If you look at the Histogram worksheet, you will find the output, which includes the frequency distribution. Notice that the graph output is "raw". We could always change the look of the graph if we wanted.
Variance and Standard Deviation
The variance and standard deviation of an asset are measures of the risk of the asset. Fortunately, Excel has built-in functions that calculate both the variance and standard deviation.
Variance of large company stock returns: 0.040220
Standard deviation of large company stock returns: 20.05%
RWJ Excel Tip
The variance function (VAR) and standard deviation function (STDEV) are both located in the Statistical category of More Functions. To use both functions, insert the function and select the cells or array you want Excel to calculate the variance or standard deviation for. Below, you will see how we entered the returns to calculate the variance and standard deviation for large company stock returns.
If you remember back to "sadistics", there are actually 2 different variances, and therefore standard deviations: the sample standard deviation and the population standard deviation. The difference in the calculation is that the sample standard deviation divides by N - 1, while the population standard deviation divides by N. As its name implies, the population standard deviation is applicable when you have the entire population of observations, not just a sample. In the case of stock returns, the returns are actually a sample of stock returns since there were stock returns before 1926 and there will be more in the future. Should you ever need them, Excel has built-in functions for the population variance (VARP) and population standard deviation (STDEVP). Using these functions on large company stock returns, we find the following:
Population variance of large company stock returns: 0.039768
Population standard deviation of large company stock returns: 19.94%
RWJ Excel Tip
The population variance function (VARP) and population standard deviation function (STDEVP) are both located in the Statistical category of More Functions. To use both functions, insert the function and select the cells or array you want Excel to calculate the population variance or population standard deviation for. Below, you will see how we entered the returns to calculate the population variance and population standard deviation for large company stock returns.
Notice that the sample variance and population variance are similar, as are the sample standard deviation and population standard deviation. This should often be the case. If you have enough numbers to calculate a standard deviation or variance in practice, whether you divide by N or N-1 should make little difference. Having said this, we will continue to use the sample standard deviation and sample variance throughout the text because they are technically the correct calculations.
Normal Distribution
We are almost certain that one thing everyone remembers from statistics class was looking up standard normal probabilities on tables. Excel has built-in functions that calculate standard normal probabilities much more quickly and accurately.
Looking back on the small-company stock returns in Table 10.1, what is the probability that you will lose more than a specified percentage of your money in a single year?
Specified value: -16.00%
Average return: 16.50%
Standard deviation: 32.50%
Probability less than value: 15.87%
RWJ Excel Tip
To find the standard normal probability, we use the NORMDIST function. Note, this is not the same as the NORMSDIST (notice the "S" in the middle) that will be used in a later chapter. To find the NORMDIST function, go to More Functions, Statistical. The NORMDIST function box looks like this:
The inputs for the NORMDIST function are X (the value you want to test), the Mean (average), and Standard_dev (standard deviation). The Cumulative value uses True for the cumulative probability function and False for the probability mass function. Notice that NORMDIST gives the probability less than the specified value. In other words, if you look at the normal distribution, this is the probability to the left of the specified value. Since the total probability is 1 (100%), if we want the probability that a return is greater than the specified value, we need to take 1 minus the value given by the NORMDIST function. You can look below for an example.
Suppose we are considering an asset with the following distribution. What is the probability that the return of the asset is greater than a specified value?
Specified value: 17.00%
Average return: 13.00%
Standard deviation: 35.20%
Probability greater than value: 45.48%
Another question that can arise when dealing with returns is this: What is the minimum loss an investor can expect a specified percentage of the time? We can use the large company stock information from Figure 10.2 to answer this question.
Specified percentage: 20.00%
Average return: 11.70%
Standard deviation: 20.60%
Minimum expected loss: -5.64%
RWJ Excel Tip
To answer this question, we use the NORMINV function. The NORMINV function box looks like this:
The inputs for the NORMINV function are Probability (the probablity you specify), the Mean (average), and Standard_dev (standard deviation). In this case, the probablity that the return is less than -5.64 percent is 20 percent, or about once every 5 years.
Summary Statistics
Suppose you want all of the summary statistics for a data series in one step. Excel has an analysis tool that will do this for you. Below, you can see the descriptive statistics for large company stock returns for 1926-2014.
Large Company Stocks
Mean 0.1195449438
Standard Error 0.0212582097
Median 0.143
Mode -0.0875
Standard Deviation 0.200549549
Sample Variance 0.0402201216
Kurtosis 0.0364005177
Skewness -0.4160754403
Range 0.9655
Minimum -0.436
Maximum 0.5295
Sum 10.6395
Count 89
RWJ Excel Tip
To calculate all of the descriptive statistics for a data series, go to the Data tab, select Data Analysis, and Descriptive Statistics:
When you click OK, another box comes up with the options that are available. Below are the options we made:
We selected the large company stock returns, including the header and checked the options for the label in the first row. We next selected the output range so that Excel would report the statistics on this worksheet, and finally checked Summary statistics. As you can see, if you are interested in all or most of the basic descriptive statistics about some data, this option will allow you to get all of the statistics in one step.

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Frequency Distribution of Large Company Stocks: 1926-2014

Range of Annual Returns

Number of Observations

Histogram

Bin Frequency
-60% 0
-55% 0
-50% 0
-45% 0
-40% 1
-35% 2
-30% 0
-25% 2
-20% 1
-15% 0
-10% 6
-5% 7
0% 5
5% 5
10% 7
15% 7
20% 9
25% 9
30% 4
35% 9
40% 4
45% 1
50% 2
55% 2
60% 0
More 0

Histogram

Frequency -60% -55% -50% -45% -40% -35% -30% -25% -20% -15% -10% -5% 0% 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% More 0 0 0 0 1 2 0 2 1 0 6 7 5 5 7 7 9 9 4 9 4 1 2 2 0 0

Bin

Frequency

Section 10.6

Chapter 10 - Section 6
More about Average Returns
We used the AVERAGE function to calculate the arithmetic average of a series of returns. Excel also has a function that calculates the geometric average, however the function is slightly more difficult to use for returns since it will not work if any value in the series is less than or equal to zero. To adjust for this, we can add 1 to each return first, find the geometric return, and then subtract 1 from this answer. At the bottom of this worksheet, we have added 1 to the annual return for each asset class. Now we use Excel's geometric mean function:
Large company stocks:
Long-term government bonds:
U.S. Treasury bills:
Inflation:
RWJ Excel Tip
The GEOMEAN function is under More Functions, Statistical on the Formula tab. The GEOMEAN function requires the input for the cells that we want to calculate the geometric mean for in the box. Below, you will see our inputs for calculating the gemoetric return for 1 plus the large company stock returns. Notice, we entered the data as an array by selecting all the adjacent cells with the mouse. The array is reported with a colon (:) between the first cell and the last cell. Of course, we could have entered one cell at a time by entering the cell in Number1, hitting tab, and then entering the next cell in Number2, and so on.
Now we can subtract one to find the geometric return for each asset class:
Geometric Return
Large company stocks:
Long-term government bonds:
U.S. Treasury bills:
Inflation:
1 (One) plus the annual return
Large Company Stocks Long-Term Government Bonds U.S. Treasury Bills Consumer Price Index
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014

Pivot Tables

Chapter 10
Pivot Tables
We have already shown how to analyze data using Excel functions such as AVERAGE and STDEV. Since we have a small data set, these functions are probably the easiest way to analyze historic annual market returns for the period we examined in the text. However, we feel that pivot tables are such an important part of data analysis, especially for large data sets, that we wanted to introduce you to pivot tables. On the Historic Data 2 worksheet, you will find the annual returns for the four asset classes from Table 10.1 in the textbook. Notice, we have the year listed in the first column, the asset class in the second column, and the return in the third column. Pivot tables are designed to group things that are alike. In this case, we will have the pivot table group the returns by the asset class in the second column. Suppose we had data with several categorizations in the columns, such as sales with region and quarter, we could create a pivot table that totaled sales by region and quarter.
Since we have a small data set, our pivot table will be basic. Below, we describe how we constructed the pivot table on the next worksheet.
RWJ Excel Tip
To create a pivot table, we went to the data we wanted to use to create a pivot table and selected a cell in the data (any cell in the data array will work). Next, we went to the Insert tab, then selected Pivot Table. This brought up a box that looks like this:
Excel automatically selects all of the data in the rows and columns of the data array. We chose to output the data in a new worksheet and clicked OK. This brings up a new worksheet that looks like this:
To get Excel to display the returns by asset class, we selected Asset and Return in the Pivot Table File List. As you can see on the Pivot Table worksheet, the values calculated for each asset class are the sum of the returns over this period. While this is useful for numbers such as sales, it is less useful for returns. You can right-click on the Sum of Returns header at the top of the column, select Summarize Values By, and Average. The result is the average of each assets returns over his period. You can also choose More Options and calculate other statistics such as variance and standard deviation.
Excel will also graph a chart from pivot table data. We went to the Insert tab and clicked PivotChart. This brought up a box that looks like this:
On the new worksheet, we selected Asset and Return in the Pivot Table File List. The pivot table and graph were automatically inserted. As before, the calculation was the sum of the returns, so we changed the calculation to the average using the Summarize Data By option like we explained above.
Pivot tables are a powerful way to categorize and summarize data. There are many more options for pivot tables and we encourage you to explore them.

Historic data 2

Year Asset Return
1926 CPI -1.12%
1927 CPI -2.26%
1928 CPI -1.16%
1929 CPI 0.58%
1930 CPI -6.40%
1931 CPI -9.32%
1932 CPI -10.27%
1933 CPI 0.76%
1934 CPI 1.52%
1935 CPI 2.99%
1936 CPI 1.45%
1937 CPI 2.86%
1938 CPI -2.78%
1939 CPI 0.00%
1940 CPI 0.71%
1941 CPI 9.93%
1942 CPI 9.03%
1943 CPI 2.96%
1944 CPI 2.30%
1945 CPI 2.25%
1946 CPI 18.13%
1947 CPI 8.84%
1948 CPI 2.99%
1949 CPI -2.07%
1950 CPI 5.93%
1951 CPI 6.00%
1952 CPI 0.75%
1953 CPI 0.75%
1954 CPI -0.74%
1955 CPI 0.37%
1956 CPI 2.99%
1957 CPI 2.90%
1958 CPI 1.76%
1959 CPI 1.73%
1960 CPI 1.36%
1961 CPI 0.67%
1962 CPI 1.33%
1963 CPI 1.64%
1964 CPI 0.97%
1965 CPI 1.92%
1966 CPI 3.46%
1967 CPI 3.04%
1968 CPI 4.72%
1969 CPI 6.20%
1970 CPI 5.57%
1971 CPI 3.27%
1972 CPI 3.41%
1973 CPI 8.71%
1974 CPI 12.34%
1975 CPI 6.94%
1976 CPI 4.86%
1977 CPI 6.70%
1978 CPI 9.02%
1979 CPI 13.29%
1980 CPI 12.52%
1981 CPI 8.92%
1982 CPI 3.83%
1983 CPI 3.79%
1984 CPI 3.95%
1985 CPI 3.80%
1986 CPI 1.10%
1987 CPI 4.43%
1988 CPI 4.42%
1989 CPI 4.65%
1990 CPI 6.11%
1991 CPI 3.06%
1992 CPI 2.90%
1993 CPI 2.75%
1994 CPI 2.67%
1995 CPI 2.54%
1996 CPI 3.32%
1997 CPI 1.70%
1998 CPI 1.61%
1999 CPI 2.68%
2000 CPI 3.39%
2001 CPI 1.55%
2002 CPI 2.40%
2003 CPI 1.90%
2004 CPI 3.30%
2005 CPI 3.40%
2006 CPI 2.54%
2007 CPI 4.08%
2008 CPI 0.94%
2009 CPI 2.72%
2010 CPI 1.50%
2011 CPI 2.96%
2012 CPI 1.74%
2013 CPI 1.50%
2014 CPI 0.80%
1926 Large company stocks 13.75%
1927 Large company stocks 35.70%
1928 Large company stocks 45.08%
1929 Large company stocks -8.80%
1930 Large company stocks -25.13%
1931 Large company stocks -43.60%
1932 Large company stocks -8.75%
1933 Large company stocks 52.95%
1934 Large company stocks -2.31%
1935 Large company stocks 46.79%
1936 Large company stocks 32.49%
1937 Large company stocks -35.45%
1938 Large company stocks 31.63%
1939 Large company stocks -1.43%
1940 Large company stocks -10.36%
1941 Large company stocks -12.02%
1942 Large company stocks 20.75%
1943 Large company stocks 25.38%
1944 Large company stocks 19.49%
1945 Large company stocks 36.21%
1946 Large company stocks -8.42%
1947 Large company stocks 5.05%
1948 Large company stocks 4.99%
1949 Large company stocks 17.81%
1950 Large company stocks 30.05%
1951 Large company stocks 23.79%
1952 Large company stocks 18.39%
1953 Large company stocks -1.07%
1954 Large company stocks 52.23%
1955 Large company stocks 31.62%
1956 Large company stocks 6.91%
1957 Large company stocks -10.50%
1958 Large company stocks 43.57%
1959 Large company stocks 12.01%
1960 Large company stocks 0.47%
1961 Large company stocks 26.84%
1962 Large company stocks -8.75%
1963 Large company stocks 22.70%
1964 Large company stocks 16.43%
1965 Large company stocks 12.38%
1966 Large company stocks -10.06%
1967 Large company stocks 23.98%
1968 Large company stocks 11.03%
1969 Large company stocks -8.43%
1970 Large company stocks 3.94%
1971 Large company stocks 14.30%
1972 Large company stocks 18.99%
1973 Large company stocks -14.69%
1974 Large company stocks -26.47%
1975 Large company stocks 37.23%
1976 Large company stocks 23.93%
1977 Large company stocks -7.16%
1978 Large company stocks 6.57%
1979 Large company stocks 18.61%
1980 Large company stocks 32.50%
1981 Large company stocks -4.92%
1982 Large company stocks 21.55%
1983 Large company stocks 22.56%
1984 Large company stocks 6.27%
1985 Large company stocks 31.73%
1986 Large company stocks 18.67%
1987 Large company stocks 5.25%
1988 Large company stocks 16.61%
1989 Large company stocks 31.69%
1990 Large company stocks -3.10%
1991 Large company stocks 30.46%
1992 Large company stocks 7.62%
1993 Large company stocks 10.08%
1994 Large company stocks 1.32%
1995 Large company stocks 37.58%
1996 Large company stocks 22.96%
1997 Large company stocks 33.36%
1998 Large company stocks 28.58%
1999 Large company stocks 21.04%
2000 Large company stocks -9.10%
2001 Large company stocks -11.89%
2002 Large company stocks -22.10%
2003 Large company stocks 28.89%
2004 Large company stocks 10.88%
2005 Large company stocks 4.91%
2006 Large company stocks 15.79%
2007 Large company stocks 5.49%
2008 Large company stocks -37.00%
2009 Large company stocks 26.46%
2010 Large company stocks 15.06%
2011 Large company stocks 2.11%
2012 Large company stocks 16.00%
2013 Large company stocks 32.30%
2014 Large company stocks 13.70%
1926 LT government bonds 5.69%
1927 LT government bonds 6.58%
1928 LT government bonds 1.15%
1929 LT government bonds 4.39%
1930 LT government bonds 4.47%
1931 LT government bonds -2.15%
1932 LT government bonds 8.51%
1933 LT government bonds 1.92%
1934 LT government bonds 7.59%
1935 LT government bonds 4.20%
1936 LT government bonds 5.13%
1937 LT government bonds 1.44%
1938 LT government bonds 4.21%
1939 LT government bonds 3.84%
1940 LT government bonds 5.70%
1941 LT government bonds 0.47%
1942 LT government bonds 1.80%
1943 LT government bonds 2.01%
1944 LT government bonds 2.27%
1945 LT government bonds 5.29%
1946 LT government bonds 0.54%
1947 LT government bonds -1.02%
1948 LT government bonds 2.66%
1949 LT government bonds 4.58%
1950 LT government bonds -0.98%
1951 LT government bonds -0.20%
1952 LT government bonds 2.43%
1953 LT government bonds 2.28%
1954 LT government bonds 3.08%
1955 LT government bonds -0.73%
1956 LT government bonds -1.72%
1957 LT government bonds 6.82%
1958 LT government bonds -1.72%
1959 LT government bonds -2.02%
1960 LT government bonds 11.21%
1961 LT government bonds 2.20%
1962 LT government bonds 5.72%
1963 LT government bonds 1.79%
1964 LT government bonds 3.71%
1965 LT government bonds 0.93%
1966 LT government bonds 5.12%
1967 LT government bonds -2.86%
1968 LT government bonds 2.25%
1969 LT government bonds -5.63%
1970 LT government bonds 18.92%
1971 LT government bonds 11.24%
1972 LT government bonds 2.39%
1973 LT government bonds 3.30%
1974 LT government bonds 4.00%
1975 LT government bonds 5.52%
1976 LT government bonds 15.56%
1977 LT government bonds 0.38%
1978 LT government bonds -1.26%
1979 LT government bonds 1.26%
1980 LT government bonds -2.48%
1981 LT government bonds 4.04%
1982 LT government bonds 44.28%
1983 LT government bonds 1.29%
1984 LT government bonds 15.29%
1985 LT government bonds 32.27%
1986 LT government bonds 22.39%
1987 LT government bonds -3.03%
1988 LT government bonds 6.84%
1989 LT government bonds 18.54%
1990 LT government bonds 7.74%
1991 LT government bonds 19.36%
1992 LT government bonds 7.34%
1993 LT government bonds 13.06%
1994 LT government bonds -7.32%
1995 LT government bonds 25.94%
1996 LT government bonds 0.13%
1997 LT government bonds 12.02%
1998 LT government bonds 14.45%
1999 LT government bonds -7.51%
2000 LT government bonds 17.22%
2001 LT government bonds 5.51%
2002 LT government bonds 15.15%
2003 LT government bonds 2.01%
2004 LT government bonds 8.12%
2005 LT government bonds 6.89%
2006 LT government bonds 0.28%
2007 LT government bonds 10.85%
2008 LT government bonds 14.24%
2009 LT government bonds -25.61%
2010 LT government bonds 7.73%
2011 LT government bonds 35.75%
2012 LT government bonds 1.80%
2013 LT government bonds -14.69%
2014 LT government bonds 12.90%
1926 Treasury bills 3.30%
1927 Treasury bills 3.15%
1928 Treasury bills 4.05%
1929 Treasury bills 4.47%
1930 Treasury bills 2.27%
1931 Treasury bills 1.15%
1932 Treasury bills 0.88%
1933 Treasury bills 0.52%
1934 Treasury bills 0.27%
1935 Treasury bills 0.17%
1936 Treasury bills 0.17%
1937 Treasury bills 0.27%
1938 Treasury bills 0.06%
1939 Treasury bills 0.04%
1940 Treasury bills 0.04%
1941 Treasury bills 0.14%
1942 Treasury bills 0.34%
1943 Treasury bills 0.38%
1944 Treasury bills 0.38%
1945 Treasury bills 0.38%
1946 Treasury bills 0.38%
1947 Treasury bills 0.62%
1948 Treasury bills 1.06%
1949 Treasury bills 1.12%
1950 Treasury bills 1.22%
1951 Treasury bills 1.56%
1952 Treasury bills 1.75%
1953 Treasury bills 1.87%
1954 Treasury bills 0.93%
1955 Treasury bills 1.80%
1956 Treasury bills 2.66%
1957 Treasury bills 3.28%
1958 Treasury bills 1.71%
1959 Treasury bills 3.48%
1960 Treasury bills 2.81%
1961 Treasury bills 2.40%
1962 Treasury bills 2.82%
1963 Treasury bills 3.23%
1964 Treasury bills 3.62%
1965 Treasury bills 4.06%
1966 Treasury bills 4.94%
1967 Treasury bills 4.39%
1968 Treasury bills 5.49%
1969 Treasury bills 6.90%
1970 Treasury bills 6.50%
1971 Treasury bills 4.36%
1972 Treasury bills 4.23%
1973 Treasury bills 7.29%
1974 Treasury bills 7.99%
1975 Treasury bills 5.87%
1976 Treasury bills 5.07%
1977 Treasury bills 5.45%
1978 Treasury bills 7.64%
1979 Treasury bills 10.56%
1980 Treasury bills 12.10%
1981 Treasury bills 14.60%
1982 Treasury bills 10.94%
1983 Treasury bills 8.99%
1984 Treasury bills 9.90%
1985 Treasury bills 7.71%
1986 Treasury bills 6.09%
1987 Treasury bills 5.88%
1988 Treasury bills 6.94%
1989 Treasury bills 8.44%
1990 Treasury bills 7.69%
1991 Treasury bills 5.43%
1992 Treasury bills 3.48%
1993 Treasury bills 3.03%
1994 Treasury bills 4.39%
1995 Treasury bills 5.61%
1996 Treasury bills 5.14%
1997 Treasury bills 5.19%
1998 Treasury bills 4.86%
1999 Treasury bills 4.80%
2000 Treasury bills 5.98%
2001 Treasury bills 3.33%
2002 Treasury bills 1.61%
2003 Treasury bills 0.94%
2004 Treasury bills 1.14%
2005 Treasury bills 2.79%
2006 Treasury bills 4.97%
2007 Treasury bills 4.52%
2008 Treasury bills 1.24%
2009 Treasury bills 0.15%
2010 Treasury bills 0.14%
2011 Treasury bills 0.06%
2012 Treasury bills 0.80%
2013 Treasury bills 0.50%
2014 Treasury bills 0.20%

Pivot Table

Pivot Chart

Master it!

Chapter 10 - Master it!
As we have seen, over the 1926-2014 period, small company stocks had the highest return and the highest risk, while U.S. Treasury bills had the lowest return and the lowest risk. While we certainly hope you have an 83 year holding period, likely your investment will be for fewer years. One way risk and return is examined over a shorter investment period is by using rolling returns and standard deviations. Suppose you have a series of annual returns and you want to calculate a 3-year rolling average return. You would calculate the first rolling average at Year 3 using the returns for the first 3 years. The next rolling average would be calculated using the returns from Years 2, 3, and 4.
a. Using the annual returns for large company stocks and Treasury bills, calculate both the 5- and 10-year rolling average return and standard deviation.
b. Over how many 5-year periods did Treasury bills outperform large company stocks? How many 10-year periods?
c. Over how many 5-year periods did Treasury bills have a larger standard deviation than large company stocks? Over how many 10-year periods?
d. Graph the rolling 5-year and 10-year average returns for large company stocks and Treasury bills.
e. What conclusions do you draw from the above results?

Solution

Master it! Solution
Large Company Stocks Treasury Bills 5- Year Period 10-Year Period
a. 5-Year Average 5-Year Standard Deviation 10-Year Average 10-Year Standard Deviation 5-Year Average 5-Year Standard Deviation 10-Year Average 10-Year Standard Deviation T-Bill had a higher return T-Bills had a higher standard deviation T-Bill had a higher return T-Bills had a higher standard deviation
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
Total: