Displaying 2 results from an estimated 2 matches for "cumal".
Did you mean:
cual
2010 Feb 21
1
how do I get the legend?
http://en.wikipedia.org/wiki/Binomial_distribution Bino
Hi there,
How can I get the legend in the probability density plot in that
http://en.wikipedia.org/wiki/File:Binomial_distribution_pmf.svg wiki page ?
and the cumalative plot as well?
====================================
# Binomial Distribution
x=0:40
plot(sin,ylim=c(0,.20),xlim=c(0,40),type='n',xlab="n",ylab="")
points(dbinom(x,20,0.5))
points(dbinom(x,20,0.7),col=2)
points(dbinom(x,40,0.5),col=3)
=================================...
2007 Feb 19
2
Calculating the Sharpe ratio
Hi useRs,
I am trying to calculate the Sharpe ratio with "sharpe" of the library
"tseries".
The documentation requires the univariate time series to be a
portfolio's cumulated returns. In this case, the example given
data(EuStockMarkets)
dax <- log(EuStockMarkets[,"FTSE"])
is however not the cumulated returns but rather the daily returns of the
FTSE