powered by
Jensen's alpha is a financial statistic used to quantify the abnormal return of a security or portfolio over the theoretical expected return. Unlike, standard alpha, it uses theoretical performance return instead of a market return.
pt.jalpha(pr,mr,rf,beta)
:portfolio return
:market return
:risk free rate
:portfolio beta
# NOT RUN { prtn <- runif(24, -1, 1) mrtn <- runif(24, -1, 1) rf <- 0.024 pt.jalpha(mean(prtn), mean(mrtn), rf, pt.beta(prtn,mrtn)) # }
Run the code above in your browser using DataLab