pt.beta: Stock return beta

Description Usage Arguments Examples

View source: R/pt.beta.R

Description

Beta is the slope of a fitted line when dependent variable is the benchmark return and independent variable is an asset return of the same period. It is a measure the risk arising from exposure to general market movements.

Usage

1
pt.beta(ar,br)

Arguments

ar

:a vector of a risk asset return

br

:a vector of benchmark return

Examples

1
2
3
brtn <- runif(100, -1, 1)
artn <- runif(100, -1, 1)
pt.beta(artn, brtn)

YRmisc documentation built on March 25, 2020, 5:13 p.m.

Related to pt.beta in YRmisc...