GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — MX_CapFlow/3_IVFig.R at master · sebinbn/MX_CapFlow Expand file tree/ Copy path3_IVFig.RMore file actions 22 lines (19 loc) · 1.1 KB / Copy path3_IVFig.RFile metadata and controls22 lines (19 loc) · 1.1 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 # This code uses Y_FO_results from 2_Stage2_SURE.R Y_FO_Dat = Y_FO_results Y_FO_Dat$Var = paste(substr(Y_FO_Dat$Var,5,6),"Yr") Y_FO_Dat$Var[1:4] = c("1 Mo","3 Mo","9 Mo","6 Mo") Y_FO_Dat$Var = factor(Y_FO_Dat$Var,levels = Y_FO_Dat$Var) ggplot(Y_FO_Dat, aes(x =Var)) + geom_point(aes(y = coef), size = 2) + geom_errorbar(aes(ymin = coef - tFse, ymax = coef + tFse), width = 0.2, color = "blue") + # tF Error bars #geom_errorbar(aes(ymin = coef - se, ymax = coef + se), width = 0.2, color = "blue") + # Error bars geom_hline(yintercept = 0, linetype = "dashed", color = "red", size = 1) + scale_x_discrete(breaks = Y_FO_Dat$Var[seq(1, length(Y_FO_Dat$Var), by = 2)])+ labs(x = 'Maturity', y = 'Basis points')+#, title = 'Impact on yields from a 1bn MX$ increase in F-OwnBond') + theme_minimal()+ theme(title = element_text(size = 16), axis.text.x = element_text(angle = 45, hjust = 1), axis.text = element_text(size = 16), axis.title = element_text(size = 16), legend.text = element_text(size = 16 ), legend.title = element_blank(), legend.position = c(0.2, 0.9)) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |