test: A sample portfolio edited based on Barra data set in Jan....

Description Usage Format Details Examples

Description

An edited version of the data set based on Barra GEM2 data set in year 2010.

Usage

1

Format

A data frame with 3000 observations on the following 6 variables.

name

name of a security

return

a numeric vector

date

a Date

sector

an ordered factor with levels Energy < Materials < Industrials < ConDiscre < ConStaples < HealthCare < Financials < InfoTech < TeleSvcs < Utilities

portfolio

a numeric vector

benchmark

a numeric vector

Details

A edited version of the data set jan. test contains all the information necessary to conduct a single-period Brinson analysis. date.var, cat.var, and return identify the columns containing the date, the factor to be analyzed, and the return variable, respectively. bench.weight and portfolio.weight specify the name of the benchmark weight column and that of the portfolio weight column in the data frame.

In the paper, we use this data set to showcase that the Brinson model is a special case of the regression approach.

In this data set, the universe of the portfolio is assumed to be the same as the benchmark.

Examples

1
2

Example output

Loading required package: grid
                                     name   return       date sector
43581 TRANSOCEAN LTD                       0.02343 2010-01-01 Energy
25345 SEADRILL                            -0.07905 2010-01-01 Energy
25441 SEADRILL (GER-LISTING)              -0.08667 2010-01-01 Energy
45326 DIAMOND OFFSHORE DRILLING INC       -0.07001 2010-01-01 Energy
46015 NATIONAL OILWELL VARCO INC          -0.07235 2010-01-01 Energy
7550  CHINA OILFIELD SERVICES-A           -0.08118 2010-01-01 Energy
        portfolio    benchmark
43581 0.000000000 0.0003333333
25345 0.000000000 0.0003333333
25441 0.000000000 0.0003333333
45326 0.003333333 0.0003333333
46015 0.000000000 0.0003333333
7550  0.003333333 0.0003333333

pa documentation built on May 1, 2019, 8:47 p.m.