se(z, type) ## S3 method for class 'sr':
se(z, type = c("t", "Lo"))
sr."t", "Lo",
"exact"
t, based on Johnson &
Welch, with a correction for small sample size, also
known asLo.exact. Johnson, N. L., and Welch, B. L. "Applications of the
non-central t-distribution." Biometrika 31, no. 3-4
(1940): 362-389.
Lo, Andrew W. "The statistics of Sharpe ratios."
Financial Analysts Journal 58, no. 4 (2002): 36-52.
Opdyke, J. D. "Comparing Sharpe Ratios: So Where are the
p-values?" Journal of Asset Management 8, no. 5 (2006):
308-336.
Walck, C. "Hand-book on STATISTICAL DISTRIBUTIONS for
experimentalists." 1996.
dsr Other sr: as.sr,
as.sr.data.frame,
as.sr.default, as.sr.lm,
as.sr.xts, confint.sr,
confint.sropt, dsr,
is.sr, power.sr_test,
print.sr, print.sropt,
reannualize, reannualize.sr,
reannualize.sropt, sr,
sr_equality_test, sr_test
asr <- as.sr(rnorm(128,0.2))
anse <- se(asr,type="t")
anse <- se(asr,type="Lo")Run the code above in your browser using DataLab