Skip to content

Commit

Permalink
vech test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Creel committed Jan 2, 2024
1 parent 96315c2 commit f1e3014
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Examples/DSGE/GenData/CKlib.jl
Original file line number Diff line number Diff line change
@@ -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")
Expand Down Expand Up @@ -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, # β
Expand Down

0 comments on commit f1e3014

Please sign in to comment.