Documente Academic
Documente Profesional
Documente Cultură
Variance:
Probability:
Union:
Regression:
Returns:
Portfolio return:
Portfolio mean:
Sigma Portfolio:
Sharpe Ratio
to move together
GIVEN:
EXCEL
Y = left hand side variable = what you want to predict/model
1) STATISTICS
= right hand side variables = data you want to use to predict - Return/change= (now-before)/before
- Average daily change= average (column of returns)
0 = intercept or constant (doesnt depend on ) - Median change = MEDIAN (column of returns)
- Total # of weeks = COUNT
1 = slope (multiplied by like a slope) tells you how much your Y will - Expected weekly % change = AVERAGE (weekly % change column)
change when you change X by one - Squared Difference = (weekly % change or return average weekly return) ^ 2
- Average of squared differences= sum of squared differences/ total weeks
= error term (model is not perfect errors are above and below best fit - St. deviation without formula = average of squared differences ^ 0.5 or SQRT of
line, so = 0 on average) av. Sqrd diff.
- Upper bound of 1, 2(stdv*2), 3(stdv*3) of the mean = Expected weekly % change
+ STDEV
- Lower bound of 1, 2(stdv*2), 3(stdv*3) of the mean = Expected weekly % change
Returns up= 2 assets Portfolio STDEV
Returns - Percent of observations within 1/2/3 standard deviations of the mean return=
(COUNTIFS (Monthly %Change Column,>=&lower bound, Monthly %Change
Column,<=&Upper
- Largest % return = MAX (column of returns) choose date if they are asking for
month/yr
- Lowest % return = MIN (column of returns) choose date if they are asking for
p= St. deviation of 2 asset portfolio month/yr
=
covariance (it can
have any value)
2) REGRESION 3asset portfolio
- Predict return using x% = x% * coefficient + intercept
- Diff. between 2 predicted returns = (x1% * coefficient + intercept) (x2% * - 3 Asset Portfolio expected return= (mu x1 * w1) + (mu x2 * w2) + (mu x3 * w3)
coefficient + intercept) - 3 or more asset Portfolio standard deviation=
- For Regression info. = regress the monthly return of microsoft's share price (Y)
on the monthly
return of Apple's share price (X) SQRT( )
- Best information on how accurate this model is in predicting past returns= R2
- Best means to compare the accuracy of this model with the other model= R
- Sharpe Ratio = (portfolio return- risk free rate) / portfolio standard deviation
3) PORTFOLIO RETURNS - Sharp Ratio Optimized:
- Return= (now-before)/before of each stock Use for step 3, covariances calculated before
- Mean Return = AVERAGE (column of return of x company) and with Weight: leave cell of w1 AND w2 empty and cell of w3= 1-w1-w2
each company 1. Create cells for weights
- Sigma = STDEV (column return of x company) and with each company 2. Create a cell for portfolio return using new cells of weights (w1 * mu x1) +
- Correlation of x1 and x2 = CORREL (column of returns x1, column of (w2 * mu x2) + (w3 * mu x3)
returns x2) 3. Create a cell for portfolio standard deviation using the new cells of weights
- Ex Find a portfolio (of x1 and x2) that produces a higher return and (USE FORMULA ABOVE)
lower risk than x2 alone. 4. Create cell for risk free rate (given)
Weight: leave cell of w1 empty and cell of w2= 1-w1 5. Create cell for sharp ratio (use all new calculated data)
Return = mu (average) 6. Using solver:
Create a column next to columns of returns and for each data Set objective: Sharp ratio cell
point: To: MAX
1. (X1 return * w1 cell) + (x2 return * w2 cell) By changing variable cells: W1 cell AND W2 cell
2. = AVERAGE (new portfolio column)
3. = STDEV (new portfolio column)
4. Compare mu and risk of portfolio vs x2: If the weight given by solver when optimizing is negative, it means you
Change cell of w1 until you obtain mu of need to short the asset
portfolio > mu x2 and You can add restriction of (w1>0, w2>0, w3>0) to avoid shorting
Stdev of portfolio < stdev x2 or use solver
2 asset portfolio
=covariance
- Sharpe Ratio = (portfolio return- risk free rate) / portfolio standard deviation