search for: percent_shift

Displaying 1 result from an estimated 1 matches for "percent_shift".

2008 Jun 05
1
R-code embedded in VBE -- Type mismatch errors
...ettle_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 - percent_shift yy_shifted = intercept+slope*xx_shifted shifted_model = exp(yy_shifted)+1 yy_tail = intercept+slope*no_of_years yy_shift_tail = intercept+slope*(no_of_years-percen...