Displaying 1 result from an estimated 1 matches for "tail_factor".
2008 Jun 05
1
R-code embedded in VBE -- Type mismatch errors
...yy_ext = intercept + slope*xx_ext
}
# the reason for a double if is that the else condition
doesn't seem to work... I'm sure it's just me
if (max_settle_time <= no_of_years) yy_ext = 0
tail_factor=prod(exp(yy_ext)+1)
# Complete model -- link ratios + tail
fitted_vec = c(fitted_model,tail_factor)
# What happens if the no of months available is less than
12?
percent_shift = (12-no_of_months)/12
xx_shifted = xx...