-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I was wondering if the method LinearUnivariateTimeVariant was already implemented?
The call
Ze = [[1.; 0] for _ in 1:15];
Te = [[1. 1; 0 1] for _ in 1:15];
Re = [[1. 0; 0 1] for _ in 1:15];
de = convert(Array{Float64,1},zeros(15));
ce = [[0., 0] for _ in 1:15];
He = tv_observational_noise;
Qe = [[1. 0; 0 1] for _ in 1:15];
tv_var_model = StateSpaceModels.LinearUnivariateTimeVariant(mu_hat_i[1,1,:],Ze,Te,Re,de,ce,He,Qe)
where tv_observational_noise
is a Vector{Float64}
with the same (15) number of elements. This call yielded the following error:
MethodError: no method matching LinearUnivariateTimeVariant(::Vector{Float64}, ::Vector{Vector{Float64}}, ::Vector{Matrix{Float64}}, ::Vector{Matrix{Float64}}, ::Vector{Float64}, ::Vector{Vector{Float64}}, ::Vector{Float64}, ::Vector{Matrix{Float64}})
Given, I have observed all types, I am wondering if this is because the method is not implemented?
If it is implemented, do you think you can help me fix the call? Moreover, I was hoping to estimate the time-independent Q_t hyperparameter but the method definition seems to ask for a Q_t without the possibility of its estimation.