Question: How do I setup the following in R ? A simple portfolio model for the soybeans farmer may be written as: R t = R
How do I setup the following in R
A simple portfolio model for the soybeans farmer may be written as:
where denotes the returns on holding a portfolio of cash and futures positions between
time and time is the return on holding the long cash position between time
and that is the return to storing the grain over a fixed period of time. is the return
on holding a short futures position between time and And is the hedge ratio,
which is defined as the proportion fraction of the cash position to be hedged in the futures
market at time for sale at time For present purposes, we assume there are no costs
associated with hedging.
The variance on the return of the portfolio is given by:
VarVarVarCov
where Var is a variance operator such that Var and Cov is a covariance
operator such that Cov
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
