pt.beta {YRmisc} | R Documentation |
Stock return beta
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
pt.beta(ar,br)
Arguments
ar |
:a vector of a risk asset return |
br |
:a vector of benchmark return |
Examples
brtn <- runif(100, -1, 1)
artn <- runif(100, -1, 1)
pt.beta(artn, brtn)
[Package YRmisc version 0.1.6 Index]