Creating synthetic stock index from cash

Do we actually use risk free rate in the calculation anywhere or do we just adjust the beta and find out # of contracts etc?

if we already hold cash we use the risk free rate. If we expect cash to come in the next few months we buy futures.

So we get return on cash plus the futures return? if we arleady have cash…