Skip to content

Commit

Permalink
Rename rows
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Aug 6, 2024
1 parent 749d747 commit 6b1225c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions replication/debiasing/debiasing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,22 @@ function run_all()
#(2, 1000, 800),
#(1, 1000, 10),
#(2, 1000, 10),
(2, 1000, 5),
(1, 1000, 5),
(2, 1000, 2),
(1, 1000, 2),
(2, 1000, 1),
#(2, 1000, 5),
#(1, 1000, 5),
#(2, 1000, 2),
#(1, 1000, 2),
#(2, 1000, 1),
(1, 1000, 1),
]
n_reps = 3000
n_reps = 300
lifetime_methods::Vector{LifetimeMethod} = [opt::LifetimeMethod, pol::LifetimeMethod]
lifetime_multipliers::Vector{Float64} = [0.8, 0.9, 1.0, 1.1, 1.2]
X_dist::Distribution = Uniform(0, 1)
mu::Function = (x -> sum(sin.(pi .* x)))
sigma = 0.3
eps_dist = Normal(0, sigma)
#eps_dist = Normal(0, sigma)
eps_dist = Uniform(-sigma * sqrt(3), sigma * sqrt(3))
@assert abs(var(eps_dist) - sigma^2) <= 1e-10
J_blocks::Vector{Tuple{Int,Int}} = [(0, 0), (1, 1), (1, 0)]

# set up experiments
Expand Down
2 changes: 1 addition & 1 deletion replication/debiasing/tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function get_debias_text(J_estimator, J_lifetime)
if J_estimator == 0
return "No debiasing"
elseif J_lifetime == 0
return "Undersmoothing"
return "Robust BC"
else
return "Debiasing"
end
Expand Down

0 comments on commit 6b1225c

Please sign in to comment.