You've to guess values of \(r\), like you would in the case of estimating volatility. Does that do it?