Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:
Rt=Rtc-bt-1Rtf,
where Rt denotes the returns on holding a portfolio of cash and futures positions between
time t-1 and time t.Rtc is the return on holding the (long) cash position between time t-1
and t, that is, the return to storing the grain over a fixed period of time. Rtf is the return
on holding a short futures position between time t-1 and t. And bt-1 is the hedge ratio,
which is defined as the proportion (fraction) of the cash position to be hedged in the futures
market at time t-1 for sale at time t. For present purposes, we assume there are no costs
associated with hedging.
The variance on the return of the portfolio is given by:
Var(Rt)=Var(Rtc)+(bt-1)2Var(Rtf)-2bt-1Cov(Rtc,Rtf),
where Var(xt) is a variance operator such that Var(xt)=xt2 and Cov(xt,yt) is a covariance
operator such that Cov(xt,yt)=xyxt2yt22.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Finance questions