#Bootstrap for the TVECM above to get the SD for ECT1 and Adj1
output.sim<-data.frame(Sim.ECT1=NA,Sim.Adj1=NA)
for(i in 1:5){
Sim.dat<-TVECM.boot(TVECMobject=tv, show.parMat = FALSE, check = TRUE)
Sim.tv<-TVECM(Sim.dat, nthresh=2,lag=1, ngridBeta=20, ngridTh=30, plot=TRUE,trim=0.05, common="All")
Sim.ECT1<-Sim.tv$coefficients$Bdown[2,"ECT"]-Sim.tv$coefficients$Bdown[1,"ECT"]
Sim.Adj1<-log(1-0.9)/log(1-(Sim.tv$coefficients$Bdown[2,"ECT"]-Sim.tv$coefficients$Bdown[1,"ECT"]))
output.sim<-rbind(output.sim,data.frame(Sim.ECT1=Sim.ECT1,Sim.Adj1=Sim.Adj1))
}
sd(output.sim$Sim.ECT1,na.rm = T) ## Standard deviation for ECT1
sd(output.sim$Sim.Adj1,na.rm = T) ## Standard deviation for Adj1
Would you recommend i use the model degrees of freedom (DOF) or regime specific DOF to get the SE's
Best