From aed12e7023359986b2f803f7cdb8ce523041e872 Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Mon, 29 Feb 2016 16:44:16 +0530 Subject: updating the iv code to use the new sim structure --- R/iv.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/iv.R b/R/iv.R index ec74ebc..93fd52b 100644 --- a/R/iv.R +++ b/R/iv.R @@ -58,7 +58,7 @@ iv <- function(z,order=c(0,1,0),x=NULL){ if(is.null(x)){ # Initial Guess using ARX mod_arx <- arx(z,order) - x <- matrix(sim(mod_arx$sys,u,sigma=0)) + x <- matrix(sim(mod_arx$sys,u)) } ivcompute(y,u,x,na,nb,nk,n,N) -- cgit