powered by
Dual-beta method is to divide market beta into downside beta and upside beta. The principle behind is that upside and downside betas are not the same.
pt.dbeta(ar,mr,rf)
:a vector of a risk asset return
:a vector of market return
:risk free rate
# NOT RUN { artn <- runif(24,0,1) # generate random number to simulate returns mrtn <- runif(24,-1,1) pt.dbeta(artn,mrtn,0.024) # }
Run the code above in your browser using DataLab