From f1e3014b818c6b00440f5adef07f22c35ff6056e Mon Sep 17 00:00:00 2001 From: Michael Creel Date: Tue, 2 Jan 2024 17:10:46 +0100 Subject: [PATCH] vech test fix --- Examples/DSGE/GenData/CKlib.jl | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Examples/DSGE/GenData/CKlib.jl b/Examples/DSGE/GenData/CKlib.jl index 03c27af..5719d0b 100644 --- a/Examples/DSGE/GenData/CKlib.jl +++ b/Examples/DSGE/GenData/CKlib.jl @@ -1,4 +1,4 @@ -using Statistics, LinearAlgebra, SolveDSGE +using Econometrics, Statistics, LinearAlgebra, SolveDSGE # this block reads and processes the file, leave it be process_model("CK.txt") @@ -86,19 +86,6 @@ end Z end -function vech(x) - k = size(x,1) - a = zeros(Int((k^2-k)/2 + k)) - m = 1 - for i = 1:k - for j = 1:i - a[m] = x[i,j] - m += 1 - end - end - a -end - function TrueParameters() [ 0.99, # β