Estimation of a general transfer function model. The model can only handle one input and one output.
tfm1(y, x, orderN, orderX)
Data vector of dependent variable
Data vector of input (or independent) variable
Order (p,d,q) of the disturbance component
Order (r,s,b) of the transfer function model, where r and s are the degrees of denominator and numerator polynomials and b is the delay
Coefficient estimates
Residual variance sigma-square
Residual series
Variance of the estimates
The disturbance series
Perform estimation of a general transfer function model
Box, G. E. P., Jenkins, G. M., and Reinsel, G. C. (1994). Time Series Analysis: Forecasting and Control, 3rd edition, Prentice Hall, Englewood Cliffs, NJ.
tfm
# NOT RUN {
##da=read.table("gasfur.txt")
##y=da[,2]; x=da[,1]
##m1=tfm1(y,x,orderX=c(1,2,3),orderN=c(2,0,0))
# }
Run the code above in your browser using DataLab