<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<meta content="text/html; charset=unicode" http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 11.00.10570.1001"></head>
<body style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma; COLOR: #000000">
<p>Hi all,</p>
<p>I am working with a TVECM model using library tsDyn.</p>
<p>I am trying to get data (Residual Sum of squares)  from a TVECM 
model, the result give me a plot that I would like replicate with ggplot. I 
had check all results but none coincide with plot data, example:</p>
<p>library(tsDyn)<br>data(zeroyld)</p>
<p>#runing this command you get the plot that I need replicate:  </p>
<p><br>tvec <- TVECM(zeroyld, nthresh=2,lag=1, ngridBeta=20, ngridTh=30, 
plot=TRUE,trim=0.05, common="All")</p>
<p><br>#I did check all this results but none help me to replicate the 
graph<br>names(tvec)</p>
<p><br>[1] "coefficients"   "residuals"      
"model"          
"coeffmat"      <br> [5] 
"nobs_regimes"   
"k"              
"t"              
"T"             
<br> [9] "nparB"          
"fitted.values"  
"lag"            
"include"       <br>[13] "model.specific"</p>
<p>Do you now how get Residual Sum of squares to replicate this graph?</p>
<p>Any comments I will grateful<br>Regards <br>Rodrigo</p>
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma; COLOR: #000000">
<div id="GNPSIGNATURE">
<div>
<div>
<div>
<div>
<div><font face="Tahoma"></font> </div></div></div></div></div></div></div></div></body></html>