search for: aruina_lik

Displaying 1 result from an estimated 1 matches for "aruina_lik".

Did you mean: aruina_like
2009 Mar 01
0
Variable scope.
.... . res <- .Call(R_ARIMA_Like, x, Z$phi, Z$theta, Z$Delta, Z$a, Z$P, Z$Pn, as.integer(0), FALSE) . . . . } The question is that ARIMA_Like will make changes to the arrays Z$P etc. Since upARIMA essentially returns 'mod' are changes to the arrays passed as Z$... to ARUINA_Like refkected in the original 'mod'? Or another way of phrasing the question is 'Z' a reference variable? Are the members such as Z$a also passed as reference hence changes to Z$a should also be seen in mod$a? In the arima code the references to x and mod seem to be essentially global...