Learn R Programming

REN (version 0.1.0)

po.cols: Perform Simple Linear Model for Portfolio Optimization

Description

This function uses simple linear regression to perform portfolio optimization.

Usage

po.cols(y0, x0)

Value

A numeric vector of optimized portfolio weights.

Arguments

y0

A numeric vector of response values.

x0

A numeric matrix of predictors.