Displaying 2 results from an estimated 2 matches for "prob_1".
Did you mean:
prob1
2009 Dec 28
2
Modified R Code
...____________________________________________
MY ORIGINAL CODE (Actual HARD CODE)
## ONS - PPA
# INPUT
rate_1 = read.csv('rate1_range.csv')
rate_2 = read.csv('rate2_range.csv')
rate_3 = read.csv('rate3_range.csv')
rate_4 = read.csv('rate4_range.csv')
prob_1 = read.csv('rate1_probs.csv')
prob_2 = read.csv('rate2_probs.csv')
prob_3 = read.csv('rate3_probs.csv')
prob_4 = read.csv('rate4_probs.csv')
rate1_min_1 = rate_1$rate1_range1_min
rate1_max_1 = rate_1$rate1_range1_max
rate1_min_2 = rate_1$rate1_range...
2009 Dec 21
2
Reading multiple Input Files
...f you) as of now is sort of hard coding when it comes to reading interest rates as an input e.g.
## INPUT
rate_1 = read.csv('rate1_range.csv')
rate_2 = read.csv('rate2_range.csv')
rate_3 = read.csv('rate3_range.csv')
rate_4 = read.csv('rate4_range.csv')
prob_1 = read.csv('rate1_probs.csv')
prob_2 = read.csv('rate2_probs.csv')
prob_3 = read.csv('rate3_probs.csv')
prob_4 = read.csv('rate4_probs.csv')
However, since I am not sure how many interest rates I will be dealing with to begin with, I have tried to call these...