Commit ·
b6c95bb
1
Parent(s): f5158d3
107
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- 107/paper.pdf +3 -0
- 107/replication_package/Code/MATLAB/compute_efficiency.m +204 -0
- 107/replication_package/Code/MATLAB/gymGame.m +358 -0
- 107/replication_package/Code/Stata/Appendix.do +696 -0
- 107/replication_package/Code/Stata/Figures.do +455 -0
- 107/replication_package/Code/Stata/Parameter estimates.do +1156 -0
- 107/replication_package/Code/Stata/Tables.do +708 -0
- 107/replication_package/Code/master_do_file_for_analysis.do +41 -0
- 107/replication_package/Code/run_simulations.m +1205 -0
- 107/replication_package/Data/cleaned_commitment_study_daily_data.dta +3 -0
- 107/replication_package/Data/cleaned_commitment_study_data.dta +3 -0
- 107/replication_package/Experimental Materials/Study Instructions Appendix.pdf +3 -0
- 107/replication_package/Experimental Materials/Who_Chooses_Commitment.qsf +0 -0
- 107/replication_package/LICENSE.txt +3 -0
- 107/replication_package/Other/Images/appendix_survey_waves.PNG +3 -0
- 107/replication_package/Other/Images/theory_graph.pdf +3 -0
- 107/replication_package/Other/commitment.bib +1414 -0
- 107/replication_package/Other/econ-aea.bst +3600 -0
- 107/replication_package/Output/CCBeliefs2.tex +14 -0
- 107/replication_package/Output/CCcorrelates.tex +14 -0
- 107/replication_package/Output/CCtakeupVbeliefs.tex +14 -0
- 107/replication_package/Output/DailyAttIncr.tex +17 -0
- 107/replication_package/Output/Formatted output/CCBeliefs2.tex +14 -0
- 107/replication_package/Output/Formatted output/CC_literature_table.tex +83 -0
- 107/replication_package/Output/Formatted output/CCcorrelates.tex +14 -0
- 107/replication_package/Output/Formatted output/CCtable.tex +6 -0
- 107/replication_package/Output/Formatted output/CCtable_control.tex +6 -0
- 107/replication_package/Output/Formatted output/CCtable_treatment.tex +6 -0
- 107/replication_package/Output/Formatted output/CCtakeupVbeliefs.tex +14 -0
- 107/replication_package/Output/Formatted output/Exp_Corr.tex +14 -0
- 107/replication_package/Output/Formatted output/Exp_Rates.tex +15 -0
- 107/replication_package/Output/Formatted output/uniformrange.pdf +3 -0
- 107/replication_package/Output/appendix_descriptive_stats.tex +35 -0
- 107/replication_package/Output/bcp_on_behavior_change.tex +17 -0
- 107/replication_package/Output/bcp_on_risk_aversion.tex +18 -0
- 107/replication_package/Output/commit_delta.tex +16 -0
- 107/replication_package/Output/commit_delta_control.tex +16 -0
- 107/replication_package/Output/commit_delta_info.tex +16 -0
- 107/replication_package/Output/daily_att_likelihood.pdf +3 -0
- 107/replication_package/Output/daily_att_prob_commit12.pdf +3 -0
- 107/replication_package/Output/deltas.pdf +3 -0
- 107/replication_package/Output/exp_actual_under_incentive.pdf +3 -0
- 107/replication_package/Output/numbers.tex +113 -0
- 107/replication_package/Output/numbers_struct.tex +214 -0
- 107/replication_package/Output/numbers_struct_appx.tex +402 -0
- 107/replication_package/Output/overconfidence.pdf +3 -0
- 107/replication_package/Output/overconfidence_estimates.pdf +3 -0
- 107/replication_package/Output/overconfidence_estimatesV.pdf +3 -0
- 107/replication_package/Output/overconfidence_estimatesX.pdf +3 -0
- 107/replication_package/Output/overconfidence_estimates_commit12.pdf +3 -0
107/paper.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2041794b3f9a716c71d0e965d69dad971ec9bd464e10f2586f1f600f06be99ff
|
| 3 |
+
size 1302997
|
107/replication_package/Code/MATLAB/compute_efficiency.m
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 2 |
+
no_p_commit_models)
|
| 3 |
+
% compute efficiency of behavior change & other outcomes from the
|
| 4 |
+
% commitment contract and two piece-rate incentives
|
| 5 |
+
|
| 6 |
+
n = length(commit_models);
|
| 7 |
+
|
| 8 |
+
% compute average change in attendance from the contract
|
| 9 |
+
delta_a_Cs = [];
|
| 10 |
+
avg_delta_a_C = 0;
|
| 11 |
+
for i = 1:n
|
| 12 |
+
|
| 13 |
+
avg_delta_a_C = avg_delta_a_C + (commit_models(i).mu .* ...
|
| 14 |
+
(commit_models(i).avg_att - no_p_commit_models(i).avg_att));
|
| 15 |
+
delta_a_Cs = [delta_a_Cs, commit_models(i).avg_att - no_p_commit_models(i).avg_att];
|
| 16 |
+
|
| 17 |
+
end
|
| 18 |
+
results.avg_delta_a_C = avg_delta_a_C;
|
| 19 |
+
|
| 20 |
+
% compute average period 1 incremental welfare from the contract
|
| 21 |
+
avg_delta_surplus = 0;
|
| 22 |
+
for i = 1:n
|
| 23 |
+
|
| 24 |
+
avg_delta_surplus = avg_delta_surplus + (commit_models(i).mu .* ...
|
| 25 |
+
(commit_models(i).t1_utility - no_p_commit_models(i).t1_utility));
|
| 26 |
+
|
| 27 |
+
end
|
| 28 |
+
results.avg_delta_surplus = avg_delta_surplus;
|
| 29 |
+
|
| 30 |
+
% compute the surplus just for those who took up the contract
|
| 31 |
+
mu_commit = 0;
|
| 32 |
+
for i = 1:n
|
| 33 |
+
mu_commit = mu_commit + commit_models(i).mu;
|
| 34 |
+
end
|
| 35 |
+
results.commit_delta_surplus = avg_delta_surplus / mu_commit;
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
% compute average change in expected benefits from the contract
|
| 39 |
+
avg_delta_benefits = 0;
|
| 40 |
+
for i = 1:n
|
| 41 |
+
|
| 42 |
+
avg_delta_benefits = avg_delta_benefits + ...
|
| 43 |
+
(commit_models(i).mu .* commit_models(i).b .* ...
|
| 44 |
+
(commit_models(i).avg_att - no_p_commit_models(i).avg_att));
|
| 45 |
+
|
| 46 |
+
end
|
| 47 |
+
results.avg_delta_benefits = avg_delta_benefits;
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
% compute average change in expected costs from the contract
|
| 51 |
+
avg_delta_costs = 0;
|
| 52 |
+
for i = 1:n
|
| 53 |
+
|
| 54 |
+
avg_delta_costs = avg_delta_costs + (commit_models(i).mu .* ...
|
| 55 |
+
(commit_models(i).avg_costs - no_p_commit_models(i).avg_costs));
|
| 56 |
+
|
| 57 |
+
end
|
| 58 |
+
results.avg_delta_costs = avg_delta_costs;
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
% compute efficiency of behavior change from the commitment contract
|
| 62 |
+
results.V_E = results.avg_delta_benefits - results.avg_delta_costs;
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
% compute the optimal r
|
| 66 |
+
syms r
|
| 67 |
+
eqns_n = []; % placeholder for numerator
|
| 68 |
+
eqns_d = []; % placeholder for denominator
|
| 69 |
+
for k = 1:n
|
| 70 |
+
|
| 71 |
+
eqns_n = [ eqns_n; commit_models(k).mu .* (1 - commit_models(k).beta) .* ...
|
| 72 |
+
commit_models(k).b .* commit_models(k).beta .* ...
|
| 73 |
+
commit_models(k).f(commit_models(k).beta .* (commit_models(k).b + r)) ];
|
| 74 |
+
|
| 75 |
+
eqns_n = [ eqns_n; no_commit_models(k).mu .* (1 - no_commit_models(k).beta) .* ...
|
| 76 |
+
no_commit_models(k).b .* no_commit_models(k).beta .* ...
|
| 77 |
+
no_commit_models(k).f(no_commit_models(k).beta .* (no_commit_models(k).b + r)) ];
|
| 78 |
+
|
| 79 |
+
eqns_d = [ eqns_d; commit_models(k).mu .* (commit_models(k).beta .^ 2) .* ...
|
| 80 |
+
commit_models(k).f(commit_models(k).beta .* (commit_models(k).b + r)) ];
|
| 81 |
+
|
| 82 |
+
eqns_d = [ eqns_d; no_commit_models(k).mu .* (no_commit_models(k).beta .^ 2) .* ...
|
| 83 |
+
no_commit_models(k).f(no_commit_models(k).beta .* (no_commit_models(k).b + r)) ];
|
| 84 |
+
|
| 85 |
+
end
|
| 86 |
+
r_opt = vpasolve(sum(eqns_n) ./ sum(eqns_d) == r, r);
|
| 87 |
+
results.r_opt = double(r_opt);
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
% compute outcomes under r_opt
|
| 91 |
+
results.U_E_r_opt = compute_incentive_efficiency(results.r_opt, ...
|
| 92 |
+
commit_models, no_commit_models);
|
| 93 |
+
[results.delta_surplus_r_opt, results.delta_benefits_r_opt, ...
|
| 94 |
+
results.delta_costs_r_opt, results.delta_att_r_opt] = ...
|
| 95 |
+
compute_incentive_outcomes(results.r_opt, ...
|
| 96 |
+
commit_models, no_commit_models);
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
% find the r that generates the same expected change in attendance
|
| 100 |
+
syms r
|
| 101 |
+
eqns = [];
|
| 102 |
+
for k = 1:n
|
| 103 |
+
|
| 104 |
+
eqns = [ eqns; (commit_models(k).mu .* ...
|
| 105 |
+
(commit_models(k).F(commit_models(k).beta .* ...
|
| 106 |
+
(commit_models(k).b + r)) ...
|
| 107 |
+
- commit_models(k).F(commit_models(k).beta .* ...
|
| 108 |
+
commit_models(k).b))) ];
|
| 109 |
+
|
| 110 |
+
eqns = [ eqns; (no_commit_models(k).mu .* ...
|
| 111 |
+
(no_commit_models(k).F(no_commit_models(k).beta .* ...
|
| 112 |
+
(no_commit_models(k).b + r)) ...
|
| 113 |
+
- no_commit_models(k).F(no_commit_models(k).beta .* ...
|
| 114 |
+
no_commit_models(k).b))) ];
|
| 115 |
+
|
| 116 |
+
end
|
| 117 |
+
r_att = vpasolve(commit_models(1).T .* sum(eqns) == avg_delta_a_C, r);
|
| 118 |
+
results.r_att = double(r_att);
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
% compute outcomes under r_att
|
| 122 |
+
results.U_E_r_att = compute_incentive_efficiency(results.r_att, ...
|
| 123 |
+
commit_models, no_commit_models);
|
| 124 |
+
[results.delta_surplus_r_att, results.delta_benefits_r_att, ...
|
| 125 |
+
results.delta_costs_r_att, results.delta_att_r_att] = ...
|
| 126 |
+
compute_incentive_outcomes(results.r_att, ...
|
| 127 |
+
commit_models, no_commit_models);
|
| 128 |
+
|
| 129 |
+
end
|
| 130 |
+
|
| 131 |
+
%% Helper functions
|
| 132 |
+
|
| 133 |
+
function U_E = compute_incentive_efficiency(r, commit_models, ...
|
| 134 |
+
no_commit_models)
|
| 135 |
+
% compute the efficiency of behavior change under incentive r
|
| 136 |
+
|
| 137 |
+
N = length(commit_models);
|
| 138 |
+
U_E = 0;
|
| 139 |
+
inc = [r 0];
|
| 140 |
+
for j = 1:N
|
| 141 |
+
|
| 142 |
+
commit_models(j) = commit_models(j).compute_incentive_behavior(inc);
|
| 143 |
+
U_E = U_E + commit_models(j).mu .* ...
|
| 144 |
+
(commit_models(j).net_surplus_r(1) - ...
|
| 145 |
+
commit_models(j).net_surplus_r(2));
|
| 146 |
+
|
| 147 |
+
no_commit_models(j) = no_commit_models(j).compute_incentive_behavior(inc);
|
| 148 |
+
U_E = U_E + no_commit_models(j).mu .* ...
|
| 149 |
+
(no_commit_models(j).net_surplus_r(1) - ...
|
| 150 |
+
no_commit_models(j).net_surplus_r(2));
|
| 151 |
+
|
| 152 |
+
end
|
| 153 |
+
|
| 154 |
+
end
|
| 155 |
+
|
| 156 |
+
function [delta_surplus, delta_benefits, delta_costs, delta_a_r] = ...
|
| 157 |
+
compute_incentive_outcomes(r, commit_models, no_commit_models)
|
| 158 |
+
% compute the expected change in agent surplus, benefits, and costs
|
| 159 |
+
% under incentive r
|
| 160 |
+
|
| 161 |
+
N = length(commit_models);
|
| 162 |
+
delta_surplus = 0;
|
| 163 |
+
delta_benefits = 0;
|
| 164 |
+
delta_costs = 0;
|
| 165 |
+
delta_a_r = 0;
|
| 166 |
+
inc = [r 0];
|
| 167 |
+
for j = 1:N
|
| 168 |
+
|
| 169 |
+
commit_models(j) = commit_models(j).compute_incentive_behavior(inc);
|
| 170 |
+
no_commit_models(j) = no_commit_models(j).compute_incentive_behavior(inc);
|
| 171 |
+
|
| 172 |
+
% expected change in agent surplus
|
| 173 |
+
delta_surplus = delta_surplus + commit_models(j).mu .* ...
|
| 174 |
+
(commit_models(j).surplus_r(1) - ...
|
| 175 |
+
commit_models(j).surplus_r(2));
|
| 176 |
+
delta_surplus = delta_surplus + no_commit_models(j).mu .* ...
|
| 177 |
+
(no_commit_models(j).surplus_r(1) - ...
|
| 178 |
+
no_commit_models(j).surplus_r(2));
|
| 179 |
+
|
| 180 |
+
% expected change in health benefits
|
| 181 |
+
delta_benefits = delta_benefits + commit_models(j).mu .* ...
|
| 182 |
+
(commit_models(j).benefits_r(1) - ...
|
| 183 |
+
commit_models(j).benefits_r(2));
|
| 184 |
+
delta_benefits = delta_benefits + no_commit_models(j).mu .* ...
|
| 185 |
+
(no_commit_models(j).benefits_r(1) - ...
|
| 186 |
+
no_commit_models(j).benefits_r(2));
|
| 187 |
+
|
| 188 |
+
% expected change in costs
|
| 189 |
+
delta_costs = delta_costs + commit_models(j).mu .* ...
|
| 190 |
+
(commit_models(j).costs_r(1) - ...
|
| 191 |
+
commit_models(j).costs_r(2));
|
| 192 |
+
delta_costs = delta_costs + no_commit_models(j).mu .* ...
|
| 193 |
+
(no_commit_models(j).costs_r(1) - ...
|
| 194 |
+
no_commit_models(j).costs_r(2));
|
| 195 |
+
|
| 196 |
+
% expected change in attendance
|
| 197 |
+
delta_a_r = delta_a_r + commit_models(j).mu .* ...
|
| 198 |
+
commit_models(j).change_att_r(1);
|
| 199 |
+
delta_a_r = delta_a_r + no_commit_models(j).mu .* ...
|
| 200 |
+
no_commit_models(j).change_att_r(1);
|
| 201 |
+
|
| 202 |
+
end
|
| 203 |
+
|
| 204 |
+
end
|
107/replication_package/Code/MATLAB/gymGame.m
ADDED
|
@@ -0,0 +1,358 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
| 1 |
+
classdef gymGame
|
| 2 |
+
% Defines the outcomes of a T period game with a commitment contract
|
| 3 |
+
% that imposes penalty p if a_star attendances are not achieved, or
|
| 4 |
+
% instead with a piece-rate incentive of r per attendance
|
| 5 |
+
|
| 6 |
+
properties
|
| 7 |
+
|
| 8 |
+
% Game properties
|
| 9 |
+
T; % number of periods in game
|
| 10 |
+
a_star; % commitment contract attendance threshold
|
| 11 |
+
p; % commitment contract penalty
|
| 12 |
+
r; % per attendance reward
|
| 13 |
+
|
| 14 |
+
% Parameters for individuals taking up the contract
|
| 15 |
+
lambda; % 1/mean of exponential cost distribution
|
| 16 |
+
min_cost; % lower bound on support of cost distribution
|
| 17 |
+
beta; % actual present focus
|
| 18 |
+
betatilde; % perceived present focus
|
| 19 |
+
b; % health benefit
|
| 20 |
+
mu; % fraction of people taking up the contract
|
| 21 |
+
|
| 22 |
+
% Outcomes under commitment contract
|
| 23 |
+
utilities; % utilities in each period for each g
|
| 24 |
+
t1_utility; % period 1 utility
|
| 25 |
+
utilities_tilde; % perceived utilities in each future period
|
| 26 |
+
att; % distribution of attendances in simulation
|
| 27 |
+
avg_att; % average attendance in simulation
|
| 28 |
+
avg_costs; % average aggregate costs incurred
|
| 29 |
+
avg_t1_att; % average first period attendance
|
| 30 |
+
prob_success; % likelihood of meeting threshold in simulation
|
| 31 |
+
prob_att_c_b; % likelihood of attending when cost > benefit
|
| 32 |
+
prob_att_day; % likelihood of attending each day
|
| 33 |
+
|
| 34 |
+
% Outcomes under piece-rate incentive(s)
|
| 35 |
+
prob_att_r; % probability of attending on a given day
|
| 36 |
+
att_r; % expected attendance under incentive r
|
| 37 |
+
change_att_r; % expected increase in attendance due to r
|
| 38 |
+
benefits_r; % expected health benefits under incentive r
|
| 39 |
+
costs_r; % expected costs under incentive r
|
| 40 |
+
net_surplus_r; % surplus under incentive r, net of incentive
|
| 41 |
+
surplus_r; % total surplus under incentive r
|
| 42 |
+
|
| 43 |
+
% Identifier
|
| 44 |
+
spec;
|
| 45 |
+
|
| 46 |
+
end
|
| 47 |
+
|
| 48 |
+
properties (Constant)
|
| 49 |
+
|
| 50 |
+
seed = 12345; % seed for simulation
|
| 51 |
+
rounds = 10000; % number of iterations of the simulation
|
| 52 |
+
|
| 53 |
+
end
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
methods
|
| 57 |
+
|
| 58 |
+
function obj = gymGame(properties, parameters, min_cost, title)
|
| 59 |
+
|
| 60 |
+
% input properties
|
| 61 |
+
obj.T = properties.T;
|
| 62 |
+
obj.a_star = properties.a_star;
|
| 63 |
+
obj.p = properties.p;
|
| 64 |
+
|
| 65 |
+
% set parameters from data
|
| 66 |
+
obj.lambda = parameters.lambda;
|
| 67 |
+
obj.min_cost = min_cost;
|
| 68 |
+
obj.beta = parameters.beta;
|
| 69 |
+
obj.betatilde = parameters.betatilde;
|
| 70 |
+
obj.b = parameters.b;
|
| 71 |
+
obj.mu = parameters.mu;
|
| 72 |
+
|
| 73 |
+
% set identifier
|
| 74 |
+
obj.spec = title;
|
| 75 |
+
|
| 76 |
+
% compute matrix of utilities
|
| 77 |
+
obj = obj.compute_utilities();
|
| 78 |
+
|
| 79 |
+
% simulate behavior of participants
|
| 80 |
+
obj = obj.simulate_behavior();
|
| 81 |
+
|
| 82 |
+
end
|
| 83 |
+
|
| 84 |
+
function obj = compute_utilities(obj)
|
| 85 |
+
|
| 86 |
+
V_n = NaN([obj.a_star+1 obj.T]);
|
| 87 |
+
V_tilde = NaN([obj.a_star+1 obj.T]);
|
| 88 |
+
|
| 89 |
+
% set last period utilities
|
| 90 |
+
for g = 0:obj.a_star
|
| 91 |
+
g1 = g + 1; % 1-indexed
|
| 92 |
+
V_n(g1,obj.T) = obj.compute_T_utility(g, 'actual');
|
| 93 |
+
V_tilde(g1,obj.T) = obj.compute_T_utility(g, 'perceived');
|
| 94 |
+
end
|
| 95 |
+
|
| 96 |
+
% set all other period utilities
|
| 97 |
+
for period = 1:obj.T-1
|
| 98 |
+
|
| 99 |
+
t = obj.T - period; % go backwards
|
| 100 |
+
start = max(obj.a_star - t + 1, 0);
|
| 101 |
+
|
| 102 |
+
% iterate through remaining attendances
|
| 103 |
+
for g = start:obj.a_star
|
| 104 |
+
g1 = g + 1; % 1-indexed
|
| 105 |
+
|
| 106 |
+
% expected utility difference from attending
|
| 107 |
+
delta_V_tilde = V_tilde(max(g1-1,1),t+1) - V_tilde(g1,t+1);
|
| 108 |
+
delta_V_n = V_n(max(g1-1,1),t+1) - V_n(g1,t+1);
|
| 109 |
+
|
| 110 |
+
% perceived expected utility at period t
|
| 111 |
+
V_tilde(g1,t) = (obj.F(obj.betatilde.*(obj.b + delta_V_tilde)).* ...
|
| 112 |
+
(obj.b + delta_V_tilde)) + V_tilde(g1,t+1) - ...
|
| 113 |
+
obj.C(obj.betatilde.*(obj.b + delta_V_tilde));
|
| 114 |
+
|
| 115 |
+
% actual expected utility at period t
|
| 116 |
+
V_n(g1,t) = (obj.F(obj.beta.*(obj.b + delta_V_tilde)).* ...
|
| 117 |
+
(obj.b + delta_V_n)) + V_n(g1,t+1) - ...
|
| 118 |
+
obj.C(obj.beta.*(obj.b + delta_V_tilde));
|
| 119 |
+
|
| 120 |
+
end
|
| 121 |
+
|
| 122 |
+
end
|
| 123 |
+
|
| 124 |
+
obj.utilities = V_n;
|
| 125 |
+
obj.t1_utility = V_n(obj.a_star+1,1); % period 1 utility
|
| 126 |
+
obj.utilities_tilde = V_tilde;
|
| 127 |
+
|
| 128 |
+
end
|
| 129 |
+
|
| 130 |
+
function V_T = compute_T_utility(obj, g, focus)
|
| 131 |
+
% compute utility in the last period
|
| 132 |
+
|
| 133 |
+
% set present focus parameter
|
| 134 |
+
if strcmp(focus, 'actual')
|
| 135 |
+
|
| 136 |
+
B = obj.beta;
|
| 137 |
+
|
| 138 |
+
elseif strcmp(focus, 'perceived')
|
| 139 |
+
|
| 140 |
+
B = obj.betatilde;
|
| 141 |
+
|
| 142 |
+
end
|
| 143 |
+
|
| 144 |
+
if g == 0 % no attendances left
|
| 145 |
+
|
| 146 |
+
V_T = (obj.F(B.*obj.b).*obj.b) - obj.C(B.*obj.b);
|
| 147 |
+
|
| 148 |
+
elseif g == 1 % one attendance left
|
| 149 |
+
|
| 150 |
+
V_T = (obj.F(B.*(obj.b + obj.p)).*obj.b) - ...
|
| 151 |
+
obj.C(B.*(obj.b + obj.p)) - ...
|
| 152 |
+
((1 - obj.F(B.*(obj.b + obj.p))).*obj.p);
|
| 153 |
+
|
| 154 |
+
else % more than one attendance left
|
| 155 |
+
|
| 156 |
+
V_T = (obj.F(B.*obj.b).*obj.b) - obj.C(B.*obj.b) - obj.p;
|
| 157 |
+
end
|
| 158 |
+
|
| 159 |
+
end
|
| 160 |
+
|
| 161 |
+
function obj = simulate_behavior(obj)
|
| 162 |
+
% simulate behavior through T periods for a number of rounds to
|
| 163 |
+
% generate estimates of average attendance and the likelihood
|
| 164 |
+
% of meeting the contract threshold
|
| 165 |
+
|
| 166 |
+
rng(obj.seed); % set seed
|
| 167 |
+
obj.att = zeros(1,obj.rounds); % default no attendances
|
| 168 |
+
t1_att = obj.att;
|
| 169 |
+
att_day = zeros(obj.T,obj.rounds); % default no attendances
|
| 170 |
+
costs_day = zeros(obj.T,obj.rounds); % default no costs
|
| 171 |
+
met_goal = zeros(1,obj.rounds); % default failed to meet goal
|
| 172 |
+
obj.prob_att_c_b = zeros(1,obj.rounds); % default never attend
|
| 173 |
+
|
| 174 |
+
for round = 1:obj.rounds
|
| 175 |
+
|
| 176 |
+
c = obj.cost_draws(); % generate cost draws
|
| 177 |
+
g = obj.a_star; % all attendances initially left
|
| 178 |
+
a = 0; % total number of attendances
|
| 179 |
+
c_b = 0; % events where cost > benefit
|
| 180 |
+
att_c_b = 0; % attendance in those events
|
| 181 |
+
|
| 182 |
+
% check if the DM wants to go to the gym in each period
|
| 183 |
+
for t = 1:obj.T
|
| 184 |
+
g1 = g + 1; % 1-indexed
|
| 185 |
+
|
| 186 |
+
if t == obj.T && (g == 0 || g >= 2) % last period, case i
|
| 187 |
+
|
| 188 |
+
if c(t) <= (obj.beta * obj.b)
|
| 189 |
+
|
| 190 |
+
% update attendances & costs incurred
|
| 191 |
+
g = max(g - 1, 0);
|
| 192 |
+
a = a + 1;
|
| 193 |
+
att_day(t,round) = 1;
|
| 194 |
+
costs_day(t,round) = c(t);
|
| 195 |
+
|
| 196 |
+
if c(t) > obj.b
|
| 197 |
+
% cost is greater than benefit
|
| 198 |
+
att_c_b = att_c_b + 1;
|
| 199 |
+
end
|
| 200 |
+
|
| 201 |
+
end
|
| 202 |
+
|
| 203 |
+
elseif t == obj.T && g == 1 % last period, case ii
|
| 204 |
+
|
| 205 |
+
if c(t) <= (obj.beta * (obj.b + obj.p))
|
| 206 |
+
|
| 207 |
+
% update attendances & costs incurred
|
| 208 |
+
g = max(g - 1, 0);
|
| 209 |
+
a = a + 1;
|
| 210 |
+
att_day(t,round) = 1;
|
| 211 |
+
costs_day(t,round) = c(t);
|
| 212 |
+
|
| 213 |
+
if c(t) > obj.b
|
| 214 |
+
% cost is greater than benefit
|
| 215 |
+
att_c_b = att_c_b + 1;
|
| 216 |
+
end
|
| 217 |
+
|
| 218 |
+
end
|
| 219 |
+
|
| 220 |
+
else % all other periods
|
| 221 |
+
|
| 222 |
+
if c(t) <= (obj.beta * (obj.b + ...
|
| 223 |
+
obj.utilities_tilde(max(g1-1,1),t+1) - ...
|
| 224 |
+
obj.utilities_tilde(g1,t+1)))
|
| 225 |
+
|
| 226 |
+
% update attendances & costs incurred
|
| 227 |
+
g = max(g - 1, 0);
|
| 228 |
+
a = a + 1;
|
| 229 |
+
att_day(t,round) = 1;
|
| 230 |
+
costs_day(t,round) = c(t);
|
| 231 |
+
|
| 232 |
+
if c(t) > obj.b
|
| 233 |
+
% cost is greater than benefit
|
| 234 |
+
att_c_b = att_c_b + 1;
|
| 235 |
+
end
|
| 236 |
+
|
| 237 |
+
end
|
| 238 |
+
|
| 239 |
+
end
|
| 240 |
+
|
| 241 |
+
if c(t) > obj.b
|
| 242 |
+
% cost is greater than benefit
|
| 243 |
+
|
| 244 |
+
c_b = c_b + 1;
|
| 245 |
+
|
| 246 |
+
end
|
| 247 |
+
|
| 248 |
+
if t == 1 && g < obj.a_star
|
| 249 |
+
% period one attendances
|
| 250 |
+
|
| 251 |
+
t1_att(round) = 1;
|
| 252 |
+
|
| 253 |
+
end
|
| 254 |
+
|
| 255 |
+
end
|
| 256 |
+
|
| 257 |
+
if g == 0
|
| 258 |
+
|
| 259 |
+
met_goal(round) = 1; % input outcome
|
| 260 |
+
|
| 261 |
+
end
|
| 262 |
+
|
| 263 |
+
obj.att(round) = a; % input attendances
|
| 264 |
+
obj.prob_att_c_b(round) = att_c_b ./ c_b;
|
| 265 |
+
|
| 266 |
+
end
|
| 267 |
+
|
| 268 |
+
% return means
|
| 269 |
+
obj.avg_att = mean(obj.att);
|
| 270 |
+
obj.avg_t1_att = mean(t1_att);
|
| 271 |
+
obj.prob_success = mean(met_goal);
|
| 272 |
+
obj.prob_att_c_b = mean(obj.prob_att_c_b);
|
| 273 |
+
obj.prob_att_day = sum(att_day,2) ./ obj.rounds;
|
| 274 |
+
obj.avg_costs = mean(sum(costs_day,1));
|
| 275 |
+
|
| 276 |
+
end
|
| 277 |
+
|
| 278 |
+
function obj = compute_incentive_behavior(obj, r)
|
| 279 |
+
% compute expected attendance and total surplus given
|
| 280 |
+
% piece-rate incentive r
|
| 281 |
+
|
| 282 |
+
obj.r = r;
|
| 283 |
+
|
| 284 |
+
% compute expected attendance on a given day
|
| 285 |
+
obj.prob_att_r = obj.F(obj.beta .* (obj.b + r));
|
| 286 |
+
prob_att_no_r = obj.F(obj.beta .* (obj.b)); % without incentive
|
| 287 |
+
|
| 288 |
+
% compute expected attendance
|
| 289 |
+
obj.att_r = obj.T .* obj.prob_att_r;
|
| 290 |
+
|
| 291 |
+
% compute expected increase in attendance
|
| 292 |
+
obj.change_att_r = obj.T .* (obj.prob_att_r - prob_att_no_r);
|
| 293 |
+
|
| 294 |
+
% compute expected benefits
|
| 295 |
+
obj.benefits_r = obj.att_r .* obj.b;
|
| 296 |
+
|
| 297 |
+
% compute expected costs
|
| 298 |
+
obj.costs_r = obj.T .* obj.C(obj.beta .* (obj.b + r));
|
| 299 |
+
|
| 300 |
+
% compute surplus net of incentive
|
| 301 |
+
obj.net_surplus_r = obj.benefits_r - obj.costs_r;
|
| 302 |
+
|
| 303 |
+
% compute total surplus
|
| 304 |
+
obj.surplus_r = obj.net_surplus_r + (obj.att_r .* r);
|
| 305 |
+
|
| 306 |
+
end
|
| 307 |
+
|
| 308 |
+
function probability = F(obj, x)
|
| 309 |
+
% cumulative distribution function of costs
|
| 310 |
+
|
| 311 |
+
z = x - obj.min_cost;
|
| 312 |
+
z = gymGame.minzero(z);
|
| 313 |
+
probability = 1 - exp(-obj.lambda.*z);
|
| 314 |
+
|
| 315 |
+
end
|
| 316 |
+
|
| 317 |
+
function density = f(obj, x)
|
| 318 |
+
% cost density function
|
| 319 |
+
% returns zero when given x < lower bound on costs
|
| 320 |
+
|
| 321 |
+
z = x - obj.min_cost;
|
| 322 |
+
density = obj.lambda.*exp(-obj.lambda.*z);
|
| 323 |
+
density = density.*heaviside(heaviside(z));
|
| 324 |
+
|
| 325 |
+
end
|
| 326 |
+
|
| 327 |
+
function expectation = C(obj, x)
|
| 328 |
+
% expected cost function
|
| 329 |
+
|
| 330 |
+
z = x - obj.min_cost;
|
| 331 |
+
z = gymGame.minzero(z);
|
| 332 |
+
expectation = (1 ./ obj.lambda).*(1 - exp(-obj.lambda.*z)) ...
|
| 333 |
+
- (z.*exp(-obj.lambda.*z)) + obj.min_cost.*obj.F(x);
|
| 334 |
+
|
| 335 |
+
end
|
| 336 |
+
|
| 337 |
+
function c = cost_draws(obj)
|
| 338 |
+
% vector of random cost draws for each period
|
| 339 |
+
|
| 340 |
+
mean = 1 ./ obj.lambda;
|
| 341 |
+
c = exprnd(mean, [1 obj.T]) + obj.min_cost;
|
| 342 |
+
|
| 343 |
+
end
|
| 344 |
+
|
| 345 |
+
end
|
| 346 |
+
|
| 347 |
+
methods(Static)
|
| 348 |
+
|
| 349 |
+
function y = minzero(x)
|
| 350 |
+
% returns x if x is positive, 0 otherwise
|
| 351 |
+
|
| 352 |
+
y = x .* heaviside(heaviside(x));
|
| 353 |
+
|
| 354 |
+
end
|
| 355 |
+
|
| 356 |
+
end
|
| 357 |
+
|
| 358 |
+
end
|
107/replication_package/Code/Stata/Appendix.do
ADDED
|
@@ -0,0 +1,696 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*** APPENDIX TABLES FOR Carrera, Royer, Stehr, Sydnor, and Taubinsky (2021) ***
|
| 2 |
+
*******************************************************************************
|
| 3 |
+
|
| 4 |
+
*** Initial set-up ***
|
| 5 |
+
clear
|
| 6 |
+
set more off
|
| 7 |
+
|
| 8 |
+
*** Set directories for data and output ***
|
| 9 |
+
cd "$main/Output"
|
| 10 |
+
/* Note: all tables will output to the working directory. Uses a program from
|
| 11 |
+
master_do_file_for_analysis.do */
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
*** Load and clean experimental data ******************************************
|
| 15 |
+
|
| 16 |
+
*** Load dataset ***
|
| 17 |
+
use "$main/Data/cleaned_commitment_study_data", clear
|
| 18 |
+
|
| 19 |
+
*** Variable Creation & Cleaning Steps ***
|
| 20 |
+
*** Create an ID variable for use when reshaping long
|
| 21 |
+
gen id = _n
|
| 22 |
+
|
| 23 |
+
*** Generate info treatment indicators
|
| 24 |
+
gen first_info = type_of_info=="1-onlygraph"
|
| 25 |
+
gen new_info = type_of_info=="2-graphplus"
|
| 26 |
+
gen control_info = (new_info == 0 & first_info == 0)
|
| 27 |
+
|
| 28 |
+
*** Generate wave indicators
|
| 29 |
+
gen wave1 = (wave == "fall")
|
| 30 |
+
gen wave2 = (wave == "winter")
|
| 31 |
+
gen wave3 = (wave == "spring")
|
| 32 |
+
|
| 33 |
+
*** Define anticommitment/commitment variables for each threshold
|
| 34 |
+
gen anticommit8 = q170 ==2 if q170<.
|
| 35 |
+
gen commit8 = q169 ==2 if q169<.
|
| 36 |
+
gen anticommit12 = chose_anticommit11
|
| 37 |
+
gen commit12 = chose_commit12
|
| 38 |
+
gen anticommit16 = q296==2 if q296<.
|
| 39 |
+
gen commit16 = q295 ==2 if q295<.
|
| 40 |
+
|
| 41 |
+
*** Rescale percent variable
|
| 42 |
+
foreach var of varlist percent*{
|
| 43 |
+
replace `var' = `var'/100
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
*** Restrict sample to those exogenously assigned incentives
|
| 47 |
+
keep if flag_low_wtp == 0 & flag_exclude_exog == 0
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
*** Descriptive Statistics (table_descriptive.tex) *****************************
|
| 51 |
+
|
| 52 |
+
*** Generate variables and labels for the table ***
|
| 53 |
+
gen ft_student = student==1 if student<.
|
| 54 |
+
gen ft_working = working==1 if working<.
|
| 55 |
+
gen fpt_working = working<3 if working<.
|
| 56 |
+
gen advanced_degree = educ==5
|
| 57 |
+
replace married = married==1 if married<.
|
| 58 |
+
recode age (1 = 24) (2=35.5 ) (3=45.5) (4=57.5) (5=70) , gen(imp_age)
|
| 59 |
+
recode income_cat (1 = 18000) (2=37500 ) (3=75500) (4=150000) (5=.) , gen(imp_inc)
|
| 60 |
+
|
| 61 |
+
label var female "Female"
|
| 62 |
+
label var imp_inc "Household income$^a$"
|
| 63 |
+
label var married "Married"
|
| 64 |
+
label var ft_student "Student, full-time"
|
| 65 |
+
label var fpt_working "Working, full- or part-time"
|
| 66 |
+
label var advanced "Advanced degree$^b$"
|
| 67 |
+
label var imp_age "Age$^a$"
|
| 68 |
+
label var past4 "Visits in the past 4 weeks, recorded"
|
| 69 |
+
label var visits_100 "Visits, recorded"
|
| 70 |
+
label var past100days_went "Visits, self-recollection"
|
| 71 |
+
label var past100days_should "Days that \textit{I should have gone, but didn't}"
|
| 72 |
+
label var days_0 "Best guess of days I will attend in next 4 weeks"
|
| 73 |
+
label var goal "Goal for visits"
|
| 74 |
+
label var flag_confusion "Indicator for inattention during survey"
|
| 75 |
+
|
| 76 |
+
gen any_info = 0
|
| 77 |
+
replace any_info=1 if first_info==1 | new_info==1
|
| 78 |
+
gen rowvar = .
|
| 79 |
+
|
| 80 |
+
*** Produce statistics for the table ***
|
| 81 |
+
local counter=0
|
| 82 |
+
eststo clear
|
| 83 |
+
foreach var of varlist female imp_age ft_student fpt_working married advanced_degree imp_inc past4{
|
| 84 |
+
local counter=`counter'+1
|
| 85 |
+
local varlabel: var label `var'
|
| 86 |
+
label var rowvar "`varlabel'"
|
| 87 |
+
replace rowvar=1
|
| 88 |
+
|
| 89 |
+
eststo model0, title(""): xi: reg `var' rowvar, noconst
|
| 90 |
+
replace rowvar = any_info
|
| 91 |
+
*estadd matrix p = (.), replace
|
| 92 |
+
|
| 93 |
+
eststo model1, title(""): xi: reg `var' rowvar if wave1==1, robust
|
| 94 |
+
|
| 95 |
+
reg `var' rowvar if wave1==0, robust
|
| 96 |
+
eststo model2, title("")
|
| 97 |
+
|
| 98 |
+
*** Export table
|
| 99 |
+
if `counter'==1 {
|
| 100 |
+
estout model0 model1 model2 using "table_descriptive.tex", style(tex) label cells((b( fmt(%9.3f) label("\shortstack{Wave 1 \\ (2)}") pattern(0 1 0)) b( fmt(%9.3f) label("\shortstack{Waves 2-3 \\ (4)}") pattern(0 0 1)) b( fmt(%9.3f) label("\shortstack{Waves 1-3 \\ (1)}") pattern(1 0 0)) p(fmt(%9.2f) pattern(0 1 0) label("\shortstack{P-value \\ (3)}")) p(fmt(%9.2f) pattern(0 0 1) label("\shortstack{P-value \\ (5)}")))) drop(_cons ) margin replace ///
|
| 101 |
+
title(Descriptive Statistics) mgroups("\shortstack{ \\ Overall mean}" "\shortstack{ \\ Difference in means:\\ Treatment $-$ control}" , pattern(1 1 0) ///
|
| 102 |
+
span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 103 |
+
mlabels("" "" "") msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) ///
|
| 104 |
+
prehead( "\begin{tabular}{l*{6}{c}}" "\hline" "\addlinespace") ///
|
| 105 |
+
posthead("\hline" "\addlinespace") substitute(_ \_)
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
else if `counter'==7 {
|
| 109 |
+
estout model0 model1 model2 using "table_descriptive.tex", style(tex) mlabels("" "" "") label cells((b( fmt(%9.0fc)) p(fmt(%9.2f) pattern(0 1 1)))) drop(_cons) margin append eqlabels(none) ///
|
| 110 |
+
msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) collabels(,none) prefoot() substitute(_ \_)
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
else if `counter'==8 {
|
| 114 |
+
estout model0 model1 model2 using "table_descriptive.tex", style(tex) mlabels("" "" "") label cells((b( fmt(%9.2f)) p(pattern(0 1 1)))) drop(_cons) margin append eqlabels(none) ///
|
| 115 |
+
msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) collabels(,none) prefoot() substitute(_ \_) ///
|
| 116 |
+
postfoot("\hline" "\addlinespace" "N & 1,248 & \multicolumn{2}{c}{\shortstack{166 control \\ 174 treated}} & \multicolumn{2}{c}{\shortstack{456 control \\ 452 treated}} \\ " "\hline\hline" "\end{tabular}")
|
| 117 |
+
}
|
| 118 |
+
else if `counter'>=3 & `counter'<=6{
|
| 119 |
+
estout model0 model1 model2 using "table_descriptive.tex", style(tex) mlabels("" "" "") label cells((b( fmt(%9.3f)) p(fmt(%9.2f) pattern(0 1 1)))) drop(_cons) margin append eqlabels(none) ///
|
| 120 |
+
msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) collabels(,none) substitute(_ \_)
|
| 121 |
+
}
|
| 122 |
+
else {
|
| 123 |
+
estout model0 model1 model2 using "table_descriptive.tex", style(tex) mlabels("" "" "") label cells((b( fmt(%9.2f)) p(pattern(0 1 1)))) drop(_cons) margin append eqlabels(none) ///
|
| 124 |
+
msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) collabels(,none) substitute(_ \_)
|
| 125 |
+
}
|
| 126 |
+
}
|
| 127 |
+
.
|
| 128 |
+
/* Note: the number of observations was manually entered; N = 1,248;
|
| 129 |
+
Wave 1: 166 Control and 174 Treated; and Waves 2-3: 456 Control and 452 Treated */
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
*** (commit_delta{,_info,_control}.tex) ***************************************
|
| 133 |
+
|
| 134 |
+
*** Generate additional variables and reshape data ***
|
| 135 |
+
/*** These variables are the amounts, per attendance, by which a person
|
| 136 |
+
"overpays" for the increase in incentive. Second-order approximation */
|
| 137 |
+
gen delta1=(wtp1) - (days_1+days_0)/2
|
| 138 |
+
gen delta2 = (wtp2-wtp1) - (days_2+days_1)/2
|
| 139 |
+
gen delta3=(wtp3-wtp2) - (days_3+days_2)/2
|
| 140 |
+
gen delta5=(wtp5-wtp3)/(5-3) - (days_5+days_3)/2
|
| 141 |
+
gen delta7=(wtp7-wtp5)/(7-5) - (days_7+days_5)/2
|
| 142 |
+
gen delta12=(wtp12-wtp7)/(12-7) - (days_12+days_7)/2
|
| 143 |
+
gen avg_delta_ex1 = (delta2 + delta3 + delta5 + delta7 + delta12)/5
|
| 144 |
+
|
| 145 |
+
*** Change in days of expected attendance by incentive
|
| 146 |
+
gen diffa1=(days_1-days_0)
|
| 147 |
+
gen diffa2=(days_2-days_1)
|
| 148 |
+
gen diffa3=(days_3-days_2)
|
| 149 |
+
gen diffa5=(days_5-days_3)/2
|
| 150 |
+
gen diffa7=(days_7-days_5)/2
|
| 151 |
+
gen diffa12=(days_12-days_7)/5
|
| 152 |
+
|
| 153 |
+
*** Generate z-score and mean ***
|
| 154 |
+
quietly sum avg_delta_ex1
|
| 155 |
+
gen z_avg_delta_ex1 = (avg_delta_ex1 - r(mean))/r(sd)
|
| 156 |
+
loc mean : di %4.2f r(mean)
|
| 157 |
+
loc sd : di %4.2f r(sd)
|
| 158 |
+
latex_write wtpbcmean `mean' numbers
|
| 159 |
+
latex_write wtpbcsd `sd' numbers
|
| 160 |
+
|
| 161 |
+
*** Regress behavior change premium on commitment contract take-up ***
|
| 162 |
+
loc k = 1
|
| 163 |
+
foreach restriction in "" "if new_info == 1" "if control_info == 1"{
|
| 164 |
+
|
| 165 |
+
forval j = 8(4)16{
|
| 166 |
+
|
| 167 |
+
* Run regression under treatment restriction
|
| 168 |
+
regress commit`j' z_avg_delta_ex1 wave2 wave3 `restriction', ///
|
| 169 |
+
vce(cluster id)
|
| 170 |
+
est store est_cd_`k'
|
| 171 |
+
loc ++k
|
| 172 |
+
|
| 173 |
+
* Store mean & fixed effects information
|
| 174 |
+
ci means commit`j' if e(sample)
|
| 175 |
+
local m : di %4.2f r(mean)
|
| 176 |
+
local se : di %4.2f r(se)
|
| 177 |
+
estadd local dvmean `m'
|
| 178 |
+
estadd local dvse "(`se')"
|
| 179 |
+
estadd local wavefe "Yes"
|
| 180 |
+
estadd local ccfe "No"
|
| 181 |
+
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
preserve
|
| 187 |
+
|
| 188 |
+
* Reshape data and run regressions
|
| 189 |
+
reshape long commit commitnotanti, i(id) j(t)
|
| 190 |
+
foreach restriction in "" "if new_info == 1" "if control_info == 1"{
|
| 191 |
+
|
| 192 |
+
* Run regression under treatment restriction
|
| 193 |
+
regress commit z_avg_delta_ex1 i.t wave2 wave3 `restriction', ///
|
| 194 |
+
vce(cluster id)
|
| 195 |
+
est store est_cd_`k'
|
| 196 |
+
loc ++k
|
| 197 |
+
|
| 198 |
+
* Store mean & fixed effects information
|
| 199 |
+
ci means commit if e(sample)
|
| 200 |
+
local m : di %4.2f r(mean)
|
| 201 |
+
local se : di %4.2f r(se)
|
| 202 |
+
estadd local dvmean `m'
|
| 203 |
+
estadd local dvse "(`se')"
|
| 204 |
+
estadd local wavefe "Yes"
|
| 205 |
+
estadd local ccfe "Yes"
|
| 206 |
+
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
restore
|
| 210 |
+
|
| 211 |
+
*** Export tables
|
| 212 |
+
estout est_cd_1 est_cd_2 est_cd_3 est_cd_10 using "commit_delta.tex", style(tex) margin replace eqlabels(none) ///
|
| 213 |
+
order(z_avg_delta_ex1) keep(z_avg_delta_ex1) wrap varwidth(25) ///
|
| 214 |
+
mgroups("\shortstack{Take-up of \`\`more'' visits contract}" , pattern(1 0 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 215 |
+
mlabels("\shortstack{8+ visits \\ (1)}" "\shortstack{12+ visits \\ (2)}" "\shortstack{16+ visits \\ (3)}" "\shortstack{Pooled \\ (4)}",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 216 |
+
varlabels(z_avg_delta_ex1 "Behavior change premium (z-score)") ///
|
| 217 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 218 |
+
stats(dvmean dvse wavefe ccfe N N_clust, l("Dep. var. mean:" " " "\hline Wave FEs" "Contract FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 219 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 220 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 221 |
+
|
| 222 |
+
estout est_cd_4 est_cd_5 est_cd_6 est_cd_11 using "commit_delta_info.tex", style(tex) margin replace eqlabels(none) ///
|
| 223 |
+
order(z_avg_delta_ex1) keep(z_avg_delta_ex1) wrap varwidth(25) ///
|
| 224 |
+
mgroups("\shortstack{Take-up of \`\`more'' visits contract}" , pattern(1 0 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 225 |
+
mlabels("\shortstack{8+ visits \\ (1)}" "\shortstack{12+ visits \\ (2)}" "\shortstack{16+ visits \\ (3)}" "\shortstack{Pooled \\ (4)}",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 226 |
+
varlabels(z_avg_delta_ex1 "Behavior change premium (z-score)") ///
|
| 227 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 228 |
+
stats(dvmean dvse wavefe ccfe N N_clust, l("Dep. var. mean:" " " "\hline Wave FEs" "Contract FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 229 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 230 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 231 |
+
|
| 232 |
+
estout est_cd_7 est_cd_8 est_cd_9 est_cd_12 using "commit_delta_control.tex", style(tex) margin replace eqlabels(none) ///
|
| 233 |
+
order(z_avg_delta_ex1) keep(z_avg_delta_ex1) wrap varwidth(25) ///
|
| 234 |
+
mgroups("\shortstack{Take-up of \`\`more'' visits contract}" , pattern(1 0 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 235 |
+
mlabels("\shortstack{8+ visits \\ (1)}" "\shortstack{12+ visits \\ (2)}" "\shortstack{16+ visits \\ (3)}" "\shortstack{Pooled \\ (4)}",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 236 |
+
varlabels(z_avg_delta_ex1 "Behavior change premium (z-score)") ///
|
| 237 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 238 |
+
stats(dvmean dvse wavefe ccfe N N_clust, l("Dep. var. mean:" " " "\hline Wave FEs" "Contract FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 239 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 240 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 241 |
+
|
| 242 |
+
|
| 243 |
+
*** (regs_commitnotanti_pooled.tex) *******************************************
|
| 244 |
+
|
| 245 |
+
* Generate variable for expected attendace w/incentive given
|
| 246 |
+
gen days_exp = .
|
| 247 |
+
foreach i in 0 1 2 3 5 7{
|
| 248 |
+
replace days_exp = days_`i' if incentive == `i'
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
* Generate variables for gaps between goal, past, expected, & actual attendance
|
| 252 |
+
gen gap_goal_exp = goal - days_0 // under no incentive
|
| 253 |
+
gen gap_goal_past = goal - past4
|
| 254 |
+
gen gap_actual_exp = visits - days_exp
|
| 255 |
+
|
| 256 |
+
* Declare restriction for following analysis
|
| 257 |
+
loc restrict "!missing(incentive)"
|
| 258 |
+
|
| 259 |
+
* Generate z-scores for variables with constant restriction
|
| 260 |
+
drop z_avg_delta_ex1
|
| 261 |
+
foreach dvar in gap_goal_exp gap_actual_exp avg_delta_ex1{
|
| 262 |
+
sum `dvar' if `restrict'
|
| 263 |
+
gen z_`dvar' = (`dvar' - r(mean)) / r(sd) if `restrict'
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
*** Generate indicators for take-up of the more & not fewer contract ***
|
| 267 |
+
forval i = 8(4)16{
|
| 268 |
+
gen commitnotanti`i' = (commit`i' == 1 & anticommit`i' == 0) ///
|
| 269 |
+
if !missing(commit`i')
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
*** Run regressions of take-up of a more but not fewer visits contract ***
|
| 273 |
+
preserve
|
| 274 |
+
|
| 275 |
+
* Reshape to pool contracts
|
| 276 |
+
reshape long commitnotanti, i(id) j(t)
|
| 277 |
+
|
| 278 |
+
* Run regressions with constant restriction
|
| 279 |
+
eststo clear
|
| 280 |
+
loc k = 1
|
| 281 |
+
foreach covar in "first_info new_info" "z_avg_delta_ex1 first_info new_info" "z_gap_goal_exp first_info new_info" "z_gap_actual_exp first_info new_info"{
|
| 282 |
+
reg commitnotanti i.t wave2 wave3 `covar' if `restrict', vce(cluster id)
|
| 283 |
+
eststo spec_`k'
|
| 284 |
+
|
| 285 |
+
* Store dependent variable mean
|
| 286 |
+
ci means commitnotanti if `restrict'
|
| 287 |
+
local m : di %4.2f r(mean)
|
| 288 |
+
local mpct : di %4.0f r(mean)*100
|
| 289 |
+
local se : di %4.2f r(se)
|
| 290 |
+
estadd local dvmean `m'
|
| 291 |
+
estadd local dvse "(`se')"
|
| 292 |
+
ci means commitnotanti if `restrict' & control_info == 1
|
| 293 |
+
local mcontrol : di %4.2f r(mean)
|
| 294 |
+
local secontrol : di %4.2f r(se)
|
| 295 |
+
estadd local dvmeancontrol `mcontrol'
|
| 296 |
+
estadd local dvsecontrol "(`secontrol')"
|
| 297 |
+
estadd local wavefe "Yes"
|
| 298 |
+
estadd local ccfe "Yes"
|
| 299 |
+
|
| 300 |
+
loc ++k
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
* Export regression output
|
| 304 |
+
estout spec* using "regs_commitnotanti_pooled.tex", style(tex) margin replace eqlabels(none) ///
|
| 305 |
+
drop(8.t 12.t 16.t wave2 wave3 _cons) wrap varwidth(25) ///
|
| 306 |
+
order(first_info new_info z_avg_delta_ex1 z_gap_goal_exp z_gap_actual_exp ) ///
|
| 307 |
+
mgroups("\shortstack{Take-up of \`\`more'' but not \`\`fewer'' \\ visits contracts}", pattern(1 0 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 308 |
+
mlabels("(1)" "(2)" "(3)" "(4)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 309 |
+
varlabels(z_avg_delta_ex1 "Behavior change premium (z-score)" z_gap_goal_exp "Goal $-$ exp. attend. (z-score)" z_gap_actual_exp "Actual $-$ exp. attend. (z-score)" first_info "Basic info. treatment" new_info "Enhanced info. treatment" _cons "Constant") ///
|
| 310 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 311 |
+
stats(dvmean dvse dvmeancontrol dvsecontrol wavefe ccfe N N_clust, l("Dep. var. mean:" " " "Dep. var. mean," "info. control group:" "\hline Wave FEs" "Contract FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 312 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 313 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 314 |
+
|
| 315 |
+
restore
|
| 316 |
+
|
| 317 |
+
|
| 318 |
+
*** (CCtable_{control,treatment}.tex) *****************************************
|
| 319 |
+
*** This table was created by hand, so no tex output is produced for it *******
|
| 320 |
+
|
| 321 |
+
foreach restriction in "new_info==1" "control_info==1"{
|
| 322 |
+
preserve
|
| 323 |
+
*** Keep either the treatment or control group ***
|
| 324 |
+
keep if `restriction'
|
| 325 |
+
|
| 326 |
+
if "`restriction'" == "new_info==1" loc name "enhancedtreat"
|
| 327 |
+
else loc name "control"
|
| 328 |
+
|
| 329 |
+
*** Summarize take-up of commitment contracts ***
|
| 330 |
+
forval X = 8(4)16 {
|
| 331 |
+
* Chose "more" contract
|
| 332 |
+
summarize commit`X'
|
| 333 |
+
* Store number of observations
|
| 334 |
+
if `X' == 12 latex_write `name'obs `r(N)' numbers
|
| 335 |
+
* Chose "fewer" contract
|
| 336 |
+
summarize anticommit`X'
|
| 337 |
+
* Chose "more" given chose "fewer"
|
| 338 |
+
summarize commit`X' if anticommit`X'==1
|
| 339 |
+
* Chose "fewer" given chose "more"
|
| 340 |
+
summarize anticommit`X' if commit`X'==1
|
| 341 |
+
* Difference between "more" and "more" given chose "fewer" means
|
| 342 |
+
gen commit`X'_cdtn = commit`X' if anticommit`X'==1
|
| 343 |
+
ttest commit`X'_cdtn = commit`X', unpaired
|
| 344 |
+
* Difference between "fewer" and "fewer" given chose "more" means
|
| 345 |
+
gen anticommit`X'_cdtn = anticommit`X' if commit`X'==1
|
| 346 |
+
ttest anticommit`X'_cdtn = anticommit`X', unpaired
|
| 347 |
+
}
|
| 348 |
+
restore
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
*** (CCtakeupVbeliefs.tex) ****************************************************
|
| 353 |
+
|
| 354 |
+
*** Regress probability of meeting threshold vs. take-up, all participants ***
|
| 355 |
+
*** Probability of meeting "more" threshold
|
| 356 |
+
reg percent_meet_commit12 commit12, robust
|
| 357 |
+
est store est21
|
| 358 |
+
|
| 359 |
+
reg percent_meet_commit12 anticommit12, robust
|
| 360 |
+
est store est22
|
| 361 |
+
|
| 362 |
+
reg percent_meet_commit12 commit12 anticommit12, robust
|
| 363 |
+
est store est23
|
| 364 |
+
|
| 365 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 366 |
+
test _b[commit]=_b[anticommit]
|
| 367 |
+
nlcom diff: _b[commit]-_b[anticommit], post
|
| 368 |
+
|
| 369 |
+
* Store differences
|
| 370 |
+
local b : di %4.2f _b[diff]
|
| 371 |
+
local se : di %4.2f _se[diff]
|
| 372 |
+
estadd local diffb "`b'***" : est23 // know significance level via inspection
|
| 373 |
+
estadd local diffse "(`se')" : est23
|
| 374 |
+
|
| 375 |
+
*** Probability of meeting "fewer" threshold
|
| 376 |
+
reg percent_meet_anticommit commit12, robust
|
| 377 |
+
est store est24
|
| 378 |
+
|
| 379 |
+
reg percent_meet_anticommit anticommit12, robust
|
| 380 |
+
est store est25
|
| 381 |
+
|
| 382 |
+
reg percent_meet_anticommit commit12 anticommit12, robust
|
| 383 |
+
est store est26
|
| 384 |
+
|
| 385 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 386 |
+
test _b[commit]=_b[anticommit]
|
| 387 |
+
nlcom diff: _b[commit]-_b[anticommit], post
|
| 388 |
+
|
| 389 |
+
* Store differences
|
| 390 |
+
local b : di %4.2f _b[diff]
|
| 391 |
+
local se : di %4.2f _se[diff]
|
| 392 |
+
estadd local diffb "`b'***" : est26 // know significance level via inspection
|
| 393 |
+
estadd local diffse "(`se')" : est26
|
| 394 |
+
|
| 395 |
+
*** Export table
|
| 396 |
+
estout est21 est22 est23 est24 est25 est26 using CCtakeupVbeliefs.tex, ///
|
| 397 |
+
style(tex) margin replace eqlabels(none) ///
|
| 398 |
+
cells(b(star fmt(%9.2f)) se(par fmt(%9.2f)) ) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 399 |
+
keep(commit12 anticommit12) order(commit12 anticommit12) ///
|
| 400 |
+
stats(N diffb diffse, l("N" "\hline \`\`More'' $-$ \`\`Fewer''" " ") fmt(%8.0fc %8.0fc %8.0fc)) ///
|
| 401 |
+
varlabels(commit12 "Commit to \`\`more''" anticommit12 "Commit to \`\`fewer''") ///
|
| 402 |
+
collabels(,none) mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 403 |
+
mgroups("\shortstack{Subj. prob. succeed in \\ \`\`more'' contract}" "\shortstack{Subj. prob. succeed in \\ \`\`fewer'' contract}", pattern(1 0 0 1 0 0) ///
|
| 404 |
+
span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 405 |
+
prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 406 |
+
posthead("\hline") prefoot() postfoot("\hline\hline" "\end{tabular}")
|
| 407 |
+
|
| 408 |
+
|
| 409 |
+
*** (CCcorrelates.tex) ********************************************************
|
| 410 |
+
|
| 411 |
+
preserve
|
| 412 |
+
*** Reshape data ***
|
| 413 |
+
reshape long commit anticommit, i(id) j(threshold)
|
| 414 |
+
|
| 415 |
+
*** Further correlates of take-up ***
|
| 416 |
+
* Regress expected attendance on contract take-up
|
| 417 |
+
reg days_0 commit anticommit, robust
|
| 418 |
+
est store est31
|
| 419 |
+
|
| 420 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 421 |
+
nlcom diff: _b[commit]-_b[anticommit], post
|
| 422 |
+
|
| 423 |
+
* Store differences
|
| 424 |
+
local b : di %4.2f _b[diff]
|
| 425 |
+
local se : di %4.2f _se[diff]
|
| 426 |
+
estadd local diffb "`b'***" : est31 // know significance level via inspection
|
| 427 |
+
estadd local diffse "(`se')" : est31
|
| 428 |
+
|
| 429 |
+
|
| 430 |
+
* Regress past attendance on contract take-up
|
| 431 |
+
reg past4 commit anticommit, robust
|
| 432 |
+
est store est32
|
| 433 |
+
|
| 434 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 435 |
+
nlcom diff: _b[commit]-_b[anticommit], post
|
| 436 |
+
|
| 437 |
+
* Store differences
|
| 438 |
+
local b : di %4.2f _b[diff]
|
| 439 |
+
local se : di %4.2f _se[diff]
|
| 440 |
+
estadd local diffb "`b'***" : est32 // know significance level via inspection
|
| 441 |
+
estadd local diffse "(`se')" : est32
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
* Regress goal attendance on contract take-up
|
| 445 |
+
reg goal commit anticommit, robust
|
| 446 |
+
est store est33
|
| 447 |
+
|
| 448 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 449 |
+
nlcom diff: _b[commit]-_b[anticommit], post
|
| 450 |
+
|
| 451 |
+
* Store differences
|
| 452 |
+
local b : di %4.2f _b[diff]
|
| 453 |
+
local se : di %4.2f _se[diff]
|
| 454 |
+
estadd local diffb "`b'***" : est33 // know significance level via inspection
|
| 455 |
+
estadd local diffse "(`se')" : est33
|
| 456 |
+
|
| 457 |
+
|
| 458 |
+
*** Export table
|
| 459 |
+
estout est31 est32 est33 using CCcorrelates.tex, style(tex) margin replace eqlabels(none) ///
|
| 460 |
+
cells(b(star fmt(%9.2f)) se(par fmt(%9.2f)) ) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 461 |
+
keep(commit anticommit) order(commit anticommit) ///
|
| 462 |
+
mgroups("Expected attendance" "Past attendance" "Goal attendance", pattern(1 1 1) ///
|
| 463 |
+
span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 464 |
+
stats(N diffb diffse, l("N" "\hline \`\`More'' $-$ \`\`Fewer''" " ") fmt(%8.0fc %8.0fc %8.0fc)) ///
|
| 465 |
+
varlabels(commit "Chose \`\`more contract''" anticommit "Chose \`\`fewer'' contract") ///
|
| 466 |
+
collabels(,none) mlabels("(1)" "(2)" "(3)") ///
|
| 467 |
+
prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 468 |
+
posthead("\hline") prefoot() postfoot("\hline\hline" "\end{tabular}")
|
| 469 |
+
|
| 470 |
+
restore
|
| 471 |
+
|
| 472 |
+
|
| 473 |
+
*** (Exp_{Rates,Corr}.tex) ****************************************************
|
| 474 |
+
*** These tables were created by hand, so no tex output is produced for them **
|
| 475 |
+
|
| 476 |
+
* Note: Attendance in the following tables is in the absence of incentives
|
| 477 |
+
|
| 478 |
+
cap program drop rate_table corr_table
|
| 479 |
+
*** Create program for table of rates of contract take-up ***
|
| 480 |
+
program rate_table
|
| 481 |
+
syntax, attendance(string) // for expected vs. actual attendance
|
| 482 |
+
|
| 483 |
+
if "`attendance'" == "expected" local attendance "days_0"
|
| 484 |
+
else if "`attendance'" == "actual" local attendance "incentive == 0 & visits"
|
| 485 |
+
else confirm "`attendance'" == "actual" | "`attendance'" == "expected"
|
| 486 |
+
|
| 487 |
+
* Summarize take-up of commitment contracts
|
| 488 |
+
forval i = 8(4)16 {
|
| 489 |
+
* (1) Chose "more" contract
|
| 490 |
+
di("(1) Chose more: `i' visits")
|
| 491 |
+
summarize commit`i'
|
| 492 |
+
* (2) Chose "more" given attendance no more than target - 2
|
| 493 |
+
di("(2) Chose more | att. <= `i' - 2, `i' visits")
|
| 494 |
+
summarize commit`i' if `attendance' <= `i' - 2
|
| 495 |
+
* (3) Chose "more" given attendance no more than target - 4
|
| 496 |
+
di("(3) Chose more | att. <= `i' - 4, `i' visits")
|
| 497 |
+
summarize commit`i' if `attendance' <= `i' - 4
|
| 498 |
+
* (4) Chose "fewer" contract
|
| 499 |
+
di("(4) Chose fewer, `i' visits")
|
| 500 |
+
summarize anticommit`i'
|
| 501 |
+
* (5) Chose "fewer" given attendance at least target + 1
|
| 502 |
+
di("(5) Chose fewer | att. >= `i' + 1, `i' visits")
|
| 503 |
+
summarize anticommit`i' if `attendance' >= `i' + 1
|
| 504 |
+
* (6) Chose "fewer" given attendance at least target + 3
|
| 505 |
+
di("(6) Chose fewer | att. >= `i' + 3, `i' visits")
|
| 506 |
+
summarize anticommit`i' if `attendance' >= `i' + 3
|
| 507 |
+
}
|
| 508 |
+
end
|
| 509 |
+
|
| 510 |
+
* Obtain take-up rates for table
|
| 511 |
+
rate_table, attendance(expected)
|
| 512 |
+
|
| 513 |
+
*** Create program for table of contract take-up correlations ***
|
| 514 |
+
program corr_table
|
| 515 |
+
syntax, attendance(string) // for expected vs. actual attendance
|
| 516 |
+
|
| 517 |
+
if "`attendance'" == "expected" local attendance "days_0"
|
| 518 |
+
else if "`attendance'" == "actual" local attendance "incentive == 0 & visits"
|
| 519 |
+
|
| 520 |
+
* Summarize correlation between take-up more- & fewer-visit contracts
|
| 521 |
+
forval i = 8(4)16 {
|
| 522 |
+
* (1) Correlation
|
| 523 |
+
di("(1) `i' visits")
|
| 524 |
+
pwcorr commit`i' anticommit`i', sig
|
| 525 |
+
* (2) Correlation given attendance no more than target - 2
|
| 526 |
+
di("(2) att. <= `i' - 2, `i' visits")
|
| 527 |
+
pwcorr commit`i' anticommit`i' if `attendance' <= `i' - 2, sig
|
| 528 |
+
* (3) Correlation given attendance no more than target - 4
|
| 529 |
+
di("(3) att. <= `i' - 4, `i' visits")
|
| 530 |
+
pwcorr commit`i' anticommit`i' if `attendance' <= `i' - 4, sig
|
| 531 |
+
* (4) Correlation given attendance at least target + 1
|
| 532 |
+
di("(4) att. >= `i' + 1, `i' visits")
|
| 533 |
+
pwcorr commit`i' anticommit`i' if `attendance' >= `i' + 1, sig
|
| 534 |
+
* (5) Correlation given attendance at least target + 3
|
| 535 |
+
di("(5) att. >= `i' + 3,`i' visits")
|
| 536 |
+
pwcorr commit`i' anticommit`i' if `attendance' >= `i' + 3, sig
|
| 537 |
+
* (6) Correlation given attendance no more than 6
|
| 538 |
+
di("(6) att. <= 6, `i' visits")
|
| 539 |
+
pwcorr commit`i' anticommit`i' if `attendance' <= 6, sig
|
| 540 |
+
* (7) Correlation given attendance at least 17
|
| 541 |
+
di("(7) att. >= 17, `i' visits")
|
| 542 |
+
pwcorr commit`i' anticommit`i' if `attendance' >= 17, sig
|
| 543 |
+
}
|
| 544 |
+
end
|
| 545 |
+
|
| 546 |
+
* Obtain correlations for table
|
| 547 |
+
corr_table, attendance(expected)
|
| 548 |
+
|
| 549 |
+
|
| 550 |
+
*** (bcp_on_behavior_change.tex) **********************************************
|
| 551 |
+
|
| 552 |
+
preserve
|
| 553 |
+
*** Reshape to long format
|
| 554 |
+
reshape long delta diffa, i(id) j(index)
|
| 555 |
+
|
| 556 |
+
*** Run regression of behavior change premium on behavior change, excl. $1
|
| 557 |
+
* Without wave fixed effects
|
| 558 |
+
reg delta diffa if index > 1, cluster(id)
|
| 559 |
+
est store bcpbc1
|
| 560 |
+
|
| 561 |
+
* Store mean & fixed effects information
|
| 562 |
+
estadd local wavefe "No"
|
| 563 |
+
ci means delta if e(sample)
|
| 564 |
+
local m : di %4.2f r(mean)
|
| 565 |
+
loc se : di %4.2f r(se)
|
| 566 |
+
estadd local dvmean `m'
|
| 567 |
+
estadd local dvse "(`se')"
|
| 568 |
+
|
| 569 |
+
* With wave fixed effects
|
| 570 |
+
reg delta diffa wave? if index > 1, cluster(id) nocons
|
| 571 |
+
est store bcpbc2
|
| 572 |
+
|
| 573 |
+
* Store mean & fixed effects information
|
| 574 |
+
estadd local wavefe "Yes"
|
| 575 |
+
ci means delta if e(sample)
|
| 576 |
+
local m : di %4.2f r(mean)
|
| 577 |
+
loc se : di %4.2f r(se)
|
| 578 |
+
estadd local dvmean `m'
|
| 579 |
+
estadd local dvse "(`se')"
|
| 580 |
+
|
| 581 |
+
*** Export table
|
| 582 |
+
estout bcpbc* using "bcp_on_behavior_change.tex", ///
|
| 583 |
+
style(tex) margin replace eqlabels(none) drop(wave*) ///
|
| 584 |
+
mgroups("\shortstack{Behavior change \\ premium}", pattern(1) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 585 |
+
mlabels("(1)" "(2)", span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 586 |
+
varlabels(diffa "Expected behavior change" _cons "Constant") ///
|
| 587 |
+
cells(b(star fmt(%9.2f)) se(par fmt(%9.2f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 588 |
+
stats(dvmean dvse wavefe N N_clust, l("Dep. var. mean:" " " "\hline Wave FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc)) ///
|
| 589 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 590 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 591 |
+
|
| 592 |
+
restore
|
| 593 |
+
|
| 594 |
+
|
| 595 |
+
*** (bcp_on_risk_aversion.tex) *************************************************
|
| 596 |
+
|
| 597 |
+
/* Note: this table is not included in the paper, but the results are
|
| 598 |
+
referenced in footnote 12. */
|
| 599 |
+
|
| 600 |
+
*** Generate risk aversion variables
|
| 601 |
+
* Generate indicator for not choosing options with more risk but no addtl. return
|
| 602 |
+
gen risk_averse = risk_aversion <= 5
|
| 603 |
+
|
| 604 |
+
* Generate indicator for above median risk aversion
|
| 605 |
+
sum risk_aversion, d
|
| 606 |
+
gen abovemed_risk_aversion = risk_aversion <= r(p50)
|
| 607 |
+
|
| 608 |
+
*** Run regressions on a range of risk aversion variables
|
| 609 |
+
eststo clear
|
| 610 |
+
loc k = 1
|
| 611 |
+
foreach covar in "risk_aversion" "abovemed_risk_aversion" "risk_averse" {
|
| 612 |
+
|
| 613 |
+
reg avg_delta_ex1 `covar' wave2 wave3, r
|
| 614 |
+
eststo spec_`k'
|
| 615 |
+
loc ++k
|
| 616 |
+
|
| 617 |
+
* Store mean & fixed effects information
|
| 618 |
+
estadd local wavefe "Yes"
|
| 619 |
+
ci means avg_delta_ex1 if e(sample)
|
| 620 |
+
local m : di %4.2f r(mean)
|
| 621 |
+
loc se : di %4.2f r(se)
|
| 622 |
+
estadd local dvmean `m'
|
| 623 |
+
estadd local dvse "(`se')"
|
| 624 |
+
|
| 625 |
+
}
|
| 626 |
+
|
| 627 |
+
*** Export table
|
| 628 |
+
estout spec* using "bcp_on_risk_aversion.tex", ///
|
| 629 |
+
style(tex) margin replace eqlabels(none) drop(wave* _cons) ///
|
| 630 |
+
mgroups("\shortstack{Behavior change premium}", pattern(1 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 631 |
+
mlabels("(1)" "(2)" "(3)", span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 632 |
+
varlabels(risk_aversion "Risk aversion" abovemed_risk_aversion "Above median risk aversion" risk_averse "Risk averse") ///
|
| 633 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 634 |
+
stats(dvmean dvse wavefe N, l("Dep. var. mean:" " " "\hline Wave FEs" "N") fmt(%8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 635 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 636 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 637 |
+
|
| 638 |
+
|
| 639 |
+
*** Load and clean daily experimental data ************************************
|
| 640 |
+
|
| 641 |
+
*** Load dataset ***
|
| 642 |
+
use "$main/Data/cleaned_commitment_study_daily_data", clear
|
| 643 |
+
|
| 644 |
+
*** Variable Creation & Cleaning Steps ***
|
| 645 |
+
*** Generate info treatment indicators
|
| 646 |
+
gen first_info = type_of_info=="1-onlygraph"
|
| 647 |
+
gen new_info = type_of_info=="2-graphplus"
|
| 648 |
+
gen control_info = (new_info == 0 & first_info == 0)
|
| 649 |
+
|
| 650 |
+
*** Generate wave indicators
|
| 651 |
+
gen wave1 = (wave == "fall")
|
| 652 |
+
gen wave2 = (wave == "winter")
|
| 653 |
+
gen wave3 = (wave == "spring")
|
| 654 |
+
|
| 655 |
+
*** Define anticommitment/commitment variables for each threshold
|
| 656 |
+
gen anticommit8 = q170 ==2 if q170<.
|
| 657 |
+
gen commit8 = q169 ==2 if q169<.
|
| 658 |
+
gen anticommit12 = chose_anticommit11
|
| 659 |
+
gen commit12 = chose_commit12
|
| 660 |
+
gen anticommit16 = q296==2 if q296<.
|
| 661 |
+
gen commit16 = q295 ==2 if q295<.
|
| 662 |
+
|
| 663 |
+
*** Restrict sample to those exogenously assigned incentives
|
| 664 |
+
keep if flag_low_wtp == 0 & flag_exclude_exog == 0
|
| 665 |
+
|
| 666 |
+
|
| 667 |
+
*** (DailyAttIncr.tex) ********************************************************
|
| 668 |
+
|
| 669 |
+
preserve
|
| 670 |
+
keep if commit12 == 1
|
| 671 |
+
gen got_incentive = 1 if treatment == "threshold80_12"
|
| 672 |
+
replace got_incentive = 0 if treatment == "control"
|
| 673 |
+
tab got_incentive
|
| 674 |
+
keep if !missing(got_incentive)
|
| 675 |
+
gen incentive_day = day*got_incentive
|
| 676 |
+
|
| 677 |
+
* Run regression of attendance on assignment to contract and day
|
| 678 |
+
reg attended day got_incentive incentive_day wave2 wave3, clus(id)
|
| 679 |
+
est store estday
|
| 680 |
+
estadd local wavefe "Yes"
|
| 681 |
+
restore
|
| 682 |
+
|
| 683 |
+
* Export regression output
|
| 684 |
+
estout estday using "DailyAttIncr.tex", style(tex) margin replace eqlabels(none) ///
|
| 685 |
+
order(day got_incentive incentive_day _cons) ///
|
| 686 |
+
drop(wave2 wave3 _cons) ///
|
| 687 |
+
mgroups("\shortstack{Attendance \\ likelihood}", pattern(1) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 688 |
+
mlabels("(1)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 689 |
+
varlabels(day "Day" got_incentive "12+ visits contract" incentive_day "Day $\times$ 12+ visits contract") ///
|
| 690 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 691 |
+
stats(wavefe N N_clust, l("Wave FEs" "N" "Clusters") fmt(%8.0fc %8.0fc)) ///
|
| 692 |
+
collabels(,none) ///
|
| 693 |
+
prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 694 |
+
posthead("\hline") ///
|
| 695 |
+
prefoot("\hline") ///
|
| 696 |
+
postfoot("\hline\hline" "\end{tabular}")
|
107/replication_package/Code/Stata/Figures.do
ADDED
|
@@ -0,0 +1,455 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*** FIGURES FOR Carrera, Royer, Stehr, Sydnor, and Taubinsky (2021) ***********
|
| 2 |
+
*******************************************************************************
|
| 3 |
+
|
| 4 |
+
*** Initial set-up ***
|
| 5 |
+
clear
|
| 6 |
+
set more off
|
| 7 |
+
|
| 8 |
+
*** Set directories for data and output ***
|
| 9 |
+
cd "$main/Output"
|
| 10 |
+
/* Note: all figures will output to the working directory. Uses a program from
|
| 11 |
+
master_do_file_for_analysis.do */
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
*** (uniform_range.pdf) *******************************************************
|
| 15 |
+
|
| 16 |
+
set obs 500
|
| 17 |
+
|
| 18 |
+
*** Generate benefit values ***
|
| 19 |
+
gen b = _n/500
|
| 20 |
+
|
| 21 |
+
*** Generate commitment contract demand regions for each beta ***
|
| 22 |
+
forvalues beta = 1(1)500 {
|
| 23 |
+
local B = `beta'/500
|
| 24 |
+
gen bindingcommit`beta' = ( ((2*b-1)/(2*(b^2))) > `B'*(1-.5*`B') )
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
*** Reshape data for graphing ***
|
| 28 |
+
reshape long bindingcommit, i(b) j(B)
|
| 29 |
+
replace B = B/500
|
| 30 |
+
|
| 31 |
+
*** Produce Figure 1 ***
|
| 32 |
+
twoway contour bindingcommit B b if B >= .75 & B <= .95, levels(2) /*
|
| 33 |
+
*/ ccolors(red blue) xlabel(0(.1)1) ylabel(.75(.05).95) /*
|
| 34 |
+
*/ xtitle("Benefit (share of time beneficial)") ytitle("Perceived short-run discount factor") /*
|
| 35 |
+
*/ graphr(color(white) fcolor(white)) bgcolor(white) plotregion(margin(zero)) clegend(off)
|
| 36 |
+
|
| 37 |
+
*** Export figure
|
| 38 |
+
graph export uniformrange.pdf, replace
|
| 39 |
+
* with descriptive text superimposed in the paper
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
*** Load and clean experimental data ******************************************
|
| 43 |
+
|
| 44 |
+
*** Load dataset ***
|
| 45 |
+
use "$main/Data/cleaned_commitment_study_data", clear
|
| 46 |
+
|
| 47 |
+
*** Variable Creation & Cleaning Steps ***
|
| 48 |
+
*** Create an ID variable for use when reshaping long
|
| 49 |
+
gen id = _n
|
| 50 |
+
|
| 51 |
+
*** Generate info treatment indicators
|
| 52 |
+
gen first_info = type_of_info=="1-onlygraph"
|
| 53 |
+
gen new_info = type_of_info=="2-graphplus"
|
| 54 |
+
gen control_info = (new_info == 0 & first_info == 0)
|
| 55 |
+
|
| 56 |
+
*** Generate wave indicators
|
| 57 |
+
gen wave1 = (wave == "fall")
|
| 58 |
+
gen wave2 = (wave == "winter")
|
| 59 |
+
gen wave3 = (wave == "spring")
|
| 60 |
+
|
| 61 |
+
*** Define anticommitment/commitment variables for each threshold
|
| 62 |
+
gen anticommit8 = q170 ==2 if q170<.
|
| 63 |
+
gen commit8 = q169 ==2 if q169<.
|
| 64 |
+
gen anticommit12 = chose_anticommit11
|
| 65 |
+
gen commit12 = chose_commit12
|
| 66 |
+
gen anticommit16 = q296==2 if q296<.
|
| 67 |
+
gen commit16 = q295 ==2 if q295<.
|
| 68 |
+
|
| 69 |
+
*** Restrict sample to those exogenously assigned incentives
|
| 70 |
+
keep if flag_low_wtp == 0 & flag_exclude_exog == 0
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
*** (wtp_ev_tcbench.pdf) ******************************************************
|
| 74 |
+
|
| 75 |
+
*** Generate additional variables
|
| 76 |
+
*** Expected value of earnings based on subjective "days" estimate for frequency of visits
|
| 77 |
+
gen ev1 = days_1
|
| 78 |
+
gen ev2 = days_2*2
|
| 79 |
+
gen ev3 = days_3*3
|
| 80 |
+
gen ev5 = days_5*5
|
| 81 |
+
gen ev7 = days_7*7
|
| 82 |
+
gen ev12 = days_12*12
|
| 83 |
+
|
| 84 |
+
*** Generate values for the $0 incentive
|
| 85 |
+
gen wtp0 = 0
|
| 86 |
+
gen ev0 = 0
|
| 87 |
+
|
| 88 |
+
*** Estimate means with 95% confidence intervals
|
| 89 |
+
mat data = J(7, 7, .) // initialize matrix for storing values
|
| 90 |
+
loc row = 1
|
| 91 |
+
foreach p in 0 1 2 3 5 7 12 {
|
| 92 |
+
|
| 93 |
+
* Input incentive in first column
|
| 94 |
+
mat data[`row', 1] = `p'
|
| 95 |
+
|
| 96 |
+
* Input means & CI bounds of WTP in next three columns
|
| 97 |
+
ci means wtp`p'
|
| 98 |
+
mat data[`row', 2] = r(mean)
|
| 99 |
+
mat data[`row', 3] = r(lb)
|
| 100 |
+
mat data[`row', 4] = r(ub)
|
| 101 |
+
|
| 102 |
+
* Input means & CI bounds of expected earnings in last three columns
|
| 103 |
+
ci mean ev`p'
|
| 104 |
+
mat data[`row', 5] = r(mean)
|
| 105 |
+
mat data[`row', 6] = r(lb)
|
| 106 |
+
mat data[`row', 7] = r(ub)
|
| 107 |
+
|
| 108 |
+
loc ++row // increment row
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
*** Use data stored in matrix
|
| 112 |
+
preserve
|
| 113 |
+
clear
|
| 114 |
+
svmat data
|
| 115 |
+
ren (data*) (incentive wtp wtplb wtpub ev evlb evub)
|
| 116 |
+
|
| 117 |
+
*** Store certain statistics ***
|
| 118 |
+
* Average expected earnings under $1 incentive
|
| 119 |
+
sum ev if incentive == 1 // EV equals exp. visits under this incentive
|
| 120 |
+
loc avgexp : di %4.2f r(mean)
|
| 121 |
+
latex_write avgexpincone `avgexp' numbers
|
| 122 |
+
* Average WTP for $1 incentive
|
| 123 |
+
sum wtp if incentive == 1
|
| 124 |
+
loc avgwtp : di %4.2f r(mean)
|
| 125 |
+
latex_write avgwtpincone `avgwtp' numbers
|
| 126 |
+
* Difference
|
| 127 |
+
loc diff : di %4.2f `avgwtp'-`avgexp'
|
| 128 |
+
latex_write avgdiffincone `diff' numbers
|
| 129 |
+
|
| 130 |
+
*** Produce figure ***
|
| 131 |
+
graph twoway (connected ev incentive, lc(black) msymbol(none) mc(none) lp(dash)) /*
|
| 132 |
+
*/ (rcap evub evlb incentive, lc(black) lw(*.5) msize(*2.25)) /*
|
| 133 |
+
*/ (connected wtp incentive, lc(cranberry) mlc(cranberry) mc(none) msymbol(circle) msize(vsmall)) /*
|
| 134 |
+
*/ (rcap wtpub wtplb incentive, lc(cranberry) lw(*.5) msize(*2.25)), /*
|
| 135 |
+
*/ xtitle("Per-visit incentive ($)", height(6)) ylabel(0(25)225, angle(0)) xlabel(1(1)12) /*
|
| 136 |
+
*/ graphr(color(white) fcolor(white)) bgcolor(white) plotregion(margin(zero)) /*
|
| 137 |
+
*/ ytitle("$", height(6)) legend(order(1 3) label(1 "Avg. subjective expected earnings") label(3 "Avg. WTP for that incentive") rows(3))
|
| 138 |
+
|
| 139 |
+
*** Export figure
|
| 140 |
+
graph export wtp_ev_tcbench.pdf, replace
|
| 141 |
+
restore
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
*** (deltas.pdf) **************************************************************
|
| 145 |
+
|
| 146 |
+
*** Generate additional variables ***
|
| 147 |
+
preserve
|
| 148 |
+
*** Better measures of Commitment as per proposition
|
| 149 |
+
/*** These are the amounts, per attendance, by which a person "overpays" for
|
| 150 |
+
the increase in incentive. Second-order approximation */
|
| 151 |
+
gen delta1=(wtp1) - (days_1+days_0)/2
|
| 152 |
+
gen delta2 = (wtp2-wtp1) - (days_2+days_1)/2
|
| 153 |
+
gen delta3=(wtp3-wtp2) - (days_3+days_2)/2
|
| 154 |
+
gen delta5=(wtp5-wtp3)/(5-3) - (days_5+days_3)/2
|
| 155 |
+
gen delta7=(wtp7-wtp5)/(7-5) - (days_7+days_5)/2
|
| 156 |
+
gen delta12=(wtp12-wtp7)/(12-7) - (days_12+days_7)/2
|
| 157 |
+
|
| 158 |
+
gen avg_delta = (delta1 + delta2+delta3 + delta5 + delta7 + delta12)/6
|
| 159 |
+
gen avg_delta_ex1 = (delta2+delta3 + delta5 + delta7 + delta12)/5
|
| 160 |
+
|
| 161 |
+
// DELTA MEASURES DIFFERENCES FROM TC BENCHMARK
|
| 162 |
+
*** Run the regressions and store results with model names
|
| 163 |
+
quietly reg avg_delta, robust
|
| 164 |
+
est store m1
|
| 165 |
+
loc avgbcp = _b[_cons]
|
| 166 |
+
loc avg : di %4.2f `avgbcp'
|
| 167 |
+
latex_write avgbcp `avg' numbers
|
| 168 |
+
|
| 169 |
+
quietly reg avg_delta_ex1, robust
|
| 170 |
+
est store m2
|
| 171 |
+
loc avgbcpex1 = _b[_cons]
|
| 172 |
+
loc avg : di %4.2f `avgbcpex1'
|
| 173 |
+
latex_write avgbcpexone `avg' numbers
|
| 174 |
+
|
| 175 |
+
*** Produce figure: average delta with CI's for the info-control group ***
|
| 176 |
+
coefplot (m1, aseq(Average across incentives))/*
|
| 177 |
+
*/ (m2, aseq(Average excluding $1 incentive)) /*
|
| 178 |
+
*/, xline(0) xlabel(-1(.5)2.5) legend(off) mc(black) offset(0) ciopts(lc(black) /*
|
| 179 |
+
*/ recast(rcap) lp(dash)) grid(none) aseq swap graphr(fcolor(white) color(white)) /*
|
| 180 |
+
*/ xtitle("Behavior change premium ($)", height(6)) plotregion(margin(zero))
|
| 181 |
+
|
| 182 |
+
*** Export figure
|
| 183 |
+
graph export deltas.pdf, replace
|
| 184 |
+
restore
|
| 185 |
+
|
| 186 |
+
|
| 187 |
+
*** (overconfidence.pdf) **********************************************
|
| 188 |
+
|
| 189 |
+
*** Obtain coefficients for plot ***
|
| 190 |
+
* Generate placeholder
|
| 191 |
+
forval k = 0/12 {
|
| 192 |
+
gen var`k' = .
|
| 193 |
+
label variable var`k' `k'
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
* Generate estimates
|
| 197 |
+
forval k = 0(1)12 {
|
| 198 |
+
|
| 199 |
+
replace var`k' = 10
|
| 200 |
+
reg var`k' var`k', nocons
|
| 201 |
+
eststo m_v_`k'
|
| 202 |
+
|
| 203 |
+
if `k' != 4 & `k' != 6 & `k' != 8 & `k' != 9 & `k' != 10 & `k' != 11{
|
| 204 |
+
replace var`k' = (flag_exclude_exog==0&flag_low_wtp==0)
|
| 205 |
+
reg days_`k' var`k', robust nocons
|
| 206 |
+
est store m_days`k'_all
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
if `k' != 1 & `k' != 3 & `k' != 12 & `k' != 4 & `k' != 6 & `k' != 8 & `k' != 9 & `k' != 10 & `k' != 11{
|
| 210 |
+
replace var`k' = (incentive == `k' &flag_exclude_exog==0 ///
|
| 211 |
+
&flag_low_wtp==0)
|
| 212 |
+
reg visits var`k' if incentive == `k', robust nocons
|
| 213 |
+
est store m_visits`k'_given
|
| 214 |
+
|
| 215 |
+
* Store number of observations
|
| 216 |
+
if `k' == 0 loc num "zero"
|
| 217 |
+
else if `k' == 2 loc num "two"
|
| 218 |
+
else if `k' == 5 loc num "five"
|
| 219 |
+
else loc num "seven"
|
| 220 |
+
latex_write incentive`num'obs `e(N)' numbers
|
| 221 |
+
}
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
*** Produce figure: Overconfidence ***
|
| 225 |
+
*** Beliefs vs reality
|
| 226 |
+
coefplot (m_v_*, offset(0) m(none) lp(none)) /*
|
| 227 |
+
*/ (m_days0_all m_days1_all m_days2_all m_days3_all m_days5_all m_days7_all m_days12_all, offset(0) recast(connected) msize(small) mc(black) lp(dash) lc(black) ciopts(lc(black) recast(rcap) lp(solid)) )/*
|
| 228 |
+
*/ (m_visits0_given m_visits2_given m_visits5_given m_visits7_given, offset(0) recast(connected) msize(small) m(square) mc(red) lc(red) ciopts(lc(red) recast(rcap) lp(dash)) ) /*
|
| 229 |
+
*/, vertical plotregion(margin(zero)) xlabel(1 "0" 2 "1" 3 "2" 4 "3" 5 "4" 6 "5" 7 "6" 8 "7" 9 "8" 10 "9" 11 "10" 12 "11" 13 "12") /*
|
| 230 |
+
*/ graphr(color(white) fcolor(white)) bgcolor(white) xtitle("Per-visit incentive ($)", height(6)) ytitle("Visits", height(6))/*
|
| 231 |
+
*/ ylabel(0(5)22, angle(0)) legend(order(4 6) label(4 "Average expected visits") label(6 "Average realized visits")) legend(rows(2))
|
| 232 |
+
|
| 233 |
+
*** Export figure
|
| 234 |
+
graph export overconfidence.pdf, replace
|
| 235 |
+
|
| 236 |
+
|
| 237 |
+
*** (overconfidence_treatment.pdf) ********************************************
|
| 238 |
+
|
| 239 |
+
*** Obtain coefficients for plots ***
|
| 240 |
+
foreach cdtn in "wave1 == 1" "(wave2 == 1 | wave3 == 1)"{
|
| 241 |
+
|
| 242 |
+
if "`cdtn'" == "wave1 == 1"{
|
| 243 |
+
loc treat "first_info"
|
| 244 |
+
loc name "1"
|
| 245 |
+
loc tlab "basic"
|
| 246 |
+
loc excl "5"
|
| 247 |
+
loc result5_c ""
|
| 248 |
+
loc result5_t ""
|
| 249 |
+
}
|
| 250 |
+
else{
|
| 251 |
+
loc treat "new_info"
|
| 252 |
+
loc name "23"
|
| 253 |
+
loc tlab "enhanced"
|
| 254 |
+
loc excl "100"
|
| 255 |
+
loc result5_c "m_visits5_given_c"
|
| 256 |
+
loc result5_t "m_visits5_given_t"
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
* Generate estimates
|
| 260 |
+
forval k = 0(1)12 {
|
| 261 |
+
|
| 262 |
+
replace var`k' = 10
|
| 263 |
+
reg var`k' var`k', nocons
|
| 264 |
+
eststo m_v_`k'
|
| 265 |
+
|
| 266 |
+
* Information treatment
|
| 267 |
+
if `k' != 4 & `k' != 6 & `k' != 8 & `k' != 9 & `k' != 10 & `k' != 11{
|
| 268 |
+
replace var`k' = (flag_exclude_exog==0&flag_low_wtp==0& ///
|
| 269 |
+
`cdtn'&`treat'==1)
|
| 270 |
+
reg days_`k' var`k' if `cdtn'&`treat'==1, robust nocons
|
| 271 |
+
est store m_days`k'_all_t
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
if `k' != 1 & `k' != 3 & `k' != 4 & `k' != 6 & `k' != 8 & `k' != 9 & `k' != 10 & `k' != 11 & `k' != 12 & `k' != `excl'{
|
| 275 |
+
replace var`k' = (incentive == `k' &flag_exclude_exog==0 ///
|
| 276 |
+
&flag_low_wtp==0&`cdtn'&`treat'==1)
|
| 277 |
+
reg visits var`k' if incentive == `k' & `cdtn'&`treat'==1, ///
|
| 278 |
+
robust nocons
|
| 279 |
+
est store m_visits`k'_given_t
|
| 280 |
+
|
| 281 |
+
* Store number of observations
|
| 282 |
+
loc treatobs = e(N)
|
| 283 |
+
|
| 284 |
+
}
|
| 285 |
+
|
| 286 |
+
* Information control
|
| 287 |
+
if `k' != 4 & `k' != 6 & `k' != 8 & `k' != 9 & `k' != 10 & `k' != 11{
|
| 288 |
+
replace var`k' = (flag_exclude_exog==0&flag_low_wtp==0& ///
|
| 289 |
+
`cdtn'&`treat'!=1)
|
| 290 |
+
reg days_`k' var`k' if `cdtn'&`treat'!=1, robust nocons
|
| 291 |
+
est store m_days`k'_all_c
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
if `k' != 1 & `k' != 3 & `k' != 4 & `k' != 6 & `k' != 8 & `k' != 9 & `k' != 10 & `k' != 11 & `k' != 12 & `k' != `excl'{
|
| 295 |
+
replace var`k' = (incentive == `k' &flag_exclude_exog==0 ///
|
| 296 |
+
&flag_low_wtp==0&`cdtn'&`treat'!=1)
|
| 297 |
+
reg visits var`k' if incentive == `k' & `cdtn'&`treat'!=1, ///
|
| 298 |
+
robust nocons
|
| 299 |
+
est store m_visits`k'_given_c
|
| 300 |
+
|
| 301 |
+
* Store number of observations
|
| 302 |
+
if `k' == 0 loc num "zero"
|
| 303 |
+
else if `k' == 2 loc num "two"
|
| 304 |
+
else if `k' == 5 loc num "five"
|
| 305 |
+
else loc num "seven"
|
| 306 |
+
loc bothobs = e(N) + `treatobs'
|
| 307 |
+
latex_write incentive`num'obs`tlab' `bothobs' numbers
|
| 308 |
+
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
* Store total observations used
|
| 314 |
+
sum var0 if `cdtn'&`treat'==1
|
| 315 |
+
latex_write obs`tlab'treat `r(N)' numbers
|
| 316 |
+
sum var0 if `cdtn'&`treat'!=1
|
| 317 |
+
latex_write obs`tlab'control `r(N)' numbers
|
| 318 |
+
|
| 319 |
+
*** Produce figure: Overconfidence ***
|
| 320 |
+
local jig = .1
|
| 321 |
+
*** Beliefs vs reality
|
| 322 |
+
coefplot (m_v_*, offset(0) m(none) lp(none)) /*
|
| 323 |
+
*/ (m_days0_all_c m_days1_all_c m_days2_all_c m_days3_all_c m_days5_all_c m_days7_all_c m_days12_all_c, offset(-`jig') recast(connected) msize(small) mc(black) lp(dash) lc(black) ciopts(lc(black) recast(rcap) lp(solid)) )/*
|
| 324 |
+
*/ (m_visits0_given_c m_visits2_given_c `result5_c' m_visits7_given_c, offset(-`jig') recast(connected) msize(small) m(square) mc(black) lc(black) lp(solid) ciopts(lc(black) recast(rcap) lp(dash)) ) /*
|
| 325 |
+
*/ (m_days0_all_t m_days1_all_t m_days2_all_t m_days3_all_t m_days5_all_t m_days7_all_t m_days12_all_t, offset(`jig') recast(connected) m(Oh) msize(small) mc(blue) lp(dash) lc(blue) ciopts(lc(blue) recast(rcap) lp(solid)) )/*
|
| 326 |
+
*/ (m_visits0_given_t m_visits2_given_t `result5_t' m_visits7_given_t, offset(`jig') recast(connected) msize(small) m(Sh) mc(blue) lc(blue) lp(solid) ciopts(lc(blue) recast(rcap) lp(dash)) ) /*
|
| 327 |
+
*/, vertical plotregion(margin(zero)) xlabel(1 "0" 2 "1" 3 "2" 4 "3" 5 "4" 6 "5" 7 "6" 8 "7" 9 "8" 10 "9" 11 "10" 12 "11" 13 "12") /*
|
| 328 |
+
*/ graphr(color(white) fcolor(white)) bgcolor(white) xtitle("Per-visit incentive ($)", height(6)) ytitle("Visits", height(6))/*
|
| 329 |
+
*/ ylabel(0(5)22, angle(0)) legend(order(4 6 8 10) label(4 "Average expected visits, information control") label(6 "Average realized visits, information control") label(8 "Average expected visits, `tlab' information treatment") label(10 "Average realized visits, `tlab' information treatment")) legend(rows(4))
|
| 330 |
+
|
| 331 |
+
*** Export figure
|
| 332 |
+
graph export overconfidence_treatment_wave`name'.pdf, replace
|
| 333 |
+
eststo clear
|
| 334 |
+
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
*** (exp_actual_under_incentive.pdf) ******************************************
|
| 339 |
+
|
| 340 |
+
*** Expected attendance w/incentive given vs. actual attendance w/incentive
|
| 341 |
+
* Generate variable for expected attendace w/incentive given
|
| 342 |
+
gen days_exp = .
|
| 343 |
+
foreach i in 0 1 2 3 5 7{
|
| 344 |
+
replace days_exp = days_`i' if incentive == `i'
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
* Plot with 45-degree line
|
| 348 |
+
preserve
|
| 349 |
+
binscatter visits days_exp, ///
|
| 350 |
+
ytitle(Actual attendance, height(6)) ///
|
| 351 |
+
xtitle(Expected attendance under assigned incentive, height(6)) ///
|
| 352 |
+
xlab(0(5)30) ylab(0(5)30, angle(0)) plotregion(margin(zero)) ///
|
| 353 |
+
graphregion(color(white)) savedata(binned) replace
|
| 354 |
+
clear
|
| 355 |
+
do binned
|
| 356 |
+
graph addplot function y = x, range(0 30) lpattern(dash) lcolor(gs13) ///
|
| 357 |
+
xlab(0(5)30) ylab(0(5)30, angle(0)) plotregion(margin(zero))
|
| 358 |
+
graph export "exp_actual_under_incentive.pdf", replace
|
| 359 |
+
restore
|
| 360 |
+
|
| 361 |
+
* Remove temporary files
|
| 362 |
+
cap erase "binned.csv"
|
| 363 |
+
cap erase "binned.do"
|
| 364 |
+
|
| 365 |
+
|
| 366 |
+
*** (wtp_exp_attendance.pdf) **************************************************
|
| 367 |
+
|
| 368 |
+
preserve
|
| 369 |
+
* Reshape to graph each incentive level separately
|
| 370 |
+
reshape long wtp days_, i(id) j(incentive_level)
|
| 371 |
+
|
| 372 |
+
* Store average increase in attendance per dollar of incentive
|
| 373 |
+
reg days_ incentive_level, clus(id)
|
| 374 |
+
loc incr = _b[incentive_level]
|
| 375 |
+
loc avg : di %4.2f `incr'
|
| 376 |
+
latex_write incrattinc `avg' numbers
|
| 377 |
+
loc stderr : di %4.3f _se[incentive_level]
|
| 378 |
+
latex_write incrattincse `stderr' numbers
|
| 379 |
+
|
| 380 |
+
* Store behavior change premium per dollar of incentive
|
| 381 |
+
loc bcpinc : di %4.2f `avgbcp'/`incr'
|
| 382 |
+
latex_write avgbcpinc `bcpinc' numbers
|
| 383 |
+
loc bcpincex1 : di %4.2f `avgbcpex1'/`incr'
|
| 384 |
+
latex_write avgbcpexoneinc `bcpincex1' numbers
|
| 385 |
+
|
| 386 |
+
* Produce plot
|
| 387 |
+
binscatter wtp days_ if incentive_level != 0, by(incentive_level) ///
|
| 388 |
+
ytitle(WTP for incentive ($), height(6)) ///
|
| 389 |
+
xtitle(Expected attendance, height(6)) ///
|
| 390 |
+
xlab(0(5)30) ylab(0(50)300, angle(0)) ///
|
| 391 |
+
legend(order(1 "1" 2 "2" 3 "3" 4 "5" 5 "7" 6 "12") subtitle(Per-visit incentive ($), size(medsmall)) rows(1)) ///
|
| 392 |
+
graphregion(color(white)) plotregion(margin(zero))
|
| 393 |
+
graph export "wtp_exp_attendance.pdf", replace
|
| 394 |
+
|
| 395 |
+
restore
|
| 396 |
+
|
| 397 |
+
|
| 398 |
+
*** Load and clean daily experimental data ************************************
|
| 399 |
+
|
| 400 |
+
*** Load dataset ***
|
| 401 |
+
use "$main/Data/cleaned_commitment_study_daily_data", clear
|
| 402 |
+
|
| 403 |
+
*** Variable Creation & Cleaning Steps ***
|
| 404 |
+
*** Generate info treatment indicators
|
| 405 |
+
gen first_info = type_of_info=="1-onlygraph"
|
| 406 |
+
gen new_info = type_of_info=="2-graphplus"
|
| 407 |
+
gen control_info = (new_info == 0 & first_info == 0)
|
| 408 |
+
|
| 409 |
+
*** Generate wave indicators
|
| 410 |
+
gen wave1 = (wave == "fall")
|
| 411 |
+
gen wave2 = (wave == "winter")
|
| 412 |
+
gen wave3 = (wave == "spring")
|
| 413 |
+
|
| 414 |
+
*** Define anticommitment/commitment variables for each threshold
|
| 415 |
+
gen anticommit8 = q170 ==2 if q170<.
|
| 416 |
+
gen commit8 = q169 ==2 if q169<.
|
| 417 |
+
gen anticommit12 = chose_anticommit11
|
| 418 |
+
gen commit12 = chose_commit12
|
| 419 |
+
gen anticommit16 = q296==2 if q296<.
|
| 420 |
+
gen commit16 = q295 ==2 if q295<.
|
| 421 |
+
|
| 422 |
+
*** Restrict sample to those exogenously assigned incentives
|
| 423 |
+
keep if flag_low_wtp == 0 & flag_exclude_exog == 0
|
| 424 |
+
|
| 425 |
+
|
| 426 |
+
*** (daily_att_likelihood.pdf) ************************************************
|
| 427 |
+
|
| 428 |
+
preserve
|
| 429 |
+
|
| 430 |
+
* Generate variables and restrict data
|
| 431 |
+
keep if commit12 == 1
|
| 432 |
+
gen got_incentive = 1 if treatment == "threshold80_12"
|
| 433 |
+
replace got_incentive = 0 if treatment == "control"
|
| 434 |
+
keep if !missing(got_incentive)
|
| 435 |
+
gen incentive_day = day*got_incentive
|
| 436 |
+
|
| 437 |
+
* For trendline of increase in likelihood of attendance
|
| 438 |
+
reg attended day got_incentive incentive_day wave2 wave3, clus(id)
|
| 439 |
+
loc slope = _b[incentive_day]
|
| 440 |
+
loc intercept = _b[got_incentive]
|
| 441 |
+
|
| 442 |
+
* Average increase in likelihood of attendance from the contract each day
|
| 443 |
+
reg attended ibn.day ibn.day#c.got_incentive, clus(id) nocons
|
| 444 |
+
|
| 445 |
+
* Produce plot
|
| 446 |
+
coefplot, nolabel vertical keep(*#c.got_incentive) yline(0) omitted baselevels ///
|
| 447 |
+
ciopts(recast(rcap) lp(dash) lw(thin)) xlab(0(2)28) xtitle("Day", height(6)) ///
|
| 448 |
+
ylab(-.2(.1).5, angle(0)) ytitle("Change in likelihood of going to the gym", height(4)) ///
|
| 449 |
+
graphregion(color(white)) bgcolor(white) plotregion(margin(zero))
|
| 450 |
+
graph addplot function y = `slope'*x + `intercept', range(1 28) ///
|
| 451 |
+
lw(medthick) lp(longdash) lcolor(ebblue*.7) ///
|
| 452 |
+
xlab(0(2)28) ylab(-.2(.1).5, angle(0)) plotregion(margin(zero))
|
| 453 |
+
graph export "daily_att_likelihood.pdf", replace
|
| 454 |
+
|
| 455 |
+
restore
|
107/replication_package/Code/Stata/Parameter estimates.do
ADDED
|
@@ -0,0 +1,1156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
*** PARAMETER ESTIMATES FOR Carrera, Royer, Stehr, Sydnor, and Taubinsky (2021)
|
| 2 |
+
*******************************************************************************
|
| 3 |
+
|
| 4 |
+
*** Initial set-up ***
|
| 5 |
+
clear
|
| 6 |
+
set more off
|
| 7 |
+
|
| 8 |
+
*** Set directories for data and output ***
|
| 9 |
+
cd "$main/Output"
|
| 10 |
+
/* Note: outputs to the working directory. Uses a program from
|
| 11 |
+
master_do_file_for_analysis.do */
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
*** Load and clean experimental data ******************************************
|
| 15 |
+
|
| 16 |
+
*** Load dataset ***
|
| 17 |
+
use "$main/Data/cleaned_commitment_study_data", clear
|
| 18 |
+
|
| 19 |
+
*** Variable Creation & Cleaning Steps ***
|
| 20 |
+
*** Create an ID variable for use when reshaping long
|
| 21 |
+
gen id = _n
|
| 22 |
+
|
| 23 |
+
*** Generate info treatment indicators
|
| 24 |
+
gen first_info = type_of_info=="1-onlygraph"
|
| 25 |
+
gen new_info = type_of_info=="2-graphplus"
|
| 26 |
+
gen control_info = (new_info == 0 & first_info == 0)
|
| 27 |
+
|
| 28 |
+
*** Generate wave indicators
|
| 29 |
+
gen wave1 = (wave == "fall")
|
| 30 |
+
gen wave2 = (wave == "winter")
|
| 31 |
+
gen wave3 = (wave == "spring")
|
| 32 |
+
|
| 33 |
+
*** Define anticommitment/commitment variables for each threshold
|
| 34 |
+
gen anticommit8 = q170 ==2 if q170<.
|
| 35 |
+
gen commit8 = q169 ==2 if q169<.
|
| 36 |
+
gen anticommit12 = chose_anticommit11
|
| 37 |
+
gen commit12 = chose_commit12
|
| 38 |
+
gen anticommit16 = q296==2 if q296<.
|
| 39 |
+
gen commit16 = q295 ==2 if q295<.
|
| 40 |
+
|
| 41 |
+
*** Generate additional variables ***
|
| 42 |
+
/*** These variables are the amounts, per attendance, by which a person
|
| 43 |
+
"overpays" for the increase in incentive. Second-order approximation */
|
| 44 |
+
gen delta1=(wtp1) - (days_1+days_0)/2
|
| 45 |
+
gen delta2 = (wtp2-wtp1) - (days_2+days_1)/2
|
| 46 |
+
gen delta3=(wtp3-wtp2) - (days_3+days_2)/2
|
| 47 |
+
gen delta5=(wtp5-wtp3)/(5-3) - (days_5+days_3)/2
|
| 48 |
+
gen delta7=(wtp7-wtp5)/(7-5) - (days_7+days_5)/2
|
| 49 |
+
gen delta12=(wtp12-wtp7)/(12-7) - (days_12+days_7)/2
|
| 50 |
+
|
| 51 |
+
gen avg_delta = (delta1 + delta2+delta3 + delta5 + delta7 + delta12)/6
|
| 52 |
+
gen avg_delta_ex1 = (delta2+delta3 + delta5 + delta7 + delta12)/5
|
| 53 |
+
|
| 54 |
+
*** Change in days by incentive
|
| 55 |
+
gen diffa1=(days_1-days_0)
|
| 56 |
+
gen diffa2=(days_2-days_1)
|
| 57 |
+
gen diffa3=(days_3-days_2)
|
| 58 |
+
gen diffa5=(days_5-days_3)/2
|
| 59 |
+
gen diffa7=(days_7-days_5)/2
|
| 60 |
+
gen diffa12=(days_12-days_7)/5
|
| 61 |
+
gen avg_diffa=(diffa1+diffa2+diffa3+diffa5+diffa7+diffa12)/6
|
| 62 |
+
gen avg_diffa_ex1=(diffa2+diffa3+diffa5+diffa7+diffa12)/5
|
| 63 |
+
|
| 64 |
+
*** Indicator for rejecting 12+ visits contract
|
| 65 |
+
gen nocommit12 = !commit12
|
| 66 |
+
|
| 67 |
+
*** Generate estimates for graphing below ***
|
| 68 |
+
foreach k in 0 1 2 3 5 7 12{
|
| 69 |
+
|
| 70 |
+
foreach cdtn in "" "&commit12==1" "&first_info!=1" "&commit12==1&first_info!=1"{
|
| 71 |
+
|
| 72 |
+
if "`cdtn'" == "" loc n ""
|
| 73 |
+
else if "`cdtn'" == "&commit12==1" loc n "_c12"
|
| 74 |
+
else if "`cdtn'" == "&first_info!=1" loc n "_inf"
|
| 75 |
+
else loc n "_infc12"
|
| 76 |
+
|
| 77 |
+
ci means days_`k' if flag_exclude_exog==0&flag_low_wtp==0 `cdtn'
|
| 78 |
+
* Store estimates in unique variables
|
| 79 |
+
local mean = r(mean)
|
| 80 |
+
local ub = r(ub)
|
| 81 |
+
local lb = r(lb)
|
| 82 |
+
gen mean_days`n'_`k' = `mean'
|
| 83 |
+
gen ub_days`n'_`k' = `ub'
|
| 84 |
+
gen lb_days`n'_`k' = `lb'
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
if `k' != 1 & `k' != 3 & `k' != 12{
|
| 88 |
+
ci means visits if incentive == `k' &flag_exclude_exog==0& ///
|
| 89 |
+
flag_low_wtp==0 `cdtn'
|
| 90 |
+
* Store estimates in unique variables
|
| 91 |
+
local mean = r(mean)
|
| 92 |
+
local ub = r(ub)
|
| 93 |
+
local lb = r(lb)
|
| 94 |
+
gen mean_visits`n'_`k' = `mean'
|
| 95 |
+
gen ub_visits`n'_`k' = `ub'
|
| 96 |
+
gen lb_visits`n'_`k' = `lb'
|
| 97 |
+
|
| 98 |
+
if "`n'" == "_inf"{
|
| 99 |
+
* Store number of observations
|
| 100 |
+
if `k' == 0 loc num "zero"
|
| 101 |
+
else if `k' == 2 loc num "two"
|
| 102 |
+
else if `k' == 5 loc num "five"
|
| 103 |
+
else loc num "seven"
|
| 104 |
+
latex_write incentive`num'infobs `r(N)' numbers
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
*For heterogeneity analysis
|
| 111 |
+
sum commit12 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.
|
| 112 |
+
loc totalobs = r(N)
|
| 113 |
+
sum commit12 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&(control_info==1|new_info==1)
|
| 114 |
+
loc obs : di %5.0fc `r(N)'
|
| 115 |
+
latex_write minfoavgobspe `obs' numbers
|
| 116 |
+
loc obs : di %5.0fc `totalobs'-`r(N)'
|
| 117 |
+
latex_write infodropobs `obs' numbers
|
| 118 |
+
sum commit12 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&(control_info==1|new_info==1)&flag_confusion!=1
|
| 119 |
+
loc obs : di %5.0fc `r(N)'
|
| 120 |
+
latex_write minfoavgnoconfusedobspe `obs' numbers
|
| 121 |
+
|
| 122 |
+
*** Reshape data and generate additional variables ***
|
| 123 |
+
preserve
|
| 124 |
+
reshape long days_ mean_days_ ub_days_ lb_days_ ///
|
| 125 |
+
mean_visits_ ub_visits_ lb_visits_ ///
|
| 126 |
+
mean_days_c12_ ub_days_c12_ lb_days_c12_ ///
|
| 127 |
+
mean_visits_c12_ ub_visits_c12_ lb_visits_c12_ ///
|
| 128 |
+
mean_days_inf_ ub_days_inf_ lb_days_inf_ ///
|
| 129 |
+
mean_visits_inf_ ub_visits_inf_ lb_visits_inf_ ///
|
| 130 |
+
mean_days_infc12_ ub_days_infc12_ lb_days_infc12_ ///
|
| 131 |
+
mean_visits_infc12_ ub_visits_infc12_ lb_visits_infc12_, i(id) j(prize)
|
| 132 |
+
rename days_ days
|
| 133 |
+
gen prize2=prize^2
|
| 134 |
+
gen incentivesq=incentive^2
|
| 135 |
+
|
| 136 |
+
gen visits12=visits>=12
|
| 137 |
+
gen getcommit=treatment=="threshold80_12"
|
| 138 |
+
|
| 139 |
+
** Create programs to write to latex file **
|
| 140 |
+
** NOTE: these are specific to the commands run below **
|
| 141 |
+
cap program drop latex_write_gmm latex_write_nlcom
|
| 142 |
+
|
| 143 |
+
program define latex_write_gmm
|
| 144 |
+
loc obs : di %5.0fc `e(N_clust)'
|
| 145 |
+
latex_write `1'obspe `obs' `2'
|
| 146 |
+
loc k = 1 // lambda is in the first position
|
| 147 |
+
foreach param in lambda betatilde b beta {
|
| 148 |
+
if `k' == 1 loc fig : di %4.3f [`param']_cons
|
| 149 |
+
else loc fig : di %4.2f [`param']_cons // store estimate
|
| 150 |
+
latex_write `param'`1' `fig' `2'
|
| 151 |
+
matrix temp = e(V)
|
| 152 |
+
loc lb : di %4.2f [`param']_cons - invnormal(0.975)*sqrt(el(temp,`k',`k'))
|
| 153 |
+
loc ub : di %4.2f [`param']_cons + invnormal(0.975)*sqrt(el(temp,`k',`k'))
|
| 154 |
+
loc ci : di "(`lb', `ub')"
|
| 155 |
+
latex_write `param'`1'CI "`ci'" `2'
|
| 156 |
+
loc ++k
|
| 157 |
+
}
|
| 158 |
+
end
|
| 159 |
+
|
| 160 |
+
program define latex_write_nlcom
|
| 161 |
+
matrix tempb = r(b)
|
| 162 |
+
matrix tempv = r(V)
|
| 163 |
+
loc fig : di %4.2f tempb[1,1]
|
| 164 |
+
loc lb : di %4.2f tempb[1,1] - invnormal(0.975)*sqrt(tempv[1,1])
|
| 165 |
+
loc ub : di %4.2f tempb[1,1] + invnormal(0.975)*sqrt(tempv[1,1])
|
| 166 |
+
loc ci : di "(`lb', `ub')"
|
| 167 |
+
latex_write `1' `fig' `2'
|
| 168 |
+
latex_write `1'CI "`ci'" `2'
|
| 169 |
+
end
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
********** Structural estimates ***********************************************
|
| 173 |
+
|
| 174 |
+
foreach v in "" "+5" "-10" "+0"{ // minimal cost draws of 0, -5, and 10
|
| 175 |
+
|
| 176 |
+
*declare locals for naming different versions & storing results
|
| 177 |
+
if "`v'" == ""{
|
| 178 |
+
loc o ""
|
| 179 |
+
loc lx "numbers_struct"
|
| 180 |
+
}
|
| 181 |
+
else if "`v'" == "+5"{
|
| 182 |
+
loc o "V"
|
| 183 |
+
loc lx "numbers_struct_appx"
|
| 184 |
+
}
|
| 185 |
+
else if "`v'" == "-10"{
|
| 186 |
+
loc o "X"
|
| 187 |
+
loc lx "numbers_struct_appx"
|
| 188 |
+
}
|
| 189 |
+
else{
|
| 190 |
+
loc o "noconfused"
|
| 191 |
+
loc lx "numbers_struct_appx"
|
| 192 |
+
drop if flag_confusion==1 // dropping those flagged for possible confusion
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
********* Overall estimates ***************************************************
|
| 196 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 197 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 198 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 199 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 200 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 201 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 202 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 203 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=., ///
|
| 204 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 205 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 206 |
+
latex_write_gmm all`o' `lx' // store estimates
|
| 207 |
+
|
| 208 |
+
*actual internality:
|
| 209 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 210 |
+
latex_write_nlcom aintall`o' `lx' // store estimates
|
| 211 |
+
|
| 212 |
+
*naivete statistic:
|
| 213 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 214 |
+
latex_write_nlcom naiveall`o' `lx' // store estimates
|
| 215 |
+
|
| 216 |
+
*expected cost
|
| 217 |
+
nlcom 1/[lambda]_cons
|
| 218 |
+
latex_write_nlcom expcostall`o' `lx' // store estimate
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
if "`v'" == ""{ // only for baseline
|
| 222 |
+
*compute approx. error in behavior change premium from assumptions
|
| 223 |
+
foreach p in 1 2 3 5 7{ // baseline incentive level
|
| 224 |
+
|
| 225 |
+
*increase in incentive
|
| 226 |
+
if `p' == 1 | `p' == 2 loc delta = 1
|
| 227 |
+
else if `p' == 3 | `p' == 5 loc delta = 2
|
| 228 |
+
else loc delta = 5
|
| 229 |
+
|
| 230 |
+
* compute error numerator
|
| 231 |
+
loc error_numerator = ///
|
| 232 |
+
`delta' - ( ( exp(-[lambda]_cons*[betatilde]_cons*([b]_cons + `p')) / ([lambda]_cons*[betatilde]_cons) ) * (1 - exp(-[lambda]_cons*[betatilde]_cons*`delta')) ) - ///
|
| 233 |
+
( `delta' * ( 1 - ( exp(-[lambda]_cons*[betatilde]_cons*([b]_cons + `p')) * ( (1 + exp(-[lambda]_cons*[betatilde]_cons*`delta')) / 2 ) ) ) )
|
| 234 |
+
|
| 235 |
+
* compute error denominator
|
| 236 |
+
loc error_denominator = ///
|
| 237 |
+
( (1 - [betatilde]_cons) * ( [b]_cons*exp(-[lambda]_cons*[betatilde]_cons*([b]_cons + `p')) ) * (1 - exp(-[lambda]_cons*[betatilde]_cons*`delta')) ) + ///
|
| 238 |
+
( (1 - [betatilde]_cons) * exp(-[lambda]_cons*[betatilde]_cons*[b]_cons) * ( `p' + ( (1/([lambda]_cons*[betatilde]_cons)) * (1 - (1 + ([lambda]_cons*[betatilde]_cons*`delta'))*exp(-[lambda]_cons*[betatilde]_cons*`delta') ) ) ) )
|
| 239 |
+
|
| 240 |
+
*compute the error in percentage terms
|
| 241 |
+
loc error : di %4.2f abs(`error_numerator'/`error_denominator')*100
|
| 242 |
+
|
| 243 |
+
* export error
|
| 244 |
+
if `p' == 1 & `delta' == 1 loc errorname "poneDone"
|
| 245 |
+
else if `p' == 2 & `delta' == 1 loc errorname "ptwoDone"
|
| 246 |
+
else if `p' == 3 & `delta' == 2 loc errorname "pthreeDtwo"
|
| 247 |
+
else if `p' == 5 & `delta' == 2 loc errorname "pfiveDtwo"
|
| 248 |
+
else loc errorname "psevenDfive"
|
| 249 |
+
latex_write `errorname'error `error' numbers_struct
|
| 250 |
+
|
| 251 |
+
}
|
| 252 |
+
}
|
| 253 |
+
|
| 254 |
+
*generate 95% CIs for model values
|
| 255 |
+
if "`v'" == ""{ // generate plotting variable in the first loop only
|
| 256 |
+
global obs = _N
|
| 257 |
+
loc num = _N+241
|
| 258 |
+
set obs `num'
|
| 259 |
+
gen plot_incentive = .
|
| 260 |
+
forval i = 0(.05)12.05{
|
| 261 |
+
qui replace plot_incentive = `i' if _n == $obs + (`i'*20) + 1
|
| 262 |
+
}
|
| 263 |
+
}
|
| 264 |
+
if "`v'" != "+0"{
|
| 265 |
+
predictnl mean_days_pred`o' = 28*(1-exp(-[lambda]_cons*([betatilde]_cons*([b]_cons+plot_incentive)`v'))) ///
|
| 266 |
+
if _n > $obs, ci(lb_days_pred`o' ub_days_pred`o') level(95)
|
| 267 |
+
predictnl mean_visits_pred`o' = 28*(1-exp(-[lambda]_cons*([beta]_cons*([b]_cons+plot_incentive)`v'))) ///
|
| 268 |
+
if _n > $obs, ci(lb_visits_pred`o' ub_visits_pred`o') level(95)
|
| 269 |
+
|
| 270 |
+
*plot model with actual data
|
| 271 |
+
twoway (conn mean_days_pred`o' plot_incentive, lcolor(black) m(none)) ///
|
| 272 |
+
(conn ub_days_pred`o' plot_incentive, lc(black) lp(shortdash) m(none)) ///
|
| 273 |
+
(conn lb_days_pred`o' plot_incentive, lc(black) lp(shortdash) m(none)) ///
|
| 274 |
+
(sc mean_days_ prize, msize(small) color(black)) ///
|
| 275 |
+
(rcap ub_days_ lb_days_ prize, lcolor(black) lwidth(medium) lpattern(dash)) ///
|
| 276 |
+
(conn mean_visits_pred`o' plot_incentive, lcolor(red) m(none)) ///
|
| 277 |
+
(conn ub_visits_pred`o' plot_incentive, lc(red) lp(shortdash) m(none)) ///
|
| 278 |
+
(conn lb_visits_pred`o' plot_incentive, lc(red) lp(shortdash) m(none)) ///
|
| 279 |
+
(sc mean_visits_ prize, m(square) msize(small) color(red)) ///
|
| 280 |
+
(rcap ub_visits_ lb_visits_ prize, lcolor(red) lwidth(medium) lpattern(dash)), ///
|
| 281 |
+
xlab(0(1)12) ylabel(0(5)22, angle(0)) ///
|
| 282 |
+
xtitle("Per-visit incentive ($)", height(6)) ytitle("Visits", height(6)) ///
|
| 283 |
+
graphregion(color(white)) plotregion(margin(sides)) ///
|
| 284 |
+
legend(order(1 2 6 7 4 9) label(1 "Predicted expected visits") label(2 "Prediction 95% CI") label(4 "Average expected visits") label(6 "Predicted realized visits") label(7 "Prediction 95% CI") label(9 "Average realized visits")) legend(rows(3))
|
| 285 |
+
graph export overconfidence_estimates`o'.pdf, replace
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
|
| 289 |
+
********* Waves exclusions ****************************************************
|
| 290 |
+
if "`v'" == ""{ // only for baseline
|
| 291 |
+
|
| 292 |
+
foreach i in 1 3{ // loop through wave number to be excluded
|
| 293 |
+
|
| 294 |
+
if `i' == 1 loc wname "wtwothree"
|
| 295 |
+
else loc wname "wonetwo"
|
| 296 |
+
|
| 297 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 298 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 299 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 300 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 301 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 302 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 303 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 304 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&wave`i'==0, ///
|
| 305 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 306 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 307 |
+
latex_write_gmm `wname' `lx' // store estimates
|
| 308 |
+
|
| 309 |
+
*actual internality:
|
| 310 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 311 |
+
latex_write_nlcom aint`wname' `lx' // store estimates
|
| 312 |
+
|
| 313 |
+
*naivete statistic:
|
| 314 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 315 |
+
latex_write_nlcom naive`wname' `lx' // store estimates
|
| 316 |
+
|
| 317 |
+
*expected cost
|
| 318 |
+
nlcom 1/[lambda]_cons
|
| 319 |
+
latex_write_nlcom expcost`wname' `lx' // store estimate
|
| 320 |
+
|
| 321 |
+
}
|
| 322 |
+
}
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
********** Information ********************************************************
|
| 326 |
+
* information control group
|
| 327 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 328 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 329 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 330 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 331 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 332 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 333 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 334 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&control_info==1, ///
|
| 335 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 336 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 337 |
+
latex_write_gmm control`o' `lx'
|
| 338 |
+
|
| 339 |
+
*actual internality:
|
| 340 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 341 |
+
latex_write_nlcom aintcontrol`o' `lx'
|
| 342 |
+
|
| 343 |
+
*naivete statistic:
|
| 344 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 345 |
+
latex_write_nlcom naivecontrol`o' `lx'
|
| 346 |
+
|
| 347 |
+
*expected cost
|
| 348 |
+
nlcom 1/[lambda]_cons
|
| 349 |
+
latex_write_nlcom expcostcontrol`o' `lx' // store estimate
|
| 350 |
+
|
| 351 |
+
* enhanced information treatment group
|
| 352 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 353 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 354 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 355 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 356 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 357 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 358 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 359 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&new_info==1, ///
|
| 360 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 361 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 362 |
+
latex_write_gmm treat`o' `lx'
|
| 363 |
+
|
| 364 |
+
*actual internality:
|
| 365 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 366 |
+
latex_write_nlcom ainttreat`o' `lx'
|
| 367 |
+
|
| 368 |
+
*naivete statistic:
|
| 369 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 370 |
+
latex_write_nlcom naivetreat`o' `lx'
|
| 371 |
+
|
| 372 |
+
*expected cost
|
| 373 |
+
nlcom 1/[lambda]_cons
|
| 374 |
+
latex_write_nlcom expcosttreat`o' `lx'
|
| 375 |
+
|
| 376 |
+
|
| 377 |
+
********** Past attendance ****************************************************
|
| 378 |
+
if "`v'" == ""{ // generate in first loop only
|
| 379 |
+
sum past4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.,d
|
| 380 |
+
loc q1past4=r(p25)
|
| 381 |
+
loc medpast4=r(p50)
|
| 382 |
+
loc q3past4=r(p75)
|
| 383 |
+
gen abovemedpast4=past4>=`medpast4'
|
| 384 |
+
gen belowmedpast4=past4<`medpast4'
|
| 385 |
+
gen qpast4=1 if past4<`q1past4'
|
| 386 |
+
replace qpast4=2 if past4>=`q1past4'&past4<`medpast4'
|
| 387 |
+
replace qpast4=3 if past4>=`medpast4'&past4<`q3past4'
|
| 388 |
+
replace qpast4=4 if past4>=`q3past4'
|
| 389 |
+
}
|
| 390 |
+
|
| 391 |
+
*by median
|
| 392 |
+
foreach r in "0" "1"{
|
| 393 |
+
|
| 394 |
+
if "`r'"=="0" loc name "bm"
|
| 395 |
+
else loc name "am"
|
| 396 |
+
|
| 397 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 398 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 399 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 400 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 401 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 402 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 403 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 404 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&abovemedpast4==`r', ///
|
| 405 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 406 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 407 |
+
latex_write_gmm `name'`o' `lx'
|
| 408 |
+
|
| 409 |
+
*actual internality:
|
| 410 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 411 |
+
latex_write_nlcom aint`name'`o' `lx'
|
| 412 |
+
|
| 413 |
+
*naivete statistic:
|
| 414 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 415 |
+
latex_write_nlcom naive`name'`o' `lx'
|
| 416 |
+
|
| 417 |
+
*expected cost
|
| 418 |
+
nlcom 1/[lambda]_cons
|
| 419 |
+
latex_write_nlcom expcost`name'`o' `lx'
|
| 420 |
+
|
| 421 |
+
}
|
| 422 |
+
|
| 423 |
+
|
| 424 |
+
*by median, info treatment, and take-up of 12+ contract - averages with CIs
|
| 425 |
+
loc name "het`o'"
|
| 426 |
+
|
| 427 |
+
*share in each group
|
| 428 |
+
sum commit12 if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.
|
| 429 |
+
loc propcommit12het = r(mean)
|
| 430 |
+
sum abovemedpast4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==1
|
| 431 |
+
loc meanam = r(mean)
|
| 432 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==1&abovemedpast4==1
|
| 433 |
+
loc propamctrlcommit`o' = `meanam'*r(mean)*`propcommit12het'
|
| 434 |
+
loc propaminfocommit`o' = `meanam'*(1 - r(mean))*`propcommit12het'
|
| 435 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==1&abovemedpast4==0
|
| 436 |
+
loc propbmctrlcommit`o' = (1 - `meanam')*r(mean)*`propcommit12het'
|
| 437 |
+
loc propbminfocommit`o' = (1 - `meanam')*(1 - r(mean))*`propcommit12het'
|
| 438 |
+
sum abovemedpast4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==0
|
| 439 |
+
loc meanam = r(mean)
|
| 440 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==0&abovemedpast4==1
|
| 441 |
+
loc propamctrlnocommit`o' = `meanam'*r(mean)*(1 - `propcommit12het')
|
| 442 |
+
loc propaminfonocommit`o' = `meanam'*(1 - r(mean))*(1 - `propcommit12het')
|
| 443 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==0&abovemedpast4==0
|
| 444 |
+
loc propbmctrlnocommit`o' = (1 - `meanam')*r(mean)*(1 - `propcommit12het')
|
| 445 |
+
loc propbminfonocommit`o' = (1 - `meanam')*(1 - r(mean))*(1 - `propcommit12het')
|
| 446 |
+
|
| 447 |
+
gmm (eq1:28*(1-exp(-{lambda0}*({betatilde0}*({b0}+prize)`v')))*control_info*abovemedpast4*commit12-days*control_info*abovemedpast4*commit12) ///
|
| 448 |
+
(eq2: 28*(1-exp(-{lambda0}*({beta0}*({b0}+incentive)`v')))*control_info*abovemedpast4*commit12-visits*control_info*abovemedpast4*commit12) ///
|
| 449 |
+
(eq3: (1-{betatilde0})*diffa2*({b0}+(1+2)/2)*control_info*abovemedpast4*commit12-delta2*control_info*abovemedpast4*commit12) ///
|
| 450 |
+
(eq4: (1-{betatilde0})*diffa3*({b0}+(2+3)/2)*control_info*abovemedpast4*commit12-delta3*control_info*abovemedpast4*commit12) ///
|
| 451 |
+
(eq5: (1-{betatilde0})*diffa5*({b0}+(3+5)/2)*control_info*abovemedpast4*commit12-delta5*control_info*abovemedpast4*commit12) ///
|
| 452 |
+
(eq6: (1-{betatilde0})*diffa7*({b0}+(5+7)/2)*control_info*abovemedpast4*commit12-delta7*control_info*abovemedpast4*commit12) ///
|
| 453 |
+
(eq7: (1-{betatilde0})*diffa12*({b0}+(7+12)/2)*control_info*abovemedpast4*commit12-delta12*control_info*abovemedpast4*commit12) ///
|
| 454 |
+
(eq1b:28*(1-exp(-{lambda1}*({betatilde1}*({b1}+prize)`v')))*new_info*abovemedpast4*commit12-days*new_info*abovemedpast4*commit12) ///
|
| 455 |
+
(eq2b: 28*(1-exp(-{lambda1}*({beta1}*({b1}+incentive)`v')))*new_info*abovemedpast4*commit12-visits*new_info*abovemedpast4*commit12) ///
|
| 456 |
+
(eq3b: (1-{betatilde1})*diffa2*({b1}+(1+2)/2)*new_info*abovemedpast4*commit12-delta2*new_info*abovemedpast4*commit12) ///
|
| 457 |
+
(eq4b: (1-{betatilde1})*diffa3*({b1}+(2+3)/2)*new_info*abovemedpast4*commit12-delta3*new_info*abovemedpast4*commit12) ///
|
| 458 |
+
(eq5b: (1-{betatilde1})*diffa5*({b1}+(3+5)/2)*new_info*abovemedpast4*commit12-delta5*new_info*abovemedpast4*commit12) ///
|
| 459 |
+
(eq6b: (1-{betatilde1})*diffa7*({b1}+(5+7)/2)*new_info*abovemedpast4*commit12-delta7*new_info*abovemedpast4*commit12) ///
|
| 460 |
+
(eq7b: (1-{betatilde1})*diffa12*({b1}+(7+12)/2)*new_info*abovemedpast4*commit12-delta12*new_info*abovemedpast4*commit12) ///
|
| 461 |
+
(eq1c:28*(1-exp(-{lambda2}*({betatilde2}*({b2}+prize)`v')))*control_info*belowmedpast4*commit12-days*control_info*belowmedpast4*commit12) ///
|
| 462 |
+
(eq2c: 28*(1-exp(-{lambda2}*({beta2}*({b2}+incentive)`v')))*control_info*belowmedpast4*commit12-visits*control_info*belowmedpast4*commit12) ///
|
| 463 |
+
(eq3c: (1-{betatilde2})*diffa2*({b2}+(1+2)/2)*control_info*belowmedpast4*commit12-delta2*control_info*belowmedpast4*commit12) ///
|
| 464 |
+
(eq4c: (1-{betatilde2})*diffa3*({b2}+(2+3)/2)*control_info*belowmedpast4*commit12-delta3*control_info*belowmedpast4*commit12) ///
|
| 465 |
+
(eq5c: (1-{betatilde2})*diffa5*({b2}+(3+5)/2)*control_info*belowmedpast4*commit12-delta5*control_info*belowmedpast4*commit12) ///
|
| 466 |
+
(eq6c: (1-{betatilde2})*diffa7*({b2}+(5+7)/2)*control_info*belowmedpast4*commit12-delta7*control_info*belowmedpast4*commit12) ///
|
| 467 |
+
(eq7c: (1-{betatilde2})*diffa12*({b2}+(7+12)/2)*control_info*belowmedpast4*commit12-delta12*control_info*belowmedpast4*commit12) ///
|
| 468 |
+
(eq1d:28*(1-exp(-{lambda3}*({betatilde3}*({b3}+prize)`v')))*new_info*belowmedpast4*commit12-days*new_info*belowmedpast4*commit12) ///
|
| 469 |
+
(eq2d: 28*(1-exp(-{lambda3}*({beta3}*({b3}+incentive)`v')))*new_info*belowmedpast4*commit12-visits*new_info*belowmedpast4*commit12) ///
|
| 470 |
+
(eq3d: (1-{betatilde3})*diffa2*({b3}+(1+2)/2)*new_info*belowmedpast4*commit12-delta2*new_info*belowmedpast4*commit12) ///
|
| 471 |
+
(eq4d: (1-{betatilde3})*diffa3*({b3}+(2+3)/2)*new_info*belowmedpast4*commit12-delta3*new_info*belowmedpast4*commit12) ///
|
| 472 |
+
(eq5d: (1-{betatilde3})*diffa5*({b3}+(3+5)/2)*new_info*belowmedpast4*commit12-delta5*new_info*belowmedpast4*commit12) ///
|
| 473 |
+
(eq6d: (1-{betatilde3})*diffa7*({b3}+(5+7)/2)*new_info*belowmedpast4*commit12-delta7*new_info*belowmedpast4*commit12) ///
|
| 474 |
+
(eq7d: (1-{betatilde3})*diffa12*({b3}+(7+12)/2)*new_info*belowmedpast4*commit12-delta12*new_info*belowmedpast4*commit12) ///
|
| 475 |
+
(eq1e:28*(1-exp(-{lambda4}*({betatilde4}*({b4}+prize)`v')))*control_info*abovemedpast4*nocommit12-days*control_info*abovemedpast4*nocommit12) ///
|
| 476 |
+
(eq2e: 28*(1-exp(-{lambda4}*({beta4}*({b4}+incentive)`v')))*control_info*abovemedpast4*nocommit12-visits*control_info*abovemedpast4*nocommit12) ///
|
| 477 |
+
(eq3e: (1-{betatilde4})*diffa2*({b4}+(1+2)/2)*control_info*abovemedpast4*nocommit12-delta2*control_info*abovemedpast4*nocommit12) ///
|
| 478 |
+
(eq4e: (1-{betatilde4})*diffa3*({b4}+(2+3)/2)*control_info*abovemedpast4*nocommit12-delta3*control_info*abovemedpast4*nocommit12) ///
|
| 479 |
+
(eq5e: (1-{betatilde4})*diffa5*({b4}+(3+5)/2)*control_info*abovemedpast4*nocommit12-delta5*control_info*abovemedpast4*nocommit12) ///
|
| 480 |
+
(eq6e: (1-{betatilde4})*diffa7*({b4}+(5+7)/2)*control_info*abovemedpast4*nocommit12-delta7*control_info*abovemedpast4*nocommit12) ///
|
| 481 |
+
(eq7e: (1-{betatilde4})*diffa12*({b4}+(7+12)/2)*control_info*abovemedpast4*nocommit12-delta12*control_info*abovemedpast4*nocommit12) ///
|
| 482 |
+
(eq1f:28*(1-exp(-{lambda5}*({betatilde5}*({b5}+prize)`v')))*new_info*abovemedpast4*nocommit12-days*new_info*abovemedpast4*nocommit12) ///
|
| 483 |
+
(eq2f: 28*(1-exp(-{lambda5}*({beta5}*({b5}+incentive)`v')))*new_info*abovemedpast4*nocommit12-visits*new_info*abovemedpast4*nocommit12) ///
|
| 484 |
+
(eq3f: (1-{betatilde5})*diffa2*({b5}+(1+2)/2)*new_info*abovemedpast4*nocommit12-delta2*new_info*abovemedpast4*nocommit12) ///
|
| 485 |
+
(eq4f: (1-{betatilde5})*diffa3*({b5}+(2+3)/2)*new_info*abovemedpast4*nocommit12-delta3*new_info*abovemedpast4*nocommit12) ///
|
| 486 |
+
(eq5f: (1-{betatilde5})*diffa5*({b5}+(3+5)/2)*new_info*abovemedpast4*nocommit12-delta5*new_info*abovemedpast4*nocommit12) ///
|
| 487 |
+
(eq6f: (1-{betatilde5})*diffa7*({b5}+(5+7)/2)*new_info*abovemedpast4*nocommit12-delta7*new_info*abovemedpast4*nocommit12) ///
|
| 488 |
+
(eq7f: (1-{betatilde5})*diffa12*({b5}+(7+12)/2)*new_info*abovemedpast4*nocommit12-delta12*new_info*abovemedpast4*nocommit12) ///
|
| 489 |
+
(eq1g:28*(1-exp(-{lambda6}*({betatilde6}*({b6}+prize)`v')))*control_info*belowmedpast4*nocommit12-days*control_info*belowmedpast4*nocommit12) ///
|
| 490 |
+
(eq2g: 28*(1-exp(-{lambda6}*({beta6}*({b6}+incentive)`v')))*control_info*belowmedpast4*nocommit12-visits*control_info*belowmedpast4*nocommit12) ///
|
| 491 |
+
(eq3g: (1-{betatilde6})*diffa2*({b6}+(1+2)/2)*control_info*belowmedpast4*nocommit12-delta2*control_info*belowmedpast4*nocommit12) ///
|
| 492 |
+
(eq4g: (1-{betatilde6})*diffa3*({b6}+(2+3)/2)*control_info*belowmedpast4*nocommit12-delta3*control_info*belowmedpast4*nocommit12) ///
|
| 493 |
+
(eq5g: (1-{betatilde6})*diffa5*({b6}+(3+5)/2)*control_info*belowmedpast4*nocommit12-delta5*control_info*belowmedpast4*nocommit12) ///
|
| 494 |
+
(eq6g: (1-{betatilde6})*diffa7*({b6}+(5+7)/2)*control_info*belowmedpast4*nocommit12-delta7*control_info*belowmedpast4*nocommit12) ///
|
| 495 |
+
(eq7g: (1-{betatilde6})*diffa12*({b6}+(7+12)/2)*control_info*belowmedpast4*nocommit12-delta12*control_info*belowmedpast4*nocommit12) ///
|
| 496 |
+
(eq1h:28*(1-exp(-{lambda7}*({betatilde7}*({b7}+prize)`v')))*new_info*belowmedpast4*nocommit12-days*new_info*belowmedpast4*nocommit12) ///
|
| 497 |
+
(eq2h: 28*(1-exp(-{lambda7}*({beta7}*({b7}+incentive)`v')))*new_info*belowmedpast4*nocommit12-visits*new_info*belowmedpast4*nocommit12) ///
|
| 498 |
+
(eq3h: (1-{betatilde7})*diffa2*({b7}+(1+2)/2)*new_info*belowmedpast4*nocommit12-delta2*new_info*belowmedpast4*nocommit12) ///
|
| 499 |
+
(eq4h: (1-{betatilde7})*diffa3*({b7}+(2+3)/2)*new_info*belowmedpast4*nocommit12-delta3*new_info*belowmedpast4*nocommit12) ///
|
| 500 |
+
(eq5h: (1-{betatilde7})*diffa5*({b7}+(3+5)/2)*new_info*belowmedpast4*nocommit12-delta5*new_info*belowmedpast4*nocommit12) ///
|
| 501 |
+
(eq6h: (1-{betatilde7})*diffa7*({b7}+(5+7)/2)*new_info*belowmedpast4*nocommit12-delta7*new_info*belowmedpast4*nocommit12) ///
|
| 502 |
+
(eq7h: (1-{betatilde7})*diffa12*({b7}+(7+12)/2)*new_info*belowmedpast4*nocommit12-delta12*new_info*belowmedpast4*nocommit12) ///
|
| 503 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&(control_info==1|new_info==1), ///
|
| 504 |
+
instruments(eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 505 |
+
instruments(eq1b: prize prize2) instruments(eq2b:incentive incentivesq) ///
|
| 506 |
+
instruments(eq1c: prize prize2) instruments(eq2c:incentive incentivesq) ///
|
| 507 |
+
instruments(eq1d: prize prize2) instruments(eq2d:incentive incentivesq) ///
|
| 508 |
+
instruments(eq1e: prize prize2) instruments(eq2e:incentive incentivesq) ///
|
| 509 |
+
instruments(eq1f: prize prize2) instruments(eq2f:incentive incentivesq) ///
|
| 510 |
+
instruments(eq1g: prize prize2) instruments(eq2g:incentive incentivesq) ///
|
| 511 |
+
instruments(eq1h: prize prize2) instruments(eq2h:incentive incentivesq) ///
|
| 512 |
+
from (b7 8 b6 8 b5 8 b4 8 b3 8 b2 8 b1 8 b0 8 lambda7 0.06 lambda6 0.06 lambda5 0.06 lambda4 0.06 lambda3 0.06 lambda2 0.06 lambda1 0.06 lambda0 0.06 beta7 0.5 beta6 0.5 beta5 0.5 beta4 0.5 beta3 0.5 beta2 0.5 beta1 0.5 beta0 0.5 betatilde7 0.8 betatilde6 0.8 betatilde5 0.8 betatilde4 0.8 betatilde3 0.8 betatilde2 0.8 betatilde1 0.8 betatilde0 0.8) ///
|
| 513 |
+
vce(cluster id) winitial(identity)
|
| 514 |
+
foreach p in b lambda beta betatilde{
|
| 515 |
+
nlcom [`p'0]_cons*`propamctrlcommit`o'' + ///
|
| 516 |
+
[`p'1]_cons*`propaminfocommit`o'' + ///
|
| 517 |
+
[`p'2]_cons*`propbmctrlcommit`o'' + ///
|
| 518 |
+
[`p'3]_cons*`propbminfocommit`o'' + ///
|
| 519 |
+
[`p'4]_cons*`propamctrlnocommit`o'' + ///
|
| 520 |
+
[`p'5]_cons*`propaminfonocommit`o'' + ///
|
| 521 |
+
[`p'6]_cons*`propbmctrlnocommit`o'' + ///
|
| 522 |
+
[`p'7]_cons*`propbminfonocommit`o''
|
| 523 |
+
latex_write_nlcom `p'minfoavg`name' `lx'
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
*actual internality:
|
| 527 |
+
nlcom (1-[beta0]_cons)*[b0]_cons*`propamctrlcommit`o'' + ///
|
| 528 |
+
(1-[beta1]_cons)*[b1]_cons*`propaminfocommit`o'' + ///
|
| 529 |
+
(1-[beta2]_cons)*[b2]_cons*`propbmctrlcommit`o'' + ///
|
| 530 |
+
(1-[beta3]_cons)*[b3]_cons*`propbminfocommit`o'' + ///
|
| 531 |
+
(1-[beta4]_cons)*[b4]_cons*`propamctrlnocommit`o'' + ///
|
| 532 |
+
(1-[beta5]_cons)*[b5]_cons*`propaminfonocommit`o'' + ///
|
| 533 |
+
(1-[beta6]_cons)*[b6]_cons*`propbmctrlnocommit`o'' + ///
|
| 534 |
+
(1-[beta7]_cons)*[b7]_cons*`propbminfonocommit`o''
|
| 535 |
+
latex_write_nlcom aintminfoavg`name' `lx'
|
| 536 |
+
|
| 537 |
+
*naivete statistic:
|
| 538 |
+
nlcom (1-[betatilde0]_cons)/(1-[beta0]_cons)*`propamctrlcommit`o'' + ///
|
| 539 |
+
(1-[betatilde1]_cons)/(1-[beta1]_cons)*`propaminfocommit`o'' + ///
|
| 540 |
+
(1-[betatilde2]_cons)/(1-[beta2]_cons)*`propbmctrlcommit`o'' + ///
|
| 541 |
+
(1-[betatilde3]_cons)/(1-[beta3]_cons)*`propbminfocommit`o'' + ///
|
| 542 |
+
(1-[betatilde4]_cons)/(1-[beta4]_cons)*`propamctrlnocommit`o'' + ///
|
| 543 |
+
(1-[betatilde5]_cons)/(1-[beta5]_cons)*`propaminfonocommit`o'' + ///
|
| 544 |
+
(1-[betatilde6]_cons)/(1-[beta6]_cons)*`propbmctrlnocommit`o'' + ///
|
| 545 |
+
(1-[betatilde7]_cons)/(1-[beta7]_cons)*`propbminfonocommit`o''
|
| 546 |
+
latex_write_nlcom naiveminfoavg`name' `lx'
|
| 547 |
+
|
| 548 |
+
*expected cost
|
| 549 |
+
nlcom (1/[lambda0]_cons)*`propamctrlcommit`o'' + ///
|
| 550 |
+
(1/[lambda1]_cons)*`propaminfocommit`o'' + ///
|
| 551 |
+
(1/[lambda2]_cons)*`propbmctrlcommit`o'' + ///
|
| 552 |
+
(1/[lambda3]_cons)*`propbminfocommit`o'' + ///
|
| 553 |
+
(1/[lambda4]_cons)*`propamctrlnocommit`o'' + ///
|
| 554 |
+
(1/[lambda5]_cons)*`propaminfonocommit`o'' + ///
|
| 555 |
+
(1/[lambda6]_cons)*`propbmctrlnocommit`o'' + ///
|
| 556 |
+
(1/[lambda7]_cons)*`propbminfonocommit`o''
|
| 557 |
+
latex_write_nlcom expcostminfoavg`name' `lx'
|
| 558 |
+
|
| 559 |
+
if "`v'" != "+0"{
|
| 560 |
+
*generate 95% CIs for model values
|
| 561 |
+
predictnl mean_days_minfo`name'_pred = ///
|
| 562 |
+
28*((1-exp(-[lambda0]_cons*([betatilde0]_cons*([b0]_cons+plot_incentive)`v')))*`propamctrlcommit`o'' + ///
|
| 563 |
+
(1-exp(-[lambda1]_cons*([betatilde1]_cons*([b1]_cons+plot_incentive)`v')))*`propaminfocommit`o'' + ///
|
| 564 |
+
(1-exp(-[lambda2]_cons*([betatilde2]_cons*([b2]_cons+plot_incentive)`v')))*`propbmctrlcommit`o'' + ///
|
| 565 |
+
(1-exp(-[lambda3]_cons*([betatilde3]_cons*([b3]_cons+plot_incentive)`v')))*`propbminfocommit`o'' + ///
|
| 566 |
+
(1-exp(-[lambda4]_cons*([betatilde4]_cons*([b4]_cons+plot_incentive)`v')))*`propamctrlnocommit`o'' + ///
|
| 567 |
+
(1-exp(-[lambda5]_cons*([betatilde5]_cons*([b5]_cons+plot_incentive)`v')))*`propaminfonocommit`o'' + ///
|
| 568 |
+
(1-exp(-[lambda6]_cons*([betatilde6]_cons*([b6]_cons+plot_incentive)`v')))*`propbmctrlnocommit`o'' + ///
|
| 569 |
+
(1-exp(-[lambda7]_cons*([betatilde7]_cons*([b7]_cons+plot_incentive)`v')))*`propbminfonocommit`o'') ///
|
| 570 |
+
if _n > $obs, ci(lb_days_minfo`name'_pred ub_days_minfo`name'_pred) level(95)
|
| 571 |
+
predictnl mean_visits_minfo`name'_pred = ///
|
| 572 |
+
28*((1-exp(-[lambda0]_cons*([beta0]_cons*([b0]_cons+plot_incentive)`v')))*`propamctrlcommit`o'' + ///
|
| 573 |
+
(1-exp(-[lambda1]_cons*([beta1]_cons*([b1]_cons+plot_incentive)`v')))*`propaminfocommit`o'' + ///
|
| 574 |
+
(1-exp(-[lambda2]_cons*([beta2]_cons*([b2]_cons+plot_incentive)`v')))*`propbmctrlcommit`o'' + ///
|
| 575 |
+
(1-exp(-[lambda3]_cons*([beta3]_cons*([b3]_cons+plot_incentive)`v')))*`propbminfocommit`o'' + ///
|
| 576 |
+
(1-exp(-[lambda4]_cons*([beta4]_cons*([b4]_cons+plot_incentive)`v')))*`propamctrlnocommit`o'' + ///
|
| 577 |
+
(1-exp(-[lambda5]_cons*([beta5]_cons*([b5]_cons+plot_incentive)`v')))*`propaminfonocommit`o'' + ///
|
| 578 |
+
(1-exp(-[lambda6]_cons*([beta6]_cons*([b6]_cons+plot_incentive)`v')))*`propbmctrlnocommit`o'' + ///
|
| 579 |
+
(1-exp(-[lambda7]_cons*([beta7]_cons*([b7]_cons+plot_incentive)`v')))*`propbminfonocommit`o'') ///
|
| 580 |
+
if _n > $obs, ci(lb_visits_minfo`name'_pred ub_visits_minfo`name'_pred) level(95)
|
| 581 |
+
|
| 582 |
+
*plot model with actual data
|
| 583 |
+
twoway (conn mean_days_minfo`name'_pred plot_incentive, lcolor(black) m(none)) ///
|
| 584 |
+
(conn ub_days_minfo`name'_pred plot_incentive, lc(black) lp(shortdash) m(none)) ///
|
| 585 |
+
(conn lb_days_minfo`name'_pred plot_incentive, lc(black) lp(shortdash) m(none)) ///
|
| 586 |
+
(sc mean_days_inf_ prize, msize(small) color(black)) ///
|
| 587 |
+
(rcap ub_days_inf_ lb_days_inf_ prize, lcolor(black) lwidth(medium) lpattern(dash)) ///
|
| 588 |
+
(conn mean_visits_minfo`name'_pred plot_incentive, lcolor(red) m(none)) ///
|
| 589 |
+
(conn ub_visits_minfo`name'_pred plot_incentive, lc(red) lp(shortdash) m(none)) ///
|
| 590 |
+
(conn lb_visits_minfo`name'_pred plot_incentive, lc(red) lp(shortdash) m(none)) ///
|
| 591 |
+
(sc mean_visits_inf_ prize, m(square) msize(small) color(red)) ///
|
| 592 |
+
(rcap ub_visits_inf_ lb_visits_inf_ prize, lcolor(red) lwidth(medium) lpattern(dash)), ///
|
| 593 |
+
xlab(0(1)12) ylabel(0(5)22, angle(0)) ///
|
| 594 |
+
xtitle("Per-visit incentive ($)", height(6)) ytitle("Visits", height(6)) ///
|
| 595 |
+
graphregion(color(white)) plotregion(margin(sides)) ///
|
| 596 |
+
legend(order(1 2 6 7 4 9) label(1 "Predicted expected visits") label(2 "Prediction 95% CI") label(4 "Average expected visits") label(6 "Predicted realized visits") label(7 "Prediction 95% CI") label(9 "Average realized visits")) legend(rows(3))
|
| 597 |
+
graph export overconfidence_estimates_past4_info_`name'.pdf, replace
|
| 598 |
+
|
| 599 |
+
*by median and take-up of commitment contract
|
| 600 |
+
forval j = 8(4)16{
|
| 601 |
+
|
| 602 |
+
if `j' == 8 loc x "e"
|
| 603 |
+
else if `j' == 12 loc x ""
|
| 604 |
+
else loc x "s"
|
| 605 |
+
|
| 606 |
+
foreach r in "0&commit`j'==1" "1&commit`j'==1" "0&commit`j'==0" "1&commit`j'==0"{
|
| 607 |
+
|
| 608 |
+
if "`r'"=="0&commit`j'==1" loc name "bmcommit`x'`o'"
|
| 609 |
+
else if "`r'"=="1&commit`j'==1" loc name "amcommit`x'`o'"
|
| 610 |
+
else if "`r'"=="0&commit`j'==0" loc name "bmnocommit`x'`o'"
|
| 611 |
+
else loc name "amnocommit`x'`o'"
|
| 612 |
+
|
| 613 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 614 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 615 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 616 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 617 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 618 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 619 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 620 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&abovemedpast4==`r', ///
|
| 621 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 622 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 623 |
+
foreach p in b lambda beta betatilde{
|
| 624 |
+
loc `p'`name' = [`p']_cons
|
| 625 |
+
}
|
| 626 |
+
}
|
| 627 |
+
|
| 628 |
+
*share in each group
|
| 629 |
+
sum abovemedpast4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1
|
| 630 |
+
loc propamcommit`x'`o' = r(mean)
|
| 631 |
+
loc propbmcommit`x'`o' = 1 - r(mean)
|
| 632 |
+
loc propmavgcommit`x'`o' = 1
|
| 633 |
+
sum abovemedpast4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0
|
| 634 |
+
loc propamnocommit`x'`o' = r(mean)
|
| 635 |
+
loc propbmnocommit`x'`o' = 1 - r(mean)
|
| 636 |
+
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
*by quartile of past attendance and take-up of commitment contract (for export)
|
| 640 |
+
forval j = 8(4)16{
|
| 641 |
+
|
| 642 |
+
if `j' == 8 loc x "e"
|
| 643 |
+
else if `j' == 12 loc x ""
|
| 644 |
+
else loc x "s"
|
| 645 |
+
|
| 646 |
+
foreach r in "1&commit`j'==1" "2&commit`j'==1" "3&commit`j'==1" "4&commit`j'==1" "1&commit`j'==0" "2&commit`j'==0" "3&commit`j'==0" "4&commit`j'==0"{
|
| 647 |
+
|
| 648 |
+
if "`r'"=="1&commit`j'==1" loc name "qfstcommit`x'`o'"
|
| 649 |
+
else if "`r'"=="2&commit`j'==1" loc name "qsndcommit`x'`o'"
|
| 650 |
+
else if "`r'"=="3&commit`j'==1" loc name "qthdcommit`x'`o'"
|
| 651 |
+
else if "`r'"=="4&commit`j'==1" loc name "qfthcommit`x'`o'"
|
| 652 |
+
else if "`r'"=="1&commit`j'==0" loc name "qfstnocommit`x'`o'"
|
| 653 |
+
else if "`r'"=="2&commit`j'==0" loc name "qsndnocommit`x'`o'"
|
| 654 |
+
else if "`r'"=="3&commit`j'==0" loc name "qthdnocommit`x'`o'"
|
| 655 |
+
else loc name "qfthnocommit`x'`o'"
|
| 656 |
+
|
| 657 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 658 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 659 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 660 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 661 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 662 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 663 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 664 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&qpast4==`r', ///
|
| 665 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 666 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 667 |
+
foreach p in b lambda beta betatilde{
|
| 668 |
+
loc `p'`name' = [`p']_cons
|
| 669 |
+
}
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
*share in each group
|
| 673 |
+
sum qpast4 if abovemedpast4==0&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1
|
| 674 |
+
loc propqfstcommit`x'`o' = (2 - r(mean))*`propbmcommit`x'`o''
|
| 675 |
+
loc propqsndcommit`x'`o' = (1 - (2 - r(mean)))*`propbmcommit`x'`o''
|
| 676 |
+
sum qpast4 if abovemedpast4==1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1
|
| 677 |
+
loc propqthdcommit`x'`o' = (4 - r(mean))*`propamcommit`x'`o''
|
| 678 |
+
loc propqfthcommit`x'`o' = (1 - (4 - r(mean)))*`propamcommit`x'`o''
|
| 679 |
+
sum qpast4 if abovemedpast4==0&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0
|
| 680 |
+
loc propqfstnocommit`x'`o' = (2 - r(mean))*`propbmnocommit`x'`o''
|
| 681 |
+
loc propqsndnocommit`x'`o' = (1 - (2 - r(mean)))*`propbmnocommit`x'`o''
|
| 682 |
+
sum qpast4 if abovemedpast4==1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0
|
| 683 |
+
loc propqthdnocommit`x'`o' = (4 - r(mean))*`propamnocommit`x'`o''
|
| 684 |
+
loc propqfthnocommit`x'`o' = (1 - (4 - r(mean)))*`propamnocommit`x'`o''
|
| 685 |
+
|
| 686 |
+
}
|
| 687 |
+
|
| 688 |
+
*by median, info treatment, & take-up of each commitment contract
|
| 689 |
+
forval j = 8(4)16{
|
| 690 |
+
|
| 691 |
+
if `j' == 8 loc x "e"
|
| 692 |
+
else if `j' == 12 loc x ""
|
| 693 |
+
else loc x "s"
|
| 694 |
+
|
| 695 |
+
foreach r in "0&control_info==1&commit`j'==1" "0&new_info==1&commit`j'==1" "1&control_info==1&commit`j'==1" "1&new_info==1&commit`j'==1" "0&control_info==1&commit`j'==0" "0&new_info==1&commit`j'==0" "1&control_info==1&commit`j'==0" "1&new_info==1&commit`j'==0" {
|
| 696 |
+
|
| 697 |
+
if "`r'"=="0&control_info==1&commit`j'==1" loc name "bmctrlcommit`x'`o'"
|
| 698 |
+
else if "`r'"=="0&new_info==1&commit`j'==1" loc name "bminfocommit`x'`o'"
|
| 699 |
+
else if "`r'"=="1&control_info==1&commit`j'==1" loc name "amctrlcommit`x'`o'"
|
| 700 |
+
else if "`r'"=="1&new_info==1&commit`j'==1" loc name "aminfocommit`x'`o'"
|
| 701 |
+
else if "`r'"=="0&control_info==1&commit`j'==0" loc name "bmctrlnocommit`x'`o'"
|
| 702 |
+
else if "`r'"=="0&new_info==1&commit`j'==0" loc name "bminfonocommit`x'`o'"
|
| 703 |
+
else if "`r'"=="1&control_info==1&commit`j'==0" loc name "amctrlnocommit`x'`o'"
|
| 704 |
+
else loc name "aminfonocommit`x'`o'"
|
| 705 |
+
|
| 706 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 707 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 708 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 709 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 710 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 711 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 712 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 713 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&abovemedpast4==`r', ///
|
| 714 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 715 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 716 |
+
foreach p in b lambda beta betatilde{
|
| 717 |
+
loc `p'`name' = [`p']_cons
|
| 718 |
+
}
|
| 719 |
+
}
|
| 720 |
+
|
| 721 |
+
*share in each group
|
| 722 |
+
sum commit`j' if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.
|
| 723 |
+
loc propcommit
|
| 724 |
+
sum abovemedpast4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1
|
| 725 |
+
loc meanam = r(mean)
|
| 726 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1&abovemedpast4==1
|
| 727 |
+
loc propamctrlcommit`x'`o' = `meanam'*r(mean)
|
| 728 |
+
loc propaminfocommit`x'`o' = `meanam'*(1 - r(mean))
|
| 729 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1&abovemedpast4==0
|
| 730 |
+
loc propbmctrlcommit`x'`o' = (1 - `meanam')*r(mean)
|
| 731 |
+
loc propbminfocommit`x'`o' = (1 - `meanam')*(1 - r(mean))
|
| 732 |
+
sum abovemedpast4 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0
|
| 733 |
+
loc meanam = r(mean)
|
| 734 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0&abovemedpast4==1
|
| 735 |
+
loc propamctrlnocommit`x'`o' = `meanam'*r(mean)
|
| 736 |
+
loc propaminfonocommit`x'`o' = `meanam'*(1 - r(mean))
|
| 737 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0&abovemedpast4==0
|
| 738 |
+
loc propbmctrlnocommit`x'`o' = (1 - `meanam')*r(mean)
|
| 739 |
+
loc propbminfonocommit`x'`o' = (1 - `meanam')*(1 - r(mean))
|
| 740 |
+
|
| 741 |
+
}
|
| 742 |
+
|
| 743 |
+
*by quartile, info treatment, & take-up of 12 visit commitment contract
|
| 744 |
+
loc j = 12 // for 12+ visits contract only
|
| 745 |
+
loc x ""
|
| 746 |
+
foreach r in "1&commit`j'==1&control_info==1" "2&commit`j'==1&control_info==1" "3&commit`j'==1&control_info==1" "4&commit`j'==1&control_info==1" "1&commit`j'==1&new_info==1" "2&commit`j'==1&new_info==1" "3&commit`j'==1&new_info==1" "4&commit`j'==1&new_info==1" {
|
| 747 |
+
|
| 748 |
+
if "`r'"=="1&commit`j'==1&control_info==1" loc name "qfstctrlcommit`x'`o'"
|
| 749 |
+
else if "`r'"=="2&commit`j'==1&control_info==1" loc name "qsndctrlcommit`x'`o'"
|
| 750 |
+
else if "`r'"=="3&commit`j'==1&control_info==1" loc name "qthdctrlcommit`x'`o'"
|
| 751 |
+
else if "`r'"=="4&commit`j'==1&control_info==1" loc name "qfthctrlcommit`x'`o'"
|
| 752 |
+
else if "`r'"=="1&commit`j'==0&control_info==1" loc name "qfstctrlnocommit`x'`o'"
|
| 753 |
+
else if "`r'"=="2&commit`j'==0&control_info==1" loc name "qsndctrlnocommit`x'`o'"
|
| 754 |
+
else if "`r'"=="3&commit`j'==0&control_info==1" loc name "qthdctrlnocommit`x'`o'"
|
| 755 |
+
else if "`r'"=="4&commit`j'==0&control_info==1" loc name "qfthctrlnocommit`x'`o'"
|
| 756 |
+
else if "`r'"=="1&commit`j'==1&new_info==1" loc name "qfstinfocommit`x'`o'"
|
| 757 |
+
else if "`r'"=="2&commit`j'==1&new_info==1" loc name "qsndinfocommit`x'`o'"
|
| 758 |
+
else if "`r'"=="3&commit`j'==1&new_info==1" loc name "qthdinfocommit`x'`o'"
|
| 759 |
+
else if "`r'"=="4&commit`j'==1&new_info==1" loc name "qfthinfocommit`x'`o'"
|
| 760 |
+
else if "`r'"=="1&commit`j'==0&new_info==1" loc name "qfstinfonocommit`x'`o'"
|
| 761 |
+
else if "`r'"=="2&commit`j'==0&new_info==1" loc name "qsndinfonocommit`x'`o'"
|
| 762 |
+
else if "`r'"=="3&commit`j'==0&new_info==1" loc name "qthdinfonocommit`x'`o'"
|
| 763 |
+
else loc name "qfthinfonocommit`x'`o'"
|
| 764 |
+
|
| 765 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 766 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 767 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 768 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 769 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 770 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 771 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 772 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&qpast4==`r', ///
|
| 773 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 774 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 775 |
+
foreach p in b lambda beta betatilde{
|
| 776 |
+
loc `p'`name' = [`p']_cons
|
| 777 |
+
}
|
| 778 |
+
}
|
| 779 |
+
|
| 780 |
+
*share in each group
|
| 781 |
+
forval k = 1/4{
|
| 782 |
+
sum control_info if first_info!=1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0&qpast4==`k'
|
| 783 |
+
loc propctrlq`k' = r(mean)
|
| 784 |
+
}
|
| 785 |
+
sum qpast4 if abovemedpast4==0&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1
|
| 786 |
+
loc propqfstctrlcommit`x'`o' = (2 - r(mean))*`propbmcommit`x'`o''*`propctrlq1'
|
| 787 |
+
loc propqfstinfocommit`x'`o' = (2 - r(mean))*`propbmcommit`x'`o''*(1 - `propctrlq1')
|
| 788 |
+
loc propqsndctrlcommit`x'`o' = (1 - (2 - r(mean)))*`propbmcommit`x'`o''*`propctrlq2'
|
| 789 |
+
loc propqsndinfocommit`x'`o' = (1 - (2 - r(mean)))*`propbmcommit`x'`o''*(1 - `propctrlq2')
|
| 790 |
+
sum qpast4 if abovemedpast4==1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==1
|
| 791 |
+
loc propqthdctrlcommit`x'`o' = (4 - r(mean))*`propamcommit`x'`o''*`propctrlq3'
|
| 792 |
+
loc propqthdinfocommit`x'`o' = (4 - r(mean))*`propamcommit`x'`o''*(1 - `propctrlq3')
|
| 793 |
+
loc propqfthctrlcommit`x'`o' = (1 - (4 - r(mean)))*`propamcommit`x'`o''*`propctrlq4'
|
| 794 |
+
loc propqfthinfocommit`x'`o' = (1 - (4 - r(mean)))*`propamcommit`x'`o''*(1 - `propctrlq4')
|
| 795 |
+
sum qpast4 if abovemedpast4==0&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0
|
| 796 |
+
loc propqfstctrlnocommit`x'`o' = (2 - r(mean))*`propbmnocommit`x'`o''*`propctrlq1'
|
| 797 |
+
loc propqfstinfonocommit`x'`o' = (2 - r(mean))*`propbmnocommit`x'`o''*(1 - `propctrlq1')
|
| 798 |
+
loc propqsndctrlnocommit`x'`o' = (1 - (2 - r(mean)))*`propbmnocommit`x'`o''*`propctrlq2'
|
| 799 |
+
loc propqsndinfonocommit`x'`o' = (1 - (2 - r(mean)))*`propbmnocommit`x'`o''*(1 - `propctrlq2')
|
| 800 |
+
sum qpast4 if abovemedpast4==1&flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit`j'==0
|
| 801 |
+
loc propqthdctrlnocommit`x'`o' = (4 - r(mean))*`propamnocommit`x'`o''*`propctrlq3'
|
| 802 |
+
loc propqthdinfonocommit`x'`o' = (4 - r(mean))*`propamnocommit`x'`o''*(1 - `propctrlq3')
|
| 803 |
+
loc propqfthctrlnocommit`x'`o' = (1 - (4 - r(mean)))*`propamnocommit`x'`o''*`propctrlq4'
|
| 804 |
+
loc propqfthinfonocommit`x'`o' = (1 - (4 - r(mean)))*`propamnocommit`x'`o''*(1 - `propctrlq4')
|
| 805 |
+
|
| 806 |
+
}
|
| 807 |
+
|
| 808 |
+
|
| 809 |
+
********** Commitment contract - 12 visits ************************************
|
| 810 |
+
|
| 811 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 812 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 813 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 814 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 815 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 816 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 817 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 818 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==1, ///
|
| 819 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 820 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 821 |
+
latex_write_gmm twelve`o' `lx'
|
| 822 |
+
|
| 823 |
+
*for export
|
| 824 |
+
foreach param in lambda betatilde b beta {
|
| 825 |
+
loc `param'commit12`o' = [`param']_cons
|
| 826 |
+
}
|
| 827 |
+
|
| 828 |
+
*actual internality:
|
| 829 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 830 |
+
latex_write_nlcom ainttwelve`o' `lx'
|
| 831 |
+
|
| 832 |
+
*naivete statistic:
|
| 833 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 834 |
+
latex_write_nlcom naivetwelve`o' `lx'
|
| 835 |
+
|
| 836 |
+
*expected cost
|
| 837 |
+
nlcom 1/[lambda]_cons
|
| 838 |
+
latex_write_nlcom expcosttwelve`o' `lx'
|
| 839 |
+
|
| 840 |
+
*take-up rate
|
| 841 |
+
sum commit12 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.
|
| 842 |
+
loc propcommit12`o' = r(mean)
|
| 843 |
+
loc propnocommit12`o' = 1 - r(mean)
|
| 844 |
+
|
| 845 |
+
if "`v'" == ""{ // baseline only
|
| 846 |
+
|
| 847 |
+
*generate 95% CIs for model values
|
| 848 |
+
predictnl mean_days_c12_pred = ///
|
| 849 |
+
28*(1-exp(-[lambda]_cons*[betatilde]_cons*([b]_cons+plot_incentive))) ///
|
| 850 |
+
if _n > $obs, ci(lb_days_c12_pred ub_days_c12_pred) level(95)
|
| 851 |
+
predictnl mean_visits_c12_pred = ///
|
| 852 |
+
28*(1-exp(-[lambda]_cons*[beta]_cons*([b]_cons+plot_incentive))) ///
|
| 853 |
+
if _n > $obs, ci(lb_visits_c12_pred ub_visits_c12_pred) level(95)
|
| 854 |
+
|
| 855 |
+
*plot model with actual data
|
| 856 |
+
twoway (conn mean_days_c12_pred plot_incentive, lcolor(black) m(none)) ///
|
| 857 |
+
(conn ub_days_c12_pred plot_incentive, lc(black) lp(shortdash) m(none)) ///
|
| 858 |
+
(conn lb_days_c12_pred plot_incentive, lc(black) lp(shortdash) m(none)) ///
|
| 859 |
+
(sc mean_days_c12_ prize, msize(small) color(black)) ///
|
| 860 |
+
(rcap ub_days_c12_ lb_days_c12_ prize, lcolor(black) lwidth(medium) lpattern(dash)) ///
|
| 861 |
+
(conn mean_visits_c12_pred plot_incentive, lcolor(red) m(none)) ///
|
| 862 |
+
(conn ub_visits_c12_pred plot_incentive, lc(red) lp(shortdash) m(none)) ///
|
| 863 |
+
(conn lb_visits_c12_pred plot_incentive, lc(red) lp(shortdash) m(none)) ///
|
| 864 |
+
(sc mean_visits_c12_ prize, m(square) msize(small) color(red)) ///
|
| 865 |
+
(rcap ub_visits_c12_ lb_visits_c12_ prize, lcolor(red) lwidth(medium) lpattern(dash)), ///
|
| 866 |
+
xlab(0(1)12) ylabel(0(5)22, angle(0)) ///
|
| 867 |
+
xtitle("Per-visit incentive ($)", height(6)) ytitle("Visits", height(6)) ///
|
| 868 |
+
graphregion(color(white)) plotregion(margin(sides)) ///
|
| 869 |
+
legend(order(1 2 6 7 4 9) label(1 "Predicted expected visits") label(2 "Prediction 95% CI") label(4 "Average expected visits") label(6 "Predicted realized visits") label(7 "Prediction 95% CI") label(9 "Average realized visits")) legend(rows(3))
|
| 870 |
+
graph export overconfidence_estimates_commit12.pdf, replace
|
| 871 |
+
|
| 872 |
+
**lower bound on how bad commitment contracts are:
|
| 873 |
+
loc internalityC12=(1-[beta]_cons)*[b]_cons
|
| 874 |
+
* impact on visits
|
| 875 |
+
reg visits getcommit if wave3==1&(getcommit==1|incentive==0)&commit12==1
|
| 876 |
+
loc internalityBenefit=_b[getcommit]*`internalityC12'
|
| 877 |
+
di `internalityBenefit'
|
| 878 |
+
* financial loss
|
| 879 |
+
qui sum visits12 if commit12==1&getcommit==1
|
| 880 |
+
loc lose=1-r(mean)
|
| 881 |
+
loc dollarslost=`lose'*80
|
| 882 |
+
di `dollarslost'
|
| 883 |
+
* net loss:
|
| 884 |
+
di `dollarslost'-`internalityBenefit'
|
| 885 |
+
|
| 886 |
+
}
|
| 887 |
+
|
| 888 |
+
*rejected contract
|
| 889 |
+
if "`v'" != "+0"{
|
| 890 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 891 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 892 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 893 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 894 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 895 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 896 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 897 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit12==0, ///
|
| 898 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 899 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 900 |
+
if "`v'" == "" latex_write_gmm notwelve `lx' // baseline only
|
| 901 |
+
|
| 902 |
+
*for export
|
| 903 |
+
foreach param in lambda betatilde b beta {
|
| 904 |
+
loc `param'nocommit12`o' = [`param']_cons
|
| 905 |
+
}
|
| 906 |
+
|
| 907 |
+
if "`v'" == ""{ // baseline only
|
| 908 |
+
*actual internality:
|
| 909 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 910 |
+
latex_write_nlcom aintnotwelve `lx'
|
| 911 |
+
|
| 912 |
+
*naivete statistic:
|
| 913 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 914 |
+
latex_write_nlcom naivenotwelve `lx'
|
| 915 |
+
|
| 916 |
+
*expected cost
|
| 917 |
+
nlcom 1/[lambda]_cons
|
| 918 |
+
latex_write_nlcom expcostnotwelve `lx'
|
| 919 |
+
}
|
| 920 |
+
}
|
| 921 |
+
|
| 922 |
+
|
| 923 |
+
********** Commitment contract - 8 visits *************************************
|
| 924 |
+
|
| 925 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 926 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 927 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 928 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 929 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 930 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 931 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 932 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit8==1, ///
|
| 933 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 934 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 935 |
+
latex_write_gmm eight`o' `lx'
|
| 936 |
+
|
| 937 |
+
*for export
|
| 938 |
+
foreach param in lambda betatilde b beta {
|
| 939 |
+
loc `param'commit8`o' = [`param']_cons
|
| 940 |
+
}
|
| 941 |
+
|
| 942 |
+
*actual internality:
|
| 943 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 944 |
+
latex_write_nlcom ainteight`o' `lx'
|
| 945 |
+
|
| 946 |
+
*naivete statistic:
|
| 947 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 948 |
+
latex_write_nlcom naiveeight`o' `lx'
|
| 949 |
+
|
| 950 |
+
*expected cost
|
| 951 |
+
nlcom 1/[lambda]_cons
|
| 952 |
+
latex_write_nlcom expcosteight`o' `lx'
|
| 953 |
+
|
| 954 |
+
*take-up rate
|
| 955 |
+
sum commit8 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.
|
| 956 |
+
loc propcommit8`o' = r(mean)
|
| 957 |
+
loc propnocommit8`o' = 1 -r(mean)
|
| 958 |
+
|
| 959 |
+
|
| 960 |
+
* rejected contract
|
| 961 |
+
if "`v'" != "+0"{
|
| 962 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 963 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 964 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 965 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 966 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 967 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 968 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 969 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit8==0, ///
|
| 970 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 971 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 972 |
+
if "`v'" == "" latex_write_gmm noeight `lx' // baseline only
|
| 973 |
+
|
| 974 |
+
*for export
|
| 975 |
+
foreach param in lambda betatilde b beta {
|
| 976 |
+
loc `param'nocommit8`o' = [`param']_cons
|
| 977 |
+
}
|
| 978 |
+
|
| 979 |
+
if "`v'" == ""{ // baseline only
|
| 980 |
+
*actual internality:
|
| 981 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 982 |
+
latex_write_nlcom aintnoeight `lx'
|
| 983 |
+
|
| 984 |
+
*naivete statistic:
|
| 985 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 986 |
+
latex_write_nlcom naivenoeight `lx'
|
| 987 |
+
|
| 988 |
+
*expected cost
|
| 989 |
+
nlcom 1/[lambda]_cons
|
| 990 |
+
latex_write_nlcom expcostnoeight `lx'
|
| 991 |
+
}
|
| 992 |
+
}
|
| 993 |
+
|
| 994 |
+
|
| 995 |
+
********** Commitment contract - 16 visits ************************************
|
| 996 |
+
|
| 997 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 998 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 999 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 1000 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 1001 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 1002 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 1003 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 1004 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit16==1, ///
|
| 1005 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 1006 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 1007 |
+
latex_write_gmm sixteen`o' `lx'
|
| 1008 |
+
|
| 1009 |
+
*for export
|
| 1010 |
+
foreach param in lambda betatilde b beta {
|
| 1011 |
+
loc `param'commit16`o' = [`param']_cons
|
| 1012 |
+
}
|
| 1013 |
+
|
| 1014 |
+
*actual internality:
|
| 1015 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 1016 |
+
latex_write_nlcom aintsixteen`o' `lx'
|
| 1017 |
+
|
| 1018 |
+
*naivete statistic:
|
| 1019 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 1020 |
+
latex_write_nlcom naivesixteen`o' `lx'
|
| 1021 |
+
|
| 1022 |
+
*expected cost
|
| 1023 |
+
nlcom 1/[lambda]_cons
|
| 1024 |
+
latex_write_nlcom expcostsixteen`o' `lx'
|
| 1025 |
+
|
| 1026 |
+
*take-up rate
|
| 1027 |
+
sum commit16 if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.
|
| 1028 |
+
loc propcommit16`o' = r(mean)
|
| 1029 |
+
loc propnocommit16`o' = 1 -r(mean)
|
| 1030 |
+
|
| 1031 |
+
|
| 1032 |
+
* rejected contract
|
| 1033 |
+
if "`v'" != "+0"{
|
| 1034 |
+
gmm (eq1:28*(1-exp(-{lambda}*({betatilde}*({b}+prize)`v')))-days) ///
|
| 1035 |
+
(eq2: 28*(1-exp(-{lambda}*({beta}*({b}+incentive)`v')))-visits) ///
|
| 1036 |
+
(eq3: (1-{betatilde})*diffa2*({b}+(1+2)/2)-delta2) ///
|
| 1037 |
+
(eq4: (1-{betatilde})*diffa3*({b}+(2+3)/2)-delta3) ///
|
| 1038 |
+
(eq5: (1-{betatilde})*diffa5*({b}+(3+5)/2)-delta5) ///
|
| 1039 |
+
(eq6: (1-{betatilde})*diffa7*({b}+(5+7)/2)-delta7) ///
|
| 1040 |
+
(eq7: (1-{betatilde})*diffa12*({b}+(7+12)/2)-delta12) ///
|
| 1041 |
+
if flag_low_wtp==0&flag_exclude_exog==0&incentive!=.&commit16==0, ///
|
| 1042 |
+
instruments (eq1: prize prize2) instruments(eq2:incentive incentivesq) ///
|
| 1043 |
+
from (b 8 lambda 0.06 beta 0.5 betatilde 0.8) vce(cluster id) winitial(identity) nolog
|
| 1044 |
+
if "`v'" == "" latex_write_gmm nosixteen `lx' // baseline only
|
| 1045 |
+
|
| 1046 |
+
*for export
|
| 1047 |
+
foreach param in lambda betatilde b beta {
|
| 1048 |
+
loc `param'nocommit16`o' = [`param']_cons
|
| 1049 |
+
}
|
| 1050 |
+
|
| 1051 |
+
if "`v'" == ""{ // baseline only
|
| 1052 |
+
*actual internality:
|
| 1053 |
+
nlcom (1-[beta]_cons)*[b]_cons
|
| 1054 |
+
latex_write_nlcom aintnosixteen `lx'
|
| 1055 |
+
|
| 1056 |
+
*naivete statistic:
|
| 1057 |
+
nlcom (1-[betatilde]_cons)/(1-[beta]_cons)
|
| 1058 |
+
latex_write_nlcom naivenosixteen `lx'
|
| 1059 |
+
|
| 1060 |
+
*expected cost
|
| 1061 |
+
nlcom 1/[lambda]_cons
|
| 1062 |
+
latex_write_nlcom expcostnosixteen `lx'
|
| 1063 |
+
}
|
| 1064 |
+
}
|
| 1065 |
+
|
| 1066 |
+
}
|
| 1067 |
+
|
| 1068 |
+
restore
|
| 1069 |
+
|
| 1070 |
+
|
| 1071 |
+
********** Export estimates from each subsample to a file *********************
|
| 1072 |
+
|
| 1073 |
+
foreach o in "" "V" "X"{
|
| 1074 |
+
|
| 1075 |
+
foreach f in bmcommit`o' amcommit`o' bmnocommit`o' amnocommit`o' ///
|
| 1076 |
+
bmcommite`o' amcommite`o' bmnocommite`o' amnocommite`o' ///
|
| 1077 |
+
bmcommits`o' amcommits`o' bmnocommits`o' amnocommits`o' ///
|
| 1078 |
+
qfstcommit`o' qsndcommit`o' qthdcommit`o' qfthcommit`o' ///
|
| 1079 |
+
qfstnocommit`o' qsndnocommit`o' qthdnocommit`o' qfthnocommit`o' ///
|
| 1080 |
+
qfstcommite`o' qsndcommite`o' qthdcommite`o' qfthcommite`o' ///
|
| 1081 |
+
qfstnocommite`o' qsndnocommite`o' qthdnocommite`o' qfthnocommite`o' ///
|
| 1082 |
+
qfstcommits`o' qsndcommits`o' qthdcommits`o' qfthcommits`o' ///
|
| 1083 |
+
qfstnocommits`o' qsndnocommits`o' qthdnocommits`o' qfthnocommits`o' ///
|
| 1084 |
+
qfstctrlcommit`o' qsndctrlcommit`o' qthdctrlcommit`o' qfthctrlcommit`o' ///
|
| 1085 |
+
qfstinfocommit`o' qsndinfocommit`o' qthdinfocommit`o' qfthinfocommit`o' ///
|
| 1086 |
+
bmctrlcommit`o' bminfocommit`o' amctrlcommit`o' aminfocommit`o' ///
|
| 1087 |
+
bmctrlnocommit`o' bminfonocommit`o' amctrlnocommit`o' aminfonocommit`o' ///
|
| 1088 |
+
bmctrlcommite`o' bminfocommite`o' amctrlcommite`o' aminfocommite`o' ///
|
| 1089 |
+
bmctrlnocommite`o' bminfonocommite`o' amctrlnocommite`o' aminfonocommite`o' ///
|
| 1090 |
+
bmctrlcommits`o' bminfocommits`o' amctrlcommits`o' aminfocommits`o' ///
|
| 1091 |
+
bmctrlnocommits`o' bminfonocommits`o' amctrlnocommits`o' aminfonocommits`o' ///
|
| 1092 |
+
commit12`o' nocommit12`o' commit8`o' nocommit8`o' commit16`o' nocommit16`o'{
|
| 1093 |
+
|
| 1094 |
+
preserve
|
| 1095 |
+
clear
|
| 1096 |
+
set obs 1
|
| 1097 |
+
foreach p in lambda beta betatilde b prop{
|
| 1098 |
+
gen `p' = ``p'`f''
|
| 1099 |
+
}
|
| 1100 |
+
outsheet using "parameter_estimates/`f'.csv", comma replace
|
| 1101 |
+
restore
|
| 1102 |
+
}
|
| 1103 |
+
|
| 1104 |
+
}
|
| 1105 |
+
|
| 1106 |
+
|
| 1107 |
+
********** Empirical moments **************************************************
|
| 1108 |
+
|
| 1109 |
+
preserve
|
| 1110 |
+
* restrict sample
|
| 1111 |
+
keep if flag_low_wtp==0&flag_exclude_exog==0
|
| 1112 |
+
|
| 1113 |
+
*generate variables
|
| 1114 |
+
gen got_contract = 1 if treatment == "threshold80_12"
|
| 1115 |
+
replace got_contract = 0 if treatment == "control"
|
| 1116 |
+
gen success = visits >= 12
|
| 1117 |
+
|
| 1118 |
+
*change in attendance due to contract
|
| 1119 |
+
reg visits got_contract wave? if commit12==1
|
| 1120 |
+
matrix temp = r(table)'
|
| 1121 |
+
loc b : di %4.2f temp[1,1]
|
| 1122 |
+
loc lb : di %4.2f temp[1,5]
|
| 1123 |
+
loc ub : di %4.2f temp[1,6]
|
| 1124 |
+
loc ci : di "(`lb', `ub')"
|
| 1125 |
+
latex_write empirDaC `b' numbers
|
| 1126 |
+
latex_write empirDaCCI "`ci'" numbers
|
| 1127 |
+
|
| 1128 |
+
*probability of meeting threshold (with and w/out the contract)
|
| 1129 |
+
reg success wave? if commit12==1&treatment=="control"
|
| 1130 |
+
matrix temp = r(table)'
|
| 1131 |
+
loc b : di %4.2f temp[4,1]
|
| 1132 |
+
loc lb : di %4.2f temp[4,5]
|
| 1133 |
+
loc ub : di %4.2f temp[4,6]
|
| 1134 |
+
loc ci : di "(`lb', `ub')"
|
| 1135 |
+
latex_write empirctrlPmeet `b' numbers
|
| 1136 |
+
latex_write empirctrlPmeetCI "`ci'" numbers
|
| 1137 |
+
|
| 1138 |
+
reg success if commit12==1&treatment=="threshold80_12"
|
| 1139 |
+
matrix temp = r(table)'
|
| 1140 |
+
loc b : di %4.2f temp[1,1]
|
| 1141 |
+
loc lb : di %4.2f temp[1,5]
|
| 1142 |
+
loc ub : di %4.2f temp[1,6]
|
| 1143 |
+
loc ci : di "(`lb', `ub')"
|
| 1144 |
+
latex_write empirtreatPmeet `b' numbers
|
| 1145 |
+
latex_write empirtreatPmeetCI "`ci'" numbers
|
| 1146 |
+
|
| 1147 |
+
*change in probability of meeting threshold
|
| 1148 |
+
reg success got_contract wave? if commit12==1
|
| 1149 |
+
matrix temp = r(table)'
|
| 1150 |
+
loc b : di %4.2f temp[1,1]
|
| 1151 |
+
loc lb : di %4.2f temp[1,5]
|
| 1152 |
+
loc ub : di %4.2f temp[1,6]
|
| 1153 |
+
loc ci : di "(`lb', `ub')"
|
| 1154 |
+
latex_write empirDmeet `b' numbers
|
| 1155 |
+
latex_write empirDmeetCI "`ci'" numbers
|
| 1156 |
+
restore
|
107/replication_package/Code/Stata/Tables.do
ADDED
|
@@ -0,0 +1,708 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*** TABLES FOR Carrera, Royer, Stehr, Sydnor, and Taubinsky (2021) ************
|
| 2 |
+
*******************************************************************************
|
| 3 |
+
|
| 4 |
+
*** Initial set-up ***
|
| 5 |
+
clear
|
| 6 |
+
eststo clear
|
| 7 |
+
set more off
|
| 8 |
+
|
| 9 |
+
*** Set directory for output ***
|
| 10 |
+
cd "$main/Output"
|
| 11 |
+
/* Note: all tables will output to the working directory. Uses a program from
|
| 12 |
+
master_do_file_for_analysis.do */
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
*** Load and clean experimental data ******************************************
|
| 16 |
+
|
| 17 |
+
*** Load dataset ***
|
| 18 |
+
use "$main/Data/cleaned_commitment_study_data", clear
|
| 19 |
+
|
| 20 |
+
*** Variable Creation & Cleaning Steps ***
|
| 21 |
+
*** Create an ID variable for use when reshaping long
|
| 22 |
+
gen id = _n
|
| 23 |
+
|
| 24 |
+
*** Generate info treatment indicators
|
| 25 |
+
gen first_info = type_of_info=="1-onlygraph"
|
| 26 |
+
gen new_info = type_of_info=="2-graphplus"
|
| 27 |
+
gen control_info = (new_info == 0 & first_info == 0)
|
| 28 |
+
|
| 29 |
+
*** Generate wave indicators
|
| 30 |
+
gen wave1 = (wave == "fall")
|
| 31 |
+
gen wave2 = (wave == "winter")
|
| 32 |
+
gen wave3 = (wave == "spring")
|
| 33 |
+
|
| 34 |
+
*** Define anticommitment/commitment variables for each threshold
|
| 35 |
+
gen anticommit8 = q170 ==2 if q170<.
|
| 36 |
+
gen commit8 = q169 ==2 if q169<.
|
| 37 |
+
gen anticommit12 = chose_anticommit11
|
| 38 |
+
gen commit12 = chose_commit12
|
| 39 |
+
gen anticommit16 = q296==2 if q296<.
|
| 40 |
+
gen commit16 = q295 ==2 if q295<.
|
| 41 |
+
|
| 42 |
+
*** Rescale percent variable
|
| 43 |
+
foreach var of varlist percent*{
|
| 44 |
+
replace `var' = `var'/100
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
*** Store number of observations in exclusions
|
| 48 |
+
sum flag_low_wtp
|
| 49 |
+
loc lowwtp `r(sum)'
|
| 50 |
+
latex_write lowwtpobs `lowwtp' numbers
|
| 51 |
+
sum flag_exclude_exog
|
| 52 |
+
loc endog `r(sum)'
|
| 53 |
+
latex_write nexogobs `endog' numbers
|
| 54 |
+
loc totalexcl = `lowwtp' + `endog'
|
| 55 |
+
latex_write excludeobs `totalexcl' numbers
|
| 56 |
+
|
| 57 |
+
* Wave 3
|
| 58 |
+
sum flag_low_wtp if wave3 == 1
|
| 59 |
+
latex_write lowwtpobswthree `r(sum)' numbers
|
| 60 |
+
sum flag_exclude_exog if wave3 == 1
|
| 61 |
+
latex_write nexogobswthree `r(sum)' numbers
|
| 62 |
+
|
| 63 |
+
*** Store number of participants in each wave before exclusions
|
| 64 |
+
forval i = 1/3{
|
| 65 |
+
|
| 66 |
+
if `i' == 1 loc wname "wone"
|
| 67 |
+
else if `i' == 2 loc wname "wtwo"
|
| 68 |
+
else loc wname "wthree"
|
| 69 |
+
|
| 70 |
+
sum wave`i' if wave`i' == 1
|
| 71 |
+
loc obs = r(N)
|
| 72 |
+
latex_write `wname'obs `obs' numbers
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
*** Store share of participants who prefer nothing to contingent $80
|
| 76 |
+
sum prefer80contingent_to_0
|
| 77 |
+
loc pctpreferzero : di %2.1f (1-r(mean))*100
|
| 78 |
+
latex_write pctpreferzero `pctpreferzero' numbers
|
| 79 |
+
|
| 80 |
+
*** Restrict sample to those exogenously assigned incentives
|
| 81 |
+
keep if flag_low_wtp == 0 & flag_exclude_exog == 0
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
*** Descriptive Statistics (appendix_descriptive_stats.tex) *******************
|
| 85 |
+
|
| 86 |
+
*** Generate variables and labels for the table ***
|
| 87 |
+
gen ft_student = student==1 if student<.
|
| 88 |
+
gen ft_working = working==1 if working<.
|
| 89 |
+
gen fpt_working = working<3 if working<.
|
| 90 |
+
gen advanced_degree = educ==5
|
| 91 |
+
replace married = married==1 if married<.
|
| 92 |
+
recode age (1 = 24) (2=35.5 ) (3=45.5) (4=57.5) (5=70) , gen(imp_age)
|
| 93 |
+
recode income_cat (1 = 18000) (2=37500 ) (3=75500) (4=150000) (5=.) , gen(imp_inc)
|
| 94 |
+
|
| 95 |
+
label var female "Female"
|
| 96 |
+
label var imp_inc "Household income$^a$"
|
| 97 |
+
label var married "Married"
|
| 98 |
+
label var ft_student "Student, full-time"
|
| 99 |
+
label var fpt_working "Working, full- or part-time"
|
| 100 |
+
label var advanced "Advanced degree$^b$"
|
| 101 |
+
label var imp_age "Age$^a$"
|
| 102 |
+
label var past4 "Visits in the past 4 weeks, recorded"
|
| 103 |
+
label var visits_100 "$\hspace{0.5cm}$ Visits, recorded"
|
| 104 |
+
label var past100days_went "$\hspace{0.5cm}$ Visits, self-recollection"
|
| 105 |
+
label var past100days_should "Days that \textit{I should have gone, but didn't}"
|
| 106 |
+
label var days_0 "Best guess of days I will attend in next 4 weeks"
|
| 107 |
+
label var goal "Goal for visits in next 4 weeks"
|
| 108 |
+
|
| 109 |
+
gen wave_num = "Wave 1" if wave=="fall"
|
| 110 |
+
replace wave_num="Wave 2" if wave=="winter"
|
| 111 |
+
replace wave_num="Wave 3" if wave=="spring"
|
| 112 |
+
tab wave_num // N = 1248 (340 in Wave 1, 509 in Wave 2, 399 in Wave 3)
|
| 113 |
+
|
| 114 |
+
*** Produce statistics for the table ***
|
| 115 |
+
estpost tabstat female imp_age ft_student fpt_working married advanced_degree imp_inc past4, by(wave_num) statistics(mean sd) columns(statistics)
|
| 116 |
+
|
| 117 |
+
*** Export table
|
| 118 |
+
#delimit;
|
| 119 |
+
estout . using `"appendix_descriptive_stats.tex"' ,
|
| 120 |
+
cells(mean(fmt(%3.2fc %3.2fc %3.2fc %3.2fc %3.2fc %3.2fc %8.0gc %3.2fc) star)
|
| 121 |
+
sd(fmt(%3.2fc %3.2fc %3.2fc %3.2fc %3.2fc %3.2fc %8.0gc %3.2fc) par))
|
| 122 |
+
starlevels(\sym{*} 0.05 \sym{**} 0.01 \sym{***} 0.001, label(" \(p<@\)"))
|
| 123 |
+
varwidth(20) modelwidth(12) unstack delimiter(&) end(\\)
|
| 124 |
+
prehead(`"{"' `"\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}"' `"\begin{tabular}{l*{@E}{c}}"' `"\hline"') posthead("\hline")
|
| 125 |
+
postfoot(`"\hline"' `"\addlinespace"' `"N & 340 & 509 & 399 & 1,248 \\"' `"\hline\hline"' `"\end{tabular}"' `"}"' )
|
| 126 |
+
label varlabels(_cons Constant, end("" [1em]) nolast) mlabels(none) nonumbers
|
| 127 |
+
collabels(none) substitute(_ \_ "\_cons " \_cons "Total" "Overall")
|
| 128 |
+
interaction(" $\times$ ") notype level(95) style(tex) replace;
|
| 129 |
+
|
| 130 |
+
#delimit cr
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
*** (CCtable.tex) *************************************************************
|
| 134 |
+
*** This table was created by hand, so no tex output is produced for it *******
|
| 135 |
+
|
| 136 |
+
local commitlist "8 12 16"
|
| 137 |
+
|
| 138 |
+
*** Summarize take-up of commitment contracts ***
|
| 139 |
+
foreach X of local commitlist {
|
| 140 |
+
* Declare local for labeling
|
| 141 |
+
if `X' == 8 loc num "eight"
|
| 142 |
+
else if `X' == 12 loc num "twelve"
|
| 143 |
+
else loc num "sixteen"
|
| 144 |
+
* Chose "more" contract
|
| 145 |
+
summarize commit`X'
|
| 146 |
+
* Store mean and number of observations
|
| 147 |
+
loc takeup = round(r(mean)*100)
|
| 148 |
+
loc takeup : di %2.0f `takeup'
|
| 149 |
+
latex_write commit`num'rate `takeup' numbers
|
| 150 |
+
local obsnum : di %5.0fc `r(N)'
|
| 151 |
+
if r(N) > 1000 loc obsnum = subinstr("`obsnum'",",","{,}",.)
|
| 152 |
+
latex_write commit`num'obs `obsnum' numbers
|
| 153 |
+
* Chose "fewer" contract
|
| 154 |
+
summarize anticommit`X'
|
| 155 |
+
* Chose "more" given chose "fewer"
|
| 156 |
+
summarize commit`X' if anticommit`X'==1
|
| 157 |
+
* Chose "fewer" given chose "more"
|
| 158 |
+
summarize anticommit`X' if commit`X'==1
|
| 159 |
+
* Difference between "more" and "more" given chose "fewer" means
|
| 160 |
+
gen commit`X'_cdtn = commit`X' if anticommit`X'==1
|
| 161 |
+
ttest commit`X'_cdtn = commit`X', unpaired
|
| 162 |
+
* Difference between "fewer" and "fewer" given chose "more" means
|
| 163 |
+
gen anticommit`X'_cdtn = anticommit`X' if commit`X'==1
|
| 164 |
+
ttest anticommit`X'_cdtn = anticommit`X', unpaired
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
*** (CCBeliefs2.tex) **********************************************************
|
| 169 |
+
|
| 170 |
+
*** Regress expected days vs. probability of meeting threshold, all participants
|
| 171 |
+
reg days_0 percent_meet_commit12, robust
|
| 172 |
+
est store est11
|
| 173 |
+
|
| 174 |
+
reg days_0 percent_meet_anticommit, robust
|
| 175 |
+
est store est12
|
| 176 |
+
|
| 177 |
+
reg days_0 percent_meet_commit12 percent_meet_anticommit, robust
|
| 178 |
+
est store est13
|
| 179 |
+
|
| 180 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 181 |
+
nlcom diff: _b[percent_meet_commit12]-_b[percent_meet_anticommit], post
|
| 182 |
+
|
| 183 |
+
* Store differences
|
| 184 |
+
local b : di %4.2f _b[diff]
|
| 185 |
+
local se : di %4.2f _se[diff]
|
| 186 |
+
estadd local diffb "`b'***" : est13 // know significance level via inspection
|
| 187 |
+
estadd local diffse "(`se')" : est13
|
| 188 |
+
|
| 189 |
+
*** Regress expected days vs. probability of meeting threshold, chose commit & anticommit
|
| 190 |
+
reg days_0 percent_meet_commit12 percent_meet_anticommit ///
|
| 191 |
+
if commit12 == 1 & anticommit12 == 1, robust
|
| 192 |
+
est store est14
|
| 193 |
+
|
| 194 |
+
* Difference of coefficients ("More"-"Fewer")
|
| 195 |
+
nlcom diff: _b[percent_meet_commit12]-_b[percent_meet_anticommit], post
|
| 196 |
+
|
| 197 |
+
* Store differences
|
| 198 |
+
local b : di %4.2f _b[diff]
|
| 199 |
+
local se : di %4.2f _se[diff]
|
| 200 |
+
estadd local diffb "`b'***" : est14 // know significance level via inspection
|
| 201 |
+
estadd local diffse "(`se')" : est14
|
| 202 |
+
|
| 203 |
+
*** Export table
|
| 204 |
+
estout est11 est12 est13 est14 using CCBeliefs2.tex, style(tex) margin replace eqlabels(none) ///
|
| 205 |
+
cells(b(star fmt(%9.2f)) se(par fmt(%9.2f)) ) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 206 |
+
keep(percent_meet_commit12 percent_meet_anticommit) wrap varwidth(25) ///
|
| 207 |
+
order(percent_meet_commit12 percent_meet_anticommit) ///
|
| 208 |
+
mgroups("Subjective expected attendance without incentives", pattern(1 0 0 0) ///
|
| 209 |
+
span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 210 |
+
stats(N diffb diffse, l("N" "\hline \`\`More'' $-$ \`\`Fewer''" " ") fmt(%8.0fc %8.0fc %8.0fc)) ///
|
| 211 |
+
varlabels(percent_meet_commit12 "Subj. prob. succeed in \lq\lq more\rq\rq\, contract" percent_meet_anticommit "Subj. prob. succeed in \lq\lq fewer\rq\rq\, contract") ///
|
| 212 |
+
collabels(,none) mlabels("(1)" "(2)" "(3)" "(4)") ///
|
| 213 |
+
prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 214 |
+
posthead("\hline") prefoot() postfoot("\hline\hline" "\end{tabular}")
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
*** (regs_{avg_delta_ex_1,commit}_all.tex) ************************************
|
| 218 |
+
|
| 219 |
+
*** Generate variable for expected attendace w/incentive given
|
| 220 |
+
gen days_exp = .
|
| 221 |
+
foreach i in 0 1 2 3 5 7{
|
| 222 |
+
replace days_exp = days_`i' if incentive == `i'
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
*** Generate variables for gaps between goal, past, expected, & actual attendance
|
| 226 |
+
gen gap_goal_exp = goal - days_0 // under no incentive
|
| 227 |
+
gen gap_goal_past = goal - past4
|
| 228 |
+
gen gap_actual_exp = visits - days_exp
|
| 229 |
+
|
| 230 |
+
|
| 231 |
+
*** Generate behavior change premium variables (second-order approximation)
|
| 232 |
+
gen delta1=(wtp1) - (days_1+days_0)/2
|
| 233 |
+
gen delta2 = (wtp2-wtp1) - (days_2+days_1)/2
|
| 234 |
+
gen delta3=(wtp3-wtp2) - (days_3+days_2)/2
|
| 235 |
+
gen delta5=(wtp5-wtp3)/(5-3) - (days_5+days_3)/2
|
| 236 |
+
gen delta7=(wtp7-wtp5)/(7-5) - (days_7+days_5)/2
|
| 237 |
+
gen delta12=(wtp12-wtp7)/(12-7) - (days_12+days_7)/2
|
| 238 |
+
gen avg_delta_ex1 = (delta2 + delta3 + delta5 + delta7 + delta12)/5
|
| 239 |
+
|
| 240 |
+
|
| 241 |
+
** Store number of observations without an incentive
|
| 242 |
+
gen got_contract = (incentive == .)
|
| 243 |
+
sum got_contract
|
| 244 |
+
latex_write gotcontractobs `r(sum)' numbers
|
| 245 |
+
|
| 246 |
+
|
| 247 |
+
*** Perform series of analyses for whole sample
|
| 248 |
+
|
| 249 |
+
* Declare restriction for following analysis
|
| 250 |
+
loc restrict "!missing(incentive)"
|
| 251 |
+
|
| 252 |
+
* Store means and standard deviations
|
| 253 |
+
foreach v in gap_goal_exp gap_actual_exp{
|
| 254 |
+
if "`v'" == "gap_goal_exp" loc name "goalexp"
|
| 255 |
+
else loc name "actexp"
|
| 256 |
+
sum `v' if `restrict'
|
| 257 |
+
loc mean : di %4.2f r(mean)
|
| 258 |
+
loc sd : di %4.2f r(sd)
|
| 259 |
+
latex_write `name'mean `mean' numbers
|
| 260 |
+
latex_write `name'sd `sd' numbers
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
* Generate z-scores for variables with constant restriction
|
| 264 |
+
foreach dvar in gap_goal_exp gap_actual_exp avg_delta_ex1{
|
| 265 |
+
sum `dvar' if `restrict'
|
| 266 |
+
gen z_`dvar' = (`dvar' - r(mean)) / r(sd) if `restrict'
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
* Run regressions of behavior change premium with regressors & constant restriction
|
| 270 |
+
eststo clear
|
| 271 |
+
loc k = 1
|
| 272 |
+
foreach controls in "" "female i.income_cat married ft_student fpt_working advanced i.age_cat"{
|
| 273 |
+
foreach covar in "first_info new_info" "first_info new_info z_gap_goal_exp" "first_info new_info z_gap_actual_exp"{
|
| 274 |
+
|
| 275 |
+
* Run regression
|
| 276 |
+
reg avg_delta_ex1 wave2 wave3 `covar' `controls' if `restrict', r
|
| 277 |
+
eststo spec_`k'
|
| 278 |
+
|
| 279 |
+
* Store coefficients from certain regressions
|
| 280 |
+
if `k' == 1{
|
| 281 |
+
loc coeff : di %4.2f _b[new_info]
|
| 282 |
+
latex_write enhinfobcpcoeff `coeff' numbers
|
| 283 |
+
}
|
| 284 |
+
else if `k' == 2{
|
| 285 |
+
loc coeff : di %4.2f _b[z_gap_goal_exp]
|
| 286 |
+
latex_write goalexpbcpcoeff `coeff' numbers
|
| 287 |
+
}
|
| 288 |
+
else if `k' == 3{
|
| 289 |
+
loc coeff : di %4.2f _b[z_gap_actual_exp]
|
| 290 |
+
latex_write actualexpbcpcoeff `coeff' numbers
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
* Store dependent variable mean
|
| 294 |
+
ci means avg_delta_ex1 if `restrict' & !missing(gap_actual_exp)
|
| 295 |
+
local m : di %4.2f r(mean)
|
| 296 |
+
local se : di %4.2f r(se)
|
| 297 |
+
estadd local dvmean `m'
|
| 298 |
+
estadd local dvse "(`se')"
|
| 299 |
+
ci means avg_delta_ex1 if `restrict' & !missing(gap_actual_exp) & ///
|
| 300 |
+
control_info == 1
|
| 301 |
+
local mcontrol : di %4.2f r(mean)
|
| 302 |
+
local secontrol : di %4.2f r(se)
|
| 303 |
+
estadd local dvmeancontrol `mcontrol'
|
| 304 |
+
if `k' == 1 latex_write bcpinfoctrlmean `mcontrol' numbers
|
| 305 |
+
estadd local dvsecontrol "(`secontrol')"
|
| 306 |
+
estadd local wavefe "Yes"
|
| 307 |
+
if `k' == 1 latex_write bcpregmean `m' numbers
|
| 308 |
+
if "`controls'" != "" estadd local ctrl "Yes"
|
| 309 |
+
|
| 310 |
+
loc ++k
|
| 311 |
+
}
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
+
* Export regression output
|
| 315 |
+
estout spec_1 spec_2 spec_3 using "regs_avg_delta_ex1_all.tex", style(tex) margin replace eqlabels(none) ///
|
| 316 |
+
keep(first_info new_info z_gap_goal_exp z_gap_actual_exp) wrap varwidth(25) ///
|
| 317 |
+
order(first_info new_info z_gap_goal_exp z_gap_actual_exp) ///
|
| 318 |
+
mgroups("\shortstack{Behavior change premium}", pattern(1 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 319 |
+
mlabels("(1)" "(2)" "(3)" "(4)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 320 |
+
varlabels(z_gap_goal_exp "Goal $-$ exp. attend. (z-score)" z_gap_actual_exp "Actual $-$ exp. attend. (z-score)" first_info "Basic info. treatment" new_info "Enhanced info. treatment" _cons "Constant") ///
|
| 321 |
+
cells(b(star fmt(%9.2f)) se(par fmt(%9.2f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 322 |
+
stats(dvmean dvse dvmeancontrol dvsecontrol wavefe N, l("Dep. var. mean:" " " "Dep. var. mean," "info. control group:" "\hline Wave FEs" "N") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 323 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 324 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 325 |
+
|
| 326 |
+
* Export regression output with demographic controls
|
| 327 |
+
estout spec_4 spec_5 spec_6 using "regs_avg_delta_ex1_all_demo.tex", style(tex) margin replace eqlabels(none) ///
|
| 328 |
+
keep(first_info new_info z_gap_goal_exp z_gap_actual_exp) ///
|
| 329 |
+
wrap varwidth(25) order(first_info new_info z_gap_goal_exp z_gap_actual_exp) ///
|
| 330 |
+
mgroups("\shortstack{Behavior change premium}", pattern(1 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 331 |
+
mlabels("(1)" "(2)" "(3)" "(4)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 332 |
+
varlabels(z_gap_goal_exp "Goal $-$ exp. attend. (z-score)" z_gap_actual_exp "Actual $-$ exp. attend. (z-score)" first_info "Basic info. treatment" new_info "Enhanced info. treatment" _cons "Constant") ///
|
| 333 |
+
cells(b(star fmt(%9.2f)) se(par fmt(%9.2f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 334 |
+
stats(dvmean dvse dvmeancontrol dvsecontrol ctrl wavefe N, l("Dep. var. mean:" " " "Dep. var. mean," "info. control group:" "\hline Demographic controls" "Wave FEs" "N") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 335 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 336 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 337 |
+
|
| 338 |
+
|
| 339 |
+
* Run regressions of contract take-up on regressors with a constant restriction
|
| 340 |
+
preserve
|
| 341 |
+
|
| 342 |
+
* Reshape to pool contracts
|
| 343 |
+
reshape long commit, i(id) j(t)
|
| 344 |
+
|
| 345 |
+
* Run regressions with constant restriction
|
| 346 |
+
eststo clear
|
| 347 |
+
loc k = 1
|
| 348 |
+
foreach controls in "" "female i.income_cat married ft_student fpt_working advanced i.age_cat"{
|
| 349 |
+
foreach covar in "first_info new_info" "z_avg_delta_ex1 first_info new_info" "z_gap_goal_exp first_info new_info" "z_gap_actual_exp first_info new_info"{
|
| 350 |
+
|
| 351 |
+
* Run regression
|
| 352 |
+
reg commit i.t wave2 wave3 `covar' `controls' if `restrict', vce(cluster id)
|
| 353 |
+
eststo spec_commit`k'
|
| 354 |
+
|
| 355 |
+
* Store coefficients from certain regressions
|
| 356 |
+
if `k' == 1{
|
| 357 |
+
loc coeff : di %2.1f abs(_b[new_info]*100)
|
| 358 |
+
latex_write enhinfoMCcoeff `coeff' numbers
|
| 359 |
+
}
|
| 360 |
+
else if `k' == 2{
|
| 361 |
+
loc coeff : di %2.0f _b[z_avg_delta_ex1]*100
|
| 362 |
+
latex_write bcpMCcoeff `coeff' numbers
|
| 363 |
+
}
|
| 364 |
+
else if `k' == 3{
|
| 365 |
+
loc coeff : di %2.1f _b[z_gap_goal_exp]*100
|
| 366 |
+
latex_write goalexpMCcoeff `coeff' numbers
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
* Store dependent variable mean
|
| 370 |
+
ci means commit if `restrict'
|
| 371 |
+
local m : di %4.2f r(mean)
|
| 372 |
+
local mpct : di %4.0f r(mean)*100
|
| 373 |
+
local se : di %4.2f r(se)
|
| 374 |
+
estadd local dvmean `m'
|
| 375 |
+
estadd local dvse "(`se')"
|
| 376 |
+
ci means commit if `restrict' & control_info == 1
|
| 377 |
+
local mcontrol : di %4.2f r(mean)
|
| 378 |
+
local secontrol : di %4.2f r(se)
|
| 379 |
+
estadd local dvmeancontrol `mcontrol'
|
| 380 |
+
estadd local dvsecontrol "(`secontrol')"
|
| 381 |
+
estadd local wavefe "Yes"
|
| 382 |
+
estadd local ccfe "Yes"
|
| 383 |
+
if `k' == 1{
|
| 384 |
+
latex_write MCregmean `m' numbers
|
| 385 |
+
latex_write MCregmeanPCT `mpct' numbers
|
| 386 |
+
}
|
| 387 |
+
if "`controls'" != "" estadd local ctrl "Yes"
|
| 388 |
+
|
| 389 |
+
loc ++k
|
| 390 |
+
}
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
* Export regression output
|
| 394 |
+
estout spec_commit1 spec_commit2 spec_commit3 spec_commit4 using "regs_commit_pooled_all.tex", ///
|
| 395 |
+
style(tex) margin replace eqlabels(none) wrap varwidth(25) ///
|
| 396 |
+
keep(first_info new_info z_avg_delta_ex1 z_gap_goal_exp z_gap_actual_exp) ///
|
| 397 |
+
order(first_info new_info z_avg_delta_ex1 z_gap_goal_exp z_gap_actual_exp) ///
|
| 398 |
+
mgroups("\shortstack{Take-up of \`\`more'' visits contracts}", pattern(1 0 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 399 |
+
mlabels("(1)" "(2)" "(3)" "(4)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 400 |
+
varlabels(z_avg_delta_ex1 "Behavior change premium (z-score)" z_gap_goal_exp "Goal $-$ exp. attend. (z-score)" z_gap_actual_exp "Actual $-$ exp. attend. (z-score)" first_info "Basic info. treatment" new_info "Enhanced info. treatment" _cons "Constant") ///
|
| 401 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 402 |
+
stats(dvmean dvse dvmeancontrol dvsecontrol wavefe ccfe N N_clust, l("Dep. var. mean:" " " "Dep. var. mean," "info. control group:" "\hline Wave FEs" "Contract FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 403 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 404 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 405 |
+
|
| 406 |
+
* Export regression output with demographic controls
|
| 407 |
+
estout spec_commit5 spec_commit6 spec_commit7 spec_commit8 using "regs_commit_pooled_all_demo.tex", ///
|
| 408 |
+
style(tex) margin replace eqlabels(none) wrap varwidth(25) ///
|
| 409 |
+
keep(first_info new_info z_avg_delta_ex1 z_gap_goal_exp z_gap_actual_exp) ///
|
| 410 |
+
order(first_info new_info z_avg_delta_ex1 z_gap_goal_exp z_gap_actual_exp) ///
|
| 411 |
+
mgroups("\shortstack{Take-up of \`\`more'' visits contracts}", pattern(1 0 0 0) span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 412 |
+
mlabels("(1)" "(2)" "(3)" "(4)",span prefix(\multicolumn{@span}{c}{) suffix(})) ///
|
| 413 |
+
varlabels(z_avg_delta_ex1 "Behavior change premium (z-score)" z_gap_goal_exp "Goal $-$ exp. attend. (z-score)" z_gap_actual_exp "Actual $-$ exp. attend. (z-score)" first_info "Basic info. treatment" new_info "Enhanced info. treatment" _cons "Constant") ///
|
| 414 |
+
cells(b(star fmt(%9.3f)) se(par fmt(%9.3f))) msign(--) starlevels(* 0.1 ** 0.05 *** 0.01) stardetach ///
|
| 415 |
+
stats(dvmean dvse dvmeancontrol dvsecontrol ctrl wavefe ccfe N N_clust, l("Dep. var. mean:" " " "Dep. var. mean," "info. control group:" "\hline Demographic controls" "Wave FEs" "Contract FEs" "N" "Clusters") fmt(%8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc %8.0fc)) ///
|
| 416 |
+
collabels(,none) prehead( "\begin{tabular}{l*{@M}{r @{} l}}" "\hline") ///
|
| 417 |
+
posthead("\hline") prefoot("\hline") postfoot("\hline\hline" "\end{tabular}")
|
| 418 |
+
|
| 419 |
+
restore
|
| 420 |
+
|
| 421 |
+
|
| 422 |
+
*** additions to numbers.tex **************************************************
|
| 423 |
+
|
| 424 |
+
*** Change in visits due to 12-visit contract assignment ***
|
| 425 |
+
* Generate variable for comparing treatment with control
|
| 426 |
+
gen gotcontract = 1 if treatment == "threshold80_12"
|
| 427 |
+
replace gotcontract = 0 if treatment == "control"
|
| 428 |
+
|
| 429 |
+
* Test for difference and store mean difference by take-up of contract
|
| 430 |
+
ttest visits if wave3 == 1 & commit12 == 1, by(gotcontract)
|
| 431 |
+
loc takeup : di %3.2f r(mu_2)-r(mu_1)
|
| 432 |
+
latex_write wantgottwelvediff `takeup' numbers
|
| 433 |
+
|
| 434 |
+
ttest visits if wave3 == 1 & commit12 == 0, by(gotcontract)
|
| 435 |
+
loc takeup : di %3.2f r(mu_2)-r(mu_1)
|
| 436 |
+
latex_write rejectgottwelvediff `takeup' numbers
|
| 437 |
+
|
| 438 |
+
* Store percentage of those who took up & got the contract who met the threshold
|
| 439 |
+
gen wantedgot12visits = visits if treatment == "threshold80_12" & commit12 == 1
|
| 440 |
+
gen under12 = wantedgot12visits < 12 if !missing(wantedgot12visits)
|
| 441 |
+
sum under12
|
| 442 |
+
loc pctunder : di %2.0f round(r(mean)*100)
|
| 443 |
+
latex_write pctundertwelve `pctunder' numbers
|
| 444 |
+
|
| 445 |
+
|
| 446 |
+
*** Statistics about WTPs at the slider maximum ***
|
| 447 |
+
* Reshape data for one observation per participant per incentive
|
| 448 |
+
preserve
|
| 449 |
+
keep wtp* maxwtp* id
|
| 450 |
+
reshape long wtp maxwtp, i(id) j(incentive)
|
| 451 |
+
|
| 452 |
+
* Generate a variable for the maximum slider value
|
| 453 |
+
gen maxval = incentive*30
|
| 454 |
+
|
| 455 |
+
* Store percentage of participants who maxed out slider
|
| 456 |
+
gen slidermaxed = !missing(maxwtp)
|
| 457 |
+
sum slidermaxed
|
| 458 |
+
loc pctmaxed : di %2.1f r(mean)*100
|
| 459 |
+
latex_write pctmaxed `pctmaxed' numbers
|
| 460 |
+
|
| 461 |
+
* Generate variables for fill-in-blank answers relation to maximum slider value
|
| 462 |
+
gen overmaxval = maxwtp > maxval if !missing(maxwtp)
|
| 463 |
+
gen atmaxval = maxwtp == maxval if !missing(maxwtp)
|
| 464 |
+
gen belowmaxval = maxwtp < maxval if !missing(maxwtp)
|
| 465 |
+
|
| 466 |
+
* Store percent of participants in each category
|
| 467 |
+
foreach relation in over at below{
|
| 468 |
+
sum `relation'maxval
|
| 469 |
+
loc pct`relation'max : di %2.0f r(mean)*100
|
| 470 |
+
latex_write pct`relation'max `pct`relation'max' numbers
|
| 471 |
+
}
|
| 472 |
+
restore
|
| 473 |
+
|
| 474 |
+
|
| 475 |
+
*** Share of individual behavior change value measures that are negative ***
|
| 476 |
+
* Reshape data for one observation per participant per incentive increase
|
| 477 |
+
preserve
|
| 478 |
+
keep delta* id
|
| 479 |
+
reshape long delta, i(id) j(inc)
|
| 480 |
+
|
| 481 |
+
* Estimate and store relevant statistic
|
| 482 |
+
gen delta_negative = delta < 0
|
| 483 |
+
sum delta_negative
|
| 484 |
+
loc pctdeltaneg : di %2.0f r(mean)*100
|
| 485 |
+
latex_write pctdeltaneg `pctdeltaneg' numbers
|
| 486 |
+
restore
|
| 487 |
+
|
| 488 |
+
|
| 489 |
+
*** Additional summary statistics ***
|
| 490 |
+
* Percent female and male
|
| 491 |
+
sum female
|
| 492 |
+
loc pctfemale : di %2.0f r(mean)*100
|
| 493 |
+
loc pctfemalealt : di %2.1f r(mean)*100
|
| 494 |
+
loc pctmalealt : di %2.1f (1 - r(mean))*100
|
| 495 |
+
loc fracfemale : di %4.3f r(mean)
|
| 496 |
+
loc fracmale : di %4.3f (1 - r(mean))
|
| 497 |
+
foreach stat in pctfemale pctfemalealt pctmalealt fracfemale fracmale{
|
| 498 |
+
latex_write `stat' ``stat'' numbers
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
* Mean imputed age
|
| 502 |
+
sum imp_age
|
| 503 |
+
loc meanage : di %2.0f r(mean)
|
| 504 |
+
latex_write meanage `meanage' numbers
|
| 505 |
+
|
| 506 |
+
* Percent students
|
| 507 |
+
sum ft_student
|
| 508 |
+
loc pctstudent : di %2.0f r(mean)*100
|
| 509 |
+
latex_write pctstudent `pctstudent' numbers
|
| 510 |
+
|
| 511 |
+
* Percent working
|
| 512 |
+
sum fpt_working
|
| 513 |
+
loc pctworking : di %2.0f r(mean)*100
|
| 514 |
+
latex_write pctworking `pctworking' numbers
|
| 515 |
+
|
| 516 |
+
* Percent married
|
| 517 |
+
sum married
|
| 518 |
+
loc pctmarried : di %2.0f r(mean)*100
|
| 519 |
+
latex_write pctmarried `pctmarried' numbers
|
| 520 |
+
|
| 521 |
+
* Mean visits recorded in past 100 days
|
| 522 |
+
sum visits_100
|
| 523 |
+
loc meanpastvisits : di %2.0f r(mean)
|
| 524 |
+
latex_write meanpastvisits `meanpastvisits' numbers
|
| 525 |
+
|
| 526 |
+
* Mean visits recalled in past 100 days
|
| 527 |
+
sum past100days_went
|
| 528 |
+
loc meanpastvisitsrecall : di %2.0f r(mean)
|
| 529 |
+
latex_write meanpastvisitsrecall `meanpastvisitsrecall' numbers
|
| 530 |
+
|
| 531 |
+
* Attention check
|
| 532 |
+
gen failed_attention = passed_attention_check == 0
|
| 533 |
+
sum failed
|
| 534 |
+
loc pctfailed : di %2.1f r(mean)*100
|
| 535 |
+
latex_write pctfailedac `pctfailed' numbers
|
| 536 |
+
|
| 537 |
+
* Chose dominated option
|
| 538 |
+
sum areyousure_prefer0_to_20
|
| 539 |
+
loc dom20 = r(N)
|
| 540 |
+
sum areyousure_prefer0_to_80
|
| 541 |
+
loc dom80 = r(N)
|
| 542 |
+
sum id
|
| 543 |
+
loc pctdominated : di %2.1f ((`dom20' + `dom80')/r(N))*100
|
| 544 |
+
latex_write pctchosedom `pctdominated' numbers
|
| 545 |
+
|
| 546 |
+
* Comprehension check
|
| 547 |
+
gen failed_cc = passed_comprehension_check == 0
|
| 548 |
+
sum failed_cc
|
| 549 |
+
loc pctfailed : di %2.1f r(mean)*100
|
| 550 |
+
latex_write pctfailedcc `pctfailed' numbers
|
| 551 |
+
|
| 552 |
+
* Numeracy check
|
| 553 |
+
gen passed_nc = 1 if !missing(q137) & !missing(q138)
|
| 554 |
+
replace passed_nc = 0 if (q138 == "133" | q138 == "133333" | q138 == "200000" | ///
|
| 555 |
+
q138 == "2500" | q138 == "40,000" | q138 == "40,000.00" | ///
|
| 556 |
+
q138 == "$400,00.00" | q138 == "400" | q138 == "400,00" | q138 == "40000" | ///
|
| 557 |
+
q138 == "4000000" | q138 == "500,000" | q138 == "50000" | q138 == "800000" | ///
|
| 558 |
+
q138 == "four") & !missing(passed_nc)
|
| 559 |
+
replace passed_nc = 0 if q137 != 100 & !missing(passed_nc)
|
| 560 |
+
sum passed_nc
|
| 561 |
+
loc pctpassed : di %2.1f r(mean)*100
|
| 562 |
+
latex_write passednumeracy `pctpassed' numbers
|
| 563 |
+
|
| 564 |
+
* Take-up of contract for fewer visits with & without exclusions above
|
| 565 |
+
preserve
|
| 566 |
+
reshape long commit anticommit, i(id) j(t)
|
| 567 |
+
sum anticommit
|
| 568 |
+
loc takeup : di %2.0f r(mean)*100
|
| 569 |
+
latex_write anticommitrate `takeup' numbers
|
| 570 |
+
|
| 571 |
+
sum anticommit if passed_comprehension_check == 1 ///
|
| 572 |
+
& passed_attention_check == 1 & missing(areyousure_prefer0_to_20) ///
|
| 573 |
+
& missing(areyousure_prefer0_to_80)
|
| 574 |
+
loc takeup : di %2.0f r(mean)*100
|
| 575 |
+
latex_write anticommitrateexcl `takeup' numbers
|
| 576 |
+
restore
|
| 577 |
+
|
| 578 |
+
* Range of percent take-up of contracts for fewer visits
|
| 579 |
+
loc anticommitpctmin = 1 // initialize for contract with lowest take-up
|
| 580 |
+
loc anticommitpctmax = 0 // initialize for contract with highest take-up
|
| 581 |
+
forval i = 8(4)16{
|
| 582 |
+
sum anticommit`i'
|
| 583 |
+
if r(mean) > `anticommitpctmax' loc anticommitpctmax = r(mean)
|
| 584 |
+
if r(mean) < `anticommitpctmin' loc anticommitpctmin = r(mean)
|
| 585 |
+
}
|
| 586 |
+
foreach stat in min max{
|
| 587 |
+
loc anticommitpct`stat' : di %4.0f `anticommitpct`stat''*100
|
| 588 |
+
latex_write anticommitpct`stat' `anticommitpct`stat'' numbers
|
| 589 |
+
}
|
| 590 |
+
|
| 591 |
+
* Number of participants in waves 2 & 3
|
| 592 |
+
gen wave23 = (wave2 | wave3)
|
| 593 |
+
sum wave23
|
| 594 |
+
loc obs = r(mean)*r(N)
|
| 595 |
+
latex_write wtwothreeobs `obs' numbers
|
| 596 |
+
|
| 597 |
+
* Average expected visits for different incentives
|
| 598 |
+
sum days_0
|
| 599 |
+
loc avgzero : di %2.1f r(mean)
|
| 600 |
+
latex_write avgexpnoinc `avgzero' numbers
|
| 601 |
+
sum days_7
|
| 602 |
+
loc avgseven : di %2.1f r(mean)
|
| 603 |
+
latex_write avgexpseveninc `avgseven' numbers
|
| 604 |
+
loc diff : di %2.1f `avgseven'-`avgzero'
|
| 605 |
+
latex_write avgexpdiffseven `diff' numbers
|
| 606 |
+
|
| 607 |
+
* Average actual visits for different incentives
|
| 608 |
+
sum visits if incentive==0
|
| 609 |
+
loc avgzero : di %2.1f r(mean)
|
| 610 |
+
latex_write avgactnoinc `avgzero' numbers
|
| 611 |
+
sum visits if incentive==7
|
| 612 |
+
loc avgseven : di %2.1f r(mean)
|
| 613 |
+
latex_write avgactseveninc `avgseven' numbers
|
| 614 |
+
loc diff : di %2.1f `avgseven'-`avgzero'
|
| 615 |
+
latex_write avgactdiffseven `diff' numbers
|
| 616 |
+
|
| 617 |
+
* Regression of attendance on average past attendance
|
| 618 |
+
reg visits past4
|
| 619 |
+
matrix temp = r(table)'
|
| 620 |
+
loc b : di %4.3f temp[1,1]
|
| 621 |
+
loc se : di %4.3f temp[1,2]
|
| 622 |
+
latex_write attcoeff `b' numbers
|
| 623 |
+
latex_write attcoeffse `se' numbers
|
| 624 |
+
|
| 625 |
+
* Effect of $2 piece-rate incentive
|
| 626 |
+
gen got_2 = 1 if incentive == 2
|
| 627 |
+
replace got_2 = 0 if treatment == "control"
|
| 628 |
+
* On expectations
|
| 629 |
+
ttest days_2 == days_0
|
| 630 |
+
* On realized attendance
|
| 631 |
+
ttest visits, by(got_2) unpaired
|
| 632 |
+
|
| 633 |
+
|
| 634 |
+
*** Generate pairwise correlation estimates with bootstrapping ***
|
| 635 |
+
* Pairwise correlation of behavior change premium at each incentive level
|
| 636 |
+
capture program drop avg_pwcorr_bcp
|
| 637 |
+
program define avg_pwcorr_bcp, rclass
|
| 638 |
+
|
| 639 |
+
* Initialize values
|
| 640 |
+
loc m = 0
|
| 641 |
+
loc agg_corr = 0
|
| 642 |
+
|
| 643 |
+
* Loop through each incentive level
|
| 644 |
+
foreach j in 1 2 3 5 7 {
|
| 645 |
+
foreach k in 2 3 5 7 12 {
|
| 646 |
+
if `j' < `k'{
|
| 647 |
+
pwcorr delta`j' delta`k'
|
| 648 |
+
loc agg_corr = `agg_corr' + r(rho)
|
| 649 |
+
loc ++m
|
| 650 |
+
}
|
| 651 |
+
}
|
| 652 |
+
}
|
| 653 |
+
|
| 654 |
+
* Average pairwise correlation
|
| 655 |
+
return scalar avg_pwcorr = `agg_corr'/`m'
|
| 656 |
+
|
| 657 |
+
end
|
| 658 |
+
|
| 659 |
+
* Generate estimates with bootstrapping
|
| 660 |
+
bootstrap avg_pwcorr_bcp = r(avg_pwcorr), reps(1000) cluster(id) seed(12345) ///
|
| 661 |
+
nodrop level(95): avg_pwcorr_bcp
|
| 662 |
+
estat bootstrap, all
|
| 663 |
+
|
| 664 |
+
* Store estimates
|
| 665 |
+
matrix temp_b = e(b)
|
| 666 |
+
loc avg : di %3.2f temp_b[1,1]
|
| 667 |
+
latex_write avgbcpcorr `avg' numbers
|
| 668 |
+
matrix temp_se = e(se)
|
| 669 |
+
loc stderr : di %3.2f temp_se[1,1]
|
| 670 |
+
latex_write avgbcpcorrse `stderr' numbers
|
| 671 |
+
|
| 672 |
+
|
| 673 |
+
* Pairwise correlation of take-up of each more-visits contract
|
| 674 |
+
capture program drop avg_pwcorr_mc
|
| 675 |
+
program define avg_pwcorr_mc, rclass
|
| 676 |
+
|
| 677 |
+
* Initialize values
|
| 678 |
+
loc m = 0
|
| 679 |
+
loc agg_corr = 0
|
| 680 |
+
|
| 681 |
+
* Loop through each more-visits contract
|
| 682 |
+
foreach j in 8 12 {
|
| 683 |
+
foreach k in 12 16 {
|
| 684 |
+
if `j' < `k'{
|
| 685 |
+
pwcorr commit`j' commit`k'
|
| 686 |
+
loc agg_corr = `agg_corr' + r(rho)
|
| 687 |
+
loc ++m
|
| 688 |
+
}
|
| 689 |
+
}
|
| 690 |
+
}
|
| 691 |
+
|
| 692 |
+
* Average pairwise correlation
|
| 693 |
+
return scalar avg_pwcorr = `agg_corr'/`m'
|
| 694 |
+
|
| 695 |
+
end
|
| 696 |
+
|
| 697 |
+
* Generate estimates with bootstrapping
|
| 698 |
+
bootstrap avg_pwcorr_mc = r(avg_pwcorr), reps(1000) cluster(id) seed(12345) ///
|
| 699 |
+
nodrop level(95): avg_pwcorr_mc
|
| 700 |
+
estat bootstrap, all
|
| 701 |
+
|
| 702 |
+
* Store estimates
|
| 703 |
+
matrix temp_b = e(b)
|
| 704 |
+
loc avg : di %3.2f temp_b[1,1]
|
| 705 |
+
latex_write avgMCcorr `avg' numbers
|
| 706 |
+
matrix temp_se = e(se)
|
| 707 |
+
loc stderr : di %3.2f temp_se[1,1]
|
| 708 |
+
latex_write avgMCcorrse `stderr' numbers
|
107/replication_package/Code/master_do_file_for_analysis.do
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*** MASTER ANALYSIS FILE FOR Carrera, Royer, Stehr, Sydnor, and Taubinsky (2021)
|
| 2 |
+
*******************************************************************************
|
| 3 |
+
|
| 4 |
+
** Initial set-up **
|
| 5 |
+
clear all
|
| 6 |
+
set more off
|
| 7 |
+
|
| 8 |
+
** Set main directory to location of replication folder **
|
| 9 |
+
cd ..
|
| 10 |
+
global main "`c(pwd)'"
|
| 11 |
+
// NOTE: If you start a new Stata session by opening this do file, your working
|
| 12 |
+
// directory will typically default to the Code subfolder. The code above will
|
| 13 |
+
// then correctly set the main directory. If that is not the case, then please
|
| 14 |
+
// uncomment and edit the code below to manually choose the correct location.
|
| 15 |
+
// if "`c(os)'" == "MacOSX" global main "/Users/`c(username)'/Downloads/Who_Chooses_Commitment_Replication"
|
| 16 |
+
// else global main "C:/Users/`c(username)'/Downloads/Who_Chooses_Commitment_Replication"
|
| 17 |
+
|
| 18 |
+
** Install necessary packages **
|
| 19 |
+
foreach pkg in eststo binscatter coefplot{
|
| 20 |
+
cap which `pkg'
|
| 21 |
+
if _rc ssc install `pkg'
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
** Create a program to write commands to latex files **
|
| 25 |
+
cap program drop latex_write
|
| 26 |
+
program define latex_write
|
| 27 |
+
if "`c(os)'" == "MacOSX" local command '\newcommand{\\`1'}{`2'}'
|
| 28 |
+
else local command \newcommand{\\`1'}{`2'}
|
| 29 |
+
! echo `command' >> "`3'.tex"
|
| 30 |
+
end
|
| 31 |
+
|
| 32 |
+
** Remove old versions of files **
|
| 33 |
+
cap rm "$main/Output/numbers.tex"
|
| 34 |
+
cap rm "$main/Output/numbers_struct.tex"
|
| 35 |
+
cap rm "$main/Output/numbers_struct_appx.tex"
|
| 36 |
+
|
| 37 |
+
** Run analysis files **
|
| 38 |
+
do "$main/Code/Stata/Tables"
|
| 39 |
+
do "$main/Code/Stata/Figures"
|
| 40 |
+
do "$main/Code/Stata/Appendix"
|
| 41 |
+
do "$main/Code/Stata/Parameter estimates"
|
107/replication_package/Code/run_simulations.m
ADDED
|
@@ -0,0 +1,1205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function run_simulations()
|
| 2 |
+
% Runs simulations of commitment contract game for different populations
|
| 3 |
+
|
| 4 |
+
% NOTE: If you start a MATLAB session by opening this file, your current
|
| 5 |
+
% folder will typically default to the Code subfolder. If that is not the
|
| 6 |
+
% case, MATLAB will usually prompt you to change it to that folder when you
|
| 7 |
+
% run this file. You can also edit the code below to manually choose the
|
| 8 |
+
% correct location.
|
| 9 |
+
% cd '/Users/Your Name/Downloads/Who_Chooses_Commitment_Replication/Code'
|
| 10 |
+
|
| 11 |
+
% declare global
|
| 12 |
+
global OUTPUT;
|
| 13 |
+
OUTPUT = '../Output';
|
| 14 |
+
|
| 15 |
+
% add path to intermediate files
|
| 16 |
+
addpath('MATLAB');
|
| 17 |
+
|
| 18 |
+
% delete old output file
|
| 19 |
+
numbersfile = [OUTPUT '/simulations.tex'];
|
| 20 |
+
if (exist(numbersfile,'file')), delete(numbersfile); end
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
%% Set game properties
|
| 24 |
+
|
| 25 |
+
% Game properties from experimental design
|
| 26 |
+
props12.a_star = 12;
|
| 27 |
+
props12.T = 28;
|
| 28 |
+
props12.p = 80;
|
| 29 |
+
|
| 30 |
+
% Alternate contract threshold properties
|
| 31 |
+
props8 = props12;
|
| 32 |
+
props8.a_star = 8;
|
| 33 |
+
props16 = props12;
|
| 34 |
+
props16.a_star = 16;
|
| 35 |
+
|
| 36 |
+
% Game properties with no penalty (equivalent to no contract)
|
| 37 |
+
props12NoP = props12;
|
| 38 |
+
props12NoP.p = 0;
|
| 39 |
+
props8NoP = props8;
|
| 40 |
+
props8NoP.p = 0;
|
| 41 |
+
props16NoP = props16;
|
| 42 |
+
props16NoP.p = 0;
|
| 43 |
+
|
| 44 |
+
% Set lower bound on support of cost distribution
|
| 45 |
+
minC = 0;
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
%% Instantiate games for attendance comparisons
|
| 49 |
+
|
| 50 |
+
% chose 12+ visit contract
|
| 51 |
+
params12 = load_parameters('commit12');
|
| 52 |
+
game12 = gymGame(props12, params12, minC, 'chose 12+ contract');
|
| 53 |
+
mu12 = params12.mu; % store share of pop. in chose 12+ contract group
|
| 54 |
+
|
| 55 |
+
% add heterogeneity along past attendance (below vs. above median)
|
| 56 |
+
params12AM = load_parameters('amcommit');
|
| 57 |
+
game12AM = gymGame(props12, params12AM, minC, 'chose 12+, above med. att.');
|
| 58 |
+
params12BM = load_parameters('bmcommit');
|
| 59 |
+
game12BM = gymGame(props12, params12BM, minC, 'chose 12+, below med. att.');
|
| 60 |
+
|
| 61 |
+
% add heterogeneity along past attendance (quartiles)
|
| 62 |
+
params12Q1 = load_parameters('qfstcommit');
|
| 63 |
+
game12Q1 = gymGame(props12, params12Q1, minC, 'chose 12+, q1 att.');
|
| 64 |
+
params12Q2 = load_parameters('qsndcommit');
|
| 65 |
+
game12Q2 = gymGame(props12, params12Q2, minC, 'chose 12+, q2 att.');
|
| 66 |
+
params12Q3 = load_parameters('qthdcommit');
|
| 67 |
+
game12Q3 = gymGame(props12, params12Q3, minC, 'chose 12+, q3 att.');
|
| 68 |
+
params12Q4 = load_parameters('qfthcommit');
|
| 69 |
+
game12Q4 = gymGame(props12, params12Q4, minC, 'chose 12+, q4 att.');
|
| 70 |
+
|
| 71 |
+
% add heterogeneity along past attendance (median) & info treatment
|
| 72 |
+
params12AMInfo = load_parameters('aminfocommit');
|
| 73 |
+
game12AMInfo = gymGame(props12, params12AMInfo, minC, 'chose 12+, above med. att., info treat');
|
| 74 |
+
params12AMControl = load_parameters('amctrlcommit');
|
| 75 |
+
game12AMControl = gymGame(props12, params12AMControl, minC, 'chose 12+, above med. att., control');
|
| 76 |
+
params12BMInfo = load_parameters('bminfocommit');
|
| 77 |
+
game12BMInfo = gymGame(props12, params12BMInfo, minC, 'chose 12+, below med. att., info treat');
|
| 78 |
+
params12BMControl = load_parameters('bmctrlcommit');
|
| 79 |
+
game12BMControl = gymGame(props12, params12BMControl, minC, 'chose 12+, below med. att., control');
|
| 80 |
+
|
| 81 |
+
% add heterogeneity along past attendance (quartiles) & info treatment
|
| 82 |
+
params12Q1Info = load_parameters('qfstinfocommit');
|
| 83 |
+
game12Q1Info = gymGame(props12, params12Q1Info, minC, 'chose 12+, q1 att., info treat');
|
| 84 |
+
params12Q1Control = load_parameters('qfstctrlcommit');
|
| 85 |
+
game12Q1Control = gymGame(props12, params12Q1Control, minC, 'chose 12+, q1 att., control');
|
| 86 |
+
params12Q2Info = load_parameters('qsndinfocommit');
|
| 87 |
+
game12Q2Info = gymGame(props12, params12Q2Info, minC, 'chose 12+, q2 att., info treat');
|
| 88 |
+
params12Q2Control = load_parameters('qsndctrlcommit');
|
| 89 |
+
game12Q2Control = gymGame(props12, params12Q2Control, minC, 'chose 12+, q2 att., control');
|
| 90 |
+
params12Q3Info = load_parameters('qthdinfocommit');
|
| 91 |
+
game12Q3Info = gymGame(props12, params12Q3Info, minC, 'chose 12+, q3 att., info treat');
|
| 92 |
+
params12Q3Control = load_parameters('qthdctrlcommit');
|
| 93 |
+
game12Q3Control = gymGame(props12, params12Q3Control, minC, 'chose 12+, q3 att., control');
|
| 94 |
+
params12Q4Info = load_parameters('qfthinfocommit');
|
| 95 |
+
game12Q4Info = gymGame(props12, params12Q4Info, minC, 'chose 12+, q4 att., info treat');
|
| 96 |
+
params12Q4Control = load_parameters('qfthctrlcommit');
|
| 97 |
+
game12Q4Control = gymGame(props12, params12Q4Control, minC, 'chose 12+, q4 att., control');
|
| 98 |
+
|
| 99 |
+
% add no penalty versions of the above games
|
| 100 |
+
% note: the no penalty contracts are equivalent to no contract being
|
| 101 |
+
% assigned due to these populations' rejection of the contract
|
| 102 |
+
game12NoP = gymGame(props12NoP, params12, minC, 'chose 12+, no penalty');
|
| 103 |
+
game12AMNoP = gymGame(props12NoP, params12AM, minC, 'chose 12+, above med. att., no penalty');
|
| 104 |
+
game12BMNoP = gymGame(props12NoP, params12BM, minC, 'chose 12+, below med. att., no penalty');
|
| 105 |
+
game12Q1NoP = gymGame(props12NoP, params12Q1, minC, 'chose 12+, q1 att., no penalty');
|
| 106 |
+
game12Q2NoP = gymGame(props12NoP, params12Q2, minC, 'chose 12+, q2 att., no penalty');
|
| 107 |
+
game12Q3NoP = gymGame(props12NoP, params12Q3, minC, 'chose 12+, q3 att., no penalty');
|
| 108 |
+
game12Q4NoP = gymGame(props12NoP, params12Q4, minC, 'chose 12+, q4 att., no penalty');
|
| 109 |
+
game12AMInfoNoP = gymGame(props12NoP, params12AMInfo, minC, ...
|
| 110 |
+
'chose 12+, above med. att., info treat, no penalty');
|
| 111 |
+
game12AMControlNoP = gymGame(props12NoP, params12AMControl, minC, ...
|
| 112 |
+
'chose 12+, above med. att., control, no penalty');
|
| 113 |
+
game12BMInfoNoP = gymGame(props12NoP, params12BMInfo, minC, ...
|
| 114 |
+
'chose 12+, below med. att., info treat, no penalty');
|
| 115 |
+
game12BMControlNoP = gymGame(props12NoP, params12BMControl, minC, ...
|
| 116 |
+
'chose 12+, below med. att., control, no penalty');
|
| 117 |
+
game12Q1InfoNoP = gymGame(props12NoP, params12Q1Info, minC, ...
|
| 118 |
+
'chose 12+, q1 att., info treat, no penalty');
|
| 119 |
+
game12Q1ControlNoP = gymGame(props12NoP, params12Q1Control, ...
|
| 120 |
+
minC, 'chose 12+, q1 att., control, no penalty');
|
| 121 |
+
game12Q2InfoNoP = gymGame(props12NoP, params12Q2Info, minC, ...
|
| 122 |
+
'chose 12+, q2 att., info treat, no penalty');
|
| 123 |
+
game12Q2ControlNoP = gymGame(props12NoP, params12Q2Control, minC, ...
|
| 124 |
+
'chose 12+, q2 att., control, no penalty');
|
| 125 |
+
game12Q3InfoNoP = gymGame(props12NoP, params12Q3Info, minC, ...
|
| 126 |
+
'chose 12+, q3 att., info treat, no penalty');
|
| 127 |
+
game12Q3ControlNoP = gymGame(props12NoP, params12Q3Control, minC, ...
|
| 128 |
+
'chose 12+, q3 att., control, no penalty');
|
| 129 |
+
game12Q4InfoNoP = gymGame(props12NoP, params12Q4Info, minC, ...
|
| 130 |
+
'chose 12+, q4 att., info treat, no penalty');
|
| 131 |
+
game12Q4ControlNoP = gymGame(props12NoP, params12Q4Control, minC, ...
|
| 132 |
+
'chose 12+, q4 att., control, no penalty');
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
%% Compare attendance outcomes across different simulated populations
|
| 136 |
+
|
| 137 |
+
% chose 12+ visit contract
|
| 138 |
+
mc(1) = game12;
|
| 139 |
+
mc(1).mu = 1; % homogeneous population
|
| 140 |
+
mcnp(1) = game12NoP;
|
| 141 |
+
mcnp(1).mu = 1; % homogeneous population
|
| 142 |
+
simulate_attendance(mc,mcnp,'all')
|
| 143 |
+
|
| 144 |
+
% with hetereogenity along past attendance (above vs. below median)
|
| 145 |
+
mc = [game12AM game12BM];
|
| 146 |
+
mcnp = [game12AMNoP game12BMNoP];
|
| 147 |
+
simulate_attendance(mc,mcnp,'matt')
|
| 148 |
+
|
| 149 |
+
% with hetereogenity along past attendance (quartile)
|
| 150 |
+
mc = [game12Q1 game12Q2 game12Q3 game12Q4];
|
| 151 |
+
mcnp = [game12Q1NoP game12Q2NoP game12Q3NoP game12Q4NoP];
|
| 152 |
+
simulate_attendance(mc,mcnp,'qatt')
|
| 153 |
+
|
| 154 |
+
% with heterogeneity along past attendance (median) & info treatment
|
| 155 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 156 |
+
mcnp = [game12AMInfoNoP game12AMControlNoP game12BMInfoNoP game12BMControlNoP];
|
| 157 |
+
simulate_attendance(mc,mcnp,'mattinfo')
|
| 158 |
+
|
| 159 |
+
% with heterogeneity along past attendance (quartile) & info treatment
|
| 160 |
+
mc = [game12Q1Info game12Q1Control game12Q2Info game12Q2Control ...
|
| 161 |
+
game12Q3Info game12Q3Control game12Q4Info game12Q4Control];
|
| 162 |
+
mcnp = [game12Q1InfoNoP game12Q1ControlNoP game12Q2InfoNoP game12Q2ControlNoP ...
|
| 163 |
+
game12Q3InfoNoP game12Q3ControlNoP game12Q4InfoNoP game12Q4ControlNoP];
|
| 164 |
+
simulate_attendance(mc,mcnp,'qattinfo')
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
%% Instantiate games for welfare/efficiency comparisons
|
| 168 |
+
% with heterogeneity along past attendance (median) & info treatment
|
| 169 |
+
|
| 170 |
+
% add 8+ contract versions (with & without penalty)
|
| 171 |
+
params8AMInfo = load_parameters('aminfocommite');
|
| 172 |
+
game8AMInfo = gymGame(props8, params8AMInfo, minC, 'chose 8+, above med. att., info treat');
|
| 173 |
+
game8AMInfoNoP = gymGame(props8NoP, params8AMInfo, minC, ...
|
| 174 |
+
'chose 8+, above med. att., info treat, no penalty');
|
| 175 |
+
params8AMControl = load_parameters('amctrlcommite');
|
| 176 |
+
game8AMControl = gymGame(props8, params8AMControl, minC, 'chose 8+, above med. att., control');
|
| 177 |
+
game8AMControlNoP = gymGame(props8NoP, params8AMControl, minC, ...
|
| 178 |
+
'chose 8+, above med. att., control, no penalty');
|
| 179 |
+
params8BMInfo = load_parameters('bminfocommite');
|
| 180 |
+
game8BMInfo = gymGame(props8, params8BMInfo, minC, 'chose 8+, below med. att., info treat');
|
| 181 |
+
game8BMInfoNoP = gymGame(props8NoP, params8BMInfo, minC, ...
|
| 182 |
+
'chose 8+, below med. att., info treat, no penalty');
|
| 183 |
+
params8BMControl = load_parameters('bmctrlcommite');
|
| 184 |
+
game8BMControl = gymGame(props8, params8BMControl, minC, 'chose 8+, below med. att., control');
|
| 185 |
+
game8BMControlNoP = gymGame(props8NoP, params8BMControl, minC, ...
|
| 186 |
+
'chose 8+, below med. att., control, no penalty');
|
| 187 |
+
|
| 188 |
+
% add 16+ contract versions (with & without penalty)
|
| 189 |
+
params16AMInfo = load_parameters('aminfocommits');
|
| 190 |
+
game16AMInfo = gymGame(props16, params16AMInfo, minC, 'chose 16+, above med. att., info treat');
|
| 191 |
+
game16AMInfoNoP = gymGame(props16NoP, params16AMInfo, minC, ...
|
| 192 |
+
'chose 16+, above med. att., info treat, no penalty');
|
| 193 |
+
params16AMControl = load_parameters('amctrlcommits');
|
| 194 |
+
game16AMControl = gymGame(props16, params16AMControl, minC, 'chose 16+, above med. att., control');
|
| 195 |
+
game16AMControlNoP = gymGame(props16NoP, params16AMControl, minC, ...
|
| 196 |
+
'chose 16+, above med. att., control, no penalty');
|
| 197 |
+
params16BMInfo = load_parameters('bminfocommits');
|
| 198 |
+
game16BMInfo = gymGame(props16, params16BMInfo, minC, 'chose 16+, below med. att., info treat');
|
| 199 |
+
game16BMInfoNoP = gymGame(props16NoP, params16BMInfo, minC, ...
|
| 200 |
+
'chose 16+, below med. att., info treat, no penalty');
|
| 201 |
+
params16BMControl = load_parameters('bmctrlcommits');
|
| 202 |
+
game16BMControl = gymGame(props16, params16BMControl, minC, 'chose 16+, below med. att., control');
|
| 203 |
+
game16BMControlNoP = gymGame(props16NoP, params16BMControl, minC, ...
|
| 204 |
+
'chose 16+, below med. att., control, no penalty');
|
| 205 |
+
|
| 206 |
+
% add versions for those who rejected the commitment contracts
|
| 207 |
+
paramsNo12AMInfo = load_parameters('aminfonocommit');
|
| 208 |
+
gameNo12AMInfo = gymGame(props12NoP, paramsNo12AMInfo, minC, ...
|
| 209 |
+
'rejected 12+, above med. att., info treat');
|
| 210 |
+
paramsNo12AMControl = load_parameters('amctrlnocommit');
|
| 211 |
+
gameNo12AMControl = gymGame(props12NoP, paramsNo12AMControl, minC, ...
|
| 212 |
+
'rejected 12+, above med. att., control');
|
| 213 |
+
paramsNo12BMInfo = load_parameters('bminfonocommit');
|
| 214 |
+
gameNo12BMInfo = gymGame(props12NoP, paramsNo12BMInfo, minC, ...
|
| 215 |
+
'rejected 12+, below med. att., info treat');
|
| 216 |
+
paramsNo12BMControl = load_parameters('bmctrlnocommit');
|
| 217 |
+
gameNo12BMControl = gymGame(props12NoP, paramsNo12BMControl, minC, ...
|
| 218 |
+
'rejected 12+, below med. att., control');
|
| 219 |
+
paramsNo8AMInfo = load_parameters('aminfonocommite');
|
| 220 |
+
gameNo8AMInfo = gymGame(props8NoP, paramsNo8AMInfo, minC, ...
|
| 221 |
+
'rejected 8+, above med. att., info treat');
|
| 222 |
+
paramsNo8AMControl = load_parameters('amctrlnocommite');
|
| 223 |
+
gameNo8AMControl = gymGame(props8NoP, paramsNo8AMControl, minC, ...
|
| 224 |
+
'rejected 8+, above med. att., control');
|
| 225 |
+
paramsNo8BMInfo = load_parameters('bminfonocommite');
|
| 226 |
+
gameNo8BMInfo = gymGame(props8NoP, paramsNo8BMInfo, minC, ...
|
| 227 |
+
'rejected 8+, below med. att., info treat');
|
| 228 |
+
paramsNo8BMControl = load_parameters('bmctrlnocommite');
|
| 229 |
+
gameNo8BMControl = gymGame(props8NoP, paramsNo8BMControl, minC, ...
|
| 230 |
+
'rejected 8+, below med. att., control');
|
| 231 |
+
paramsNo16AMInfo = load_parameters('aminfonocommits');
|
| 232 |
+
gameNo16AMInfo = gymGame(props16NoP, paramsNo16AMInfo, minC, ...
|
| 233 |
+
'rejected 16+, above med. att., info treat');
|
| 234 |
+
paramsNo16AMControl = load_parameters('amctrlnocommits');
|
| 235 |
+
gameNo16AMControl = gymGame(props16NoP, paramsNo16AMControl, minC, ...
|
| 236 |
+
'rejected 16+, above med. att., control');
|
| 237 |
+
paramsNo16BMInfo = load_parameters('bminfonocommits');
|
| 238 |
+
gameNo16BMInfo = gymGame(props16NoP, paramsNo16BMInfo, minC, ...
|
| 239 |
+
'rejected 16+, below med. att., info treat');
|
| 240 |
+
paramsNo16BMControl = load_parameters('bmctrlnocommits');
|
| 241 |
+
gameNo16BMControl = gymGame(props16NoP, paramsNo16BMControl, minC, ...
|
| 242 |
+
'rejected 16+, below med. att., control');
|
| 243 |
+
|
| 244 |
+
% store share of population that chose each contract
|
| 245 |
+
params8 = load_parameters('commit8');
|
| 246 |
+
mu8 = params8.mu;
|
| 247 |
+
params16 = load_parameters('commit16');
|
| 248 |
+
mu16 = params16.mu;
|
| 249 |
+
|
| 250 |
+
|
| 251 |
+
%% Compare welfare/efficiency outcomes across different contracts/incentives
|
| 252 |
+
% with heterogeneity along past attendance (median) & info treatment
|
| 253 |
+
|
| 254 |
+
% under the 12+ visit contract
|
| 255 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 256 |
+
mnc = [gameNo12AMInfo gameNo12AMControl gameNo12BMInfo gameNo12BMControl];
|
| 257 |
+
mcnp = [game12AMInfoNoP game12AMControlNoP game12BMInfoNoP game12BMControlNoP];
|
| 258 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 259 |
+
mc(m).mu = mc(m).mu .* mu12;
|
| 260 |
+
mcnp(m).mu = mcnp(m).mu .* mu12;
|
| 261 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu12);
|
| 262 |
+
end
|
| 263 |
+
Results12 = compute_efficiency(mc,mnc,mcnp);
|
| 264 |
+
|
| 265 |
+
% under the 8+ visit contract
|
| 266 |
+
mc = [game8AMInfo game8AMControl game8BMInfo game8BMControl];
|
| 267 |
+
mnc = [gameNo8AMInfo gameNo8AMControl gameNo8BMInfo gameNo8BMControl];
|
| 268 |
+
mcnp = [game8AMInfoNoP game8AMControlNoP game8BMInfoNoP game8BMControlNoP];
|
| 269 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 270 |
+
mc(m).mu = mc(m).mu .* mu8;
|
| 271 |
+
mcnp(m).mu = mcnp(m).mu .* mu8;
|
| 272 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu8);
|
| 273 |
+
end
|
| 274 |
+
Results8 = compute_efficiency(mc,mnc,mcnp);
|
| 275 |
+
|
| 276 |
+
% under the 16+ visit contract
|
| 277 |
+
mc = [game16AMInfo game16AMControl game16BMInfo game16BMControl];
|
| 278 |
+
mnc = [gameNo16AMInfo gameNo16AMControl gameNo16BMInfo gameNo16BMControl];
|
| 279 |
+
mcnp = [game16AMInfoNoP game16AMControlNoP game16BMInfoNoP game16BMControlNoP];
|
| 280 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 281 |
+
mc(m).mu = mc(m).mu .* mu16;
|
| 282 |
+
mcnp(m).mu = mcnp(m).mu .* mu16;
|
| 283 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu16);
|
| 284 |
+
end
|
| 285 |
+
Results16 = compute_efficiency(mc,mnc,mcnp);
|
| 286 |
+
|
| 287 |
+
% export results
|
| 288 |
+
export_efficiency_results(Results8, Results12, Results16, 'het');
|
| 289 |
+
|
| 290 |
+
|
| 291 |
+
%% Instantiate games for welfare/efficiency comparisons
|
| 292 |
+
% with homogeneity & heterogeneity along past attendance & treatment
|
| 293 |
+
|
| 294 |
+
% add 8+ contract versions (with & without penalty)
|
| 295 |
+
% with homogeneity
|
| 296 |
+
params8 = load_parameters('commit8');
|
| 297 |
+
game8 = gymGame(props8, params8, minC, 'chose 8+ contract');
|
| 298 |
+
game8NoP = gymGame(props8NoP, params8, minC, 'chose 8+ contract, no penalty');
|
| 299 |
+
% with heterogeneity along past attendance (below vs. above median)
|
| 300 |
+
params8AM = load_parameters('amcommite');
|
| 301 |
+
game8AM = gymGame(props8, params8AM, minC, 'chose 8+, above med. att.');
|
| 302 |
+
game8AMNoP = gymGame(props8NoP, params8AM, minC, 'chose 8+, above med. att., no penalty');
|
| 303 |
+
params8BM = load_parameters('bmcommite');
|
| 304 |
+
game8BM = gymGame(props8, params8BM, minC, 'chose 8+, below med. att.');
|
| 305 |
+
game8BMNoP = gymGame(props8NoP, params8BM, minC, 'chose 8+, below med. att., no penalty');
|
| 306 |
+
% add heterogeneity along past attendance (quartiles)
|
| 307 |
+
params8Q1 = load_parameters('qfstcommite');
|
| 308 |
+
game8Q1 = gymGame(props8, params8Q1, minC, 'chose 8+, q1 att.');
|
| 309 |
+
game8Q1NoP = gymGame(props8NoP, params8Q1, minC, 'chose 8+, q1 att., no penalty');
|
| 310 |
+
params8Q2 = load_parameters('qsndcommite');
|
| 311 |
+
game8Q2 = gymGame(props8, params8Q2, minC, 'chose 8+, q2 att.');
|
| 312 |
+
game8Q2NoP = gymGame(props8NoP, params8Q2, minC, 'chose 8+, q2 att., no penalty');
|
| 313 |
+
params8Q3 = load_parameters('qthdcommite');
|
| 314 |
+
game8Q3 = gymGame(props8, params8Q3, minC, 'chose 8+, q3 att.');
|
| 315 |
+
game8Q3NoP = gymGame(props8NoP, params8Q3, minC, 'chose 8+, q3 att., no penalty');
|
| 316 |
+
params8Q4 = load_parameters('qfthcommite');
|
| 317 |
+
game8Q4 = gymGame(props8, params8Q4, minC, 'chose 8+, q4 att.');
|
| 318 |
+
game8Q4NoP = gymGame(props8NoP, params8Q4, minC, 'chose 8+, q4 att., no penalty');
|
| 319 |
+
|
| 320 |
+
% add 16+ contract versions (with & without penalty)
|
| 321 |
+
% with homogeneity
|
| 322 |
+
params16 = load_parameters('commit16');
|
| 323 |
+
game16 = gymGame(props16, params16, minC, 'chose 16+ contract');
|
| 324 |
+
game16NoP = gymGame(props16NoP, params16, minC, 'chose 16+ contract, no penalty');
|
| 325 |
+
% with heterogeneity along past attendance (below vs. above median)
|
| 326 |
+
params16AM = load_parameters('amcommits');
|
| 327 |
+
game16AM = gymGame(props16, params16AM, minC, 'chose 16+, above med. att.');
|
| 328 |
+
game16AMNoP = gymGame(props16NoP, params16AM, minC, 'chose 16+, above med. att., no penalty');
|
| 329 |
+
params16BM = load_parameters('bmcommits');
|
| 330 |
+
game16BM = gymGame(props16, params16BM, minC, 'chose 16+, below med. att.');
|
| 331 |
+
game16BMNoP = gymGame(props16NoP, params16BM, minC, 'chose 16+, below med. att., no penalty');
|
| 332 |
+
% add heterogeneity along past attendance (quartiles)
|
| 333 |
+
params16Q1 = load_parameters('qfstcommits');
|
| 334 |
+
game16Q1 = gymGame(props16, params16Q1, minC, 'chose 16+, q1 att.');
|
| 335 |
+
game16Q1NoP = gymGame(props16NoP, params16Q1, minC, 'chose 16+, q1 att., no penalty');
|
| 336 |
+
params16Q2 = load_parameters('qsndcommits');
|
| 337 |
+
game16Q2 = gymGame(props16, params16Q2, minC, 'chose 16+, q2 att.');
|
| 338 |
+
game16Q2NoP = gymGame(props16NoP, params16Q2, minC, 'chose 16+, q2 att., no penalty');
|
| 339 |
+
params16Q3 = load_parameters('qthdcommits');
|
| 340 |
+
game16Q3 = gymGame(props16, params16Q3, minC, 'chose 16+, q3 att.');
|
| 341 |
+
game16Q3NoP = gymGame(props16NoP, params16Q3, minC, 'chose 16+, q3 att., no penalty');
|
| 342 |
+
params16Q4 = load_parameters('qfthcommits');
|
| 343 |
+
game16Q4 = gymGame(props16, params16Q4, minC, 'chose 16+, q4 att.');
|
| 344 |
+
game16Q4NoP = gymGame(props16NoP, params16Q4, minC, 'chose 16+, q4 att., no penalty');
|
| 345 |
+
|
| 346 |
+
% add versions for those who rejected the commitment contracts
|
| 347 |
+
% 8+ visits contract
|
| 348 |
+
paramsNo8 = load_parameters('nocommit8');
|
| 349 |
+
gameNo8 = gymGame(props8NoP, paramsNo8, minC, 'rejected 8+ contract');
|
| 350 |
+
paramsNo8AM = load_parameters('amnocommite');
|
| 351 |
+
gameNo8AM = gymGame(props8NoP, paramsNo8AM, minC, 'rejected 8+, above med. att.');
|
| 352 |
+
paramsNo8BM = load_parameters('bmnocommite');
|
| 353 |
+
gameNo8BM = gymGame(props8NoP, paramsNo8BM, minC, 'rejected 8+, below med. att.');
|
| 354 |
+
paramsNo8Q1 = load_parameters('qfstnocommite');
|
| 355 |
+
gameNo8Q1 = gymGame(props8NoP, paramsNo8Q1, minC, 'rejected 8+, q1 att.');
|
| 356 |
+
paramsNo8Q2 = load_parameters('qsndnocommite');
|
| 357 |
+
gameNo8Q2 = gymGame(props8NoP, paramsNo8Q2, minC, 'rejected 8+, q2 att.');
|
| 358 |
+
paramsNo8Q3 = load_parameters('qthdnocommite');
|
| 359 |
+
gameNo8Q3 = gymGame(props8NoP, paramsNo8Q3, minC, 'rejected 8+, q3 att.');
|
| 360 |
+
paramsNo8Q4 = load_parameters('qfthnocommite');
|
| 361 |
+
gameNo8Q4 = gymGame(props8NoP, paramsNo8Q4, minC, 'rejected 8+, q4 att.');
|
| 362 |
+
% 12+ visits contract
|
| 363 |
+
paramsNo12 = load_parameters('nocommit12');
|
| 364 |
+
gameNo12 = gymGame(props12NoP, paramsNo12, minC, 'rejected 12+ contract');
|
| 365 |
+
paramsNo12AM = load_parameters('amnocommit');
|
| 366 |
+
gameNo12AM = gymGame(props12NoP, paramsNo12AM, minC, 'rejected 12+, above med. att.');
|
| 367 |
+
paramsNo12BM = load_parameters('bmnocommit');
|
| 368 |
+
gameNo12BM = gymGame(props12NoP, paramsNo12BM, minC, 'rejected 12+, below med. att.');
|
| 369 |
+
paramsNo12Q1 = load_parameters('qfstnocommit');
|
| 370 |
+
gameNo12Q1 = gymGame(props12NoP, paramsNo12Q1, minC, 'rejected 12+, q1 att.');
|
| 371 |
+
paramsNo12Q2 = load_parameters('qsndnocommit');
|
| 372 |
+
gameNo12Q2 = gymGame(props12NoP, paramsNo12Q2, minC, 'rejected 12+, q2 att.');
|
| 373 |
+
paramsNo12Q3 = load_parameters('qthdnocommit');
|
| 374 |
+
gameNo12Q3 = gymGame(props12NoP, paramsNo12Q3, minC, 'rejected 12+, q3 att.');
|
| 375 |
+
paramsNo12Q4 = load_parameters('qfthnocommit');
|
| 376 |
+
gameNo12Q4 = gymGame(props12NoP, paramsNo12Q4, minC, 'rejected 12+, q4 att.');
|
| 377 |
+
% 16+ visits contract
|
| 378 |
+
paramsNo16 = load_parameters('nocommit16');
|
| 379 |
+
gameNo16 = gymGame(props16NoP, paramsNo16, minC, 'rejected 16+ contract');
|
| 380 |
+
paramsNo16AM = load_parameters('amnocommits');
|
| 381 |
+
gameNo16AM = gymGame(props16NoP, paramsNo16AM, minC, 'rejected 16+, above med. att.');
|
| 382 |
+
paramsNo16BM = load_parameters('bmnocommits');
|
| 383 |
+
gameNo16BM = gymGame(props16NoP, paramsNo16BM, minC, 'rejected 16+, below med. att.');
|
| 384 |
+
paramsNo16Q1 = load_parameters('qfstnocommits');
|
| 385 |
+
gameNo16Q1 = gymGame(props16NoP, paramsNo16Q1, minC, 'rejected 16+, q1 att.');
|
| 386 |
+
paramsNo16Q2 = load_parameters('qsndnocommits');
|
| 387 |
+
gameNo16Q2 = gymGame(props16NoP, paramsNo16Q2, minC, 'rejected 16+, q2 att.');
|
| 388 |
+
paramsNo16Q3 = load_parameters('qthdnocommits');
|
| 389 |
+
gameNo16Q3 = gymGame(props16NoP, paramsNo16Q3, minC, 'rejected 16+, q3 att.');
|
| 390 |
+
paramsNo16Q4 = load_parameters('qfthnocommits');
|
| 391 |
+
gameNo16Q4 = gymGame(props16NoP, paramsNo16Q4, minC, 'rejected 16+, q4 att.');
|
| 392 |
+
|
| 393 |
+
|
| 394 |
+
%% Compare welfare/efficiency outcomes across different contracts/incentives
|
| 395 |
+
% with homogeneity & heterogeneity along past attendance & treatment
|
| 396 |
+
|
| 397 |
+
% HOMOGENEITY
|
| 398 |
+
% under the 12+ visit contract
|
| 399 |
+
mc = game12;
|
| 400 |
+
mnc = gameNo12;
|
| 401 |
+
mcnp = game12NoP;
|
| 402 |
+
Results12 = compute_efficiency(mc,mnc,mcnp);
|
| 403 |
+
|
| 404 |
+
% under the 8+ visit contract
|
| 405 |
+
mc = game8;
|
| 406 |
+
mnc = gameNo8;
|
| 407 |
+
mcnp = game8NoP;
|
| 408 |
+
Results8 = compute_efficiency(mc,mnc,mcnp);
|
| 409 |
+
|
| 410 |
+
% under the 16+ visit contract
|
| 411 |
+
mc = game16;
|
| 412 |
+
mnc = gameNo16;
|
| 413 |
+
mcnp = game16NoP;
|
| 414 |
+
Results16 = compute_efficiency(mc,mnc,mcnp);
|
| 415 |
+
|
| 416 |
+
% export results
|
| 417 |
+
export_efficiency_results(Results8, Results12, Results16, 'hom');
|
| 418 |
+
|
| 419 |
+
|
| 420 |
+
% HETEROGENEITY ALONG PAST ATTENDANCE (MEDIAN)
|
| 421 |
+
% under the 12+ visit contract
|
| 422 |
+
mc = [game12AM game12BM];
|
| 423 |
+
mnc = [gameNo12AM gameNo12BM];
|
| 424 |
+
mcnp = [game12AMNoP game12BMNoP];
|
| 425 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 426 |
+
mc(m).mu = mc(m).mu .* mu12;
|
| 427 |
+
mcnp(m).mu = mcnp(m).mu .* mu12;
|
| 428 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu12);
|
| 429 |
+
end
|
| 430 |
+
Results12 = compute_efficiency(mc,mnc,mcnp);
|
| 431 |
+
|
| 432 |
+
% under the 8+ visit contract
|
| 433 |
+
mc = [game8AM game8BM];
|
| 434 |
+
mnc = [gameNo8AM gameNo8BM];
|
| 435 |
+
mcnp = [game8AMNoP game8BMNoP];
|
| 436 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 437 |
+
mc(m).mu = mc(m).mu .* mu8;
|
| 438 |
+
mcnp(m).mu = mcnp(m).mu .* mu8;
|
| 439 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu8);
|
| 440 |
+
end
|
| 441 |
+
Results8 = compute_efficiency(mc,mnc,mcnp);
|
| 442 |
+
|
| 443 |
+
% under the 16+ visit contract
|
| 444 |
+
mc = [game16AM game16BM];
|
| 445 |
+
mnc = [gameNo16AM gameNo16BM];
|
| 446 |
+
mcnp = [game16AMNoP game16BMNoP];
|
| 447 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 448 |
+
mc(m).mu = mc(m).mu .* mu16;
|
| 449 |
+
mcnp(m).mu = mcnp(m).mu .* mu16;
|
| 450 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu16);
|
| 451 |
+
end
|
| 452 |
+
Results16 = compute_efficiency(mc,mnc,mcnp);
|
| 453 |
+
|
| 454 |
+
% export results
|
| 455 |
+
export_efficiency_results(Results8, Results12, Results16, 'med');
|
| 456 |
+
|
| 457 |
+
|
| 458 |
+
% HETEROGENEITY ALONG PAST ATTENDANCE (QUARTILE)
|
| 459 |
+
% under the 12+ visit contract
|
| 460 |
+
mc = [game12Q1 game12Q2 game12Q3 game12Q4];
|
| 461 |
+
mnc = [gameNo12Q1 gameNo12Q2 gameNo12Q3 gameNo12Q4];
|
| 462 |
+
mcnp = [game12Q1NoP game12Q2NoP game12Q3NoP game12Q4NoP];
|
| 463 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 464 |
+
mc(m).mu = mc(m).mu .* mu12;
|
| 465 |
+
mcnp(m).mu = mcnp(m).mu .* mu12;
|
| 466 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu12);
|
| 467 |
+
end
|
| 468 |
+
Results12 = compute_efficiency(mc,mnc,mcnp);
|
| 469 |
+
|
| 470 |
+
% under the 8+ visit contract
|
| 471 |
+
mc = [game8Q1 game8Q2 game8Q3 game8Q4];
|
| 472 |
+
mnc = [gameNo8Q1 gameNo8Q2 gameNo8Q3 gameNo8Q4];
|
| 473 |
+
mcnp = [game8Q1NoP game8Q2NoP game8Q3NoP game8Q4NoP];
|
| 474 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 475 |
+
mc(m).mu = mc(m).mu .* mu8;
|
| 476 |
+
mcnp(m).mu = mcnp(m).mu .* mu8;
|
| 477 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu8);
|
| 478 |
+
end
|
| 479 |
+
Results8 = compute_efficiency(mc,mnc,mcnp);
|
| 480 |
+
|
| 481 |
+
% under the 16+ visit contract
|
| 482 |
+
mc = [game16Q1 game16Q2 game16Q3 game16Q4];
|
| 483 |
+
mnc = [gameNo16Q1 gameNo16Q2 gameNo16Q3 gameNo16Q4];
|
| 484 |
+
mcnp = [game16Q1NoP game16Q2NoP game16Q3NoP game16Q4NoP];
|
| 485 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 486 |
+
mc(m).mu = mc(m).mu .* mu16;
|
| 487 |
+
mcnp(m).mu = mcnp(m).mu .* mu16;
|
| 488 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu16);
|
| 489 |
+
end
|
| 490 |
+
Results16 = compute_efficiency(mc,mnc,mcnp);
|
| 491 |
+
|
| 492 |
+
% export results
|
| 493 |
+
export_efficiency_results(Results8, Results12, Results16, 'qrt');
|
| 494 |
+
|
| 495 |
+
|
| 496 |
+
%% Plot the average probability of attending each day
|
| 497 |
+
|
| 498 |
+
% generate plot for 12+ visit contract
|
| 499 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 500 |
+
plot_att_prob(mc,'daily_att_prob_commit12');
|
| 501 |
+
|
| 502 |
+
|
| 503 |
+
%% Results with a minimal cost draw of $10
|
| 504 |
+
|
| 505 |
+
% Set lower bound on support of cost distribution
|
| 506 |
+
minC = 10;
|
| 507 |
+
|
| 508 |
+
% INSTANTIATE GAMES
|
| 509 |
+
% chose 12+ visit contract
|
| 510 |
+
params12 = load_parameters('commit12X');
|
| 511 |
+
game12 = gymGame(props12, params12, minC, 'chose 12+ contract');
|
| 512 |
+
|
| 513 |
+
% add heterogeneity along past attendance (below vs. above median)
|
| 514 |
+
params12AM = load_parameters('amcommitX');
|
| 515 |
+
game12AM = gymGame(props12, params12AM, minC, 'chose 12+, above med. att.');
|
| 516 |
+
params12BM = load_parameters('bmcommitX');
|
| 517 |
+
game12BM = gymGame(props12, params12BM, minC, 'chose 12+, below med. att.');
|
| 518 |
+
|
| 519 |
+
% add heterogeneity along past attendance (quartiles)
|
| 520 |
+
params12Q1 = load_parameters('qfstcommitX');
|
| 521 |
+
game12Q1 = gymGame(props12, params12Q1, minC, 'chose 12+, q1 att.');
|
| 522 |
+
params12Q2 = load_parameters('qsndcommitX');
|
| 523 |
+
game12Q2 = gymGame(props12, params12Q2, minC, 'chose 12+, q2 att.');
|
| 524 |
+
params12Q3 = load_parameters('qthdcommitX');
|
| 525 |
+
game12Q3 = gymGame(props12, params12Q3, minC, 'chose 12+, q3 att.');
|
| 526 |
+
params12Q4 = load_parameters('qfthcommitX');
|
| 527 |
+
game12Q4 = gymGame(props12, params12Q4, minC, 'chose 12+, q4 att.');
|
| 528 |
+
|
| 529 |
+
% add heterogeneity along past attendance (median) & info treatment
|
| 530 |
+
params12AMInfo = load_parameters('aminfocommitX');
|
| 531 |
+
game12AMInfo = gymGame(props12, params12AMInfo, minC, ...
|
| 532 |
+
'chose 12+, above med. att., info treat');
|
| 533 |
+
params12AMControl = load_parameters('amctrlcommitX');
|
| 534 |
+
game12AMControl = gymGame(props12, params12AMControl, minC, ...
|
| 535 |
+
'chose 12+, above med. att., control');
|
| 536 |
+
params12BMInfo = load_parameters('bminfocommitX');
|
| 537 |
+
game12BMInfo = gymGame(props12, params12BMInfo, minC, ...
|
| 538 |
+
'chose 12+, below med. att., info treat');
|
| 539 |
+
params12BMControl = load_parameters('bmctrlcommitX');
|
| 540 |
+
game12BMControl = gymGame(props12, params12BMControl, minC, ...
|
| 541 |
+
'chose 12+, below med. att., control');
|
| 542 |
+
|
| 543 |
+
% add heterogeneity along past attendance (quartiles) & info treatment
|
| 544 |
+
params12Q1Info = load_parameters('qfstinfocommitX');
|
| 545 |
+
game12Q1Info = gymGame(props12, params12Q1Info, minC, 'chose 12+, q1 att., info treat');
|
| 546 |
+
params12Q1Control = load_parameters('qfstctrlcommitX');
|
| 547 |
+
game12Q1Control = gymGame(props12, params12Q1Control, minC, 'chose 12+, q1 att., control');
|
| 548 |
+
params12Q2Info = load_parameters('qsndinfocommitX');
|
| 549 |
+
game12Q2Info = gymGame(props12, params12Q2Info, minC, 'chose 12+, q2 att., info treat');
|
| 550 |
+
params12Q2Control = load_parameters('qsndctrlcommitX');
|
| 551 |
+
game12Q2Control = gymGame(props12, params12Q2Control, minC, 'chose 12+, q2 att., control');
|
| 552 |
+
params12Q3Info = load_parameters('qthdinfocommitX');
|
| 553 |
+
game12Q3Info = gymGame(props12, params12Q3Info, minC, 'chose 12+, q3 att., info treat');
|
| 554 |
+
params12Q3Control = load_parameters('qthdctrlcommitX');
|
| 555 |
+
game12Q3Control = gymGame(props12, params12Q3Control, minC, 'chose 12+, q3 att., control');
|
| 556 |
+
params12Q4Info = load_parameters('qfthinfocommitX');
|
| 557 |
+
game12Q4Info = gymGame(props12, params12Q4Info, minC, 'chose 12+, q4 att., info treat');
|
| 558 |
+
params12Q4Control = load_parameters('qfthctrlcommitX');
|
| 559 |
+
game12Q4Control = gymGame(props12, params12Q4Control, minC, 'chose 12+, q4 att., control');
|
| 560 |
+
|
| 561 |
+
% add no penalty versions of the above games
|
| 562 |
+
game12NoP = gymGame(props12NoP, params12, minC, 'chose 12+, no penalty');
|
| 563 |
+
game12AMNoP = gymGame(props12NoP, params12AM, minC, 'chose 12+, above med. att., no penalty');
|
| 564 |
+
game12BMNoP = gymGame(props12NoP, params12BM, minC, 'chose 12+, below med. att., no penalty');
|
| 565 |
+
game12Q1NoP = gymGame(props12NoP, params12Q1, minC, 'chose 12+, q1 att., no penalty');
|
| 566 |
+
game12Q2NoP = gymGame(props12NoP, params12Q2, minC, 'chose 12+, q2 att., no penalty');
|
| 567 |
+
game12Q3NoP = gymGame(props12NoP, params12Q3, minC, 'chose 12+, q3 att., no penalty');
|
| 568 |
+
game12Q4NoP = gymGame(props12NoP, params12Q4, minC, 'chose 12+, q4 att., no penalty');
|
| 569 |
+
game12AMInfoNoP = gymGame(props12NoP, params12AMInfo, minC, ...
|
| 570 |
+
'chose 12+, above med. att., info treat, no penalty');
|
| 571 |
+
game12AMControlNoP = gymGame(props12NoP, params12AMControl, minC, ...
|
| 572 |
+
'chose 12+, above med. att., control, no penalty');
|
| 573 |
+
game12BMInfoNoP = gymGame(props12NoP, params12BMInfo, minC, ...
|
| 574 |
+
'chose 12+, below med. att., info treat, no penalty');
|
| 575 |
+
game12BMControlNoP = gymGame(props12NoP, params12BMControl, minC, ...
|
| 576 |
+
'chose 12+, below med. att., control, no penalty');
|
| 577 |
+
game12Q1InfoNoP = gymGame(props12NoP, params12Q1Info, minC, ...
|
| 578 |
+
'chose 12+, q1 att., info treat, no penalty');
|
| 579 |
+
game12Q1ControlNoP = gymGame(props12NoP, params12Q1Control, minC, ...
|
| 580 |
+
'chose 12+, q1 att., control, no penalty');
|
| 581 |
+
game12Q2InfoNoP = gymGame(props12NoP, params12Q2Info, minC, ...
|
| 582 |
+
'chose 12+, q2 att., info treat, no penalty');
|
| 583 |
+
game12Q2ControlNoP = gymGame(props12NoP, params12Q2Control, minC, ...
|
| 584 |
+
'chose 12+, q2 att., control, no penalty');
|
| 585 |
+
game12Q3InfoNoP = gymGame(props12NoP, params12Q3Info, minC, ...
|
| 586 |
+
'chose 12+, q3 att., info treat, no penalty');
|
| 587 |
+
game12Q3ControlNoP = gymGame(props12NoP, params12Q3Control, minC, ...
|
| 588 |
+
'chose 12+, q3 att., control, no penalty');
|
| 589 |
+
game12Q4InfoNoP = gymGame(props12NoP, params12Q4Info, minC, ...
|
| 590 |
+
'chose 12+, q4 att., info treat, no penalty');
|
| 591 |
+
game12Q4ControlNoP = gymGame(props12NoP, params12Q4Control, minC, ...
|
| 592 |
+
'chose 12+, q4 att., control, no penalty');
|
| 593 |
+
|
| 594 |
+
% add 8+ contract versions (with & without penalty)
|
| 595 |
+
params8AMInfo = load_parameters('aminfocommiteX');
|
| 596 |
+
game8AMInfo = gymGame(props8, params8AMInfo, minC, ...
|
| 597 |
+
'chose 8+, above med. att., info treat');
|
| 598 |
+
game8AMInfoNoP = gymGame(props8NoP, params8AMInfo, minC, ...
|
| 599 |
+
'chose 8+, above med. att., info treat, no penalty');
|
| 600 |
+
params8AMControl = load_parameters('amctrlcommiteX');
|
| 601 |
+
game8AMControl = gymGame(props8, params8AMControl, minC, ...
|
| 602 |
+
'chose 8+, above med. att., control');
|
| 603 |
+
game8AMControlNoP = gymGame(props8NoP, params8AMControl, minC, ...
|
| 604 |
+
'chose 8+, above med. att., control, no penalty');
|
| 605 |
+
params8BMInfo = load_parameters('bminfocommiteX');
|
| 606 |
+
game8BMInfo = gymGame(props8, params8BMInfo, minC, ...
|
| 607 |
+
'chose 8+, below med. att., info treat');
|
| 608 |
+
game8BMInfoNoP = gymGame(props8NoP, params8BMInfo, minC, ...
|
| 609 |
+
'chose 8+, below med. att., info treat, no penalty');
|
| 610 |
+
params8BMControl = load_parameters('bmctrlcommiteX');
|
| 611 |
+
game8BMControl = gymGame(props8, params8BMControl, minC, ...
|
| 612 |
+
'chose 8+, below med. att., control');
|
| 613 |
+
game8BMControlNoP = gymGame(props8NoP, params8BMControl, minC, ...
|
| 614 |
+
'chose 8+, below med. att., control, no penalty');
|
| 615 |
+
|
| 616 |
+
% add 16+ contract versions (with & without penalty)
|
| 617 |
+
params16AMInfo = load_parameters('aminfocommitsX');
|
| 618 |
+
game16AMInfo = gymGame(props16, params16AMInfo, minC, ...
|
| 619 |
+
'chose 16+, above med. att., info treat');
|
| 620 |
+
game16AMInfoNoP = gymGame(props16NoP, params16AMInfo, minC, ...
|
| 621 |
+
'chose 16+, above med. att., info treat, no penalty');
|
| 622 |
+
params16AMControl = load_parameters('amctrlcommitsX');
|
| 623 |
+
game16AMControl = gymGame(props16, params16AMControl, minC, ...
|
| 624 |
+
'chose 16+, above med. att., control');
|
| 625 |
+
game16AMControlNoP = gymGame(props16NoP, params16AMControl, minC, ...
|
| 626 |
+
'chose 16+, above med. att., control, no penalty');
|
| 627 |
+
params16BMInfo = load_parameters('bminfocommitsX');
|
| 628 |
+
game16BMInfo = gymGame(props16, params16BMInfo, minC, ...
|
| 629 |
+
'chose 16+, below med. att., info treat');
|
| 630 |
+
game16BMInfoNoP = gymGame(props16NoP, params16BMInfo, minC, ...
|
| 631 |
+
'chose 16+, below med. att., info treat, no penalty');
|
| 632 |
+
params16BMControl = load_parameters('bmctrlcommitsX');
|
| 633 |
+
game16BMControl = gymGame(props16, params16BMControl, minC, ...
|
| 634 |
+
'chose 16+, below med. att., control');
|
| 635 |
+
game16BMControlNoP = gymGame(props16NoP, params16BMControl, minC, ...
|
| 636 |
+
'chose 16+, below med. att., control, no penalty');
|
| 637 |
+
|
| 638 |
+
% add versions for those who rejected the commitment contracts
|
| 639 |
+
paramsNo12AMInfo = load_parameters('aminfonocommitX');
|
| 640 |
+
gameNo12AMInfo = gymGame(props12NoP, paramsNo12AMInfo, minC, ...
|
| 641 |
+
'rejected 12+, above med. att., info treat');
|
| 642 |
+
paramsNo12AMControl = load_parameters('amctrlnocommitX');
|
| 643 |
+
gameNo12AMControl = gymGame(props12NoP, paramsNo12AMControl, minC, ...
|
| 644 |
+
'rejected 12+, above med. att., control');
|
| 645 |
+
paramsNo12BMInfo = load_parameters('bminfonocommitX');
|
| 646 |
+
gameNo12BMInfo = gymGame(props12NoP, paramsNo12BMInfo, minC, ...
|
| 647 |
+
'rejected 12+, below med. att., info treat');
|
| 648 |
+
paramsNo12BMControl = load_parameters('bmctrlnocommitX');
|
| 649 |
+
gameNo12BMControl = gymGame(props12NoP, paramsNo12BMControl, minC, ...
|
| 650 |
+
'rejected 12+, below med. att., control');
|
| 651 |
+
paramsNo8AMInfo = load_parameters('aminfonocommiteX');
|
| 652 |
+
gameNo8AMInfo = gymGame(props8NoP, paramsNo8AMInfo, minC, ...
|
| 653 |
+
'rejected 8+, above med. att., info treat');
|
| 654 |
+
paramsNo8AMControl = load_parameters('amctrlnocommiteX');
|
| 655 |
+
gameNo8AMControl = gymGame(props8NoP, paramsNo8AMControl, minC, ...
|
| 656 |
+
'rejected 8+, above med. att., control');
|
| 657 |
+
paramsNo8BMInfo = load_parameters('bminfonocommiteX');
|
| 658 |
+
gameNo8BMInfo = gymGame(props8NoP, paramsNo8BMInfo, minC, ...
|
| 659 |
+
'rejected 8+, below med. att., info treat');
|
| 660 |
+
paramsNo8BMControl = load_parameters('bmctrlnocommiteX');
|
| 661 |
+
gameNo8BMControl = gymGame(props8NoP, paramsNo8BMControl, minC, ...
|
| 662 |
+
'rejected 8+, below med. att., control');
|
| 663 |
+
paramsNo16AMInfo = load_parameters('aminfonocommitsX');
|
| 664 |
+
gameNo16AMInfo = gymGame(props16NoP, paramsNo16AMInfo, minC, ...
|
| 665 |
+
'rejected 16+, above med. att., info treat');
|
| 666 |
+
paramsNo16AMControl = load_parameters('amctrlnocommitsX');
|
| 667 |
+
gameNo16AMControl = gymGame(props16NoP, paramsNo16AMControl, minC, ...
|
| 668 |
+
'rejected 16+, above med. att., control');
|
| 669 |
+
paramsNo16BMInfo = load_parameters('bminfonocommitsX');
|
| 670 |
+
gameNo16BMInfo = gymGame(props16NoP, paramsNo16BMInfo, minC, ...
|
| 671 |
+
'rejected 16+, below med. att., info treat');
|
| 672 |
+
paramsNo16BMControl = load_parameters('bmctrlnocommitsX');
|
| 673 |
+
gameNo16BMControl = gymGame(props16NoP, paramsNo16BMControl, minC, ...
|
| 674 |
+
'rejected 16+, below med. att., control');
|
| 675 |
+
|
| 676 |
+
|
| 677 |
+
% store share of population that chose each contract
|
| 678 |
+
params8 = load_parameters('commit8X');
|
| 679 |
+
mu8 = params8.mu;
|
| 680 |
+
params12 = load_parameters('commit12X');
|
| 681 |
+
mu12 = params12.mu;
|
| 682 |
+
params16 = load_parameters('commit16X');
|
| 683 |
+
mu16 = params16.mu;
|
| 684 |
+
|
| 685 |
+
|
| 686 |
+
% GENERATE ATTENDANCE RESULTS
|
| 687 |
+
% chose 12+ visit contract
|
| 688 |
+
mc = game12;
|
| 689 |
+
mc.mu = 1; % homogeneous population
|
| 690 |
+
mcnp = game12NoP;
|
| 691 |
+
mcnp.mu = 1; % homogeneous population
|
| 692 |
+
simulate_attendance(mc,mcnp,'allX')
|
| 693 |
+
|
| 694 |
+
% with hetereogenity along past attendance (above vs. below median)
|
| 695 |
+
mc = [game12AM game12BM];
|
| 696 |
+
mcnp = [game12AMNoP game12BMNoP];
|
| 697 |
+
simulate_attendance(mc,mcnp,'mattX')
|
| 698 |
+
|
| 699 |
+
% with hetereogenity along past attendance (quartile)
|
| 700 |
+
mc = [game12Q1 game12Q2 game12Q3 game12Q4];
|
| 701 |
+
mcnp = [game12Q1NoP game12Q2NoP game12Q3NoP game12Q4NoP];
|
| 702 |
+
simulate_attendance(mc,mcnp,'qattX')
|
| 703 |
+
|
| 704 |
+
% with heterogeneity along past attendance (median) & info treatment
|
| 705 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 706 |
+
mcnp = [game12AMInfoNoP game12AMControlNoP game12BMInfoNoP game12BMControlNoP];
|
| 707 |
+
simulate_attendance(mc,mcnp,'mattinfoX')
|
| 708 |
+
|
| 709 |
+
% with heterogeneity along past attendance (quartile) & info treatment
|
| 710 |
+
mc = [game12Q1Info game12Q1Control game12Q2Info game12Q2Control ...
|
| 711 |
+
game12Q3Info game12Q3Control game12Q4Info game12Q4Control];
|
| 712 |
+
mcnp = [game12Q1InfoNoP game12Q1ControlNoP game12Q2InfoNoP game12Q2ControlNoP ...
|
| 713 |
+
game12Q3InfoNoP game12Q3ControlNoP game12Q4InfoNoP game12Q4ControlNoP];
|
| 714 |
+
simulate_attendance(mc,mcnp,'qattinfoX')
|
| 715 |
+
|
| 716 |
+
|
| 717 |
+
% GENERATE WELFARE/EFFICIENCY RESULTS
|
| 718 |
+
% under the 12+ visit contract
|
| 719 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 720 |
+
mnc = [gameNo12AMInfo gameNo12AMControl gameNo12BMInfo gameNo12BMControl];
|
| 721 |
+
mcnp = [game12AMInfoNoP game12AMControlNoP game12BMInfoNoP game12BMControlNoP];
|
| 722 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 723 |
+
mc(m).mu = mc(m).mu .* mu12;
|
| 724 |
+
mcnp(m).mu = mcnp(m).mu .* mu12;
|
| 725 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu12);
|
| 726 |
+
end
|
| 727 |
+
Results12 = compute_efficiency(mc,mnc,mcnp);
|
| 728 |
+
|
| 729 |
+
% under the 8+ visit contract
|
| 730 |
+
mc = [game8AMInfo game8AMControl game8BMInfo game8BMControl];
|
| 731 |
+
mnc = [gameNo8AMInfo gameNo8AMControl gameNo8BMInfo gameNo8BMControl];
|
| 732 |
+
mcnp = [game8AMInfoNoP game8AMControlNoP game8BMInfoNoP game8BMControlNoP];
|
| 733 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 734 |
+
mc(m).mu = mc(m).mu .* mu8;
|
| 735 |
+
mcnp(m).mu = mcnp(m).mu .* mu8;
|
| 736 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu8);
|
| 737 |
+
end
|
| 738 |
+
Results8 = compute_efficiency(mc,mnc,mcnp);
|
| 739 |
+
|
| 740 |
+
% under the 16+ visit contract
|
| 741 |
+
mc = [game16AMInfo game16AMControl game16BMInfo game16BMControl];
|
| 742 |
+
mnc = [gameNo16AMInfo gameNo16AMControl gameNo16BMInfo gameNo16BMControl];
|
| 743 |
+
mcnp = [game16AMInfoNoP game16AMControlNoP game16BMInfoNoP game16BMControlNoP];
|
| 744 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 745 |
+
mc(m).mu = mc(m).mu .* mu16;
|
| 746 |
+
mcnp(m).mu = mcnp(m).mu .* mu16;
|
| 747 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu16);
|
| 748 |
+
end
|
| 749 |
+
Results16 = compute_efficiency(mc,mnc,mcnp);
|
| 750 |
+
|
| 751 |
+
% export results
|
| 752 |
+
export_efficiency_results(Results8, Results12, Results16, 'hetX');
|
| 753 |
+
|
| 754 |
+
|
| 755 |
+
%% Results with a minimal cost draw of -$5
|
| 756 |
+
|
| 757 |
+
% Set lower bound on support of cost distribution
|
| 758 |
+
minC = -5;
|
| 759 |
+
|
| 760 |
+
% INSTANTIATE GAMES
|
| 761 |
+
% chose 12+ visit contract
|
| 762 |
+
params12 = load_parameters('commit12V');
|
| 763 |
+
game12 = gymGame(props12, params12, minC, 'chose 12+ contract');
|
| 764 |
+
|
| 765 |
+
% add heterogeneity along past attendance (below vs. above median)
|
| 766 |
+
params12AM = load_parameters('amcommitV');
|
| 767 |
+
game12AM = gymGame(props12, params12AM, minC, 'chose 12+, above med. att.');
|
| 768 |
+
params12BM = load_parameters('bmcommitV');
|
| 769 |
+
game12BM = gymGame(props12, params12BM, minC, 'chose 12+, below med. att.');
|
| 770 |
+
|
| 771 |
+
% add heterogeneity along past attendance (quartiles)
|
| 772 |
+
params12Q1 = load_parameters('qfstcommitV');
|
| 773 |
+
game12Q1 = gymGame(props12, params12Q1, minC, 'chose 12+, q1 att.');
|
| 774 |
+
params12Q2 = load_parameters('qsndcommitV');
|
| 775 |
+
game12Q2 = gymGame(props12, params12Q2, minC, 'chose 12+, q2 att.');
|
| 776 |
+
params12Q3 = load_parameters('qthdcommitV');
|
| 777 |
+
game12Q3 = gymGame(props12, params12Q3, minC, 'chose 12+, q3 att.');
|
| 778 |
+
params12Q4 = load_parameters('qfthcommitV');
|
| 779 |
+
game12Q4 = gymGame(props12, params12Q4, minC, 'chose 12+, q4 att.');
|
| 780 |
+
|
| 781 |
+
% add heterogeneity along past attendance (median) & info treatment
|
| 782 |
+
params12AMInfo = load_parameters('aminfocommitV');
|
| 783 |
+
game12AMInfo = gymGame(props12, params12AMInfo, minC, ...
|
| 784 |
+
'chose 12+, above med. att., info treat');
|
| 785 |
+
params12AMControl = load_parameters('amctrlcommitV');
|
| 786 |
+
game12AMControl = gymGame(props12, params12AMControl, minC, ...
|
| 787 |
+
'chose 12+, above med. att., control');
|
| 788 |
+
params12BMInfo = load_parameters('bminfocommitV');
|
| 789 |
+
game12BMInfo = gymGame(props12, params12BMInfo, minC, ...
|
| 790 |
+
'chose 12+, below med. att., info treat');
|
| 791 |
+
params12BMControl = load_parameters('bmctrlcommitV');
|
| 792 |
+
game12BMControl = gymGame(props12, params12BMControl, minC, ...
|
| 793 |
+
'chose 12+, below med. att., control');
|
| 794 |
+
|
| 795 |
+
% add heterogeneity along past attendance (quartiles) & info treatment
|
| 796 |
+
params12Q1Info = load_parameters('qfstinfocommitV');
|
| 797 |
+
game12Q1Info = gymGame(props12, params12Q1Info, minC, 'chose 12+, q1 att., info treat');
|
| 798 |
+
params12Q1Control = load_parameters('qfstctrlcommitV');
|
| 799 |
+
game12Q1Control = gymGame(props12, params12Q1Control, minC, 'chose 12+, q1 att., control');
|
| 800 |
+
params12Q2Info = load_parameters('qsndinfocommitV');
|
| 801 |
+
game12Q2Info = gymGame(props12, params12Q2Info, minC, 'chose 12+, q2 att., info treat');
|
| 802 |
+
params12Q2Control = load_parameters('qsndctrlcommitV');
|
| 803 |
+
game12Q2Control = gymGame(props12, params12Q2Control, minC, 'chose 12+, q2 att., control');
|
| 804 |
+
params12Q3Info = load_parameters('qthdinfocommitV');
|
| 805 |
+
game12Q3Info = gymGame(props12, params12Q3Info, minC, 'chose 12+, q3 att., info treat');
|
| 806 |
+
params12Q3Control = load_parameters('qthdctrlcommitV');
|
| 807 |
+
game12Q3Control = gymGame(props12, params12Q3Control, minC, 'chose 12+, q3 att., control');
|
| 808 |
+
params12Q4Info = load_parameters('qfthinfocommitV');
|
| 809 |
+
game12Q4Info = gymGame(props12, params12Q4Info, minC, 'chose 12+, q4 att., info treat');
|
| 810 |
+
params12Q4Control = load_parameters('qfthctrlcommitV');
|
| 811 |
+
game12Q4Control = gymGame(props12, params12Q4Control, minC, 'chose 12+, q4 att., control');
|
| 812 |
+
|
| 813 |
+
% add no penalty versions of the above games
|
| 814 |
+
game12NoP = gymGame(props12NoP, params12, minC, 'chose 12+, no penalty');
|
| 815 |
+
game12AMNoP = gymGame(props12NoP, params12AM, minC, 'chose 12+, above med. att., no penalty');
|
| 816 |
+
game12BMNoP = gymGame(props12NoP, params12BM, minC, 'chose 12+, below med. att., no penalty');
|
| 817 |
+
game12Q1NoP = gymGame(props12NoP, params12Q1, minC, 'chose 12+, q1 att., no penalty');
|
| 818 |
+
game12Q2NoP = gymGame(props12NoP, params12Q2, minC, 'chose 12+, q2 att., no penalty');
|
| 819 |
+
game12Q3NoP = gymGame(props12NoP, params12Q3, minC, 'chose 12+, q3 att., no penalty');
|
| 820 |
+
game12Q4NoP = gymGame(props12NoP, params12Q4, minC, 'chose 12+, q4 att., no penalty');
|
| 821 |
+
game12AMInfoNoP = gymGame(props12NoP, params12AMInfo, minC, ...
|
| 822 |
+
'chose 12+, above med. att., info treat, no penalty');
|
| 823 |
+
game12AMControlNoP = gymGame(props12NoP, params12AMControl, minC, ...
|
| 824 |
+
'chose 12+, above med. att., control, no penalty');
|
| 825 |
+
game12BMInfoNoP = gymGame(props12NoP, params12BMInfo, minC, ...
|
| 826 |
+
'chose 12+, below med. att., info treat, no penalty');
|
| 827 |
+
game12BMControlNoP = gymGame(props12NoP, params12BMControl, minC, ...
|
| 828 |
+
'chose 12+, below med. att., control, no penalty');
|
| 829 |
+
game12Q1InfoNoP = gymGame(props12NoP, params12Q1Info, minC, ...
|
| 830 |
+
'chose 12+, q1 att., info treat, no penalty');
|
| 831 |
+
game12Q1ControlNoP = gymGame(props12NoP, params12Q1Control, minC, ...
|
| 832 |
+
'chose 12+, q1 att., control, no penalty');
|
| 833 |
+
game12Q2InfoNoP = gymGame(props12NoP, params12Q2Info, minC, ...
|
| 834 |
+
'chose 12+, q2 att., info treat, no penalty');
|
| 835 |
+
game12Q2ControlNoP = gymGame(props12NoP, params12Q2Control, minC, ...
|
| 836 |
+
'chose 12+, q2 att., control, no penalty');
|
| 837 |
+
game12Q3InfoNoP = gymGame(props12NoP, params12Q3Info, minC, ...
|
| 838 |
+
'chose 12+, q3 att., info treat, no penalty');
|
| 839 |
+
game12Q3ControlNoP = gymGame(props12NoP, params12Q3Control, minC, ...
|
| 840 |
+
'chose 12+, q3 att., control, no penalty');
|
| 841 |
+
game12Q4InfoNoP = gymGame(props12NoP, params12Q4Info, minC, ...
|
| 842 |
+
'chose 12+, q4 att., info treat, no penalty');
|
| 843 |
+
game12Q4ControlNoP = gymGame(props12NoP, params12Q4Control, minC, ...
|
| 844 |
+
'chose 12+, q4 att., control, no penalty');
|
| 845 |
+
|
| 846 |
+
% add 8+ contract versions (with & without penalty)
|
| 847 |
+
params8AMInfo = load_parameters('aminfocommiteV');
|
| 848 |
+
game8AMInfo = gymGame(props8, params8AMInfo, minC, ...
|
| 849 |
+
'chose 8+, above med. att., info treat');
|
| 850 |
+
game8AMInfoNoP = gymGame(props8NoP, params8AMInfo, minC, ...
|
| 851 |
+
'chose 8+, above med. att., info treat, no penalty');
|
| 852 |
+
params8AMControl = load_parameters('amctrlcommiteV');
|
| 853 |
+
game8AMControl = gymGame(props8, params8AMControl, minC, ...
|
| 854 |
+
'chose 8+, above med. att., control');
|
| 855 |
+
game8AMControlNoP = gymGame(props8NoP, params8AMControl, minC, ...
|
| 856 |
+
'chose 8+, above med. att., control, no penalty');
|
| 857 |
+
params8BMInfo = load_parameters('bminfocommiteV');
|
| 858 |
+
game8BMInfo = gymGame(props8, params8BMInfo, minC, ...
|
| 859 |
+
'chose 8+, below med. att., info treat');
|
| 860 |
+
game8BMInfoNoP = gymGame(props8NoP, params8BMInfo, minC, ...
|
| 861 |
+
'chose 8+, below med. att., info treat, no penalty');
|
| 862 |
+
params8BMControl = load_parameters('bmctrlcommiteV');
|
| 863 |
+
game8BMControl = gymGame(props8, params8BMControl, minC, ...
|
| 864 |
+
'chose 8+, below med. att., control');
|
| 865 |
+
game8BMControlNoP = gymGame(props8NoP, params8BMControl, minC, ...
|
| 866 |
+
'chose 8+, below med. att., control, no penalty');
|
| 867 |
+
|
| 868 |
+
% add 16+ contract versions (with & without penalty)
|
| 869 |
+
params16AMInfo = load_parameters('aminfocommitsV');
|
| 870 |
+
game16AMInfo = gymGame(props16, params16AMInfo, minC, ...
|
| 871 |
+
'chose 16+, above med. att., info treat');
|
| 872 |
+
game16AMInfoNoP = gymGame(props16NoP, params16AMInfo, minC, ...
|
| 873 |
+
'chose 16+, above med. att., info treat, no penalty');
|
| 874 |
+
params16AMControl = load_parameters('amctrlcommitsV');
|
| 875 |
+
game16AMControl = gymGame(props16, params16AMControl, minC, ...
|
| 876 |
+
'chose 16+, above med. att., control');
|
| 877 |
+
game16AMControlNoP = gymGame(props16NoP, params16AMControl, minC, ...
|
| 878 |
+
'chose 16+, above med. att., control, no penalty');
|
| 879 |
+
params16BMInfo = load_parameters('bminfocommitsV');
|
| 880 |
+
game16BMInfo = gymGame(props16, params16BMInfo, minC, ...
|
| 881 |
+
'chose 16+, below med. att., info treat');
|
| 882 |
+
game16BMInfoNoP = gymGame(props16NoP, params16BMInfo, minC, ...
|
| 883 |
+
'chose 16+, below med. att., info treat, no penalty');
|
| 884 |
+
params16BMControl = load_parameters('bmctrlcommitsV');
|
| 885 |
+
game16BMControl = gymGame(props16, params16BMControl, minC, ...
|
| 886 |
+
'chose 16+, below med. att., control');
|
| 887 |
+
game16BMControlNoP = gymGame(props16NoP, params16BMControl, minC, ...
|
| 888 |
+
'chose 16+, below med. att., control, no penalty');
|
| 889 |
+
|
| 890 |
+
% add versions for those who rejected the commitment contracts
|
| 891 |
+
paramsNo12AMInfo = load_parameters('aminfonocommitV');
|
| 892 |
+
gameNo12AMInfo = gymGame(props12NoP, paramsNo12AMInfo, minC, ...
|
| 893 |
+
'rejected 12+, above med. att., info treat');
|
| 894 |
+
paramsNo12AMControl = load_parameters('amctrlnocommitV');
|
| 895 |
+
gameNo12AMControl = gymGame(props12NoP, paramsNo12AMControl, minC, ...
|
| 896 |
+
'rejected 12+, above med. att., control');
|
| 897 |
+
paramsNo12BMInfo = load_parameters('bminfonocommitV');
|
| 898 |
+
gameNo12BMInfo = gymGame(props12NoP, paramsNo12BMInfo, minC, ...
|
| 899 |
+
'rejected 12+, below med. att., info treat');
|
| 900 |
+
paramsNo12BMControl = load_parameters('bmctrlnocommitV');
|
| 901 |
+
gameNo12BMControl = gymGame(props12NoP, paramsNo12BMControl, minC, ...
|
| 902 |
+
'rejected 12+, below med. att., control');
|
| 903 |
+
paramsNo8AMInfo = load_parameters('aminfonocommiteV');
|
| 904 |
+
gameNo8AMInfo = gymGame(props8NoP, paramsNo8AMInfo, minC, ...
|
| 905 |
+
'rejected 8+, above med. att., info treat');
|
| 906 |
+
paramsNo8AMControl = load_parameters('amctrlnocommiteV');
|
| 907 |
+
gameNo8AMControl = gymGame(props8NoP, paramsNo8AMControl, minC, ...
|
| 908 |
+
'rejected 8+, above med. att., control');
|
| 909 |
+
paramsNo8BMInfo = load_parameters('bminfonocommiteV');
|
| 910 |
+
gameNo8BMInfo = gymGame(props8NoP, paramsNo8BMInfo, minC, ...
|
| 911 |
+
'rejected 8+, below med. att., info treat');
|
| 912 |
+
paramsNo8BMControl = load_parameters('bmctrlnocommiteV');
|
| 913 |
+
gameNo8BMControl = gymGame(props8NoP, paramsNo8BMControl, minC, ...
|
| 914 |
+
'rejected 8+, below med. att., control');
|
| 915 |
+
paramsNo16AMInfo = load_parameters('aminfonocommitsV');
|
| 916 |
+
gameNo16AMInfo = gymGame(props16NoP, paramsNo16AMInfo, minC, ...
|
| 917 |
+
'rejected 16+, above med. att., info treat');
|
| 918 |
+
paramsNo16AMControl = load_parameters('amctrlnocommitsV');
|
| 919 |
+
gameNo16AMControl = gymGame(props16NoP, paramsNo16AMControl, minC, ...
|
| 920 |
+
'rejected 16+, above med. att., control');
|
| 921 |
+
paramsNo16BMInfo = load_parameters('bminfonocommitsV');
|
| 922 |
+
gameNo16BMInfo = gymGame(props16NoP, paramsNo16BMInfo, minC, ...
|
| 923 |
+
'rejected 16+, below med. att., info treat');
|
| 924 |
+
paramsNo16BMControl = load_parameters('bmctrlnocommitsV');
|
| 925 |
+
gameNo16BMControl = gymGame(props16NoP, paramsNo16BMControl, minC, ...
|
| 926 |
+
'rejected 16+, below med. att., control');
|
| 927 |
+
|
| 928 |
+
|
| 929 |
+
% store share of population that chose each contract
|
| 930 |
+
params8 = load_parameters('commit8V');
|
| 931 |
+
mu8 = params8.mu;
|
| 932 |
+
params12 = load_parameters('commit12V');
|
| 933 |
+
mu12 = params12.mu;
|
| 934 |
+
params16 = load_parameters('commit16V');
|
| 935 |
+
mu16 = params16.mu;
|
| 936 |
+
|
| 937 |
+
|
| 938 |
+
% GENERATE ATTENDANCE RESULTS
|
| 939 |
+
% chose 12+ visit contract
|
| 940 |
+
mc = game12;
|
| 941 |
+
mc.mu = 1; % homogeneous population
|
| 942 |
+
mcnp = game12NoP;
|
| 943 |
+
mcnp.mu = 1; % homogeneous population
|
| 944 |
+
simulate_attendance(mc,mcnp,'allV')
|
| 945 |
+
|
| 946 |
+
% with hetereogenity along past attendance (above vs. below median)
|
| 947 |
+
mc = [game12AM game12BM];
|
| 948 |
+
mcnp = [game12AMNoP game12BMNoP];
|
| 949 |
+
simulate_attendance(mc,mcnp,'mattV')
|
| 950 |
+
|
| 951 |
+
% with hetereogenity along past attendance (quartile)
|
| 952 |
+
mc = [game12Q1 game12Q2 game12Q3 game12Q4];
|
| 953 |
+
mcnp = [game12Q1NoP game12Q2NoP game12Q3NoP game12Q4NoP];
|
| 954 |
+
simulate_attendance(mc,mcnp,'qattV')
|
| 955 |
+
|
| 956 |
+
% with heterogeneity along past attendance (median) & info treatment
|
| 957 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 958 |
+
mcnp = [game12AMInfoNoP game12AMControlNoP game12BMInfoNoP game12BMControlNoP];
|
| 959 |
+
simulate_attendance(mc,mcnp,'mattinfoV')
|
| 960 |
+
|
| 961 |
+
% with heterogeneity along past attendance (quartile) & info treatment
|
| 962 |
+
mc = [game12Q1Info game12Q1Control game12Q2Info game12Q2Control ...
|
| 963 |
+
game12Q3Info game12Q3Control game12Q4Info game12Q4Control];
|
| 964 |
+
mcnp = [game12Q1InfoNoP game12Q1ControlNoP game12Q2InfoNoP game12Q2ControlNoP ...
|
| 965 |
+
game12Q3InfoNoP game12Q3ControlNoP game12Q4InfoNoP game12Q4ControlNoP];
|
| 966 |
+
simulate_attendance(mc,mcnp,'qattinfoV')
|
| 967 |
+
|
| 968 |
+
|
| 969 |
+
% GENERATE WELFARE/EFFICIENCY RESULTS
|
| 970 |
+
% under the 12+ visit contract
|
| 971 |
+
mc = [game12AMInfo game12AMControl game12BMInfo game12BMControl];
|
| 972 |
+
mnc = [gameNo12AMInfo gameNo12AMControl gameNo12BMInfo gameNo12BMControl];
|
| 973 |
+
mcnp = [game12AMInfoNoP game12AMControlNoP game12BMInfoNoP game12BMControlNoP];
|
| 974 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 975 |
+
mc(m).mu = mc(m).mu .* mu12;
|
| 976 |
+
mcnp(m).mu = mcnp(m).mu .* mu12;
|
| 977 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu12);
|
| 978 |
+
end
|
| 979 |
+
Results12 = compute_efficiency(mc,mnc,mcnp);
|
| 980 |
+
|
| 981 |
+
% under the 8+ visit contract
|
| 982 |
+
mc = [game8AMInfo game8AMControl game8BMInfo game8BMControl];
|
| 983 |
+
mnc = [gameNo8AMInfo gameNo8AMControl gameNo8BMInfo gameNo8BMControl];
|
| 984 |
+
mcnp = [game8AMInfoNoP game8AMControlNoP game8BMInfoNoP game8BMControlNoP];
|
| 985 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 986 |
+
mc(m).mu = mc(m).mu .* mu8;
|
| 987 |
+
mcnp(m).mu = mcnp(m).mu .* mu8;
|
| 988 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu8);
|
| 989 |
+
end
|
| 990 |
+
Results8 = compute_efficiency(mc,mnc,mcnp);
|
| 991 |
+
|
| 992 |
+
% under the 16+ visit contract
|
| 993 |
+
mc = [game16AMInfo game16AMControl game16BMInfo game16BMControl];
|
| 994 |
+
mnc = [gameNo16AMInfo gameNo16AMControl gameNo16BMInfo gameNo16BMControl];
|
| 995 |
+
mcnp = [game16AMInfoNoP game16AMControlNoP game16BMInfoNoP game16BMControlNoP];
|
| 996 |
+
for m = 1:length(mc) % rescale mu's as a share of whole population
|
| 997 |
+
mc(m).mu = mc(m).mu .* mu16;
|
| 998 |
+
mcnp(m).mu = mcnp(m).mu .* mu16;
|
| 999 |
+
mnc(m).mu = mnc(m).mu .* (1 - mu16);
|
| 1000 |
+
end
|
| 1001 |
+
Results16 = compute_efficiency(mc,mnc,mcnp);
|
| 1002 |
+
|
| 1003 |
+
% export results
|
| 1004 |
+
export_efficiency_results(Results8, Results12, Results16, 'hetV');
|
| 1005 |
+
|
| 1006 |
+
|
| 1007 |
+
%% Helper functions
|
| 1008 |
+
|
| 1009 |
+
function parameters = load_parameters(title)
|
| 1010 |
+
% reads in parameters estimated in Stata
|
| 1011 |
+
|
| 1012 |
+
file = strcat(OUTPUT,'/parameter_estimates/',title,'.csv');
|
| 1013 |
+
|
| 1014 |
+
% read file into vector
|
| 1015 |
+
P = readmatrix(file);
|
| 1016 |
+
|
| 1017 |
+
% set parameter values from vector
|
| 1018 |
+
parameters.lambda = P(1);
|
| 1019 |
+
parameters.beta = P(2);
|
| 1020 |
+
parameters.betatilde = P(3);
|
| 1021 |
+
parameters.b = P(4);
|
| 1022 |
+
parameters.mu = P(5);
|
| 1023 |
+
|
| 1024 |
+
end
|
| 1025 |
+
|
| 1026 |
+
function simulate_attendance(commit_models, no_p_commit_models, name)
|
| 1027 |
+
% simulate attendance with & without the commitment contract
|
| 1028 |
+
|
| 1029 |
+
% average change in attendance
|
| 1030 |
+
DaC = 0;
|
| 1031 |
+
for i = 1:length(commit_models)
|
| 1032 |
+
|
| 1033 |
+
DaC = DaC + commit_models(i).mu .* (commit_models(i).avg_att - ...
|
| 1034 |
+
no_p_commit_models(i).avg_att);
|
| 1035 |
+
|
| 1036 |
+
end
|
| 1037 |
+
|
| 1038 |
+
% average probabilities of success with & without the contract
|
| 1039 |
+
prob_c = 0;
|
| 1040 |
+
prob_nop = 0;
|
| 1041 |
+
for i = 1:length(commit_models)
|
| 1042 |
+
|
| 1043 |
+
prob_c = prob_c + commit_models(i).mu .* ...
|
| 1044 |
+
commit_models(i).prob_success;
|
| 1045 |
+
|
| 1046 |
+
prob_nop = prob_nop + no_p_commit_models(i).mu .* ...
|
| 1047 |
+
no_p_commit_models(i).prob_success;
|
| 1048 |
+
|
| 1049 |
+
end
|
| 1050 |
+
prob_diff = prob_c - prob_nop;
|
| 1051 |
+
|
| 1052 |
+
% export results
|
| 1053 |
+
latex_command(strcat('DaC',name),DaC,'%1.2f');
|
| 1054 |
+
latex_command(strcat('probc',name),prob_c,'%1.2f');
|
| 1055 |
+
latex_command(strcat('probnop',name),prob_nop,'%1.2f');
|
| 1056 |
+
latex_command(strcat('Dprob',name),prob_diff,'%1.2f');
|
| 1057 |
+
|
| 1058 |
+
end
|
| 1059 |
+
|
| 1060 |
+
function export_efficiency_results(results8, results12, results16, name)
|
| 1061 |
+
% exports welfare/efficiency outcomes
|
| 1062 |
+
|
| 1063 |
+
% for the optimal piece-rate incentive (12+ visit contract)
|
| 1064 |
+
latex_command(strcat('Ropt',name),results12.r_opt,'currency');
|
| 1065 |
+
latex_command(strcat('DaRopt',name),results12.delta_att_r_opt,'%3.2f');
|
| 1066 |
+
latex_command(strcat('DsurplusRopt',name),results12.delta_surplus_r_opt,'currency');
|
| 1067 |
+
latex_command(strcat('DbenefitsRopt',name),results12.delta_benefits_r_opt,'currency');
|
| 1068 |
+
latex_command(strcat('DcostsRopt',name),results12.delta_costs_r_opt,'currency');
|
| 1069 |
+
latex_command(strcat('DeffRopt',name),results12.U_E_r_opt,'currency');
|
| 1070 |
+
|
| 1071 |
+
% for the 12+ visit contract
|
| 1072 |
+
latex_command(strcat('DaCT',name),results12.avg_delta_a_C,'%3.2f');
|
| 1073 |
+
latex_command(strcat('DcommitsurplusCT',name),results12.commit_delta_surplus,'currency');
|
| 1074 |
+
latex_command(strcat('DsurplusCT',name),results12.avg_delta_surplus,'currency');
|
| 1075 |
+
latex_command(strcat('DbenefitsCT',name),results12.avg_delta_benefits,'currency');
|
| 1076 |
+
latex_command(strcat('DcostsCT',name),results12.avg_delta_costs,'currency');
|
| 1077 |
+
latex_command(strcat('DeffCT',name),results12.V_E,'currency');
|
| 1078 |
+
|
| 1079 |
+
% for the attendance-equivalent incentive (12+ visit contract)
|
| 1080 |
+
latex_command(strcat('RattT',name),results12.r_att,'currency');
|
| 1081 |
+
latex_command(strcat('DaRattT',name),results12.delta_att_r_att,'%3.2f');
|
| 1082 |
+
latex_command(strcat('DsurplusRattT',name),results12.delta_surplus_r_att,'currency');
|
| 1083 |
+
latex_command(strcat('DbenefitsRattT',name),results12.delta_benefits_r_att,'currency');
|
| 1084 |
+
latex_command(strcat('DcostsRattT',name),results12.delta_costs_r_att,'currency');
|
| 1085 |
+
latex_command(strcat('DeffRattT',name),results12.U_E_r_att,'currency');
|
| 1086 |
+
|
| 1087 |
+
% for the 8+ visit contract
|
| 1088 |
+
latex_command(strcat('DaCE',name),results8.avg_delta_a_C,'%3.2f');
|
| 1089 |
+
latex_command(strcat('DcommitsurplusCE',name),results8.commit_delta_surplus,'currency');
|
| 1090 |
+
latex_command(strcat('DsurplusCE',name),results8.avg_delta_surplus,'currency');
|
| 1091 |
+
latex_command(strcat('DbenefitsCE',name),results8.avg_delta_benefits,'currency');
|
| 1092 |
+
latex_command(strcat('DcostsCE',name),results8.avg_delta_costs,'currency');
|
| 1093 |
+
latex_command(strcat('DeffCE',name),results8.V_E,'currency');
|
| 1094 |
+
|
| 1095 |
+
% for the attendance-equivalent incentive (8+ visit contract)
|
| 1096 |
+
latex_command(strcat('RattE',name),results8.r_att,'currency');
|
| 1097 |
+
latex_command(strcat('DaRattE',name),results8.delta_att_r_att,'%3.2f');
|
| 1098 |
+
latex_command(strcat('DsurplusRattE',name),results8.delta_surplus_r_att,'currency');
|
| 1099 |
+
latex_command(strcat('DbenefitsRattE',name),results8.delta_benefits_r_att,'currency');
|
| 1100 |
+
latex_command(strcat('DcostsRattE',name),results8.delta_costs_r_att,'currency');
|
| 1101 |
+
latex_command(strcat('DeffRattE',name),results8.U_E_r_att,'currency');
|
| 1102 |
+
|
| 1103 |
+
% for the 16+ visit contract
|
| 1104 |
+
latex_command(strcat('DaCS',name),results16.avg_delta_a_C,'%3.2f');
|
| 1105 |
+
latex_command(strcat('DcommitsurplusCS',name),results16.commit_delta_surplus,'currency');
|
| 1106 |
+
latex_command(strcat('DsurplusCS',name),results16.avg_delta_surplus,'currency');
|
| 1107 |
+
latex_command(strcat('DbenefitsCS',name),results16.avg_delta_benefits,'currency');
|
| 1108 |
+
latex_command(strcat('DcostsCS',name),results16.avg_delta_costs,'currency');
|
| 1109 |
+
latex_command(strcat('DeffCS',name),results16.V_E,'currency');
|
| 1110 |
+
|
| 1111 |
+
% for the attendance-equivalent incentive (16+ visit contract)
|
| 1112 |
+
latex_command(strcat('RattS',name),results16.r_att,'currency');
|
| 1113 |
+
latex_command(strcat('DaRattS',name),results16.delta_att_r_att,'%3.2f');
|
| 1114 |
+
latex_command(strcat('DsurplusRattS',name),results16.delta_surplus_r_att,'currency');
|
| 1115 |
+
latex_command(strcat('DbenefitsRattS',name),results16.delta_benefits_r_att,'currency');
|
| 1116 |
+
latex_command(strcat('DcostsRattS',name),results16.delta_costs_r_att,'currency');
|
| 1117 |
+
latex_command(strcat('DeffRattS',name),results16.U_E_r_att,'currency');
|
| 1118 |
+
|
| 1119 |
+
end
|
| 1120 |
+
|
| 1121 |
+
function plot_att_prob(commit_models, name)
|
| 1122 |
+
% plot the average probability of attending each day
|
| 1123 |
+
|
| 1124 |
+
% contract threshold
|
| 1125 |
+
a_star = commit_models(1).a_star;
|
| 1126 |
+
|
| 1127 |
+
% average probability for each day over all naive groups
|
| 1128 |
+
probs = zeros(commit_models(1).T,1);
|
| 1129 |
+
for i = 1:length(probs)
|
| 1130 |
+
|
| 1131 |
+
p = 0;
|
| 1132 |
+
for j = 1:length(commit_models)
|
| 1133 |
+
|
| 1134 |
+
p = p + commit_models(j).mu .* ...
|
| 1135 |
+
commit_models(j).prob_att_day(i);
|
| 1136 |
+
|
| 1137 |
+
end
|
| 1138 |
+
probs(i) = p;
|
| 1139 |
+
|
| 1140 |
+
end
|
| 1141 |
+
|
| 1142 |
+
% average probability without the contract or present bias
|
| 1143 |
+
noc_prob = 0;
|
| 1144 |
+
noc_nopb_prob = 0;
|
| 1145 |
+
for j = 1:length(commit_models)
|
| 1146 |
+
|
| 1147 |
+
noc_prob = noc_prob + commit_models(j).mu .* ...
|
| 1148 |
+
commit_models(j).F(commit_models(j).beta .* commit_models(j).b);
|
| 1149 |
+
|
| 1150 |
+
noc_nopb_prob = noc_nopb_prob + commit_models(j).mu .* ...
|
| 1151 |
+
commit_models(j).F(commit_models(j).b);
|
| 1152 |
+
|
| 1153 |
+
end
|
| 1154 |
+
|
| 1155 |
+
plot(repmat(noc_prob,length(probs),1),'LineStyle','--', ...
|
| 1156 |
+
'Color','#D95319');
|
| 1157 |
+
hold on
|
| 1158 |
+
plot(probs,'LineStyle','-','Color','#0072BD');
|
| 1159 |
+
hold on
|
| 1160 |
+
plot(repmat(noc_nopb_prob,length(probs),1),'LineStyle','-.', ...
|
| 1161 |
+
'Color','#EDB120');
|
| 1162 |
+
xticks(linspace(0,28,15));
|
| 1163 |
+
xlim([0 28])
|
| 1164 |
+
ylim([0 1]);
|
| 1165 |
+
xlabel('Day');
|
| 1166 |
+
label2 = "With " + num2str(a_star) + "+ visits contract";
|
| 1167 |
+
ylabel('Probability of going to the gym');
|
| 1168 |
+
legend({'Baseline',label2, 'First best'}, ...
|
| 1169 |
+
'location','northwest');
|
| 1170 |
+
set(gcf,'color','w');
|
| 1171 |
+
fpath = [OUTPUT '/' name '.pdf'];
|
| 1172 |
+
fig = gcf;
|
| 1173 |
+
fig.PaperPositionMode = 'auto';
|
| 1174 |
+
fig_pos = fig.PaperPosition;
|
| 1175 |
+
fig.PaperSize = [fig_pos(3) fig_pos(4)];
|
| 1176 |
+
print(fig,fpath,'-dpdf');
|
| 1177 |
+
close;
|
| 1178 |
+
|
| 1179 |
+
end
|
| 1180 |
+
|
| 1181 |
+
function latex_command(name, value, format)
|
| 1182 |
+
% outputs figures to a tex file
|
| 1183 |
+
|
| 1184 |
+
if strcmp(format, 'currency')
|
| 1185 |
+
curr = java.util.Locale.CANADA; % preserves negative sign
|
| 1186 |
+
j = java.text.NumberFormat.getCurrencyInstance(curr); % format
|
| 1187 |
+
value = char(j.format(value));
|
| 1188 |
+
value = strrep(value,'$','\$');
|
| 1189 |
+
else
|
| 1190 |
+
value = compose(format, value);
|
| 1191 |
+
end
|
| 1192 |
+
|
| 1193 |
+
if ismac
|
| 1194 |
+
input = strcat('\\\newcommand{\\',name,'}{',value,'}');
|
| 1195 |
+
else
|
| 1196 |
+
input = strcat('\\newcommand{\',name,'}{',value,'}');
|
| 1197 |
+
end
|
| 1198 |
+
|
| 1199 |
+
file = [OUTPUT '/simulations.tex'];
|
| 1200 |
+
command = strcat('echo ',input,' >> ',file);
|
| 1201 |
+
system(char(command));
|
| 1202 |
+
|
| 1203 |
+
end
|
| 1204 |
+
|
| 1205 |
+
end
|
107/replication_package/Data/cleaned_commitment_study_daily_data.dta
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed64b18b2aba6ac95029a4b00562e47617c2f6accfd1976d72d933d5651a4cf6
|
| 3 |
+
size 14544117
|
107/replication_package/Data/cleaned_commitment_study_data.dta
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:737717aae6930d50f3e1664f4abd1d003ee88778286bfcdb37eb219660bd1525
|
| 3 |
+
size 573093
|
107/replication_package/Experimental Materials/Study Instructions Appendix.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f49bbe7e79dfd1bf461e061346db43c0451d64cf9e3c1c95bb2e31b8962610e
|
| 3 |
+
size 7522961
|
107/replication_package/Experimental Materials/Who_Chooses_Commitment.qsf
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
107/replication_package/LICENSE.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc707d50cfec5a65d9adcdda6ea387202556ef048adc1f7b8b33ce906b047435
|
| 3 |
+
size 9349
|
107/replication_package/Other/Images/appendix_survey_waves.PNG
ADDED
|
|
Git LFS Details
|
107/replication_package/Other/Images/theory_graph.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6415e704b591c57cc937612aea8a78d3e4890fc7a81f98e5fef28ddd8f0542f0
|
| 3 |
+
size 47012
|
107/replication_package/Other/commitment.bib
ADDED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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
%% This BibTeX bibliography file was created using BibDesk.
|
| 2 |
+
%% https://bibdesk.sourceforge.io/
|
| 3 |
+
|
| 4 |
+
%% Created for Afras Sial at 2021-07-27 10:03:21 -0600
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
%% Saved with string encoding Unicode (UTF-8)
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
@comment{jabref-meta: databaseType:biblatex;}
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
@article{zhang2021,
|
| 15 |
+
author = {Zhang, Qing and Greiner, Ben},
|
| 16 |
+
date-added = {2021-07-25 15:46:06 -0600},
|
| 17 |
+
date-modified = {2021-07-25 15:47:09 -0600},
|
| 18 |
+
journal = {Economic Letters},
|
| 19 |
+
nameorder = {random},
|
| 20 |
+
pages = {Article 109982},
|
| 21 |
+
title = {Time Inconsistency, Sophistication, and Commitment: An Experimental Study},
|
| 22 |
+
volume = {203},
|
| 23 |
+
year = {2021}}
|
| 24 |
+
|
| 25 |
+
@article{oettingen2015,
|
| 26 |
+
author = {Oettingen, Gabriele and Kappes, Heather Barry and Guttenberg, Katie B. and Gollwitzer, Peter M.},
|
| 27 |
+
date-modified = {2021-07-27 01:35:38 -0600},
|
| 28 |
+
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/ejsp.2090},
|
| 29 |
+
journal = {European Journal of Social Psychology},
|
| 30 |
+
number = {2},
|
| 31 |
+
pages = {218-229},
|
| 32 |
+
title = {Self-regulation of Time Management: Mental Contrasting with Implementation Intentions},
|
| 33 |
+
volume = {45},
|
| 34 |
+
year = {2015},
|
| 35 |
+
Bdsk-Url-1 = {https://onlinelibrary.wiley.com/doi/abs/10.1002/ejsp.2090},
|
| 36 |
+
Bdsk-Url-2 = {https://doi.org/10.1002/ejsp.2090}}
|
| 37 |
+
|
| 38 |
+
@article{levy2020,
|
| 39 |
+
author = {Matthew R. Levy and Psquale Schiraldi},
|
| 40 |
+
date-added = {2021-03-03 13:21:20 -0500},
|
| 41 |
+
date-modified = {2021-03-03 13:21:44 -0500},
|
| 42 |
+
journal = {working paper},
|
| 43 |
+
title = {Identification of intertemporal preferences in history-dependent dynamic discrete choice models},
|
| 44 |
+
year = {2020}}
|
| 45 |
+
|
| 46 |
+
@article{magnac2002,
|
| 47 |
+
author = {Thiery Magnac and David Thesmar},
|
| 48 |
+
date-added = {2021-03-03 13:12:22 -0500},
|
| 49 |
+
date-modified = {2021-03-03 13:13:07 -0500},
|
| 50 |
+
journal = {Econometrica},
|
| 51 |
+
number = {2},
|
| 52 |
+
pages = {801-816},
|
| 53 |
+
title = {Identifying Dynamic Discrete Decision Processes},
|
| 54 |
+
volume = {70},
|
| 55 |
+
year = {2002}}
|
| 56 |
+
|
| 57 |
+
@article{abbring2020,
|
| 58 |
+
author = {Jaap H. Abbring and Oystein Daljord},
|
| 59 |
+
date-added = {2021-03-03 13:10:51 -0500},
|
| 60 |
+
date-modified = {2021-03-03 13:11:54 -0500},
|
| 61 |
+
journal = {Quantitative Economics},
|
| 62 |
+
number = {2},
|
| 63 |
+
pages = {471-501},
|
| 64 |
+
title = {Identifying the Discount Factor in Dynamic Discrete Choice Models},
|
| 65 |
+
volume = {11},
|
| 66 |
+
year = {2020}}
|
| 67 |
+
|
| 68 |
+
@unpublished{huffman2020,
|
| 69 |
+
author = {David Huffman and Collin Raymond and Julia Shvets},
|
| 70 |
+
date-added = {2021-02-23 17:27:43 -0500},
|
| 71 |
+
date-modified = {2021-07-25 15:28:46 -0600},
|
| 72 |
+
note = {Working Paper},
|
| 73 |
+
title = {Persistent Overconfidence and Biased Memory: Evidence from Managers},
|
| 74 |
+
year = {2020}}
|
| 75 |
+
|
| 76 |
+
@article{schwartzstein2014,
|
| 77 |
+
author = {Joshua Schwartzstein},
|
| 78 |
+
date-added = {2021-02-23 17:22:56 -0500},
|
| 79 |
+
date-modified = {2021-02-23 17:24:00 -0500},
|
| 80 |
+
journal = {Journal of the European Economic Association},
|
| 81 |
+
number = {6},
|
| 82 |
+
pages = {1423-1452},
|
| 83 |
+
title = {Selective Attention and Learning},
|
| 84 |
+
volume = {12},
|
| 85 |
+
year = {2014}}
|
| 86 |
+
|
| 87 |
+
@article{hanna2014,
|
| 88 |
+
author = {Rema Hanna and Sendhil Mullainathan and Joshua Schwartzstein},
|
| 89 |
+
date-added = {2021-02-23 17:20:08 -0500},
|
| 90 |
+
date-modified = {2021-02-23 17:22:20 -0500},
|
| 91 |
+
journal = {The Quarterly Journal of Economics},
|
| 92 |
+
number = {3},
|
| 93 |
+
pages = {1311-1353},
|
| 94 |
+
title = {Learning Through Noticing: Theory and Evidence from a Field Experiment},
|
| 95 |
+
volume = {129},
|
| 96 |
+
year = {2014}}
|
| 97 |
+
|
| 98 |
+
@article{Echenique2019,
|
| 99 |
+
author = {Federico Echenique and Kota Saito},
|
| 100 |
+
date-added = {2021-02-11 15:26:15 -0500},
|
| 101 |
+
date-modified = {2021-02-11 15:26:53 -0500},
|
| 102 |
+
journal = {Economic Theory},
|
| 103 |
+
number = {4},
|
| 104 |
+
pages = {811-826},
|
| 105 |
+
title = {General Luce Model},
|
| 106 |
+
volume = {68},
|
| 107 |
+
year = {2019}}
|
| 108 |
+
|
| 109 |
+
@article{Milgrom2002,
|
| 110 |
+
author = {Paul Milgrom and Ilya Segal},
|
| 111 |
+
date-added = {2020-09-25 17:26:17 -0400},
|
| 112 |
+
date-modified = {2021-07-25 15:08:18 -0600},
|
| 113 |
+
journal = {Econometrica},
|
| 114 |
+
number = {2},
|
| 115 |
+
pages = {583-601},
|
| 116 |
+
title = {Envelope Theorems for Arbitrary Choice Sets},
|
| 117 |
+
volume = {70},
|
| 118 |
+
year = {2002}}
|
| 119 |
+
|
| 120 |
+
@article{Gruber2001,
|
| 121 |
+
author = {Gruber, Jonathan and K{\H{o}}szegi, Botond},
|
| 122 |
+
date-added = {2020-09-20 18:59:53 -0400},
|
| 123 |
+
date-modified = {2020-09-20 19:00:50 -0400},
|
| 124 |
+
journal = {Quarterly Journal of Economics},
|
| 125 |
+
number = {4},
|
| 126 |
+
pages = {1261-1305},
|
| 127 |
+
title = {Is Addiction Rational? Theory and Evidence?},
|
| 128 |
+
volume = {116},
|
| 129 |
+
year = {2001}}
|
| 130 |
+
|
| 131 |
+
@unpublished{Imai2020,
|
| 132 |
+
author = {Imai, Taisuke and Tom Rutter and Colin Camerer},
|
| 133 |
+
date-added = {2020-09-14 19:44:33 -0400},
|
| 134 |
+
date-modified = {2020-09-14 19:44:33 -0400},
|
| 135 |
+
month = {April},
|
| 136 |
+
note = {Working Paper},
|
| 137 |
+
title = {Meta-Analysis of Present-Bias Estimation Using Convex Time Budget},
|
| 138 |
+
year = {2020}}
|
| 139 |
+
|
| 140 |
+
@article{bisin2020,
|
| 141 |
+
author = {Bisin, Alberto and Hyndman, Kyle},
|
| 142 |
+
date-added = {2020-08-28 16:25:30 -0600},
|
| 143 |
+
date-modified = {2020-08-28 16:26:07 -0600},
|
| 144 |
+
journal = {Games and Economic Behavior},
|
| 145 |
+
pages = {339--357},
|
| 146 |
+
title = {Present-Bias, Procrastination and Deadlines in a Field Experiment},
|
| 147 |
+
volume = {119},
|
| 148 |
+
year = {2020}}
|
| 149 |
+
|
| 150 |
+
@unpublished{avery2019,
|
| 151 |
+
author = {Avery, Mallory and Giuntella, Osea and Jiao, Peiran},
|
| 152 |
+
date-added = {2020-08-26 16:38:51 -0600},
|
| 153 |
+
date-modified = {2020-09-08 11:59:26 -0600},
|
| 154 |
+
note = {IZA Discussion Paper, No. 12772},
|
| 155 |
+
title = {Why Don't We Sleep Enough? A Field Experiment among College Students},
|
| 156 |
+
year = {2019}}
|
| 157 |
+
|
| 158 |
+
@article{beshears2020,
|
| 159 |
+
author = {Beshears, John and Choi, James J. and Harris, Christopher and Laibson, David and Madrian, Brigitte C. and Sakong, Jung},
|
| 160 |
+
date-added = {2020-08-26 16:28:22 -0600},
|
| 161 |
+
date-modified = {2021-07-25 13:44:16 -0600},
|
| 162 |
+
journal = {Journal of Public Economics},
|
| 163 |
+
pages = {Article 104144},
|
| 164 |
+
publisher = {Elsevier},
|
| 165 |
+
title = {Which Early Withdrawal Penalty Attracts the Most Deposits to a Commitment Savings Account?},
|
| 166 |
+
volume = {183},
|
| 167 |
+
year = {2020}}
|
| 168 |
+
|
| 169 |
+
@article{BernheimRangel2009,
|
| 170 |
+
author = {B. Douglas Bernheim and Antonio Rangel},
|
| 171 |
+
date-added = {2020-08-25 19:17:14 +0000},
|
| 172 |
+
date-modified = {2020-08-25 19:17:14 +0000},
|
| 173 |
+
journal = {Quarterly Journal of Economics},
|
| 174 |
+
month = {February},
|
| 175 |
+
number = {1},
|
| 176 |
+
pages = {51-104},
|
| 177 |
+
title = {Beyond Revealed Preference: Choice-Theoretic Foundations for Behavioral Welfare Economics},
|
| 178 |
+
volume = {124},
|
| 179 |
+
year = {2009},
|
| 180 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxBfLi4vLi4vLi4vLi4vRHJvcGJveC9QYXlkYXkvUGFwZXJzL0Jlcm5oZWltIGFuZCBSYW5nZWwgUUpFIDIwMDkgLSBCZXlvbmQgUmV2ZWFsZWQgUHJlZmVyZW5jZS5wZGZPEQIgAAAAAAIgAAIAAAxNYWNpbnRvc2ggSEQAAAAAAAAAAAAAAAAAAAAAAAAAQkQAAf////8fQmVybmhlaW0gYW5kIFJhbmdlI0ZGRkZGRkZGLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////wAAAAAAAAAAAAAAAAAEAAQAAAogY3UAAAAAAAAAAAAAAAAABlBhcGVycwACAGYvOlVzZXJzOmR0YXViaW5za3k6RHJvcGJveDpQYXlkYXk6UGFwZXJzOkJlcm5oZWltIGFuZCBSYW5nZWwgUUpFIDIwMDkgLSBCZXlvbmQgUmV2ZWFsZWQgUHJlZmVyZW5jZS5wZGYADgB8AD0AQgBlAHIAbgBoAGUAaQBtACAAYQBuAGQAIABSAGEAbgBnAGUAbAAgAFEASgBFACAAMgAwADAAOQAgAC0AIABCAGUAeQBvAG4AZAAgAFIAZQB2AGUAYQBsAGUAZAAgAFAAcgBlAGYAZQByAGUAbgBjAGUALgBwAGQAZgAPABoADABNAGEAYwBpAG4AdABvAHMAaAAgAEgARAASAGRVc2Vycy9kdGF1Ymluc2t5L0Ryb3Bib3gvUGF5ZGF5L1BhcGVycy9CZXJuaGVpbSBhbmQgUmFuZ2VsIFFKRSAyMDA5IC0gQmV5b25kIFJldmVhbGVkIFByZWZlcmVuY2UucGRmABMAAS8AABUAAgAR//8AAAAIAA0AGgAkAIYAAAAAAAACAQAAAAAAAAAFAAAAAAAAAAAAAAAAAAACqg==}}
|
| 181 |
+
|
| 182 |
+
@article{Bernheim2016,
|
| 183 |
+
author = {B. Douglas Bernheim},
|
| 184 |
+
date-added = {2020-08-25 19:17:12 +0000},
|
| 185 |
+
date-modified = {2020-08-25 19:17:12 +0000},
|
| 186 |
+
journal = {Journal of Benefit-Cost Analysis},
|
| 187 |
+
number = {1},
|
| 188 |
+
pages = {12-68},
|
| 189 |
+
title = {The Good, the Bad, and the Ugly: A Unified Approach to Behavioral Welfare Economics},
|
| 190 |
+
volume = {7},
|
| 191 |
+
year = {2016},
|
| 192 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNE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GUgVWdseS1BIFVuaWZpZWQgQXBwcm9hY2ggdG8gQmVoYXZpb3JhbCBXZWxmYXJlIEVjb25vbWljcy5wZGYAEwABLwAAFQACABH//wAAAAgADQAaACQAtAAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAOQ}}
|
| 193 |
+
|
| 194 |
+
@unpublished{schwartzstein2021,
|
| 195 |
+
author = {Tristan Gagnon-Bartsch and Matthew Rabin and Joshua Schwartzstein},
|
| 196 |
+
date-added = {2020-08-23 22:49:41 +0000},
|
| 197 |
+
date-modified = {2021-07-25 15:44:08 -0600},
|
| 198 |
+
note = {Working Paper},
|
| 199 |
+
title = {Channeled Attention and Stable Errors},
|
| 200 |
+
year = {2021}}
|
| 201 |
+
|
| 202 |
+
@unpublished{ShuiAnsubel2005,
|
| 203 |
+
author = {Haiyan Shui and Lawrence M. Ausubel},
|
| 204 |
+
date-added = {2020-08-19 20:52:52 +0000},
|
| 205 |
+
date-modified = {2020-08-19 20:52:52 +0000},
|
| 206 |
+
note = {Working Paper},
|
| 207 |
+
title = {Time Inconsistency in the Credit Card Market},
|
| 208 |
+
year = {2005},
|
| 209 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxBzLi4vLi4vLi4vLi4vLi4vRHJvcGJveC9QYXlkYXkvTGl0ZXJhdHVyZS9TaHVpIGFuZCBBdXN1YmVsIDIwMDUgV1AgLVRpbWUgSW5jb25zaXN0ZW5jeSBpbiB0aGUgQ3JlZGl0IENhcmQgTWFya2V0LnBkZk8RAlYAAAAAAlYAAgAADE1hY2ludG9zaCBIRAAAAAAAAAAAAAAAAAAAAAAAAABCRAAB/////x9TaHVpIGFuZCBBdXN1YmVsIDIjRkZGRkZGRkYucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////AAAAAAAAAAAAAAAAAAUABAAACiBjdQAAAAAAAAAAAAAAAAAKTGl0ZXJhdHVyZQACAHEvOlVzZXJzOnJhamI6RHJvcGJveDpQYXlkYXk6TGl0ZXJhdHVyZTpTaHVpIGFuZCBBdXN1YmVsIDIwMDUgV1AgLVRpbWUgSW5jb25zaXN0ZW5jeSBpbiB0aGUgQ3JlZGl0IENhcmQgTWFya2V0LnBkZgAADgCWAEoAUwBoAHUAaQAgAGEAbgBkACAAQQB1AHMAdQBiAGUAbAAgADIAMAAwADUAIABXAFAAIAAtAFQAaQBtAGUAIABJAG4AYwBvAG4AcwBpAHMAdABlAG4AYwB5ACAAaQBuACAAdABoAGUAIABDAHIAZQBkAGkAdAAgAEMAYQByAGQAIABNAGEAcgBrAGUAdAAuAHAAZABmAA8AGgAMAE0AYQBjAGkAbgB0AG8AcwBoACAASABEABIAb1VzZXJzL3JhamIvRHJvcGJveC9QYXlkYXkvTGl0ZXJhdHVyZS9TaHVpIGFuZCBBdXN1YmVsIDIwMDUgV1AgLVRpbWUgSW5jb25zaXN0ZW5jeSBpbiB0aGUgQ3JlZGl0IENhcmQgTWFya2V0LnBkZgAAEwABLwAAFQACAAv//wAAAAgADQAaACQAmgAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAL0}}
|
| 210 |
+
|
| 211 |
+
@unpublished{Mahajanetal2020,
|
| 212 |
+
author = {Mahajan, Aprajit and Michel, Christian and Tarozzi, Alessandro},
|
| 213 |
+
date-added = {2020-08-19 20:52:37 +0000},
|
| 214 |
+
date-modified = {2020-09-08 11:58:45 -0600},
|
| 215 |
+
note = {NBER Working Paper 27198},
|
| 216 |
+
title = {Identification of Time-Inconsistent Models: The Case of Insecticide Treated Nets},
|
| 217 |
+
year = {2020}}
|
| 218 |
+
|
| 219 |
+
@unpublished{FangSilverman2004,
|
| 220 |
+
author = {Hanming Fang and Dan Silverman},
|
| 221 |
+
date-added = {2020-08-19 20:52:23 +0000},
|
| 222 |
+
date-modified = {2020-08-19 20:52:23 +0000},
|
| 223 |
+
month = {July},
|
| 224 |
+
note = {Cowles Foundation Discussion Paper No. 1465},
|
| 225 |
+
title = {Time Inconsistency and Welfare Program Participation: Evidence from the NLSY},
|
| 226 |
+
year = {2004}}
|
| 227 |
+
|
| 228 |
+
@unpublished{Auglenblick2018,
|
| 229 |
+
author = {Ned Augenblick},
|
| 230 |
+
date-added = {2020-08-19 20:52:05 +0000},
|
| 231 |
+
date-modified = {2020-08-19 20:52:05 +0000},
|
| 232 |
+
note = {Working Paper},
|
| 233 |
+
title = {Short-Term Discounting of Unpleasant Tasks},
|
| 234 |
+
year = {2018},
|
| 235 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxBxLi4vLi4vLi4vLi4vLi4vRHJvcGJveC9QYXlkYXkvTGl0ZXJhdHVyZS9BdWdlbmJsaWNrIDIwMTggV1AgLSBTaG9ydC1UZXJtIFRpbWUgRGlzY291bnRpbmcgb2YgVW5wbGVhc2FudCBUYXNrcy5wZGZPEQJOAAAAAAJOAAIAAAxNYWNpbnRvc2ggSEQAAAAAAAAAAAAAAAAAAAAAAAAAQkQAAf////8fQXVnZW5ibGljayAyMDE4IFdQI0ZGRkZGRkZGLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////wAAAAAAAAAAAAAAAAAFAAQAAAogY3UAAAAAAAAAAAAAAAAACkxpdGVyYXR1cmUAAgBvLzpVc2VyczpyYWpiOkRyb3Bib3g6UGF5ZGF5OkxpdGVyYXR1cmU6QXVnZW5ibGljayAyMDE4IFdQIC0gU2hvcnQtVGVybSBUaW1lIERpc2NvdW50aW5nIG9mIFVucGxlYXNhbnQgVGFza3MucGRmAAAOAJIASABBAHUAZwBlAG4AYgBsAGkAYwBrACAAMgAwADEAOAAgAFcAUAAgAC0AIABTAGgAbwByAHQALQBUAGUAcgBtACAAVABpAG0AZQAgAEQAaQBzAGMAbwB1AG4AdABpAG4AZwAgAG8AZgAgAFUAbgBwAGwAZQBhAHMAYQBuAHQAIABUAGEAcwBrAHMALgBwAGQAZgAPABoADABNAGEAYwBpAG4AdABvAHMAaAAgAEgARAASAG1Vc2Vycy9yYWpiL0Ryb3Bib3gvUGF5ZGF5L0xpdGVyYXR1cmUvQXVnZW5ibGljayAyMDE4IFdQIC0gU2hvcnQtVGVybSBUaW1lIERpc2NvdW50aW5nIG9mIFVucGxlYXNhbnQgVGFza3MucGRmAAATAAEvAAAVAAIAC///AAAACAANABoAJACYAAAAAAAAAgEAAAAAAAAABQAAAAAAAAAAAAAAAAAAAuo=}}
|
| 236 |
+
|
| 237 |
+
@unpublished{AclandLevy2012,
|
| 238 |
+
author = {Dan Acland and Matthew R. Levy},
|
| 239 |
+
date-added = {2020-08-19 20:51:15 +0000},
|
| 240 |
+
date-modified = {2020-08-19 20:51:15 +0000},
|
| 241 |
+
note = {Working Paper: GSPP13-002},
|
| 242 |
+
title = {Naivet{\'e}, Projection Bias, and Habit Formation in Gym Attendance},
|
| 243 |
+
year = {2012},
|
| 244 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxCGLi4vLi4vLi4vLi4vLi4vRHJvcGJveC9QYXlkYXkvTGl0ZXJhdHVyZS9BY2xhbmQgYW5kIExldnkgMjAxMiBXUCAtIE5haXZldGUsIFByb2plY3Rpb24gQmlhcywgYW5kIEhhYml0IEZvcm1hdGlvbiBpbiBHeW0gQXR0ZW5kYW5jZS5wZGZPEQKgAAAAAAKgAAIAAAxNYWNpbnRvc2ggSEQAAAAAAAAAAAAAAAAAAAAAAAAAQkQAAf////8fQWNsYW5kIGFuZCBMZXZ5IDIwI0ZGRkZGRkZGLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////wAAAAAAAAAAAAAAAAAFAAQAAAogY3UAAAAAAAAAAAAAAAAACkxpdGVyYXR1cmUAAgCELzpVc2VyczpyYWpiOkRyb3Bib3g6UGF5ZGF5OkxpdGVyYXR1cmU6QWNsYW5kIGFuZCBMZXZ5IDIwMTIgV1AgLSBOYWl2ZXRlLCBQcm9qZWN0aW9uIEJpYXMsIGFuZCBIYWJpdCBGb3JtYXRpb24gaW4gR3ltIEF0dGVuZGFuY2UucGRmAA4AvABdAEEAYwBsAGEAbgBkACAAYQBuAGQAIABMAGUAdgB5ACAAMgAwADEAMgAgAFcAUAAgAC0AIABOAGEAaQB2AGUAdABlACwAIABQAHIAbwBqAGUAYwB0AGkAbwBuACAAQgBpAGEAcwAsACAAYQBuAGQAIABIAGEAYgBpAHQAIABGAG8AcgBtAGEAdABpAG8AbgAgAGkAbgAgAEcAeQBtACAAQQB0AHQAZQBuAGQAYQBuAGMAZQAuAHAAZABmAA8AGgAMAE0AYQBjAGkAbgB0AG8AcwBoACAASABEABIAglVzZXJzL3JhamIvRHJvcGJveC9QYXlkYXkvTGl0ZXJhdHVyZS9BY2xhbmQgYW5kIExldnkgMjAxMiBXUCAtIE5haXZldGUsIFByb2plY3Rpb24gQmlhcywgYW5kIEhhYml0IEZvcm1hdGlvbiBpbiBHeW0gQXR0ZW5kYW5jZS5wZGYAEwABLwAAFQACAAv//wAAAAgADQAaACQArQAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAANR}}
|
| 245 |
+
|
| 246 |
+
@unpublished{SkibaTobacman2018,
|
| 247 |
+
author = {Paige Marta Skiba and Jeremy Tobacman},
|
| 248 |
+
date-added = {2020-08-19 20:49:49 +0000},
|
| 249 |
+
date-modified = {2020-09-08 11:26:15 -0600},
|
| 250 |
+
note = {Working Paper},
|
| 251 |
+
title = {Payday Loans, Uncertainty, and Discounting: Explaining Patterns of Borrowing, Repayment, and Default},
|
| 252 |
+
year = {2018}}
|
| 253 |
+
|
| 254 |
+
@unpublished{Chaloupka2019,
|
| 255 |
+
author = {Chaloupka, Frank J. and Matthew R. Levy and White, Justin S.},
|
| 256 |
+
date-added = {2020-08-19 20:49:17 +0000},
|
| 257 |
+
date-modified = {2020-09-08 11:58:29 -0600},
|
| 258 |
+
note = {NBER Working Paper 26522},
|
| 259 |
+
title = {Estimating Biases in Smoking Cessation: Evidence from a Field Experiment},
|
| 260 |
+
year = {2019}}
|
| 261 |
+
|
| 262 |
+
@article{moser2019,
|
| 263 |
+
author = {Christian Moser and Pedro Olea de Souza e Silva},
|
| 264 |
+
date-added = {2019-11-22 19:22:23 +0000},
|
| 265 |
+
date-modified = {2019-11-22 19:23:03 +0000},
|
| 266 |
+
journal = {working paper},
|
| 267 |
+
title = {Optimal Paternalistic Savings Policies},
|
| 268 |
+
year = {2019}}
|
| 269 |
+
|
| 270 |
+
@article{beshears2017,
|
| 271 |
+
author = {John Beshears and James Choi and Chirstopher Clayton and Christopher Harris and David Laibson and Brigitte Madrian},
|
| 272 |
+
date-added = {2019-11-22 19:20:19 +0000},
|
| 273 |
+
date-modified = {2019-11-22 19:21:09 +0000},
|
| 274 |
+
journal = {working paper},
|
| 275 |
+
title = {Optimal Illuquidity},
|
| 276 |
+
year = {2019}}
|
| 277 |
+
|
| 278 |
+
@article{lizzeri2017,
|
| 279 |
+
author = {Allesandro Lizzeri and Leeat Yariv},
|
| 280 |
+
date-added = {2019-11-22 19:18:57 +0000},
|
| 281 |
+
date-modified = {2019-11-22 19:19:46 +0000},
|
| 282 |
+
journal = {American Economic Journal: Microeconomics},
|
| 283 |
+
number = {3},
|
| 284 |
+
title = {Collective Self-Control},
|
| 285 |
+
volume = {9},
|
| 286 |
+
year = {2017}}
|
| 287 |
+
|
| 288 |
+
@article{bisin2015,
|
| 289 |
+
author = {Alberto Bisin and Alessandro Lizzeri and Leeat Yariv},
|
| 290 |
+
date-added = {2019-11-22 19:17:30 +0000},
|
| 291 |
+
date-modified = {2019-11-22 19:23:33 +0000},
|
| 292 |
+
journal = {American Economic Review},
|
| 293 |
+
number = {6},
|
| 294 |
+
pages = {1711-1737},
|
| 295 |
+
title = {Government Policy with Time Inconsistent Voters},
|
| 296 |
+
volume = {105},
|
| 297 |
+
year = {2015}}
|
| 298 |
+
|
| 299 |
+
@article{alan2015,
|
| 300 |
+
author = {Alan, Sule and Ertac, Seda},
|
| 301 |
+
date-added = {2019-11-07 18:02:42 -0500},
|
| 302 |
+
date-modified = {2019-11-07 18:02:54 -0500},
|
| 303 |
+
journal = {Journal of Economic Behavior and Organization},
|
| 304 |
+
pages = {111--122},
|
| 305 |
+
title = {Patience, self-control and the demand for commitment: Evidence from a large-scale field experiment},
|
| 306 |
+
volume = {115},
|
| 307 |
+
year = {2015}}
|
| 308 |
+
|
| 309 |
+
@article{sadoffjebo2019,
|
| 310 |
+
author = {Sadoff, Sally and Samek, Anya},
|
| 311 |
+
date-added = {2019-11-07 17:21:44 -0500},
|
| 312 |
+
date-modified = {2019-11-07 17:23:33 -0500},
|
| 313 |
+
journal = {Journal of Economic Behavior and Organization},
|
| 314 |
+
pages = {90--109},
|
| 315 |
+
title = {Can Interventions Affect Commitment Demand? A Field Experiment on Food Choice},
|
| 316 |
+
volume = {158},
|
| 317 |
+
year = {2019}}
|
| 318 |
+
|
| 319 |
+
@unpublished{karlan2017,
|
| 320 |
+
author = {Karlan, Dean and Linden, Leigh L.},
|
| 321 |
+
date-added = {2019-11-07 17:15:59 -0500},
|
| 322 |
+
date-modified = {2021-07-25 13:51:54 -0600},
|
| 323 |
+
note = {NBER Working Paper 19863},
|
| 324 |
+
title = {Loose Knots: Strong Versus Weak Commitments to Save for Education in Uganda},
|
| 325 |
+
year = {2017}}
|
| 326 |
+
|
| 327 |
+
@article{houser2018,
|
| 328 |
+
author = {Houser, Daniel and Schunk, Daniel and Winter, Joachim and Xiao, Erte},
|
| 329 |
+
date-added = {2019-11-07 17:11:15 -0500},
|
| 330 |
+
date-modified = {2019-11-07 17:11:23 -0500},
|
| 331 |
+
journal = {Games and Economic Behavior},
|
| 332 |
+
pages = {329--344},
|
| 333 |
+
rating = {5},
|
| 334 |
+
title = {Temptation and Commitment in the Laboratory},
|
| 335 |
+
volume = {107},
|
| 336 |
+
year = {2018}}
|
| 337 |
+
|
| 338 |
+
@unpublished{ek2020,
|
| 339 |
+
author = {Ek, Claes and Samahita, Margaret},
|
| 340 |
+
date-added = {2019-11-07 17:08:27 -0500},
|
| 341 |
+
date-modified = {2021-07-25 15:57:32 -0600},
|
| 342 |
+
note = {Working Paper},
|
| 343 |
+
title = {Pessimism and Overcommitment},
|
| 344 |
+
year = {2020}}
|
| 345 |
+
|
| 346 |
+
@article{dupas2013,
|
| 347 |
+
author = {Dupas, Pascaline and Robinson, Jonathan},
|
| 348 |
+
date-added = {2019-11-07 17:06:52 -0500},
|
| 349 |
+
date-modified = {2019-11-07 17:07:10 -0500},
|
| 350 |
+
journal = {American Economic Review},
|
| 351 |
+
number = {4},
|
| 352 |
+
pages = {1138--71},
|
| 353 |
+
title = {Why Don't the Poor Save More? Evidence from Health Savings Experiments},
|
| 354 |
+
volume = {103},
|
| 355 |
+
year = {2013}}
|
| 356 |
+
|
| 357 |
+
@unpublished{chow2011,
|
| 358 |
+
author = {Chow, Vinci},
|
| 359 |
+
date-added = {2019-11-07 17:05:12 -0500},
|
| 360 |
+
date-modified = {2021-07-25 13:46:59 -0600},
|
| 361 |
+
note = {Unpublished},
|
| 362 |
+
title = {Demand for a Commitment Device in Online Gaming},
|
| 363 |
+
year = {2011}}
|
| 364 |
+
|
| 365 |
+
@article{casaburi2019,
|
| 366 |
+
author = {Casaburi, Lorenzo and Macchiavello, Rocco},
|
| 367 |
+
date-added = {2019-11-07 17:03:27 -0500},
|
| 368 |
+
date-modified = {2019-11-07 17:03:50 -0500},
|
| 369 |
+
journal = {American Economic Review},
|
| 370 |
+
number = {2},
|
| 371 |
+
pages = {523--55},
|
| 372 |
+
title = {Demand and Supply of Infrequent Payments as a Commitment Device: Evidence from Kenya},
|
| 373 |
+
volume = {109},
|
| 374 |
+
year = {2019}}
|
| 375 |
+
|
| 376 |
+
@article{brune2016,
|
| 377 |
+
author = {Brune, Lasse and Gin{\'e}, Xavier and Goldberg, Jessica and Yang, Dean},
|
| 378 |
+
date-added = {2019-11-07 17:02:04 -0500},
|
| 379 |
+
date-modified = {2019-11-07 17:02:22 -0500},
|
| 380 |
+
journal = {Economic Development and Cultural Change},
|
| 381 |
+
number = {2},
|
| 382 |
+
pages = {187--220},
|
| 383 |
+
publisher = {University of Chicago Press Chicago, IL},
|
| 384 |
+
title = {Facilitating Savings for Agriculture: Field Experimental Evidence from Malawi},
|
| 385 |
+
volume = {64},
|
| 386 |
+
year = {2016}}
|
| 387 |
+
|
| 388 |
+
@article{brune2021,
|
| 389 |
+
author = {Brune, Lasse and Chyn, Eric and Kerwin, Jason T.},
|
| 390 |
+
date-added = {2019-11-07 16:59:32 -0500},
|
| 391 |
+
date-modified = {2021-07-25 15:51:33 -0600},
|
| 392 |
+
journal = {American Economic Review},
|
| 393 |
+
title = {Pay Me Later: A Simple Employer-Based Saving Scheme},
|
| 394 |
+
year = {Forthcoming}}
|
| 395 |
+
|
| 396 |
+
@article{bonein2015,
|
| 397 |
+
author = {Bonein, Aur{\'e}lie and Denant-Bo{\`e}mont, Laurent},
|
| 398 |
+
date-added = {2019-11-07 16:41:31 -0500},
|
| 399 |
+
date-modified = {2019-11-07 16:41:55 -0500},
|
| 400 |
+
journal = {Experimental Economics},
|
| 401 |
+
number = {4},
|
| 402 |
+
pages = {543--568},
|
| 403 |
+
publisher = {Springer},
|
| 404 |
+
title = {Self-Control, Commitment and Peer Pressure: A Laboratory Experiment},
|
| 405 |
+
volume = {18},
|
| 406 |
+
year = {2015}}
|
| 407 |
+
|
| 408 |
+
@unpublished{bhattacharya2015,
|
| 409 |
+
author = {Bhattacharya, Jay and Garber, Alan M. and Goldhaber-Fiebert, Jeremy D.},
|
| 410 |
+
date-added = {2019-11-07 16:20:57 -0500},
|
| 411 |
+
date-modified = {2021-07-25 13:45:46 -0600},
|
| 412 |
+
note = {NBER Working Paper 21406},
|
| 413 |
+
title = {Nudges in Exercise Commitment Contracts: A Randomized Trial},
|
| 414 |
+
year = {2015}}
|
| 415 |
+
|
| 416 |
+
@article{ariely2002,
|
| 417 |
+
author = {Ariely, Dan and Wertenbroch, Klaus},
|
| 418 |
+
date-added = {2019-11-07 16:09:10 -0500},
|
| 419 |
+
date-modified = {2019-11-07 16:09:55 -0500},
|
| 420 |
+
journal = {Psychological Science},
|
| 421 |
+
number = {3},
|
| 422 |
+
pages = {219--224},
|
| 423 |
+
title = {Procrastination, Deadlines, and Performance: Self-Control by Precommitment},
|
| 424 |
+
volume = {13},
|
| 425 |
+
year = {2002}}
|
| 426 |
+
|
| 427 |
+
@unpublished{afzal2019,
|
| 428 |
+
author = {Afzal, Uzma and D'Adda, Giovanna and Fafchamps, Marcel and Quinn, Simon R. and Said, Farah},
|
| 429 |
+
date-added = {2019-11-07 16:02:35 -0500},
|
| 430 |
+
date-modified = {2021-07-25 13:37:55 -0600},
|
| 431 |
+
note = {NBER Working Paper 25802},
|
| 432 |
+
title = {Implicit and Explicit Commitment in Credit and Saving Contracts: A Field Experiment},
|
| 433 |
+
year = {2019}}
|
| 434 |
+
|
| 435 |
+
@article{deQuidt2018,
|
| 436 |
+
author = {Jonathan de Quidt and Johannes Haushofer and Christopher Roth},
|
| 437 |
+
date-added = {2019-11-06 19:20:14 +0000},
|
| 438 |
+
date-modified = {2019-11-06 19:21:02 +0000},
|
| 439 |
+
journal = {American Economic Review},
|
| 440 |
+
number = {11},
|
| 441 |
+
pages = {3266-3302},
|
| 442 |
+
title = {Measuring and Bounding Experimenter Demand},
|
| 443 |
+
volume = {108},
|
| 444 |
+
year = {2018}}
|
| 445 |
+
|
| 446 |
+
@unpublished{toussaert2019,
|
| 447 |
+
author = {S{\'e}verine Toussaert},
|
| 448 |
+
date-added = {2019-11-02 20:51:23 +0000},
|
| 449 |
+
date-modified = {2020-09-08 11:43:51 -0600},
|
| 450 |
+
note = {Unpublished},
|
| 451 |
+
title = {Revealing Temptation Through Menu Choice: Field Evidence},
|
| 452 |
+
year = {2019}}
|
| 453 |
+
|
| 454 |
+
@article{woodford2019,
|
| 455 |
+
author = {Michael Woodford},
|
| 456 |
+
date-added = {2019-11-02 20:50:01 +0000},
|
| 457 |
+
date-modified = {2020-09-08 12:06:36 -0600},
|
| 458 |
+
journal = {Annual Review of Economics},
|
| 459 |
+
pages = {579--601},
|
| 460 |
+
title = {Modeling Imprecision in Perception, Valuation and Choice},
|
| 461 |
+
volume = {12},
|
| 462 |
+
year = {2019}}
|
| 463 |
+
|
| 464 |
+
@article{Andreoni2012,
|
| 465 |
+
author = {James Andreoni and Charles Sprenger},
|
| 466 |
+
date-added = {2019-08-21 02:48:26 +0000},
|
| 467 |
+
date-modified = {2019-08-21 02:49:20 +0000},
|
| 468 |
+
journal = {American Economic Review},
|
| 469 |
+
number = {7},
|
| 470 |
+
pages = {3333-3356},
|
| 471 |
+
title = {Estimating Time Preferences from Convex Budgets},
|
| 472 |
+
volume = {102},
|
| 473 |
+
year = {2012}}
|
| 474 |
+
|
| 475 |
+
@article{Andreoni2019,
|
| 476 |
+
author = {James Andreoni and Deniz Aydin and Blake Barton and B. Douglas Bernheim and Jeffrey Naecker},
|
| 477 |
+
date-added = {2019-08-18 22:53:15 +0000},
|
| 478 |
+
date-modified = {2019-08-18 22:54:18 +0000},
|
| 479 |
+
journal = {Journal of Political Economy},
|
| 480 |
+
title = {When fair isn't fair: Understanding choice reversals involving social preferences},
|
| 481 |
+
year = {forthcoming}}
|
| 482 |
+
|
| 483 |
+
@article{Bernheim2015,
|
| 484 |
+
author = {B. Douglas Bernheim and Debraj Ray and Sevin Yeltekin},
|
| 485 |
+
date-added = {2019-08-18 22:51:58 +0000},
|
| 486 |
+
date-modified = {2019-08-18 22:53:04 +0000},
|
| 487 |
+
journal = {Econometrica},
|
| 488 |
+
number = {5},
|
| 489 |
+
pages = {1877-1911},
|
| 490 |
+
title = {Poverty and Self-Control},
|
| 491 |
+
volume = {83},
|
| 492 |
+
year = {2015}}
|
| 493 |
+
|
| 494 |
+
@unpublished{Skiba2018,
|
| 495 |
+
author = {Paige Marta Skiba and Jeremy Tobacman},
|
| 496 |
+
date-added = {2019-07-31 23:17:14 +0000},
|
| 497 |
+
date-modified = {2020-09-08 12:02:26 -0600},
|
| 498 |
+
note = {Working Paper},
|
| 499 |
+
title = {Payday Loans, Uncertainty, and Discounting: Explaing Patterns of Borrowing, Repayment, and Default},
|
| 500 |
+
year = {2018}}
|
| 501 |
+
|
| 502 |
+
@article{sprenger2015,
|
| 503 |
+
author = {Charles Sprenger},
|
| 504 |
+
date-added = {2019-07-24 22:02:55 +0000},
|
| 505 |
+
date-modified = {2019-07-24 22:04:03 +0000},
|
| 506 |
+
journal = {American Economic Revew: Papers and Proceedings},
|
| 507 |
+
number = {5},
|
| 508 |
+
pages = {280-285},
|
| 509 |
+
title = {Judging Experimental Evidence on Dynamic Inconsistency},
|
| 510 |
+
volume = {105},
|
| 511 |
+
year = {2015}}
|
| 512 |
+
|
| 513 |
+
@unpublished{martinez2018,
|
| 514 |
+
author = {Seung-Keun Martinez and Stephan Meier and Charles Sprenger},
|
| 515 |
+
date-added = {2019-07-24 21:58:38 +0000},
|
| 516 |
+
date-modified = {2020-09-10 11:21:19 -0400},
|
| 517 |
+
note = {Working Paper},
|
| 518 |
+
title = {Procrastination in the Field: Evidence from Tax Filing},
|
| 519 |
+
year = {2020}}
|
| 520 |
+
|
| 521 |
+
@incollection{block1960,
|
| 522 |
+
author = {H.D. Block and Jacob Marschak},
|
| 523 |
+
booktitle = {Contributions to Probability and Statistics. Essays in Honor of Harold Hotelling},
|
| 524 |
+
date-added = {2019-07-24 00:58:28 +0000},
|
| 525 |
+
date-modified = {2019-11-08 17:34:12 -0500},
|
| 526 |
+
editor = {Ingram Olkin},
|
| 527 |
+
publisher = {Stanford University Press},
|
| 528 |
+
title = {Random Orderings and Stochastic Theories of Response},
|
| 529 |
+
year = {1960}}
|
| 530 |
+
|
| 531 |
+
@article{Hey1994,
|
| 532 |
+
author = {John D. Hey and Chris Orme},
|
| 533 |
+
date-added = {2019-07-24 00:51:00 +0000},
|
| 534 |
+
date-modified = {2019-07-24 00:51:44 +0000},
|
| 535 |
+
journal = {Econometrica},
|
| 536 |
+
pages = {1291-1329},
|
| 537 |
+
title = {Investigating Parsimonious Generalizations of Expected Utility Theory using Experimental Data},
|
| 538 |
+
volume = {62},
|
| 539 |
+
year = {1994}}
|
| 540 |
+
|
| 541 |
+
@article{natenzon2019,
|
| 542 |
+
author = {Pauolo Natenzon},
|
| 543 |
+
date-added = {2019-07-24 00:45:53 +0000},
|
| 544 |
+
date-modified = {2019-07-24 00:46:48 +0000},
|
| 545 |
+
journal = {Journal of Political Economy},
|
| 546 |
+
number = {1},
|
| 547 |
+
pages = {419-457},
|
| 548 |
+
title = {Random Choice and Learning},
|
| 549 |
+
volume = {127},
|
| 550 |
+
year = {2019}}
|
| 551 |
+
|
| 552 |
+
@article{allcott_lending,
|
| 553 |
+
author = {Hunt Allcott and Joshua Kim and Dmitry Taubinsky and Jonathan Zinman},
|
| 554 |
+
date-added = {2019-06-20 23:57:54 +0000},
|
| 555 |
+
date-modified = {2021-07-25 13:40:20 -0600},
|
| 556 |
+
journal = {Review of Economic Studies},
|
| 557 |
+
title = {Are High-Interest Loans Predatory? Theory and Evidence from Payday Lending},
|
| 558 |
+
year = {Forthcoming}}
|
| 559 |
+
|
| 560 |
+
@article{Galperti2015,
|
| 561 |
+
author = {Simone Galperti},
|
| 562 |
+
date-added = {2019-06-01 00:15:16 +0000},
|
| 563 |
+
date-modified = {2019-06-01 00:15:52 +0000},
|
| 564 |
+
journal = {Econometrica},
|
| 565 |
+
number = {4},
|
| 566 |
+
pages = {1425-1465},
|
| 567 |
+
title = {Commitment, Flexibility, and Optial Screening of Time Inconsistency},
|
| 568 |
+
volume = {83},
|
| 569 |
+
year = {2015}}
|
| 570 |
+
|
| 571 |
+
@article{Hausman2001,
|
| 572 |
+
author = {Jerry Hausman},
|
| 573 |
+
date-added = {2019-05-31 23:54:41 +0000},
|
| 574 |
+
date-modified = {2019-05-31 23:55:40 +0000},
|
| 575 |
+
journal = {Journal of Economic Perspectives},
|
| 576 |
+
number = {4},
|
| 577 |
+
pages = {57-67},
|
| 578 |
+
title = {Mismeasured Variables in Econometric Analysis: Problems from the Right and Problems from the Left},
|
| 579 |
+
volume = {15},
|
| 580 |
+
year = {2001}}
|
| 581 |
+
|
| 582 |
+
@article{Aigner1973,
|
| 583 |
+
author = {Dennis J. Aigner},
|
| 584 |
+
date-added = {2019-05-31 23:52:00 +0000},
|
| 585 |
+
date-modified = {2019-05-31 23:53:14 +0000},
|
| 586 |
+
journal = {Journal of Econometrics},
|
| 587 |
+
pages = {49-60},
|
| 588 |
+
title = {Regression with a Binary Independent Variable Subject to Errors of Observation},
|
| 589 |
+
volume = {1},
|
| 590 |
+
year = {1973}}
|
| 591 |
+
|
| 592 |
+
@book{Hall2005,
|
| 593 |
+
author = {Hall, Alistair R.},
|
| 594 |
+
date-added = {2019-05-31 21:42:16 +0000},
|
| 595 |
+
date-modified = {2020-09-08 14:53:35 -0600},
|
| 596 |
+
publisher = {Oxford University Press},
|
| 597 |
+
title = {Generalized Method of Moments},
|
| 598 |
+
year = {2005}}
|
| 599 |
+
|
| 600 |
+
@article{dellavigna2004,
|
| 601 |
+
author = {DellaVigna, Stefano and Malmendier, Ulrike},
|
| 602 |
+
date-added = {2019-05-31 20:16:58 +0000},
|
| 603 |
+
date-modified = {2021-07-27 01:30:57 -0600},
|
| 604 |
+
eprint = {/oup/backfile/content_public/journal/qje/119/2/10.1162/0033553041382111/2/119-2-353.pdf},
|
| 605 |
+
journal = {The Quarterly Journal of Economics},
|
| 606 |
+
number = {2},
|
| 607 |
+
pages = {353-402},
|
| 608 |
+
title = {Contract Design and Self-Control: Theory and Evidence},
|
| 609 |
+
volume = {119},
|
| 610 |
+
year = {2004},
|
| 611 |
+
Bdsk-Url-1 = {+%20http://dx.doi.org/10.1162/0033553041382111},
|
| 612 |
+
Bdsk-Url-2 = {http://dx.doi.org/10.1162/0033553041382111}}
|
| 613 |
+
|
| 614 |
+
@unpublished{Laibson2018b,
|
| 615 |
+
author = {David Laibson and Peter Maxted and Andrea Repetto and Jeremy Tobacman},
|
| 616 |
+
date-added = {2019-05-31 19:55:33 +0000},
|
| 617 |
+
date-modified = {2020-09-08 12:09:32 -0600},
|
| 618 |
+
note = {Working Paper},
|
| 619 |
+
title = {Estimating Discount Functions with Consumption Choices over the Lifecycle},
|
| 620 |
+
year = {2018}}
|
| 621 |
+
|
| 622 |
+
@article{Bai2018,
|
| 623 |
+
author = {Liang Bai and Benjamin Handel and Ted Miguel and Gautam Rao},
|
| 624 |
+
date-added = {2019-05-31 18:05:50 +0000},
|
| 625 |
+
date-modified = {2020-09-08 11:45:42 -0600},
|
| 626 |
+
journal = {Review of Economics and Statistics},
|
| 627 |
+
title = {Self-Control and Demand for Preventive Health: Evidence from Hypertension in India},
|
| 628 |
+
year = {Forthcoming}}
|
| 629 |
+
|
| 630 |
+
@article{Lusardi2007a,
|
| 631 |
+
author = {Annamaria Lusardi and Olivia S. Mitchell},
|
| 632 |
+
date-added = {2019-05-30 22:05:01 +0000},
|
| 633 |
+
date-modified = {2019-05-30 22:05:01 +0000},
|
| 634 |
+
journal = {Journal of Monetary Economics},
|
| 635 |
+
keywords = {financial literacy},
|
| 636 |
+
number = {1},
|
| 637 |
+
pages = {205-224},
|
| 638 |
+
title = {Baby Boomer Retirement Security: The Roles of Planning, Financial Literacy, and Housing Wealth},
|
| 639 |
+
volume = {51},
|
| 640 |
+
year = {2007}}
|
| 641 |
+
|
| 642 |
+
@article{acland2015naivete,
|
| 643 |
+
author = {Acland, Dan and Levy, Matthew R.},
|
| 644 |
+
date-added = {2019-05-30 17:31:56 +0000},
|
| 645 |
+
date-modified = {2021-07-25 13:37:36 -0600},
|
| 646 |
+
journal = {Management Science},
|
| 647 |
+
number = {1},
|
| 648 |
+
pages = {146--160},
|
| 649 |
+
publisher = {INFORMS},
|
| 650 |
+
title = {Naivet{\'e}, Projection Bias, and Habit Formation in Gym Attendance},
|
| 651 |
+
volume = {61},
|
| 652 |
+
year = {2015}}
|
| 653 |
+
|
| 654 |
+
@unpublished{frydman2019,
|
| 655 |
+
author = {Cary Frydman and Lawrence J. Jin},
|
| 656 |
+
date-added = {2019-05-30 17:17:57 +0000},
|
| 657 |
+
date-modified = {2020-09-08 12:10:11 -0600},
|
| 658 |
+
note = {Working Paper},
|
| 659 |
+
title = {Efficient Coding and Risky Choice},
|
| 660 |
+
year = {2019}}
|
| 661 |
+
|
| 662 |
+
@article{Wei2015,
|
| 663 |
+
author = {Xue-Xin Wei and Alan A. Stocker},
|
| 664 |
+
date-added = {2019-05-30 17:16:30 +0000},
|
| 665 |
+
date-modified = {2019-05-30 17:17:46 +0000},
|
| 666 |
+
journal = {Nature Neuroscience},
|
| 667 |
+
pages = {1509-1517},
|
| 668 |
+
title = {A Bayesian Observer Model Constrained by Efficient Coding Can Explain Anti-Bayesian Percepts},
|
| 669 |
+
volume = {18},
|
| 670 |
+
year = {2015}}
|
| 671 |
+
|
| 672 |
+
@article{Amadoretal2006,
|
| 673 |
+
author = {M. Amador and I. Werning and G.-M. Angeletos},
|
| 674 |
+
date-added = {2019-05-30 17:14:53 +0000},
|
| 675 |
+
date-modified = {2019-05-30 17:14:53 +0000},
|
| 676 |
+
journal = {Econometrica},
|
| 677 |
+
pages = {365-396},
|
| 678 |
+
title = {Commitment vs. Flexibility},
|
| 679 |
+
volume = {74},
|
| 680 |
+
year = {2006}}
|
| 681 |
+
|
| 682 |
+
@article{dellavigna2012testing,
|
| 683 |
+
author = {DellaVigna, Stefano and List, John A and Malmendier, Ulrike},
|
| 684 |
+
date-added = {2019-05-30 16:19:32 +0000},
|
| 685 |
+
date-modified = {2020-09-08 11:45:08 -0600},
|
| 686 |
+
journal = {Quarterly Journal of Economics},
|
| 687 |
+
number = {1},
|
| 688 |
+
pages = {1--56},
|
| 689 |
+
publisher = {MIT Press},
|
| 690 |
+
title = {Testing for Altruism and Social Pressure in Charitable Giving},
|
| 691 |
+
volume = {127},
|
| 692 |
+
year = {2012}}
|
| 693 |
+
|
| 694 |
+
@article{Carroll2009,
|
| 695 |
+
author = {Carroll, Gabriel D and Choi, James J and Laibson, David and Madrian, Brigitte C and Metrick, Andrew},
|
| 696 |
+
date-added = {2019-05-30 15:40:53 +0000},
|
| 697 |
+
date-modified = {2019-05-30 15:40:53 +0000},
|
| 698 |
+
journal = {The Quarterly Journal of Economics},
|
| 699 |
+
keywords = {behavioral},
|
| 700 |
+
number = {4},
|
| 701 |
+
pages = {1639--1674},
|
| 702 |
+
publisher = {Oxford University Press},
|
| 703 |
+
title = {Optimal defaults and active decisions},
|
| 704 |
+
volume = {124},
|
| 705 |
+
year = {2009},
|
| 706 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxCHLi4vLi4vLi4vLi4vLi4vTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzLzRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UmVhZGRsZURvY3NJUGFkL0RvY3VtZW50cy9MaWJyYXJ5L0NhcnJvbGxfZXRhbF8yMDA5X29wdGltYWxfZGVmYXVsdHMucGRmTxECeAAAAAACeAACAAAMQkxPQ0tXT09ELUhEAAAAAAAAAAAAAAAAAAAAzRinH0grAAABOmPcH0NhcnJvbGxfZXRhbF8yMDA5X28jMUU0QURFMS5wZGYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHkreHQ5YxeAAAAAAAAAAAABQAGAAAJIAAAAAAAAAAAAAAAAAAAAAdMaWJyYXJ5AAAQAAgAAM0Y7W8AAAARAAgAANDl0q4AAAABABwBOmPcANhhHADYYRsAFzC4AANV6QADVc8AA1XGAAIAjkJMT0NLV09PRC1IRDpVc2VyczoAYmxvY2t3b29kOgBMaWJyYXJ5OgBNb2JpbGUgRG9jdW1lbnRzOgA0WTY4MjcyTE44fmNvbX5yZWFkZGxlflIjRDg2MTFCOgBEb2N1bWVudHM6AExpYnJhcnk6AENhcnJvbGxfZXRhbF8yMDA5X28jMUU0QURFMS5wZGYADgBOACYAQwBhAHIAcgBvAGwAbABfAGUAdABhAGwAXwAyADAAMAA5AF8AbwBwAHQAaQBtAGEAbABfAGQAZQBmAGEAdQBsAHQAcwAuAHAAZABmAA8AGgAMAEIATABPAEMASwBXAE8ATwBEAC0ASABEABIAiFVzZXJzL2Jsb2Nrd29vZC9MaWJyYXJ5L01vYmlsZSBEb2N1bWVudHMvNFk2ODI3MkxOOH5jb21+cmVhZGRsZX5SZWFkZGxlRG9jc0lQYWQvRG9jdW1lbnRzL0xpYnJhcnkvQ2Fycm9sbF9ldGFsXzIwMDlfb3B0aW1hbF9kZWZhdWx0cy5wZGYAEwABLwAAFQACABD//wAAAAgADQAaACQArgAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAMq}}
|
| 707 |
+
|
| 708 |
+
@article{strotz,
|
| 709 |
+
author = {R. H. Strotz},
|
| 710 |
+
date-added = {2019-05-30 15:24:10 +0000},
|
| 711 |
+
date-modified = {2020-09-08 12:06:46 -0600},
|
| 712 |
+
journal = {The Review of Economic Studies},
|
| 713 |
+
number = {3},
|
| 714 |
+
pages = {165--180},
|
| 715 |
+
title = {Myopia and Inconsistency in Dynamic Utility Maximization},
|
| 716 |
+
volume = {23},
|
| 717 |
+
year = {1955}}
|
| 718 |
+
|
| 719 |
+
@article{Laibson2018,
|
| 720 |
+
author = {David Laibson},
|
| 721 |
+
date-added = {2019-05-30 15:19:46 +0000},
|
| 722 |
+
date-modified = {2019-05-30 15:20:39 +0000},
|
| 723 |
+
journal = {AEA Papers and Proceedings},
|
| 724 |
+
pages = {1-21},
|
| 725 |
+
title = {Private Paternalism, the Commitment Puzzle, and Model-Free Equilibrum},
|
| 726 |
+
volume = {108},
|
| 727 |
+
year = {2018}}
|
| 728 |
+
|
| 729 |
+
@incollection{laibson2017,
|
| 730 |
+
author = {Keith M. Ericson and David Laibson},
|
| 731 |
+
booktitle = {Handbook of Behavioral Economics},
|
| 732 |
+
date-added = {2019-05-30 15:16:25 +0000},
|
| 733 |
+
date-modified = {2019-08-31 01:28:35 +0000},
|
| 734 |
+
editor = {B. Douglas Bernheim and Stefano DellaVigna and David Laibson},
|
| 735 |
+
publisher = {Elsevier},
|
| 736 |
+
title = {Intertemporal Choice},
|
| 737 |
+
volume = {2},
|
| 738 |
+
year = {2019}}
|
| 739 |
+
|
| 740 |
+
@article{Laibson2015,
|
| 741 |
+
author = {David Laibson},
|
| 742 |
+
date-added = {2019-05-30 15:16:16 +0000},
|
| 743 |
+
date-modified = {2019-05-30 15:16:16 +0000},
|
| 744 |
+
journal = {American Economic Review},
|
| 745 |
+
number = {5},
|
| 746 |
+
pages = {267-272},
|
| 747 |
+
title = {Why Don't Present-Baised Agents Make Commitments?},
|
| 748 |
+
volume = {105},
|
| 749 |
+
year = {2015}}
|
| 750 |
+
|
| 751 |
+
@incollection{BernheimTaubinsky,
|
| 752 |
+
address = {New York},
|
| 753 |
+
author = {B. Douglas Bernheim and Dmitry Taubinsky},
|
| 754 |
+
booktitle = {The Handbook of Behavioral Economics},
|
| 755 |
+
date-added = {2019-05-30 15:15:09 +0000},
|
| 756 |
+
date-modified = {2019-05-30 15:15:09 +0000},
|
| 757 |
+
editor = {B. Douglas Bernheim and Stefano DellaVigna and David Laibson},
|
| 758 |
+
publisher = {Elsevier},
|
| 759 |
+
title = {Behavioral Public Economics},
|
| 760 |
+
volume = {1},
|
| 761 |
+
year = {2018}}
|
| 762 |
+
|
| 763 |
+
@article{Laibson1997,
|
| 764 |
+
author = {Laibson, David},
|
| 765 |
+
date-added = {2019-05-30 15:15:02 +0000},
|
| 766 |
+
date-modified = {2019-05-30 15:15:02 +0000},
|
| 767 |
+
journal = {Quarterly Journal of Economics},
|
| 768 |
+
keywords = {behavioral},
|
| 769 |
+
number = {2},
|
| 770 |
+
pages = {443--478},
|
| 771 |
+
publisher = {Oxford University Press},
|
| 772 |
+
title = {Golden Eggs and Hyperbolic Discounting},
|
| 773 |
+
volume = {112},
|
| 774 |
+
year = {1997},
|
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+
author = {Roland Benabou and Jean Tirole},
|
| 779 |
+
date-added = {2019-05-28 17:47:55 +0000},
|
| 780 |
+
date-modified = {2019-05-28 17:48:26 +0000},
|
| 781 |
+
journal = {Journal of Political Economy},
|
| 782 |
+
number = {4},
|
| 783 |
+
pages = {848-887},
|
| 784 |
+
title = {Willpower and Personal Rules},
|
| 785 |
+
volume = {112},
|
| 786 |
+
year = {2004}}
|
| 787 |
+
|
| 788 |
+
@article{Benabou2002,
|
| 789 |
+
author = {Roland Benabou and Jean Tirole},
|
| 790 |
+
date-added = {2019-05-28 17:47:17 +0000},
|
| 791 |
+
date-modified = {2019-05-28 17:47:51 +0000},
|
| 792 |
+
journal = {The Quarterly Journal of Economics},
|
| 793 |
+
number = {3},
|
| 794 |
+
pages = {871-915},
|
| 795 |
+
title = {Self-Confidence and Personal Motivation},
|
| 796 |
+
volume = {117},
|
| 797 |
+
year = {2002}}
|
| 798 |
+
|
| 799 |
+
@unpublished{Woodford2012,
|
| 800 |
+
author = {Michael Woodford},
|
| 801 |
+
date-added = {2019-05-28 17:45:04 +0000},
|
| 802 |
+
date-modified = {2019-11-08 17:31:22 -0500},
|
| 803 |
+
note = {Unpublished},
|
| 804 |
+
title = {Inattentive Valuation and Reference-Dependent Choice},
|
| 805 |
+
year = {2012}}
|
| 806 |
+
|
| 807 |
+
@article{Paserman2008,
|
| 808 |
+
author = {Paserman, M. Daniele},
|
| 809 |
+
date-added = {2019-05-28 17:44:42 +0000},
|
| 810 |
+
date-modified = {2021-07-25 15:14:29 -0600},
|
| 811 |
+
journal = {The Economic Journal},
|
| 812 |
+
number = {531},
|
| 813 |
+
pages = {1418--1452},
|
| 814 |
+
publisher = {Wiley Online Library},
|
| 815 |
+
title = {Job Search and Hyperbolic Discounting: Structural Estimation and Policy Evaluation},
|
| 816 |
+
volume = {118},
|
| 817 |
+
year = {2008},
|
| 818 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxBbLi4vLi4vLi4vLi4vLi4vTGlicmFyeS9DYWNoZXMvY29tLmFwcGxlLmJpcmQvc2Vzc2lvbi9nLzkzM0ZGMjEwLUM5MDAtNDlGNS1BREU1LUQ4Mjc1MjNGNDcwOE8RAiAAAAAAAiAAAgAADEJMT0NLV09PRC1IRAAAAAAAAAAAAAAAAAAAAM0Ypx9IKwAAAZ2TPx85MzNGRjIxMC1DOTAwLTQ5RjUtQURFNSMxQzVEMDk3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABxdCX0LDfKAAAAAAAAAAAAAUABgAACSAAAAAAAAAAAAAAAAAAAAABZwAAEAAIAADNGO1vAAAAEQAIAADQsSV4AAAAAQAcAZ2TPwGdkz4BnZM9AAZP4wADVekAA1XPAANVxgACAGtCTE9DS1dPT0QtSEQ6VXNlcnM6AGJsb2Nrd29vZDoATGlicmFyeToAQ2FjaGVzOgBjb20uYXBwbGUuYmlyZDoAc2Vzc2lvbjoAZzoAOTMzRkYyMTAtQzkwMC00OUY1LUFERTUjMUM1RDA5NwAADgBKACQAOQAzADMARgBGADIAMQAwAC0AQwA5ADAAMAAtADQAOQBGADUALQBBAEQARQA1AC0ARAA4ADIANwA1ADIAMwBGADQANwAwADgADwAaAAwAQgBMAE8AQwBLAFcATwBPAEQALQBIAEQAEgBcVXNlcnMvYmxvY2t3b29kL0xpYnJhcnkvQ2FjaGVzL2NvbS5hcHBsZS5iaXJkL3Nlc3Npb24vZy85MzNGRjIxMC1DOTAwLTQ5RjUtQURFNS1EODI3NTIzRjQ3MDgAEwABLwAAFQACABD//wAAAAgADQAaACQAggAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAKm}}
|
| 819 |
+
|
| 820 |
+
@article{Gruber2004,
|
| 821 |
+
author = {Gruber, Jonathan and K{\H{o}}szegi, Botond},
|
| 822 |
+
date-added = {2019-05-28 17:44:25 +0000},
|
| 823 |
+
date-modified = {2019-05-28 17:44:25 +0000},
|
| 824 |
+
journal = {Journal of Public Economics},
|
| 825 |
+
keywords = {behavioral, opt_nudge},
|
| 826 |
+
number = {9},
|
| 827 |
+
pages = {1959--1987},
|
| 828 |
+
publisher = {Elsevier},
|
| 829 |
+
title = {Tax incidence when individuals are time-inconsistent: the case of cigarette excise taxes},
|
| 830 |
+
volume = {88},
|
| 831 |
+
year = {2004},
|
| 832 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxB4Li4vLi4vLi4vLi4vLi4vTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzLzRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UmVhZGRsZURvY3NJUGFkL0RvY3VtZW50cy9MaWJyYXJ5L0dydWJlcl9Lb3N6ZWdpXzIwMDQucGRmTxECRAAAAAACRAACAAAMQkxPQ0tXT09ELUhEAAAAAAAAAAAAAAAAAAAAzRinH0grAAABOmPcF0dydWJlcl9Lb3N6ZWdpXzIwMDQucGRmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIbCyXPkdVYAAAAAAAAAAAABQAGAAAJIAAAAAAAAAAAAAAAAAAAAAdMaWJyYXJ5AAAQAAgAAM0Y7W8AAAARAAgAAM+SDZgAAAABABwBOmPcANhhHADYYRsAFzC4AANV6QADVc8AA1XGAAIAhkJMT0NLV09PRC1IRDpVc2VyczoAYmxvY2t3b29kOgBMaWJyYXJ5OgBNb2JpbGUgRG9jdW1lbnRzOgA0WTY4MjcyTE44fmNvbX5yZWFkZGxlflIjRDg2MTFCOgBEb2N1bWVudHM6AExpYnJhcnk6AEdydWJlcl9Lb3N6ZWdpXzIwMDQucGRmAA4AMAAXAEcAcgB1AGIAZQByAF8ASwBvAHMAegBlAGcAaQBfADIAMAAwADQALgBwAGQAZgAPABoADABCAEwATwBDAEsAVwBPAE8ARAAtAEgARAASAHlVc2Vycy9ibG9ja3dvb2QvTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzLzRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UmVhZGRsZURvY3NJUGFkL0RvY3VtZW50cy9MaWJyYXJ5L0dydWJlcl9Lb3N6ZWdpXzIwMDQucGRmAAATAAEvAAAVAAIAEP//AAAACAANABoAJACfAAAAAAAAAgEAAAAAAAAABQAAAAAAAAAAAAAAAAAAAuc=}}
|
| 833 |
+
|
| 834 |
+
@article{gabaix2014,
|
| 835 |
+
author = {Xavier Gabaix},
|
| 836 |
+
date-added = {2019-05-28 17:44:15 +0000},
|
| 837 |
+
date-modified = {2019-05-28 17:44:15 +0000},
|
| 838 |
+
journal = {Quarterly Journal of Economics},
|
| 839 |
+
number = {4},
|
| 840 |
+
pages = {1661-1710},
|
| 841 |
+
title = {A Sparsity Based Model of Bounded Rationality},
|
| 842 |
+
volume = {129},
|
| 843 |
+
year = {2014}}
|
| 844 |
+
|
| 845 |
+
@article{DellaVigna2009,
|
| 846 |
+
author = {DellaVigna, Stefano},
|
| 847 |
+
date-added = {2019-05-28 17:44:01 +0000},
|
| 848 |
+
date-modified = {2019-05-28 17:44:01 +0000},
|
| 849 |
+
journal = {Journal of Economic Literature},
|
| 850 |
+
keywords = {behavioral},
|
| 851 |
+
number = {2},
|
| 852 |
+
pages = {315--372},
|
| 853 |
+
publisher = {Citeseer},
|
| 854 |
+
title = {Psychology and Economics: Evidence from the Field},
|
| 855 |
+
volume = {47},
|
| 856 |
+
year = {2009},
|
| 857 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxCGLi4vLi4vLi4vLi4vLi4vTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzLzRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UmVhZGRsZURvY3NJUGFkL0RvY3VtZW50cy9MaWJyYXJ5L0RlbGxhVmlnbmFfMjAwOV9iZWhhdmlvcmFsX3N1cnZleS5wZGZPEQJ2AAAAAAJ2AAIAAAxCTE9DS1dPT0QtSEQAAAAAAAAAAAAAAAAAAADNGKcfSCsAAAE6Y9wfRGVsbGFWaWduYV8yMDA5X2JlaCMxMzVDMTExLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATXBEc9q/CMAAAAAAAAAAAAFAAYAAAkgAAAAAAAAAAAAAAAAAAAAB0xpYnJhcnkAABAACAAAzRjtbwAAABEACAAAz2s0YwAAAAEAHAE6Y9wA2GEcANhhGwAXMLgAA1XpAANVzwADVcYAAgCOQkxPQ0tXT09ELUhEOlVzZXJzOgBibG9ja3dvb2Q6AExpYnJhcnk6AE1vYmlsZSBEb2N1bWVudHM6ADRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UiNEODYxMUI6AERvY3VtZW50czoATGlicmFyeToARGVsbGFWaWduYV8yMDA5X2JlaCMxMzVDMTExLnBkZgAOAEwAJQBEAGUAbABsAGEAVgBpAGcAbgBhAF8AMgAwADAAOQBfAGIAZQBoAGEAdgBpAG8AcgBhAGwAXwBzAHUAcgB2AGUAeQAuAHAAZABmAA8AGgAMAEIATABPAEMASwBXAE8ATwBEAC0ASABEABIAh1VzZXJzL2Jsb2Nrd29vZC9MaWJyYXJ5L01vYmlsZSBEb2N1bWVudHMvNFk2ODI3MkxOOH5jb21+cmVhZGRsZX5SZWFkZGxlRG9jc0lQYWQvRG9jdW1lbnRzL0xpYnJhcnkvRGVsbGFWaWduYV8yMDA5X2JlaGF2aW9yYWxfc3VydmV5LnBkZgAAEwABLwAAFQACABD//wAAAAgADQAaACQArQAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAMn}}
|
| 858 |
+
|
| 859 |
+
@article{DellaVigna2005,
|
| 860 |
+
author = {DellaVigna, Stefano and Paserman, M Daniele},
|
| 861 |
+
date-added = {2019-05-28 17:43:57 +0000},
|
| 862 |
+
date-modified = {2019-05-28 17:43:57 +0000},
|
| 863 |
+
journal = {Journal of Labor Economics},
|
| 864 |
+
number = {3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VmlnbmFfUGFzZXJtYW5fMjAwNS5wZGYAEwABLwAAFQACABD//wAAAAgADQAaACQApAAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAMA}}
|
| 869 |
+
|
| 870 |
+
@article{Beshears2008,
|
| 871 |
+
author = {Beshears, John and Choi, James J and Laibson, David and Madrian, Brigitte C},
|
| 872 |
+
date-added = {2019-05-28 17:43:25 +0000},
|
| 873 |
+
date-modified = {2019-05-28 17:43:25 +0000},
|
| 874 |
+
journal = {Journal of Public Economics},
|
| 875 |
+
keywords = {behavioral, opt_nudge},
|
| 876 |
+
number = {8},
|
| 877 |
+
pages = {1787--1794},
|
| 878 |
+
publisher = {Elsevier},
|
| 879 |
+
title = {How are preferences revealed?},
|
| 880 |
+
volume = {92},
|
| 881 |
+
year = {2008},
|
| 882 |
+
Bdsk-File-1 = {YnBsaXN0MDDSAQIDBFxyZWxhdGl2ZVBhdGhZYWxpYXNEYXRhXxB3Li4vLi4vLi4vLi4vLi4vTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzLzRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UmVhZGRsZURvY3NJUGFkL0RvY3VtZW50cy9MaWJyYXJ5L0Jlc2hlYXJzX2V0YWxfMjAwOC5wZGZPEQJAAAAAAAJAAAIAAAxCTE9DS1dPT0QtSEQAAAAAAAAAAAAAAAAAAADNGKcfSCsAAAE6Y9wWQmVzaGVhcnNfZXRhbF8yMDA4LnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUZH4M+R0zoAAAAAAAAAAAAFAAYAAAkgAAAAAAAAAAAAAAAAAAAAB0xpYnJhcnkAABAACAAAzRjtbwAAABEACAAAz5ILegAAAAEAHAE6Y9wA2GEcANhhGwAXMLgAA1XpAANVzwADVcYAAgCFQkxPQ0tXT09ELUhEOlVzZXJzOgBibG9ja3dvb2Q6AExpYnJhcnk6AE1vYmlsZSBEb2N1bWVudHM6ADRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UiNEODYxMUI6AERvY3VtZW50czoATGlicmFyeToAQmVzaGVhcnNfZXRhbF8yMDA4LnBkZgAADgAuABYAQgBlAHMAaABlAGEAcgBzAF8AZQB0AGEAbABfADIAMAAwADgALgBwAGQAZgAPABoADABCAEwATwBDAEsAVwBPAE8ARAAtAEgARAASAHhVc2Vycy9ibG9ja3dvb2QvTGlicmFyeS9Nb2JpbGUgRG9jdW1lbnRzLzRZNjgyNzJMTjh+Y29tfnJlYWRkbGV+UmVhZGRsZURvY3NJUGFkL0RvY3VtZW50cy9MaWJyYXJ5L0Jlc2hlYXJzX2V0YWxfMjAwOC5wZGYAEwABLwAAFQACABD//wAAAAgADQAaACQAngAAAAAAAAIBAAAAAAAAAAUAAAAAAAAAAAAAAAAAAALi}}
|
| 883 |
+
|
| 884 |
+
@article{milkman2014,
|
| 885 |
+
author = {Katherine L. Milkman and Julia A. Minson and Kevin G. M. Volpp},
|
| 886 |
+
date-added = {2019-05-27 23:31:27 +0000},
|
| 887 |
+
date-modified = {2019-05-27 23:32:23 +0000},
|
| 888 |
+
journal = {Management Science},
|
| 889 |
+
number = {2},
|
| 890 |
+
pages = {283-299},
|
| 891 |
+
title = {Holding the Hunger Games Hostage at the Gym: An Evaluations of Temptation Bundling},
|
| 892 |
+
volume = {60},
|
| 893 |
+
year = {2014}}
|
| 894 |
+
|
| 895 |
+
@article{Sun2014,
|
| 896 |
+
author = {Kai Sun and Jing Song and Larry M. Manheim and Rowland W. Chang and Kent C. Kwoh and Pamela A. Semanik and Charles B. Eaton and Dorothy D. Dunlop},
|
| 897 |
+
date-added = {2019-05-27 15:30:58 +0000},
|
| 898 |
+
date-modified = {2019-05-27 15:32:50 +0000},
|
| 899 |
+
journal = {Seminars in Arthritis and Rheumatism},
|
| 900 |
+
number = {3},
|
| 901 |
+
pages = {264-270},
|
| 902 |
+
title = {Relationship of Meeting Physical Activity Guidelines with Quality Adjusted Life Years},
|
| 903 |
+
volume = {44},
|
| 904 |
+
year = {2014}}
|
| 905 |
+
|
| 906 |
+
@article{Blair1989,
|
| 907 |
+
author = {Steven N. Blair and Harold W. Kohl and Ralph S. Paffenbarger and Debra G. Clark and Kenneth H. Cooper and Larry W. Gibbons},
|
| 908 |
+
date-added = {2019-05-27 15:27:17 +0000},
|
| 909 |
+
date-modified = {2019-05-27 15:30:15 +0000},
|
| 910 |
+
journal = {Journal of the American Medical Association},
|
| 911 |
+
number = {17},
|
| 912 |
+
pages = {2395-2401},
|
| 913 |
+
title = {Physical Fitness and All-Cause Mortality A Prospective Study of Healthy Men and Women},
|
| 914 |
+
volume = {262},
|
| 915 |
+
year = {1989}}
|
| 916 |
+
|
| 917 |
+
@article{Neumann2014,
|
| 918 |
+
author = {Peter J. Neumann and Joushua T. Cohen and Milton C. Weinstein},
|
| 919 |
+
date-added = {2019-05-27 15:25:01 +0000},
|
| 920 |
+
date-modified = {2019-05-27 16:19:07 +0000},
|
| 921 |
+
journal = {The New England Journal of Medicine},
|
| 922 |
+
number = {9},
|
| 923 |
+
pages = {796-797},
|
| 924 |
+
title = {Updating Cost-Effectiveness: The Curious Resilience of the \$50,000 per-QALY-Threshold},
|
| 925 |
+
volume = {371},
|
| 926 |
+
year = {2014}}
|
| 927 |
+
|
| 928 |
+
@article{hansen1982,
|
| 929 |
+
author = {Lars Peter Hansen},
|
| 930 |
+
date-added = {2019-05-21 00:45:18 +0000},
|
| 931 |
+
date-modified = {2019-05-21 00:46:51 +0000},
|
| 932 |
+
journal = {Econometrica},
|
| 933 |
+
number = {4},
|
| 934 |
+
pages = {1029-1054},
|
| 935 |
+
title = {Large Sample Properties of Generalized Method of Moments Estimators},
|
| 936 |
+
volume = {50},
|
| 937 |
+
year = {1982}}
|
| 938 |
+
|
| 939 |
+
@article{Odonoghue2001,
|
| 940 |
+
author = {Ted O'Donoghue and Matthew Rabin},
|
| 941 |
+
date-added = {2019-05-16 01:58:22 +0000},
|
| 942 |
+
date-modified = {2019-05-16 01:59:28 +0000},
|
| 943 |
+
journal = {Quarterly Journal of Economics},
|
| 944 |
+
number = {1},
|
| 945 |
+
pages = {121-160},
|
| 946 |
+
title = {Choice and Procrastination},
|
| 947 |
+
volume = {116},
|
| 948 |
+
year = {2001}}
|
| 949 |
+
|
| 950 |
+
@article{Gul2001,
|
| 951 |
+
author = {Faruk Gul and Wolfgang Pesendorfer},
|
| 952 |
+
date-added = {2019-05-16 01:56:09 +0000},
|
| 953 |
+
date-modified = {2019-05-16 01:56:55 +0000},
|
| 954 |
+
journal = {Econometrica},
|
| 955 |
+
number = {6},
|
| 956 |
+
pages = {1403-1435},
|
| 957 |
+
title = {Temptation and Self-Control},
|
| 958 |
+
volume = {69},
|
| 959 |
+
year = {2001}}
|
| 960 |
+
|
| 961 |
+
@article{fudenberg2006,
|
| 962 |
+
author = {Drew Fudenberg and David K. Levine},
|
| 963 |
+
date-added = {2019-05-16 01:42:58 +0000},
|
| 964 |
+
date-modified = {2019-05-16 01:44:06 +0000},
|
| 965 |
+
journal = {American Economic Review},
|
| 966 |
+
number = {5},
|
| 967 |
+
pages = {1449-1476},
|
| 968 |
+
title = {A Dual-Self Model of Impulse Control},
|
| 969 |
+
volume = {96},
|
| 970 |
+
year = {2006}}
|
| 971 |
+
|
| 972 |
+
@article{kaur2015,
|
| 973 |
+
abstract = {Self-control problems change the logic of agency theory by partly aligning the interests of the firm and worker: both now value contracts that elicit future effort. Findings from a year-long field experiment with full-time data entry workers support this idea. First, workers increase output by voluntarily choosing dominated contracts (which penalize low output but give no additional rewards for high output). Second, effort increases closer to (randomly assigned) paydays. Third, the contract and payday effects are strongly correlated within workers, and this correlation grows with experience. We suggest that workplace features such as high-powered incentives or effort monitoring may provide self-control benefits.},
|
| 974 |
+
author = {Kaur, Supreet and Kremer, Michael and Mullainathan, Sendhil},
|
| 975 |
+
date = {2015-12-01},
|
| 976 |
+
date-modified = {2021-07-27 01:38:16 -0600},
|
| 977 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\4V5JVZ8H\\Kaur et al. - 2015 - Self-Control at Work.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\MXNGT7AR\\683822.html:text/html},
|
| 978 |
+
issn = {0022-3808},
|
| 979 |
+
journal = {Journal of Political Economy},
|
| 980 |
+
journaltitle = {Journal of Political Economy},
|
| 981 |
+
number = {6},
|
| 982 |
+
pages = {1227--1277},
|
| 983 |
+
shortjournal = {Journal of Political Economy},
|
| 984 |
+
title = {Self-Control at Work},
|
| 985 |
+
volume = {123},
|
| 986 |
+
year = {2015},
|
| 987 |
+
Bdsk-Url-1 = {https://www.journals.uchicago.edu/doi/abs/10.1086/683822},
|
| 988 |
+
Bdsk-Url-2 = {https://doi.org/10.1086/683822}}
|
| 989 |
+
|
| 990 |
+
@article{heidhues2009,
|
| 991 |
+
author = {Paul Heidhues and Botond K{\H{o}}szegi},
|
| 992 |
+
date-modified = {2021-07-25 13:51:28 -0600},
|
| 993 |
+
file = {Heidhues and K{\H o}szegi - 2009 - Futile Attempts at Self-Control.pdf:C\:\\Users\\w63k131\\Zotero\\storage\\H58JLC29\\Heidhues and K{\H o}szegi - 2009 - Futile Attempts at Self-Control.pdf:application/pdf},
|
| 994 |
+
issn = {1542-4766, 1542-4774},
|
| 995 |
+
journal = {Journal of the European Economic Association},
|
| 996 |
+
journaltitle = {Journal of the European Economic Association},
|
| 997 |
+
langid = {english},
|
| 998 |
+
number = {2},
|
| 999 |
+
pages = {423--434},
|
| 1000 |
+
title = {Futile Attempts at Self-Control},
|
| 1001 |
+
volume = {7},
|
| 1002 |
+
year = {2009},
|
| 1003 |
+
Bdsk-Url-1 = {https://academic.oup.com/jeea/article-lookup/doi/10.1162/JEEA.2009.7.2-3.423},
|
| 1004 |
+
Bdsk-Url-2 = {https://doi.org/10.1162/JEEA.2009.7.2-3.423}}
|
| 1005 |
+
|
| 1006 |
+
@article{exley2017,
|
| 1007 |
+
abstract = {Previous research often interprets the choice to restrict one's future opportunity set as evidence for sophisticated time inconsistency. We propose an additional mechanism that may contribute to the demand for commitment technology: the desire to signal to others. We present a field experiment where participants can choose to give up money if they do not follow through with an action. When commitment choices are made public rather than kept private, we find significantly higher uptake rates.Data are available at http://dx.doi.org/10.1287/mnsc.2016.2501.This paper was accepted by Uri Gneezy, behavioral economics.},
|
| 1008 |
+
author = {Exley, Christine L. and Naecker, Jeffrey K.},
|
| 1009 |
+
date = {2017-10},
|
| 1010 |
+
date-modified = {2021-07-27 01:37:46 -0600},
|
| 1011 |
+
file = {Full Text:C\:\\Users\\w63k131\\Zotero\\storage\\NTHW4TIQ\\Exley and Naecker - 2016 - Observability Increases the Demand for Commitment .pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\HZ5VZSAR\\mnsc.2016.html:text/html},
|
| 1012 |
+
issn = {0025-1909},
|
| 1013 |
+
journal = {Management Science},
|
| 1014 |
+
journaltitle = {Management Science},
|
| 1015 |
+
number = {10},
|
| 1016 |
+
pages = {3262--3267},
|
| 1017 |
+
shortjournal = {Management Science},
|
| 1018 |
+
title = {Observability Increases the Demand for Commitment Devices},
|
| 1019 |
+
volume = {63},
|
| 1020 |
+
year = {2017},
|
| 1021 |
+
Bdsk-Url-1 = {https://pubsonline.informs.org/doi/10.1287/mnsc.2016.2501},
|
| 1022 |
+
Bdsk-Url-2 = {https://doi.org/10.1287/mnsc.2016.2501}}
|
| 1023 |
+
|
| 1024 |
+
@article{mckelvey1995,
|
| 1025 |
+
abstract = {We investigate the use of standard statistical models for quantal choice in a game theoretic setting. Players choose strategies based on relative expected utility and assume other players do so as well. We define a quantal response equilibrium ({ORE}) as a fixed point of this process and establish existence. For a logit specification of the error structure, we show that as the error goes to zero, {QRE} approaches a subset of Nash equilibria and also implies a unique selection from the set of Nash equilibria in generic games. We fit the model to a variety of experimental data sets by using maximum likelihood estimation. Journal of Economic Literature Classification Numbers: C19, C44, C72, C92.},
|
| 1026 |
+
author = {{McKelvey}, Richard D. and Palfrey, Thomas R.},
|
| 1027 |
+
date = {1995-07-01},
|
| 1028 |
+
date-modified = {2021-07-27 01:35:01 -0600},
|
| 1029 |
+
file = {ScienceDirect Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\PY3UMW6N\\McKelvey and Palfrey - 1995 - Quantal Response Equilibria for Normal Form Games.pdf:application/pdf;ScienceDirect Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\RMXG4CF9\\S0899825685710238.html:text/html},
|
| 1030 |
+
issn = {0899-8256},
|
| 1031 |
+
journal = {Games and Economic Behavior},
|
| 1032 |
+
journaltitle = {Games and Economic Behavior},
|
| 1033 |
+
number = {1},
|
| 1034 |
+
pages = {6--38},
|
| 1035 |
+
shortjournal = {Games and Economic Behavior},
|
| 1036 |
+
title = {Quantal Response Equilibria for Normal Form Games},
|
| 1037 |
+
volume = {10},
|
| 1038 |
+
year = {1995},
|
| 1039 |
+
Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0899825685710238},
|
| 1040 |
+
Bdsk-Url-2 = {https://doi.org/10.1006/game.1995.1023}}
|
| 1041 |
+
|
| 1042 |
+
@article{khaw2017,
|
| 1043 |
+
abstract = {The theory of expected utility maximization ({EUM}) explains risk aversion as due to diminishing marginal utility of wealth. However, observed choices between risky lotteries are difficult to reconcile with {EUM}: for example, in the laboratory, subjects' responses on individual trials involve a random element, and cannot be predicted purely from the terms offered; and subjects often appear to be too risk averse with regard to small gambles (while still accepting sufficiently favorable large gambles) to be consistent with any utility-of-wealth function. We propose a unified explanation for both anomalies, similar to the explanation given for related phenomena in the case of perceptual judgments: they result from judgments based on imprecise (and noisy) mental representation of the decision situation. In this model, risk aversion is predicted without any need for a nonlinear utility-of-wealth function, and instead results from a sort of perceptual bias --- but one that represents an optimal Bayesian decision, given the limitations of the mental representation of the situation. We propose a specific quantitative model of the mental representation of a simple lottery choice problem, based on other evidence regarding numerical cognition, and test its ability to explain the choice frequencies that we observe in a laboratory experiment.},
|
| 1044 |
+
author = {Khaw, Mel Win and Li, Ziang and Woodford, Michael},
|
| 1045 |
+
date-modified = {2021-07-25 15:05:51 -0600},
|
| 1046 |
+
journal = {Review of Economic Studies},
|
| 1047 |
+
number = {4},
|
| 1048 |
+
pages = {1979--2013},
|
| 1049 |
+
title = {Cognitive Imprecision and Small-Stakes Risk Aversion},
|
| 1050 |
+
volume = {88},
|
| 1051 |
+
year = {2021},
|
| 1052 |
+
Bdsk-Url-1 = {http://www.nber.org/papers/w23294},
|
| 1053 |
+
Bdsk-Url-2 = {https://doi.org/10.3386/w23294}}
|
| 1054 |
+
|
| 1055 |
+
@article{john2020,
|
| 1056 |
+
abstract = {Commitment products can remedy self-control problems. However, imperfect
|
| 1057 |
+
knowledge about their preferences may (discontinuously) lead individuals to select into
|
| 1058 |
+
incentive-incompatible commitments, which reduce their welfare. I conducted a field
|
| 1059 |
+
experiment in which low-income individuals were randomly offered a new installmentsavings commitment account. Individuals chose a personalized savings plan and a default
|
| 1060 |
+
penalty themselves. A majority appears to choose a harmful contract: While the average
|
| 1061 |
+
effect on bank savings is large, 55% of clients default and incur monetary losses. A possible
|
| 1062 |
+
explanation is that the chosen penalties were too low (the commitment was too weak) to
|
| 1063 |
+
overcome clients' self-control problems. Measures of sophisticated hyperbolic discounting
|
| 1064 |
+
correlate negatively with take-up and default, and positively with penalty choices. This
|
| 1065 |
+
finding is consistent with theoretical predictions that partial sophisticates adopt weak
|
| 1066 |
+
commitments and then default, whereas full sophisticates are more cautious about committing, but better able to choose incentive-compatible contracts.},
|
| 1067 |
+
author = {John, Anett},
|
| 1068 |
+
date-modified = {2021-07-27 01:40:33 -0600},
|
| 1069 |
+
file = {John - When Commitment Fails -- Evidence from a Field Expe.pdf:C\:\\Users\\w63k131\\Zotero\\storage\\R92E3DTR\\John - When Commitment Fails -- Evidence from a Field Expe.pdf:application/pdf},
|
| 1070 |
+
journal = {Management Science},
|
| 1071 |
+
langid = {english},
|
| 1072 |
+
number = {2},
|
| 1073 |
+
pages = {503--529},
|
| 1074 |
+
title = {When Commitment Fails: Evidence from a Field Experiment},
|
| 1075 |
+
volume = {66},
|
| 1076 |
+
year = {2020}}
|
| 1077 |
+
|
| 1078 |
+
@article{gine2010,
|
| 1079 |
+
abstract = {We designed and tested a voluntary commitment product to help smokers quit smoking. The product ({CARES}) offered smokers a savings account in which they deposit funds for six months, after which they take a urine test for nicotine and cotinine. If they pass, their money is returned; otherwise, their money is forfeited to charity. Of
|
| 1080 |
+
smokers offered {CARES}, 11 percent took up, and smokers randomly offered {CARES} were 3 percentage points more likely to pass the 6-month test than the control group. More importantly, this effect
|
| 1081 |
+
persisted in surprise tests at 12 months, indicating that {CARES} produced
|
| 1082 |
+
lasting smoking cessation. ({JEL} D12, I12, O15)},
|
| 1083 |
+
author = {Xavier Gin{\'e} and Dean Karlan and Jonathan Zinman},
|
| 1084 |
+
date = {2010-10},
|
| 1085 |
+
date-modified = {2021-07-27 01:38:00 -0600},
|
| 1086 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\PKT3RAEU\\Gin{\'e} et al. - 2010 - Put Your Money Where Your Butt Is A Commitment Co.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\UV43SVEF\\articles.html:text/html},
|
| 1087 |
+
issn = {1945-7782},
|
| 1088 |
+
journal = {American Economic Journal: Applied Economics},
|
| 1089 |
+
keywords = {Consumer Economics: Empirical Analysis, Health Production, Economic Development: Human Resources, Human Development, Income Distribution, Migration},
|
| 1090 |
+
langid = {english},
|
| 1091 |
+
number = {4},
|
| 1092 |
+
pages = {213--235},
|
| 1093 |
+
shorttitle = {Put Your Money Where Your Butt Is},
|
| 1094 |
+
title = {Put Your Money Where Your Butt Is: A Commitment Contract for Smoking Cessation},
|
| 1095 |
+
volume = {2},
|
| 1096 |
+
year = {2010},
|
| 1097 |
+
Bdsk-Url-1 = {https://www.aeaweb.org/articles?id=10.1257/app.2.4.213},
|
| 1098 |
+
Bdsk-Url-2 = {https://doi.org/10.1257/app.2.4.213}}
|
| 1099 |
+
|
| 1100 |
+
@article{schwartz2014,
|
| 1101 |
+
abstract = {We tested a voluntary self-control commitment device to help grocery shoppers make healthier food purchases. Participants, who were already enrolled in a large-scale incentive program that discounts the price of eligible groceries by 25\%, were offered the chance to put their discount on the line. Agreeing households pledged that they would increase their purchases of healthy food by 5 percentage points above their household baseline for each of 6 months. If they reached that goal, their discount was awarded as usual; otherwise, their discount was forfeited for that month. Thirty-six percent of households that were offered the binding commitment agreed; they subsequently showed an average 3.5-percentage-point increase in healthy grocery items purchased in each of the 6 months; households that declined the commitment and control-group households that were given a hypothetical option to precommit did not show such an increase. These results suggest that self-aware consumers will seize opportunities to create restrictive choice environments for themselves, even at some risk of financial loss.},
|
| 1102 |
+
author = {Schwartz, Janet and Mochon, Daniel and Wyper, Lauren and Maroba, Josiase and Patel, Deepak and Ariely, Dan},
|
| 1103 |
+
date = {2014-02-01},
|
| 1104 |
+
date-modified = {2021-07-27 10:03:19 -0600},
|
| 1105 |
+
file = {SAGE PDF Full Text:C\:\\Users\\w63k131\\Zotero\\storage\\V4UUC7SM\\Schwartz et al. - 2014 - Healthier by Precommitment.pdf:application/pdf},
|
| 1106 |
+
issn = {0956-7976},
|
| 1107 |
+
journal = {Psychological Science},
|
| 1108 |
+
journaltitle = {Psychological Science},
|
| 1109 |
+
langid = {english},
|
| 1110 |
+
number = {2},
|
| 1111 |
+
pages = {538--546},
|
| 1112 |
+
shortjournal = {Psychol Sci},
|
| 1113 |
+
title = {Healthier by Precommitment},
|
| 1114 |
+
volume = {25},
|
| 1115 |
+
year = {2014},
|
| 1116 |
+
Bdsk-Url-1 = {https://doi.org/10.1177/0956797613510950}}
|
| 1117 |
+
|
| 1118 |
+
@article{royer2015,
|
| 1119 |
+
abstract = {Financial incentives have shown strong positive short-run effects for problematic health behaviors that likely stem from time inconsistency. However, the effects often disappear once incentive programs end. This paper analyzes the results of a large-scale workplace field experiment to examine whether self-funded commitment contracts can improve the long-run effects of an incentive program. A four week incentive program targeting use of the company gym generated only small lasting effects on behavior. Those that also offered a commitment contract at the end of the program, however, showed demand for commitment and significant long-run changes, detectable even several years after the incentive ended. ({JEL} D03, I10, J32)},
|
| 1120 |
+
author = {Royer, Heather and Stehr, Mark and Sydnor, Justin},
|
| 1121 |
+
date = {2015-07},
|
| 1122 |
+
date-modified = {2021-07-27 01:35:54 -0600},
|
| 1123 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\HJLEPIQR\\Royer et al. - 2015 - Incentives, Commitments, and Habit Formation in Ex.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\3KSB5EKY\\articles.html:text/html},
|
| 1124 |
+
issn = {1945-7782},
|
| 1125 |
+
journal = {American Economic Journal: Applied Economics},
|
| 1126 |
+
journaltitle = {American Economic Journal: Applied Economics},
|
| 1127 |
+
keywords = {Behavioral Microeconomics: Underlying Principles, Health: General, Nonwage Labor Costs and Benefits, Private Pensions, Retirement Plans},
|
| 1128 |
+
langid = {english},
|
| 1129 |
+
number = {3},
|
| 1130 |
+
pages = {51--84},
|
| 1131 |
+
shorttitle = {Incentives, Commitments, and Habit Formation in Exercise},
|
| 1132 |
+
title = {Incentives, Commitments, and Habit Formation in Exercise: Evidence from a Field Experiment with Workers at a Fortune-500 Company},
|
| 1133 |
+
volume = {7},
|
| 1134 |
+
year = {2015},
|
| 1135 |
+
Bdsk-Url-1 = {https://www.aeaweb.org/articles?id=10.1257/app.20130327},
|
| 1136 |
+
Bdsk-Url-2 = {https://doi.org/10.1257/app.20130327}}
|
| 1137 |
+
|
| 1138 |
+
@article{augenblick2015,
|
| 1139 |
+
abstract = {Experimental tests of dynamically inconsistent time preferences have largely relied on choices over time-dated monetary rewards. Several recent studies have failed to find the standard patterns of present bias. However, such monetary studies contain often-discussed confounds. In this article, we sidestep these confounds and investigate choices over consumption (real effort) in a longitudinal experiment. We pair this effort study with a companion monetary discounting study. We confirm very limited time inconsistency in monetary choices. However, subjects show considerably more present bias in effort. Furthermore, present bias in the allocation of work has predictive power for demand of a meaningfully binding commitment device. Therefore our findings validate a key implication of models of dynamic inconsistency, with corresponding policy implications. {JEL} Codes: C91, D12, D81.},
|
| 1140 |
+
author = {Augenblick, Ned and Niederle, Muriel and Sprenger, Charles},
|
| 1141 |
+
date = {2015},
|
| 1142 |
+
date-modified = {2021-07-25 13:41:06 -0600},
|
| 1143 |
+
file = {RePEc Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\XKUP7B2D\\v_3a130_3ay_3a2015_3ai_3a3_3ap_3a1067-1115..html:text/html},
|
| 1144 |
+
journal = {The Quarterly Journal of Economics},
|
| 1145 |
+
journaltitle = {The Quarterly Journal of Economics},
|
| 1146 |
+
number = {3},
|
| 1147 |
+
pages = {1067--1115},
|
| 1148 |
+
shorttitle = {Working over Time},
|
| 1149 |
+
title = {Working Over Time: Dynamic Inconsistency in Real Effort Tasks},
|
| 1150 |
+
urldate = {2019-03-24},
|
| 1151 |
+
volume = {130},
|
| 1152 |
+
year = {2015},
|
| 1153 |
+
Bdsk-Url-1 = {https://econpapers.repec.org/article/oupqjecon/v_3a130_3ay_3a2015_3ai_3a3_3ap_3a1067-1115..htm}}
|
| 1154 |
+
|
| 1155 |
+
@article{kaur2010,
|
| 1156 |
+
author = {Kaur, Supreet and Kremer, Michael and Mullainathan, Sendhil},
|
| 1157 |
+
date = {2010},
|
| 1158 |
+
issn = {0002-8282},
|
| 1159 |
+
journal = {The American Economic Review},
|
| 1160 |
+
journaltitle = {The American Economic Review},
|
| 1161 |
+
number = {2},
|
| 1162 |
+
pages = {624--628},
|
| 1163 |
+
title = {Self-Control and the Development of Work Arrangements},
|
| 1164 |
+
url = {https://www.jstor.org/stable/27805070},
|
| 1165 |
+
urldate = {2019-03-24},
|
| 1166 |
+
volume = {100},
|
| 1167 |
+
year = {2010},
|
| 1168 |
+
Bdsk-Url-1 = {https://www.jstor.org/stable/27805070}}
|
| 1169 |
+
|
| 1170 |
+
@article{sadoffsprenger2019,
|
| 1171 |
+
abstract = {Despite the great deal of research on dynamic inconsistency in time preferences, few studies have ventured into investigating the question in a natural context. To address this gap, we conduct a natural field experiment with over 200 customers at a grocery store to investigate dynamic inconsistency and the demand for commitment in food choice. Over a 3 week time period, subjects are invited to allocate and re-allocate food items received as part of a grocery delivery program. We observe substantial dynamic inconsistency in our experiment, as well as a demand for commitment among a non-negligible number of subjects. Interestingly, individuals who demand commitment are more likely to be dynamically consistent in their prior behavior. For academics, our work provides direct evidence of dynamic inconsistency in consumption choices in the field and points towards potential extensions to models of temptation. For policy-makers, our findings provide insights on innovations to alter food choices.},
|
| 1172 |
+
author = {Sadoff, Sally and Samek, Anya Savikhin and Sprenger, Charles},
|
| 1173 |
+
date-modified = {2019-11-07 17:32:29 -0500},
|
| 1174 |
+
journal = {Review of Economic Studies},
|
| 1175 |
+
pages = {1--35},
|
| 1176 |
+
title = {Dynamic Inconsistency in Food Choice: Experimental Evidence from a Food Desert},
|
| 1177 |
+
year = {2019},
|
| 1178 |
+
Bdsk-Url-1 = {https://papers.ssrn.com/abstract=2572821}}
|
| 1179 |
+
|
| 1180 |
+
@article{acland2018,
|
| 1181 |
+
abstract = {Abstract We conduct an experiment on an online game, exploring the effect on gameplay behavior of voluntary commitment devices that allow players to limit their gameplay. Approximately 25\% of players use the devices. Median and 75th percentile device users use devices approximately 60 and 100\% of the time, respectively. Players who chose to use the device were those who had previously played longer and more frequently than those who chose not to use the device. Offering the commitment devices decreased session length and session frequency by 2.8 and 6.1\%, respectively, while increasing weeks of play by 5.5\%. Our results are consistent with some players having self-identified self-control problems, leading to longer and more frequent play than they would prefer, and to demand for commitment, and also with commitment devices creating a more rewarding experience, leading to longer-lasting involvement with the game. Our results suggest incentivizing or requiring commitment devices in computer games.},
|
| 1182 |
+
author = {Acland, Dan and Chow, Vinci},
|
| 1183 |
+
date = {2018},
|
| 1184 |
+
date-modified = {2021-07-25 13:41:44 -0600},
|
| 1185 |
+
file = {Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\ES8572PM\\v4y2018i1d10.1007_s40881-018-0048-3.html:text/html},
|
| 1186 |
+
journal = {Journal of the Economic Science Association},
|
| 1187 |
+
keywords = {Commitment devices, Libertarian paternalism, Online experiment, Online games, Self-control},
|
| 1188 |
+
langid = {english},
|
| 1189 |
+
number = {1},
|
| 1190 |
+
pages = {46--62},
|
| 1191 |
+
shorttitle = {Self-control and demand for commitment in online game playing},
|
| 1192 |
+
title = {Self-Control and Demand for Commitment in Online Game Playing: Evidence from a Field Experiment},
|
| 1193 |
+
urldate = {2019-03-24},
|
| 1194 |
+
volume = {4},
|
| 1195 |
+
year = {2018},
|
| 1196 |
+
Bdsk-Url-1 = {https://ideas.repec.org/a/spr/jesaex/v4y2018i1d10.1007_s40881-018-0048-3.html}}
|
| 1197 |
+
|
| 1198 |
+
@article{toussaert2018,
|
| 1199 |
+
abstract = {Unlike present-biased individuals, agents who suffer self-control costs as in Gul and Pesendorfer, 2001 may choose to restrict their choice set even when they expect to resist temptation. To identify these self-control types, I design an experiment in which the temptation was to read a story during a tedious task. The identification strategy relies on a two-step procedure. First, I measure commitment demand by eliciting subjects' preferences over menus that did or did not allow access to the story. I then implement preferences using a random mechanism, allowing to observe subjects who faced the choice yet preferred commitment. A quarter to a third of subjects can be classified as self-control types according to their menu preferences. When confronted with the choice, virtually all of them behaved as they anticipated and resisted temptation. These findings suggest that policies restricting the availability of tempting options could have larger welfare benefits than predicted by standard models of present bias.},
|
| 1200 |
+
author = {Toussaert, S{\'e}verine},
|
| 1201 |
+
date = {2018},
|
| 1202 |
+
date-modified = {2021-07-27 01:36:34 -0600},
|
| 1203 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\EN9G3BBN\\Toussaert - 2018 - Eliciting Temptation and Self-Control Through Menu.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\HM6CP22U\\ECTA14172.html:text/html},
|
| 1204 |
+
issn = {1468-0262},
|
| 1205 |
+
journal = {Econometrica},
|
| 1206 |
+
journaltitle = {Econometrica},
|
| 1207 |
+
keywords = {curiosity, experiment, menu choice, self-control, Temptation},
|
| 1208 |
+
langid = {english},
|
| 1209 |
+
number = {3},
|
| 1210 |
+
pages = {859--889},
|
| 1211 |
+
rights = {{\copyright} 2018 The Econometric Society},
|
| 1212 |
+
shorttitle = {Eliciting Temptation and Self-Control Through Menu Choices},
|
| 1213 |
+
title = {Eliciting Temptation and Self-Control Through Menu Choices: A Lab Experiment},
|
| 1214 |
+
volume = {86},
|
| 1215 |
+
year = {2018},
|
| 1216 |
+
Bdsk-Url-1 = {https://onlinelibrary.wiley.com/doi/abs/10.3982/ECTA14172},
|
| 1217 |
+
Bdsk-Url-2 = {https://doi.org/10.3982/ECTA14172}}
|
| 1218 |
+
|
| 1219 |
+
@article{schilbach2019,
|
| 1220 |
+
author = {Schilbach, Frank},
|
| 1221 |
+
date = {2019},
|
| 1222 |
+
date-modified = {2021-07-27 01:36:14 -0600},
|
| 1223 |
+
file = {Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\R5QWSEVK\\articles.html:text/html},
|
| 1224 |
+
issn = {0002-8282},
|
| 1225 |
+
journal = {American Economic Review},
|
| 1226 |
+
journaltitle = {American Economic Review},
|
| 1227 |
+
langid = {english},
|
| 1228 |
+
number = {4},
|
| 1229 |
+
pages = {1290--1322},
|
| 1230 |
+
shorttitle = {Alcohol and Self-Control},
|
| 1231 |
+
title = {Alcohol and Self-Control: A Field Experiment in India},
|
| 1232 |
+
volume = {109},
|
| 1233 |
+
year = {2019},
|
| 1234 |
+
Bdsk-Url-1 = {https://www.aeaweb.org/articles?id=10.1257/aer.20170458},
|
| 1235 |
+
Bdsk-Url-2 = {https://doi.org/10.1257/aer.20170458}}
|
| 1236 |
+
|
| 1237 |
+
@article{sadoffjpe2019,
|
| 1238 |
+
abstract = {A large literature examines the use of recipient contribution requirements in social programs to target people who most need and value aid. Yet little is known about public support for such requirements. In a field experiment with a nationally representative sample, we examine the effect of recipient contributions on charitable donations to a food aid program. The response to recipient monetary contributions is non-monotonic: donations increase when recipients make small monetary contributions and return to baseline under large recipient contributions. Recipient time contribution requirements also increase program support. Results from additional treatments suggest that individuals use contribution requirements to increase both allocative efficiency (screening recipients who most value the good) and targeting efficiency (screening recipients most in need). Our work informs the design of social programs, which must respond to the preferences of voters and donors who provide political and financial support.},
|
| 1239 |
+
author = {Sadoff, Sally and Samek, Anya},
|
| 1240 |
+
date = {2019-01-01},
|
| 1241 |
+
date-modified = {2019-11-07 17:23:41 -0500},
|
| 1242 |
+
doi = {10.1016/j.jpubeco.2018.10.011},
|
| 1243 |
+
file = {ScienceDirect Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\IL4MJZE3\\Sadoff and Samek - 2019 - The effect of recipient contribution requirements .pdf:application/pdf;ScienceDirect Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\EELHFDGY\\S0047272718302093.html:text/html},
|
| 1244 |
+
issn = {0047-2727},
|
| 1245 |
+
journal = {Journal of Public Economics},
|
| 1246 |
+
journaltitle = {Journal of Public Economics},
|
| 1247 |
+
keywords = {Charitable giving, Experiment, Recipient contributions, Social programs},
|
| 1248 |
+
pages = {1--16},
|
| 1249 |
+
shortjournal = {Journal of Public Economics},
|
| 1250 |
+
title = {The effect of recipient contribution requirements on support for social programs},
|
| 1251 |
+
url = {http://www.sciencedirect.com/science/article/pii/S0047272718302093},
|
| 1252 |
+
urldate = {2019-03-24},
|
| 1253 |
+
volume = {169},
|
| 1254 |
+
year = {2019},
|
| 1255 |
+
Bdsk-Url-1 = {http://www.sciencedirect.com/science/article/pii/S0047272718302093},
|
| 1256 |
+
Bdsk-Url-2 = {https://doi.org/10.1016/j.jpubeco.2018.10.011}}
|
| 1257 |
+
|
| 1258 |
+
@article{augenblick2019,
|
| 1259 |
+
abstract = {Abstract. We experimentally investigate the time-inconsistent taste for immediate gratification and future-preference misprediction. Across 7 weeks, 100 partic},
|
| 1260 |
+
author = {Augenblick, Ned and Rabin, Matthew},
|
| 1261 |
+
date = {2019},
|
| 1262 |
+
date-modified = {2021-07-27 01:30:22 -0600},
|
| 1263 |
+
file = {Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\7ES28D7L\\4996235.html:text/html},
|
| 1264 |
+
journal = {The Review of Economic Studies},
|
| 1265 |
+
journaltitle = {The Review of Economic Studies},
|
| 1266 |
+
langid = {english},
|
| 1267 |
+
number = {3},
|
| 1268 |
+
pages = {941-975},
|
| 1269 |
+
shortjournal = {Rev Econ Stud},
|
| 1270 |
+
title = {An Experiment on Time Preference and Misprediction in Unpleasant Tasks},
|
| 1271 |
+
urldate = {2019-03-24},
|
| 1272 |
+
volume = {86},
|
| 1273 |
+
year = {2019},
|
| 1274 |
+
Bdsk-Url-1 = {https://academic.oup.com/restud/advance-article/doi/10.1093/restud/rdy019/4996235},
|
| 1275 |
+
Bdsk-Url-2 = {https://doi.org/10.1093/restud/rdy019}}
|
| 1276 |
+
|
| 1277 |
+
@article{odonoghue1999,
|
| 1278 |
+
abstract = {The authors examine self-control problems--modeled as time-inconsistent, present-biased preferences--in a model where a person must do an activity exactly once. They emphasize two distinctions: do activities involve immediate costs or immediate rewards, and are people sophisticated or naive about future self-control problems? Naive people procrastinate immediate-cost activities and preproperate--do too soon--immediate-reward activities. Sophistication mitigates procrastination but exacerbates preproperation. Moreover, with immediate costs, a small present bias can severely harm only naive people, whereas with immediate rewards it can severely harm only sophisticated people. Lessons for savings, addiction, and elsewhere are discussed.},
|
| 1279 |
+
author = {O'Donoghue, Ted and Rabin, Matthew},
|
| 1280 |
+
date = {1999-03},
|
| 1281 |
+
date-modified = {2021-07-27 01:35:20 -0600},
|
| 1282 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\FJYALIDC\\O'Donoghue and Rabin - 1999 - Doing It Now or Later.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\BN2M6H4I\\articles.html:text/html},
|
| 1283 |
+
issn = {0002-8282},
|
| 1284 |
+
journal = {American Economic Review},
|
| 1285 |
+
journaltitle = {American Economic Review},
|
| 1286 |
+
keywords = {Intertemporal Consumer Choice, Life Cycle Models and Saving, Consumer Economics: Theory},
|
| 1287 |
+
langid = {english},
|
| 1288 |
+
number = {1},
|
| 1289 |
+
pages = {103--124},
|
| 1290 |
+
title = {Doing It Now or Later},
|
| 1291 |
+
volume = {89},
|
| 1292 |
+
year = {1999},
|
| 1293 |
+
Bdsk-Url-1 = {https://www.aeaweb.org/articles?id=10.1257/aer.89.1.103},
|
| 1294 |
+
Bdsk-Url-2 = {https://doi.org/10.1257/aer.89.1.103}}
|
| 1295 |
+
|
| 1296 |
+
@incollection{harberger1964,
|
| 1297 |
+
author = {Harberger, Arnold},
|
| 1298 |
+
booktitle = {The role of direct and indirect taxes in the Federal Reserve System},
|
| 1299 |
+
date-modified = {2020-09-08 11:44:42 -0600},
|
| 1300 |
+
pages = {25--80},
|
| 1301 |
+
publisher = {Princeton University Press},
|
| 1302 |
+
title = {Taxation, Resource Allocation, and Welfare},
|
| 1303 |
+
year = {1964}}
|
| 1304 |
+
|
| 1305 |
+
@article{dellavigna2006,
|
| 1306 |
+
abstract = {How do consumers choose from a menu of contracts? We analyze a novel dataset
|
| 1307 |
+
from three U.S. health clubs with information on both the contractual choice and the
|
| 1308 |
+
day-to-day attendance decisions of 7,752 members over three years. The observed
|
| 1309 |
+
consumer behavior is difficult to reconcile with standard preferences and beliefs.
|
| 1310 |
+
First, members who choose a contract with a flat monthly fee of over \$70 attend on
|
| 1311 |
+
average 4.3 times per month. They pay a price per expected visit of more than \$17,
|
| 1312 |
+
even though they could pay \$10 per visit using a 10-visit pass. On average, these
|
| 1313 |
+
users forgo savings of \$600 during their membership. Second, consumers who
|
| 1314 |
+
choose a monthly contract are 17 percent more likely to stay enrolled beyond one
|
| 1315 |
+
year than users committing for a year. This is surprising because monthly members
|
| 1316 |
+
pay higher fees for the option to cancel each month. We also document cancellation
|
| 1317 |
+
delays and attendance expectations, among other findings. Leading explanations for
|
| 1318 |
+
our findings are overconfidence about future self-control or about future efficiency.
|
| 1319 |
+
Overconfident agents overestimate attendance as well as the cancellation probability
|
| 1320 |
+
of automatically renewed contracts. Our results suggest that making inferences
|
| 1321 |
+
from observed contract choice under the rational expectation hypothesis can
|
| 1322 |
+
lead to biases in the estimation of consumer preferences. ({JEL} D00, D12, D91)},
|
| 1323 |
+
author = {{DellaVigna}, Stefano and Malmendier, Ulrike},
|
| 1324 |
+
date = {2006-06},
|
| 1325 |
+
doi = {10.1257/aer.96.3.694},
|
| 1326 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\VDQMANZE\\DellaVigna and Malmendier - 2006 - Paying Not to Go to the Gym.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\56JPPJ6J\\articles.html:text/html},
|
| 1327 |
+
issn = {0002-8282},
|
| 1328 |
+
journal = {American Economic Review},
|
| 1329 |
+
journaltitle = {American Economic Review},
|
| 1330 |
+
langid = {english},
|
| 1331 |
+
number = {3},
|
| 1332 |
+
pages = {694--719},
|
| 1333 |
+
title = {Paying Not to Go to the Gym},
|
| 1334 |
+
url = {https://www.aeaweb.org/articles?id=10.1257/aer.96.3.694},
|
| 1335 |
+
urldate = {2019-03-24},
|
| 1336 |
+
volume = {96},
|
| 1337 |
+
year = {2006},
|
| 1338 |
+
Bdsk-Url-1 = {https://www.aeaweb.org/articles?id=10.1257/aer.96.3.694},
|
| 1339 |
+
Bdsk-Url-2 = {https://doi.org/10.1257/aer.96.3.694}}
|
| 1340 |
+
|
| 1341 |
+
@article{carrera2018b,
|
| 1342 |
+
abstract = {Recent large-scale randomized experiments find that helping people form implementation intentions by asking when and where they plan to act increases one-time actions, such as vaccinations, preventative screenings and voting. We investigate the effect of a simple scalable planning intervention on a repeated behavior using a randomized design involving 877 subjects at a private gym. Subjects were randomized into i) a treatment group who selected the days and times they intended to attend the gym over the next two weeks or ii) a control group who instead recorded their days of exercise in the prior two weeks. In contrast to recent studies, we find that the planning intervention did not have a positive effect on behavior. We observe a tightly estimated null effect even though the majority of subjects believed that planning is helpful and despite clear evidence that they engaged with the planning process.},
|
| 1343 |
+
author = {Carrera, Mariana and Royer, Heather and Stehr, Mark and Sydnor, Justin and Taubinsky, Dmitry},
|
| 1344 |
+
date = {2018-11},
|
| 1345 |
+
doi = {10.1016/j.jhealeco.2018.09.002},
|
| 1346 |
+
issn = {1879-1646},
|
| 1347 |
+
journal = {Journal of Health Economics},
|
| 1348 |
+
journaltitle = {Journal of Health Economics},
|
| 1349 |
+
keywords = {Behavioral economics, Exercise, Health behaviors, Implementation intentions, Nudge, Physical activity, Planning},
|
| 1350 |
+
pages = {95--104},
|
| 1351 |
+
pmid = {30336306},
|
| 1352 |
+
shortjournal = {J Health Econ},
|
| 1353 |
+
shorttitle = {The limits of simple implementation intentions},
|
| 1354 |
+
title = {The limits of simple implementation intentions: Evidence from a field experiment on making plans to exercise},
|
| 1355 |
+
volume = {62},
|
| 1356 |
+
year = {2018},
|
| 1357 |
+
Bdsk-Url-1 = {https://doi.org/10.1016/j.jhealeco.2018.09.002}}
|
| 1358 |
+
|
| 1359 |
+
@article{carrera2018a,
|
| 1360 |
+
author = {Carrera, Mariana and Royer, Heather and Stehr, Mark and Sydnor, Justin},
|
| 1361 |
+
journal = {Journal of health economics},
|
| 1362 |
+
pages = {202--214},
|
| 1363 |
+
publisher = {Elsevier},
|
| 1364 |
+
title = {Can financial incentives help people trying to establish new habits? Experimental evidence with new gym members},
|
| 1365 |
+
volume = {58},
|
| 1366 |
+
year = {2018}}
|
| 1367 |
+
|
| 1368 |
+
@article{odonoghue2006,
|
| 1369 |
+
author = {O'Donoghue, Ted and Rabin, Matthew},
|
| 1370 |
+
date = {2006},
|
| 1371 |
+
date-modified = {2021-07-25 15:13:08 -0600},
|
| 1372 |
+
file = {RePEc Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\GAJAQAC6\\v_3a90_3ay_3a2006_3ai_3a10-11_3ap_3a1825-1849.html:text/html},
|
| 1373 |
+
issn = {0047-2727},
|
| 1374 |
+
journal = {Journal of Public Economics},
|
| 1375 |
+
journaltitle = {Journal of Public Economics},
|
| 1376 |
+
number = {10},
|
| 1377 |
+
pages = {1825--1849},
|
| 1378 |
+
title = {Optimal Sin Taxes},
|
| 1379 |
+
urldate = {2019-03-24},
|
| 1380 |
+
volume = {90},
|
| 1381 |
+
year = {2006},
|
| 1382 |
+
Bdsk-Url-1 = {https://econpapers.repec.org/article/eeepubeco/v_3a90_3ay_3a2006_3ai_3a10-11_3ap_3a1825-1849.htm}}
|
| 1383 |
+
|
| 1384 |
+
@article{allcott2019,
|
| 1385 |
+
abstract = {A common objection to ``sin taxes''---corrective taxes on goods that are thought to be overconsumed, such as cigarettes, alcohol, and sugary drinks---is that they often fall disproportionately on low-income consumers. This paper studies the interaction between corrective and redistributive motives in a general optimal taxation framework. We show that the implications of regressivity hinge on why consumption decreases with income. If the consumption-income relationship is driven by income effects, then regressivity is optimally offset by targeted transfers or income tax reforms, not by moderating the level of the sin tax. If the relationship is instead driven by between-income preference heterogeneity, the optimal sin tax depends on the demand elasticity: if demand is more elastic, then progressive benefits from reduced over-consumption can make the optimal sin tax larger than if there were no distributional concerns, while if demand is less elastic, the optimal tax is reduced. As an application, we estimate the optimal nationwide tax on sugar-sweetened beverages, using Nielsen Homescan data and a specially designed survey measuring nutrition knowledge and self-control. Our empirical estimates of elasticities, preference heterogeneity, incorrect beliefs, and self-control imply that current city-level taxes in Berkeley, San Francisco, and elsewhere are actually lower than the social optimum.},
|
| 1386 |
+
author = {Allcott, Hunt and Lockwood, Benjamin B. and Taubinsky, Dmitry},
|
| 1387 |
+
date = {2019},
|
| 1388 |
+
date-modified = {2019-08-21 02:51:11 +0000},
|
| 1389 |
+
file = {Allcott et al. - Regressive Sin Taxes, with an Application to the O.pdf:C\:\\Users\\w63k131\\Zotero\\storage\\GVHCX85V\\Allcott et al. - Regressive Sin Taxes, with an Application to the O.pdf:application/pdf},
|
| 1390 |
+
journal = {Quarterly Journal of Economics},
|
| 1391 |
+
langid = {english},
|
| 1392 |
+
number = {3},
|
| 1393 |
+
pages = {1557-1626},
|
| 1394 |
+
title = {Regressive Sin Taxes, with an Application to the Optimal Soda Tax},
|
| 1395 |
+
volume = {134},
|
| 1396 |
+
year = {2019}}
|
| 1397 |
+
|
| 1398 |
+
@article{ashraf2006,
|
| 1399 |
+
abstract = {Abstract. We designed a commitment savings product for a Philippine bank and implemented it using a randomized control methodology. The savings product was int},
|
| 1400 |
+
author = {Ashraf, Nava and Karlan, Dean and Yin, Wesley},
|
| 1401 |
+
date-modified = {2021-07-27 01:37:03 -0600},
|
| 1402 |
+
file = {Full Text PDF:C\:\\Users\\w63k131\\Zotero\\storage\\YWIB7XEU\\Ashraf et al. - 2006 - Tying Odysseus to the Mast Evidence From a Commit.pdf:application/pdf;Snapshot:C\:\\Users\\w63k131\\Zotero\\storage\\K75LMRUE\\1884028.html:text/html},
|
| 1403 |
+
issn = {0033-5533},
|
| 1404 |
+
journal = {The Quarterly Journal of Economics},
|
| 1405 |
+
language = {en},
|
| 1406 |
+
month = may,
|
| 1407 |
+
number = {2},
|
| 1408 |
+
pages = {635--672},
|
| 1409 |
+
shorttitle = {Tying {Odysseus} to the {Mast}},
|
| 1410 |
+
title = {Tying {Odysseus} to the {Mast}: {Evidence} {From} a {Commitment} {Savings} {Product} in the {Philippines}},
|
| 1411 |
+
volume = {121},
|
| 1412 |
+
year = {2006},
|
| 1413 |
+
Bdsk-Url-1 = {https://academic.oup.com/qje/article/121/2/635/1884028},
|
| 1414 |
+
Bdsk-Url-2 = {http://dx.doi.org/10.1162/qjec.2006.121.2.635}}
|
107/replication_package/Other/econ-aea.bst
ADDED
|
@@ -0,0 +1,3600 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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2 |
+
%
|
| 3 |
+
% Author: Shiro Takeda
|
| 4 |
+
% Maintainer: Shiro Takeda
|
| 5 |
+
% Copyright (C) 2001-2018 Shiro Takeda
|
| 6 |
+
% First-written: <2007/07/28>
|
| 7 |
+
% Version: 2.9
|
| 8 |
+
% Keywords: TeX, BibTeX, bst
|
| 9 |
+
% URL: https://github.com/ShiroTakeda/econ-bst
|
| 10 |
+
|
| 11 |
+
% This work may be distributed and/or modified under the
|
| 12 |
+
% conditions of the LaTeX Project Public License, either version 1.3
|
| 13 |
+
% of this license or (at your option) any later version.
|
| 14 |
+
% The latest version of this license is in
|
| 15 |
+
% http://www.latex-project.org/lppl.txt
|
| 16 |
+
% and version 1.3 or later is part of all distributions of LaTeX
|
| 17 |
+
% version 2005/12/01 or later.
|
| 18 |
+
%
|
| 19 |
+
% This work has the LPPL maintenance status "maintained".
|
| 20 |
+
%
|
| 21 |
+
% The Current Maintainer of this work is Shiro Takeda.
|
| 22 |
+
|
| 23 |
+
%% Main features of aea.bst
|
| 24 |
+
|
| 25 |
+
% "aea.bst" is a BibTeX style file for journals of American Economic
|
| 26 |
+
% Association such as
|
| 27 |
+
% - The American Economic Review
|
| 28 |
+
% - Papers and Proceedins
|
| 29 |
+
% - Journal of Economic Literature
|
| 30 |
+
% - American Economics Journals
|
| 31 |
+
%
|
| 32 |
+
% AEA Style Guide is found at the following site:
|
| 33 |
+
% https://www.aeaweb.org/journals/aer/submissions/accepted-articles/styleguide
|
| 34 |
+
|
| 35 |
+
% "aea.bst" is created from "econ.bst" which is distributed from
|
| 36 |
+
% https://github.com/ShiroTakeda/econ-bst
|
| 37 |
+
|
| 38 |
+
% version number
|
| 39 |
+
FUNCTION {econ.version} { "2.9" }
|
| 40 |
+
|
| 41 |
+
% File name
|
| 42 |
+
FUNCTION {econ.file} { "aer.bst" }
|
| 43 |
+
|
| 44 |
+
% Debug mode. Non-zero makes debug mode on.
|
| 45 |
+
FUNCTION {econ.debug}
|
| 46 |
+
{ #0 } % Debug mode off (default).
|
| 47 |
+
% { #1 } % Debug mode on.
|
| 48 |
+
|
| 49 |
+
ENTRY
|
| 50 |
+
%%% Declaration of field
|
| 51 |
+
{ access address author booktitle chapter doi edition editor howpublished
|
| 52 |
+
institution journal key month note number organization pages publisher
|
| 53 |
+
school series title type url volume year
|
| 54 |
+
% Fields specific to econ.bst
|
| 55 |
+
order absorder nameorder
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
% Definition of entry variable. The entry variable is a variable which has
|
| 59 |
+
% different values according to different entries.
|
| 60 |
+
%% Integer entry variable:
|
| 61 |
+
{ order.cited }
|
| 62 |
+
|
| 63 |
+
%% String entry variable
|
| 64 |
+
{ label cyear flabel alabel extra.label sort.label sort.label.abb
|
| 65 |
+
extra.label.bysame nameorder.temp jname }
|
| 66 |
+
|
| 67 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 68 |
+
%%
|
| 69 |
+
%% Functions for customization:
|
| 70 |
+
%%
|
| 71 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 72 |
+
|
| 73 |
+
% Use \bysame or not.
|
| 74 |
+
%
|
| 75 |
+
% If set to #0, \bysame is not used.
|
| 76 |
+
% If set to #1, \bysame is used
|
| 77 |
+
% If set to #2, \bysame is used (alternative abbreviation style).
|
| 78 |
+
%
|
| 79 |
+
% Note that integer number is expressed as # + integer in bst file.
|
| 80 |
+
% \bysame is the function that abbreviates succession of the same authors' name by ---.
|
| 81 |
+
%
|
| 82 |
+
% See econ-sample.pdf for details.
|
| 83 |
+
%
|
| 84 |
+
FUNCTION {bst.use.bysame}
|
| 85 |
+
{ #0 } % Not use \bysame
|
| 86 |
+
% { #1 } % -> Use \bysame (default)
|
| 87 |
+
% { #2 } % -> Use \bysame of alternative style.
|
| 88 |
+
|
| 89 |
+
% The definition of \bysame command.
|
| 90 |
+
%
|
| 91 |
+
FUNCTION {bst.bysame.definition}
|
| 92 |
+
{ "\hskip.3em \leavevmode\rule[.5ex]{3em}{.3pt}\hskip0.5em" } % (default)
|
| 93 |
+
% { "\leavevmode\hbox to\leftmargin{\hrulefill\,\,}" } % If you set #2 to bst.use.bysame, use this.
|
| 94 |
+
|
| 95 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 96 |
+
|
| 97 |
+
% The order of fist and last name.
|
| 98 |
+
%
|
| 99 |
+
FUNCTION {bst.author.name}
|
| 100 |
+
{ #0 } % (default)
|
| 101 |
+
% { #1 }
|
| 102 |
+
% { #2 }
|
| 103 |
+
|
| 104 |
+
% Case of #0: First author -> last-first, other authors -> first-last.
|
| 105 |
+
% Fujita, Masahisa, Paul R. Krugman, and Anthony J. Venables.
|
| 106 |
+
|
| 107 |
+
% Case of #1: All authors -> last-first
|
| 108 |
+
% Fujita, Masahisa, Krugman, Paul R., and Venables, Anthony J.
|
| 109 |
+
|
| 110 |
+
% Case of #2: All authors -> first-last
|
| 111 |
+
% Masahisa Fujita, Paul R. Krugman, and Anthony J. Venables.
|
| 112 |
+
|
| 113 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 114 |
+
|
| 115 |
+
% Abbreviate first name of authors (editors):
|
| 116 |
+
%
|
| 117 |
+
FUNCTION {bst.first.name.initial}
|
| 118 |
+
{ #0 } % #0 -> full letters (default).
|
| 119 |
+
% { #1 } % Non-zero -> initial letter only.
|
| 120 |
+
|
| 121 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 122 |
+
|
| 123 |
+
% Decapitalize of strings in title field.
|
| 124 |
+
%
|
| 125 |
+
FUNCTION {bst.title.lower.case}
|
| 126 |
+
{ #0 } % If #0, not decapitalize title (default).
|
| 127 |
+
% { #1 } % If non-#0, decapitalize title
|
| 128 |
+
|
| 129 |
+
% Hide title filed.
|
| 130 |
+
%
|
| 131 |
+
FUNCTION {bst.hide.title}
|
| 132 |
+
{ #0 } % #0 -> Title field is displayed (default)
|
| 133 |
+
% { #1 } % Non-zer -> Title field is hidden
|
| 134 |
+
|
| 135 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 136 |
+
|
| 137 |
+
% Hide month.
|
| 138 |
+
%
|
| 139 |
+
FUNCTION {bst.hide.month}
|
| 140 |
+
{ #0 } % #0 -> show month field (default).
|
| 141 |
+
% { #1 } % non-#0 -> hide month field.
|
| 142 |
+
|
| 143 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 144 |
+
|
| 145 |
+
% Attach number index like plain.bst.
|
| 146 |
+
%
|
| 147 |
+
FUNCTION {bst.use.number.index}
|
| 148 |
+
{ #0 } % Not use number index (default).
|
| 149 |
+
% { #1 } % Non-#0 -> Use number index
|
| 150 |
+
|
| 151 |
+
% The string before number index:
|
| 152 |
+
%
|
| 153 |
+
FUNCTION {bst.number.index.pre}
|
| 154 |
+
{ "[" } % (default)
|
| 155 |
+
|
| 156 |
+
% The string after number index. Adjustment is recommended.
|
| 157 |
+
%
|
| 158 |
+
FUNCTION {bst.number.index.post}
|
| 159 |
+
{ "]\hskip1.0em " } % (default)
|
| 160 |
+
|
| 161 |
+
% Maximum digit of number index:
|
| 162 |
+
% If the number of reference items >= 100, set 3 to this function.
|
| 163 |
+
% If the number of reference items < 100, set 2 to this function.
|
| 164 |
+
% If the number of reference items < 10, set 1 to this function.
|
| 165 |
+
%
|
| 166 |
+
FUNCTION {bst.number.index.digit}
|
| 167 |
+
{ "2" } % (default)
|
| 168 |
+
% { "3" }
|
| 169 |
+
|
| 170 |
+
% The functions below are used to adjust space and postion. If you use fonts
|
| 171 |
+
% other than computer modern fonts, you had better make adjustments.
|
| 172 |
+
%
|
| 173 |
+
% Setting for bst.number.index.digit = 1:
|
| 174 |
+
FUNCTION {bst.number.index.bibhang.one}
|
| 175 |
+
{ "2.05em" } % (default)
|
| 176 |
+
% Setting for bst.number.index.digit = 2:
|
| 177 |
+
FUNCTION {bst.number.index.bibhang.ten}
|
| 178 |
+
{ "2.55em" } % (default)
|
| 179 |
+
% Setting for bst.number.index.digit = 3:
|
| 180 |
+
FUNCTION {bst.number.index.bibhang.hund}
|
| 181 |
+
{ "3.05em" } % (default).
|
| 182 |
+
|
| 183 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 184 |
+
|
| 185 |
+
% Position of "year":
|
| 186 |
+
%
|
| 187 |
+
% You can choose the position of year by this function.
|
| 188 |
+
%
|
| 189 |
+
% If set to #0, year is placed right after "author".
|
| 190 |
+
% If set to non-zero, year is placed at the end (before note field) except for
|
| 191 |
+
% aritcle type entry.
|
| 192 |
+
%
|
| 193 |
+
% In article type entry, the position of year changes according to the
|
| 194 |
+
% following rule:
|
| 195 |
+
%
|
| 196 |
+
% #1 -> year is placed at the end.
|
| 197 |
+
% #2 -> year is placed after journal name in aritcle type entry.
|
| 198 |
+
% #3 -> year is placed after volume in aritcle type entry.
|
| 199 |
+
%
|
| 200 |
+
FUNCTION {bst.year.position}
|
| 201 |
+
{ #0 } % (default).
|
| 202 |
+
% { #1 } % Last place before note.
|
| 203 |
+
% { #2 } % After journal name for aticle type entry.
|
| 204 |
+
% { #3 } % After volume for aticle type entry.
|
| 205 |
+
|
| 206 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 207 |
+
|
| 208 |
+
% If 0, references are sorted by old documents -> recent documents. If
|
| 209 |
+
% non-zero, reverse order.
|
| 210 |
+
FUNCTION {bst.reverse.year}
|
| 211 |
+
{ #0 } % Normal order (old -> recent) (default).
|
| 212 |
+
% { #1 } % inverse order (recent -> old)
|
| 213 |
+
|
| 214 |
+
% If non-zero, sort references by using year field as the primary key
|
| 215 |
+
% (chronological sorting).
|
| 216 |
+
FUNCTION {bst.sort.year}
|
| 217 |
+
{ #0 } % Normal case: year is used as the sorting key next to author (default).
|
| 218 |
+
% { #1 } % year is used as the primary sorting key.
|
| 219 |
+
|
| 220 |
+
|
| 221 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 222 |
+
|
| 223 |
+
% If non-zero, references are listed in citation order.
|
| 224 |
+
%
|
| 225 |
+
FUNCTION {bst.no.sort}
|
| 226 |
+
{ #0 } % (default)
|
| 227 |
+
% { #1 } % listed in citation order.
|
| 228 |
+
|
| 229 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 230 |
+
|
| 231 |
+
% Non-zero -> sort references by entry type (article, book, incollection etc.)
|
| 232 |
+
%
|
| 233 |
+
FUNCTION {bst.sort.entry.type}
|
| 234 |
+
{ #0 } % #0 -> Normal (not sort references by entry type) (default).
|
| 235 |
+
% { #1 } % Non-zero -> sort references by entry type.
|
| 236 |
+
|
| 237 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 238 |
+
|
| 239 |
+
% 0 -> use absorder field to sort items. Otherwise, ignore absorder field.
|
| 240 |
+
%
|
| 241 |
+
FUNCTION {bst.notuse.absorder.field}
|
| 242 |
+
{ #0 } % #0 -> Use absorder (default).
|
| 243 |
+
% { #1 } % Non-#0 -> Not use absorder.
|
| 244 |
+
%
|
| 245 |
+
% Order of priority to sort items
|
| 246 |
+
%
|
| 247 |
+
% absorder -> author -> year -> order -> month -> title
|
| 248 |
+
%
|
| 249 |
+
% wehre absorder and order fields are specific to econ.bst.
|
| 250 |
+
|
| 251 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 252 |
+
|
| 253 |
+
% 0 -> use order field to sort items. Otherwise, ignore order field.
|
| 254 |
+
% Note: order field is specific to econ.bst.
|
| 255 |
+
FUNCTION {bst.notuse.order.field}
|
| 256 |
+
{ #0 } % #0 -> Use order field (default).
|
| 257 |
+
% { #1 } % Non-#0 -> not use order field.
|
| 258 |
+
|
| 259 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 260 |
+
%%% and
|
| 261 |
+
|
| 262 |
+
%%% String used to separate author names in references.
|
| 263 |
+
%
|
| 264 |
+
% String replaced with _ in "Mr. A _ Mr. B "
|
| 265 |
+
%
|
| 266 |
+
FUNCTION {bst.and}
|
| 267 |
+
{ ", and " }
|
| 268 |
+
% { " and " } % (default)
|
| 269 |
+
|
| 270 |
+
%%% String used to separate author names in references (more than two authors).
|
| 271 |
+
%
|
| 272 |
+
% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
|
| 273 |
+
%
|
| 274 |
+
FUNCTION {bst.ands}
|
| 275 |
+
{ ", and " } % (default)
|
| 276 |
+
|
| 277 |
+
%%% String used to separate author names in citation part.
|
| 278 |
+
%
|
| 279 |
+
% String replaced with _ in "Mr. A _ Mr. B "
|
| 280 |
+
%
|
| 281 |
+
FUNCTION {bst.cite.and}
|
| 282 |
+
{ " and " } % (default)
|
| 283 |
+
|
| 284 |
+
%%% String used to separate author names in citation part (more than two authors).
|
| 285 |
+
%
|
| 286 |
+
% String replaced with _ in "Mr. A, Mr. B _ Mr. C"
|
| 287 |
+
%
|
| 288 |
+
FUNCTION {bst.cite.ands}
|
| 289 |
+
{ ", and " }
|
| 290 |
+
% { " and " } % (default)
|
| 291 |
+
|
| 292 |
+
%%% If you want to use random author order for some bibliography entries, set
|
| 293 |
+
% non-zero to this function.
|
| 294 |
+
%
|
| 295 |
+
FUNCTION {bst.use.nameorder}
|
| 296 |
+
{ #1 } % Use random order (default)
|
| 297 |
+
% { #0 } % Not use random order
|
| 298 |
+
|
| 299 |
+
%%% String used to separate author names in references for the entry of random
|
| 300 |
+
% author order.
|
| 301 |
+
%
|
| 302 |
+
FUNCTION {bst.and.nameorder}
|
| 303 |
+
{ " \textcircled{r} " } % (default)
|
| 304 |
+
|
| 305 |
+
%%% String used to separate author names in citation part for the entry of
|
| 306 |
+
% random author order
|
| 307 |
+
%
|
| 308 |
+
FUNCTION {bst.cite.and.nameorder}
|
| 309 |
+
{ " \textcircled{r} " } % (default)
|
| 310 |
+
|
| 311 |
+
|
| 312 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 313 |
+
|
| 314 |
+
% Author names in the citation part are abbreviated by et al. if the number of
|
| 315 |
+
% authors is greater or equal to bst.and.others.num.
|
| 316 |
+
FUNCTION {bst.and.others.num}
|
| 317 |
+
{ #3 } % If the number of authors is greater or equal to three (default).
|
| 318 |
+
|
| 319 |
+
% If the number of authors is greater or equal to bst.max.author.num, only
|
| 320 |
+
% first author is listed and other authors' names are abbreviated as "et al.".
|
| 321 |
+
FUNCTION {bst.max.author.num}
|
| 322 |
+
{ #12 } % If the number of authors is greater or equal to 12 (default).
|
| 323 |
+
|
| 324 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 325 |
+
|
| 326 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 327 |
+
|
| 328 |
+
% Strings used when abbreviating multiple-authors in citation part.
|
| 329 |
+
FUNCTION {bst.and.others}
|
| 330 |
+
{ " et~al." } % (default)
|
| 331 |
+
|
| 332 |
+
% Strings used when abbreviating multiple-authors in citation part for entries
|
| 333 |
+
% with random author order.
|
| 334 |
+
FUNCTION {bst.and.others.nameorder}
|
| 335 |
+
{ " \textcircled{r}~al." } % (default)
|
| 336 |
+
|
| 337 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 338 |
+
% author
|
| 339 |
+
|
| 340 |
+
% The string before author:
|
| 341 |
+
%
|
| 342 |
+
FUNCTION {bst.author.pre}
|
| 343 |
+
{ "\textbf{" }
|
| 344 |
+
% { "" } % (default)
|
| 345 |
+
|
| 346 |
+
% The string after author:
|
| 347 |
+
%
|
| 348 |
+
FUNCTION {bst.author.post}
|
| 349 |
+
{ ".}" }
|
| 350 |
+
% { "" } % (default)
|
| 351 |
+
|
| 352 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 353 |
+
% year
|
| 354 |
+
|
| 355 |
+
% The string before year only for aritcle type entry.
|
| 356 |
+
%
|
| 357 |
+
FUNCTION {bst.year.pre}
|
| 358 |
+
{ " " }
|
| 359 |
+
% { " (" } % (default)
|
| 360 |
+
|
| 361 |
+
% The string after year only for aritcle type entry.
|
| 362 |
+
%
|
| 363 |
+
FUNCTION {bst.year.post}
|
| 364 |
+
{ ". " }
|
| 365 |
+
% { ") " } % (default)
|
| 366 |
+
|
| 367 |
+
% The string after year for non-article type entry (book, incollection etc)
|
| 368 |
+
%
|
| 369 |
+
FUNCTION {bst.year.na.pre}
|
| 370 |
+
{ " " }
|
| 371 |
+
% { " (" } % (default)
|
| 372 |
+
|
| 373 |
+
% The string after year for non-article type entry (book, incollection etc)
|
| 374 |
+
%
|
| 375 |
+
FUNCTION {bst.year.na.post}
|
| 376 |
+
{ ". " }
|
| 377 |
+
% { ") " } % (default)
|
| 378 |
+
|
| 379 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 380 |
+
% title (except for title in book)
|
| 381 |
+
|
| 382 |
+
% The string before title:
|
| 383 |
+
%
|
| 384 |
+
FUNCTION {bst.title.pre}
|
| 385 |
+
{ "``" } % (default)
|
| 386 |
+
|
| 387 |
+
% The string after title:
|
| 388 |
+
%
|
| 389 |
+
FUNCTION {bst.title.post}
|
| 390 |
+
{ ".''" }
|
| 391 |
+
% { ",''" } % (default)
|
| 392 |
+
|
| 393 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 394 |
+
% tile for book:
|
| 395 |
+
|
| 396 |
+
% The string before book title:
|
| 397 |
+
%
|
| 398 |
+
FUNCTION {bst.book.pre}
|
| 399 |
+
{ " \textit{" } % (default)
|
| 400 |
+
|
| 401 |
+
% The string after book title:
|
| 402 |
+
%
|
| 403 |
+
FUNCTION {bst.book.post}
|
| 404 |
+
{ "}." }
|
| 405 |
+
% { "}" } % (default)
|
| 406 |
+
|
| 407 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 408 |
+
% booktitle
|
| 409 |
+
|
| 410 |
+
% The string before booktitle:
|
| 411 |
+
%
|
| 412 |
+
FUNCTION {bst.btitle.pre}
|
| 413 |
+
{ " \textit{" } % (default)
|
| 414 |
+
|
| 415 |
+
% The string after booktitle:
|
| 416 |
+
%
|
| 417 |
+
FUNCTION {bst.btitle.post}
|
| 418 |
+
{ "}," }
|
| 419 |
+
% { "}" } % (default)
|
| 420 |
+
|
| 421 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 422 |
+
% journal name
|
| 423 |
+
|
| 424 |
+
% The string before journal name:
|
| 425 |
+
%
|
| 426 |
+
FUNCTION {bst.journal.pre}
|
| 427 |
+
{ " \textit{" } % (default)
|
| 428 |
+
|
| 429 |
+
% The string after journal name:
|
| 430 |
+
%
|
| 431 |
+
FUNCTION {bst.journal.post}
|
| 432 |
+
{ "}" } % (default)
|
| 433 |
+
|
| 434 |
+
% Use the abbreviated journal name
|
| 435 |
+
%
|
| 436 |
+
% If set to #0, do not use abbreviated journal name.
|
| 437 |
+
% If set to non-#0, use abbreviated journal name.
|
| 438 |
+
%
|
| 439 |
+
FUNCTION {bst.journal.name.abb}
|
| 440 |
+
{ #0 } % (default)
|
| 441 |
+
% { #1 }
|
| 442 |
+
|
| 443 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 444 |
+
% editor notation:
|
| 445 |
+
|
| 446 |
+
% The string that indicates multiple editors:
|
| 447 |
+
%
|
| 448 |
+
FUNCTION {bst.editors}
|
| 449 |
+
{ " eds. " } % (default)
|
| 450 |
+
|
| 451 |
+
% The string that indicates single editor:
|
| 452 |
+
%
|
| 453 |
+
FUNCTION {bst.editor}
|
| 454 |
+
{ " ed. " } % (default)
|
| 455 |
+
|
| 456 |
+
% Order of editor and booktitle in incollection and inproceedings entries.
|
| 457 |
+
%
|
| 458 |
+
% If set to #0: editors -> booktitle order
|
| 459 |
+
% If set to non-zero: booktitle -> editors order
|
| 460 |
+
%
|
| 461 |
+
FUNCTION {bst.editor.btitle.order}
|
| 462 |
+
{ #1 }
|
| 463 |
+
% { #0 } % (default)
|
| 464 |
+
|
| 465 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 466 |
+
% edition
|
| 467 |
+
|
| 468 |
+
% The string before edition:
|
| 469 |
+
%
|
| 470 |
+
FUNCTION {bst.edition.pre}
|
| 471 |
+
{ ", " } % (default)
|
| 472 |
+
|
| 473 |
+
% The string after edition:
|
| 474 |
+
%
|
| 475 |
+
FUNCTION {bst.edition.post}
|
| 476 |
+
{ " edition" } % (default)
|
| 477 |
+
|
| 478 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 479 |
+
% volume
|
| 480 |
+
|
| 481 |
+
% The string before volume:
|
| 482 |
+
%
|
| 483 |
+
FUNCTION {bst.volume.pre}
|
| 484 |
+
{ " " }
|
| 485 |
+
% { ", " } % (default)
|
| 486 |
+
|
| 487 |
+
% The string after volume:
|
| 488 |
+
%
|
| 489 |
+
FUNCTION {bst.volume.post}
|
| 490 |
+
{ "" } % (default)
|
| 491 |
+
|
| 492 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 493 |
+
% number
|
| 494 |
+
|
| 495 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 496 |
+
|
| 497 |
+
% Hide number. If non-zero, number is suppressed.
|
| 498 |
+
FUNCTION {bst.hide.number}
|
| 499 |
+
{ #0 } % #0 -> show number field (default)
|
| 500 |
+
% { #1 } % non-#0 -> Hide number field.
|
| 501 |
+
|
| 502 |
+
% The string before number:
|
| 503 |
+
%
|
| 504 |
+
FUNCTION {bst.number.pre}
|
| 505 |
+
{ " (" } % (default)
|
| 506 |
+
|
| 507 |
+
% The string after number:
|
| 508 |
+
%
|
| 509 |
+
FUNCTION {bst.number.post}
|
| 510 |
+
{ "): " }
|
| 511 |
+
% { ")" } % (default)
|
| 512 |
+
|
| 513 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 514 |
+
% in
|
| 515 |
+
|
| 516 |
+
% In
|
| 517 |
+
%
|
| 518 |
+
FUNCTION {bst.in}
|
| 519 |
+
{ " In " }
|
| 520 |
+
% { " in " } % (default)
|
| 521 |
+
|
| 522 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 523 |
+
% page
|
| 524 |
+
|
| 525 |
+
% The string before page (multiple pages):
|
| 526 |
+
%
|
| 527 |
+
FUNCTION {bst.pages.pre}
|
| 528 |
+
{ " " }
|
| 529 |
+
% { ", pp." } % (default)
|
| 530 |
+
|
| 531 |
+
% The string before page:
|
| 532 |
+
%
|
| 533 |
+
FUNCTION {bst.page.pre}
|
| 534 |
+
{ "" }
|
| 535 |
+
% { ", " } % (default)
|
| 536 |
+
|
| 537 |
+
% The string after page (multiple pages):
|
| 538 |
+
%
|
| 539 |
+
FUNCTION {bst.pages.post}
|
| 540 |
+
{ "" } % (default)
|
| 541 |
+
|
| 542 |
+
% The string after page:
|
| 543 |
+
%
|
| 544 |
+
FUNCTION {bst.page.post}
|
| 545 |
+
{ "" } % (default)
|
| 546 |
+
|
| 547 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 548 |
+
% chapter
|
| 549 |
+
|
| 550 |
+
% The string before chapter:
|
| 551 |
+
%
|
| 552 |
+
FUNCTION {bst.chapter.pre}
|
| 553 |
+
{ ", Chap." } % (default)
|
| 554 |
+
|
| 555 |
+
% The string after chapter:
|
| 556 |
+
%
|
| 557 |
+
FUNCTION {bst.chapter.post}
|
| 558 |
+
{ "" } % (default)
|
| 559 |
+
|
| 560 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 561 |
+
% month
|
| 562 |
+
|
| 563 |
+
% The string before month:
|
| 564 |
+
%
|
| 565 |
+
FUNCTION {bst.month.pre}
|
| 566 |
+
{ ", " } % (default)
|
| 567 |
+
|
| 568 |
+
% The string after month:
|
| 569 |
+
%
|
| 570 |
+
FUNCTION {bst.month.post}
|
| 571 |
+
{ "" } % (default)
|
| 572 |
+
|
| 573 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 574 |
+
% address
|
| 575 |
+
% The string before address:
|
| 576 |
+
%
|
| 577 |
+
FUNCTION {bst.address.pre}
|
| 578 |
+
{ ", " } % (default)
|
| 579 |
+
|
| 580 |
+
% The string after address:
|
| 581 |
+
%
|
| 582 |
+
FUNCTION {bst.address.post}
|
| 583 |
+
{ "" } % (default)
|
| 584 |
+
|
| 585 |
+
% You can choose the order of address and publisher by this function.
|
| 586 |
+
%
|
| 587 |
+
% If #0, address -> publisher order (the default value).
|
| 588 |
+
% If non-zero, publisher -> address order.
|
| 589 |
+
|
| 590 |
+
FUNCTION {bst.address.position}
|
| 591 |
+
{ #0 } % Address is placed before publisher (default)
|
| 592 |
+
% { #1 } % Address is placed after publisher
|
| 593 |
+
|
| 594 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 595 |
+
% publisher
|
| 596 |
+
|
| 597 |
+
% The string before publisher:
|
| 598 |
+
%
|
| 599 |
+
FUNCTION {bst.publisher.pre}
|
| 600 |
+
{ ": " } % (default)
|
| 601 |
+
|
| 602 |
+
% The string after publisher:
|
| 603 |
+
%
|
| 604 |
+
FUNCTION {bst.publisher.post}
|
| 605 |
+
{ ", " }
|
| 606 |
+
% { "" } % (default)
|
| 607 |
+
|
| 608 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 609 |
+
% series
|
| 610 |
+
|
| 611 |
+
% The string before series:
|
| 612 |
+
%
|
| 613 |
+
FUNCTION {bst.series.pre}
|
| 614 |
+
{ ", " } % (default)
|
| 615 |
+
|
| 616 |
+
% The string after series:
|
| 617 |
+
%
|
| 618 |
+
FUNCTION {bst.series.post}
|
| 619 |
+
{ "" } % (default)
|
| 620 |
+
|
| 621 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 622 |
+
% organization
|
| 623 |
+
|
| 624 |
+
% The string before organization:
|
| 625 |
+
%
|
| 626 |
+
FUNCTION {bst.organization.pre}
|
| 627 |
+
{ ", " } % (default)
|
| 628 |
+
|
| 629 |
+
% The string after organization:
|
| 630 |
+
%
|
| 631 |
+
FUNCTION {bst.organization.post}
|
| 632 |
+
{ "" } % (default)
|
| 633 |
+
|
| 634 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 635 |
+
% school
|
| 636 |
+
|
| 637 |
+
% The string before school:
|
| 638 |
+
%
|
| 639 |
+
FUNCTION {bst.school.pre}
|
| 640 |
+
{ ", " } % (default)
|
| 641 |
+
|
| 642 |
+
% The string after school:
|
| 643 |
+
%
|
| 644 |
+
FUNCTION {bst.school.post}
|
| 645 |
+
{ "" } % (default)
|
| 646 |
+
|
| 647 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 648 |
+
% institution
|
| 649 |
+
|
| 650 |
+
% The string before institution:
|
| 651 |
+
%
|
| 652 |
+
FUNCTION {bst.institution.pre}
|
| 653 |
+
{ ", " } % (default)
|
| 654 |
+
|
| 655 |
+
% The string after institution:
|
| 656 |
+
%
|
| 657 |
+
FUNCTION {bst.institution.post}
|
| 658 |
+
{ "" } % (default)
|
| 659 |
+
|
| 660 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 661 |
+
% howpublished
|
| 662 |
+
|
| 663 |
+
% The string before howpublished:
|
| 664 |
+
%
|
| 665 |
+
FUNCTION {bst.howpublished.pre}
|
| 666 |
+
{ " " } % (default)
|
| 667 |
+
|
| 668 |
+
% The string after howpublished:
|
| 669 |
+
%
|
| 670 |
+
FUNCTION {bst.howpublished.post}
|
| 671 |
+
{ "" } % (default)
|
| 672 |
+
|
| 673 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 674 |
+
% url
|
| 675 |
+
|
| 676 |
+
% Show or Hide url. If non-zero, url is displayed. Otherwise, url is suppressed.
|
| 677 |
+
FUNCTION {bst.show.url}
|
| 678 |
+
{ #1 } % non-#0 -> Show url field (default)
|
| 679 |
+
% { #0 } % #0 -> Not show url field.
|
| 680 |
+
|
| 681 |
+
% The string before url:
|
| 682 |
+
%
|
| 683 |
+
FUNCTION {bst.url.pre}
|
| 684 |
+
{ ", \url{" } % (default)
|
| 685 |
+
|
| 686 |
+
% The string after url:
|
| 687 |
+
%
|
| 688 |
+
FUNCTION {bst.url.post}
|
| 689 |
+
{ "}" } % (default)
|
| 690 |
+
|
| 691 |
+
|
| 692 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 693 |
+
% Access
|
| 694 |
+
|
| 695 |
+
% This setting is valid only if there are "access" field in bib
|
| 696 |
+
% files. The value of access field indicates accessed date for URL.
|
| 697 |
+
|
| 698 |
+
% The string before access.
|
| 699 |
+
FUNCTION {bst.access.pre}
|
| 700 |
+
{ ", accessed on " } % (default)
|
| 701 |
+
|
| 702 |
+
% The string after access.
|
| 703 |
+
FUNCTION {bst.access.post}
|
| 704 |
+
{ "" } % (default)
|
| 705 |
+
|
| 706 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 707 |
+
% DOI (digital object identifier)
|
| 708 |
+
|
| 709 |
+
% This setting is valid only if there are "doi" field in bib files.
|
| 710 |
+
|
| 711 |
+
% Show or Hide DOI. If non-zero, DOI is displayed. Otherwise, DOI is suppressed.
|
| 712 |
+
FUNCTION {bst.show.doi}
|
| 713 |
+
{ #1 } % non-#0 -> Show DOI field (default)
|
| 714 |
+
% { #0 } % #0 -> Not show DOI field.
|
| 715 |
+
|
| 716 |
+
% The string before DOI:
|
| 717 |
+
%
|
| 718 |
+
FUNCTION {bst.doi.pre}
|
| 719 |
+
{ ". \href{http://dx.doi.org/" doi * "}{\urlstyle{rm} \nolinkurl{" * }
|
| 720 |
+
% { ", \href{http://dx.doi.org/" doi * "}{\urlstyle{rm} \nolinkurl{" * } % (default)
|
| 721 |
+
|
| 722 |
+
% The string after DOI:
|
| 723 |
+
%
|
| 724 |
+
FUNCTION {bst.doi.post}
|
| 725 |
+
{ "}}" } % (default)
|
| 726 |
+
|
| 727 |
+
% How to show URL and DOI fields when both fields exist.
|
| 728 |
+
%
|
| 729 |
+
% #0 -> Both fields are displayed
|
| 730 |
+
% #1 -> Only URL field is displayed
|
| 731 |
+
% #2 -> Only DOI field is displayed
|
| 732 |
+
%
|
| 733 |
+
FUNCTION {bst.url.doi}
|
| 734 |
+
% { #0 } % -> Both fields are displayed
|
| 735 |
+
% { #1 } % -> Only URL field is displayed
|
| 736 |
+
{ #2 } % (default) --> Only DOI field is displayed
|
| 737 |
+
|
| 738 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 739 |
+
% Other functions:
|
| 740 |
+
|
| 741 |
+
% The string before note.
|
| 742 |
+
FUNCTION {bst.note.pre}
|
| 743 |
+
{ ", " } % (default)
|
| 744 |
+
|
| 745 |
+
% The string after note.
|
| 746 |
+
FUNCTION {bst.note.post}
|
| 747 |
+
{ "" } % (default)
|
| 748 |
+
|
| 749 |
+
% The string that represents Technical report:
|
| 750 |
+
%
|
| 751 |
+
FUNCTION {bst.techrep}
|
| 752 |
+
{ "Technical Report" } % (default)
|
| 753 |
+
|
| 754 |
+
% The string that represents master thesis:
|
| 755 |
+
%
|
| 756 |
+
FUNCTION {bst.mthesis}
|
| 757 |
+
{ " Master's thesis" } % (default)
|
| 758 |
+
|
| 759 |
+
% The string that represents phd thesis:
|
| 760 |
+
%
|
| 761 |
+
FUNCTION {bst.phdthesis}
|
| 762 |
+
{ " Ph.D. dissertation" } % (default)
|
| 763 |
+
|
| 764 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 765 |
+
%%
|
| 766 |
+
%% Functions for customization end here:
|
| 767 |
+
%%
|
| 768 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 769 |
+
|
| 770 |
+
FUNCTION {bst.first}
|
| 771 |
+
{ "1st" }
|
| 772 |
+
|
| 773 |
+
FUNCTION {bst.second}
|
| 774 |
+
{ "2nd" }
|
| 775 |
+
|
| 776 |
+
FUNCTION {bst.third}
|
| 777 |
+
{ "3rd" }
|
| 778 |
+
|
| 779 |
+
FUNCTION {bst.fourth}
|
| 780 |
+
{ "4th" }
|
| 781 |
+
|
| 782 |
+
FUNCTION {bst.fifth}
|
| 783 |
+
{ "5th" }
|
| 784 |
+
|
| 785 |
+
FUNCTION {bst.st}
|
| 786 |
+
{ "st" }
|
| 787 |
+
|
| 788 |
+
FUNCTION {bst.nd}
|
| 789 |
+
{ "nd" }
|
| 790 |
+
|
| 791 |
+
FUNCTION {bst.rd}
|
| 792 |
+
{ "rd" }
|
| 793 |
+
|
| 794 |
+
FUNCTION {bst.th}
|
| 795 |
+
{ "th" }
|
| 796 |
+
|
| 797 |
+
%%%%% memo by Takeda
|
| 798 |
+
|
| 799 |
+
% "a" 'b := indicates substituting string "a" for variable b.
|
| 800 |
+
|
| 801 |
+
% Integer number #0, #1,...
|
| 802 |
+
|
| 803 |
+
%%% Function definition:
|
| 804 |
+
%
|
| 805 |
+
% FUNCTION {name}
|
| 806 |
+
% { 's :=
|
| 807 |
+
%
|
| 808 |
+
% }
|
| 809 |
+
%
|
| 810 |
+
% This is the definition of a function named "name". The function "name" is
|
| 811 |
+
% used in the following way
|
| 812 |
+
%
|
| 813 |
+
% "foo" name
|
| 814 |
+
% "foo" is an argument for the function "name".
|
| 815 |
+
%
|
| 816 |
+
% About the definition of a function with more than two arguments, see the
|
| 817 |
+
% definition of "chop.word".
|
| 818 |
+
|
| 819 |
+
%%% Declaration of variables:
|
| 820 |
+
|
| 821 |
+
%% String global variables:
|
| 822 |
+
STRINGS { s t tt }
|
| 823 |
+
STRINGS { year.num }
|
| 824 |
+
STRINGS { preone preten }
|
| 825 |
+
STRINGS { last.sort.label next.extra prev.author prev.author.aer this.author }
|
| 826 |
+
STRINGS { hang }
|
| 827 |
+
STRINGS { item.type }
|
| 828 |
+
STRINGS { tempa tempb }
|
| 829 |
+
|
| 830 |
+
%% Integer global variables:
|
| 831 |
+
INTEGERS { nameptr namesleft numnames name.num }
|
| 832 |
+
INTEGERS { multiresult }
|
| 833 |
+
INTEGERS { index }
|
| 834 |
+
INTEGERS { len }
|
| 835 |
+
INTEGERS { last.extra.num }
|
| 836 |
+
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
|
| 837 |
+
INTEGERS { last.period.comma }
|
| 838 |
+
INTEGERS { len1.aer len2.aer i.aer }
|
| 839 |
+
|
| 840 |
+
%%% Definition of functions:
|
| 841 |
+
FUNCTION {not}
|
| 842 |
+
{ { #0 }
|
| 843 |
+
{ #1 }
|
| 844 |
+
if$
|
| 845 |
+
}
|
| 846 |
+
|
| 847 |
+
FUNCTION {and}
|
| 848 |
+
{ 'skip$
|
| 849 |
+
{ pop$ #0 }
|
| 850 |
+
if$
|
| 851 |
+
}
|
| 852 |
+
|
| 853 |
+
FUNCTION {or}
|
| 854 |
+
{ { pop$ #1 }
|
| 855 |
+
'skip$
|
| 856 |
+
if$
|
| 857 |
+
}
|
| 858 |
+
|
| 859 |
+
%%% Initialize variables:
|
| 860 |
+
FUNCTION {init.state.consts}
|
| 861 |
+
{ #0 'before.all :=
|
| 862 |
+
#1 'mid.sentence :=
|
| 863 |
+
#2 'after.sentence :=
|
| 864 |
+
#3 'after.block :=
|
| 865 |
+
}
|
| 866 |
+
|
| 867 |
+
%%% Remove comma and add period:
|
| 868 |
+
%
|
| 869 |
+
%%%
|
| 870 |
+
FUNCTION {add.period.x}
|
| 871 |
+
{ duplicate$
|
| 872 |
+
#-1 #1 substring$ "," =
|
| 873 |
+
{ #-2 global.max$ substring$ "." * }
|
| 874 |
+
{ duplicate$
|
| 875 |
+
#-1 #2 substring$ ". " =
|
| 876 |
+
{ #-3 global.max$ substring$ "." * }
|
| 877 |
+
{ duplicate$
|
| 878 |
+
#-1 #2 substring$ ", " =
|
| 879 |
+
{ #-3 global.max$ substring$ "." * }
|
| 880 |
+
{ duplicate$
|
| 881 |
+
#-1 #2 substring$ ",'" =
|
| 882 |
+
{ #-3 global.max$ substring$ ".'" * }
|
| 883 |
+
{ duplicate$
|
| 884 |
+
#-1 #2 substring$ ".'" =
|
| 885 |
+
{ #-3 global.max$ substring$ ".'" * }
|
| 886 |
+
{ duplicate$
|
| 887 |
+
#-1 #2 substring$ ".~" =
|
| 888 |
+
{ #-3 global.max$ substring$ ".~" * }
|
| 889 |
+
{ duplicate$
|
| 890 |
+
#-1 #2 substring$ ",~" =
|
| 891 |
+
{ #-3 global.max$ substring$ ".~" * }
|
| 892 |
+
{ duplicate$
|
| 893 |
+
#-1 #3 substring$ ",''" =
|
| 894 |
+
{ #-4 global.max$ substring$ ".''" * }
|
| 895 |
+
{ duplicate$
|
| 896 |
+
#-1 #3 substring$ ".''" =
|
| 897 |
+
{ #-4 global.max$ substring$ ".''" * }
|
| 898 |
+
{ add.period$ }
|
| 899 |
+
if$
|
| 900 |
+
}
|
| 901 |
+
if$
|
| 902 |
+
}
|
| 903 |
+
if$
|
| 904 |
+
}
|
| 905 |
+
if$
|
| 906 |
+
}
|
| 907 |
+
if$
|
| 908 |
+
}
|
| 909 |
+
if$
|
| 910 |
+
}
|
| 911 |
+
if$
|
| 912 |
+
}
|
| 913 |
+
if$
|
| 914 |
+
}
|
| 915 |
+
if$
|
| 916 |
+
}
|
| 917 |
+
|
| 918 |
+
FUNCTION {output.nonnull}
|
| 919 |
+
{ 's :=
|
| 920 |
+
% mid.sentence
|
| 921 |
+
output.state mid.sentence =
|
| 922 |
+
{ ", " * write$ }
|
| 923 |
+
% not mid.sentence
|
| 924 |
+
{ output.state after.block =
|
| 925 |
+
% after.block
|
| 926 |
+
{ add.period.x " " * write$ }
|
| 927 |
+
% before.all
|
| 928 |
+
{ output.state before.all =
|
| 929 |
+
'write$
|
| 930 |
+
{ add.period.x " " * write$ }
|
| 931 |
+
if$
|
| 932 |
+
}
|
| 933 |
+
if$
|
| 934 |
+
% not mid.sentence, set to mid.sentence
|
| 935 |
+
mid.sentence 'output.state :=
|
| 936 |
+
}
|
| 937 |
+
if$
|
| 938 |
+
s
|
| 939 |
+
}
|
| 940 |
+
|
| 941 |
+
%%% If the last character is period or comma, set non-zero to
|
| 942 |
+
%%% last.period.comma.
|
| 943 |
+
FUNCTION {period.comma.p}
|
| 944 |
+
{ duplicate$ 't :=
|
| 945 |
+
t #-1 #1 substring$ "." =
|
| 946 |
+
t #-1 #1 substring$ "," = or
|
| 947 |
+
t #-1 #1 substring$ ":" = or
|
| 948 |
+
t #-1 #2 substring$ ".'" = or
|
| 949 |
+
t #-1 #2 substring$ ",'" = or
|
| 950 |
+
t #-1 #3 substring$ ".''" = or
|
| 951 |
+
t #-1 #3 substring$ ",''" = or
|
| 952 |
+
t #-1 #2 substring$ ".~" = or
|
| 953 |
+
t #-1 #2 substring$ ",~" = or
|
| 954 |
+
{ #1 'last.period.comma := }
|
| 955 |
+
{ #0 'last.period.comma := }
|
| 956 |
+
if$
|
| 957 |
+
}
|
| 958 |
+
|
| 959 |
+
%%% remove unnecessary comma.
|
| 960 |
+
FUNCTION {remove.pre.comma}
|
| 961 |
+
{ 's :=
|
| 962 |
+
s empty$
|
| 963 |
+
{ "" }
|
| 964 |
+
{ s #1 #1 substring$ "," =
|
| 965 |
+
{ s #2 global.max$ substring$ }
|
| 966 |
+
{ s #1 #1 substring$ "." =
|
| 967 |
+
{ s #2 global.max$ substring$ }
|
| 968 |
+
's
|
| 969 |
+
if$
|
| 970 |
+
}
|
| 971 |
+
if$
|
| 972 |
+
}
|
| 973 |
+
if$
|
| 974 |
+
}
|
| 975 |
+
|
| 976 |
+
%%% output.nonnull.nocomma is the same as output.nonnull except that it does
|
| 977 |
+
%%% not add commas even in mid.sentence.
|
| 978 |
+
FUNCTION {output.nonnull.nocomma}
|
| 979 |
+
{ 's :=
|
| 980 |
+
output.state mid.sentence =
|
| 981 |
+
% mid.sentence
|
| 982 |
+
{ period.comma.p "" * write$ }
|
| 983 |
+
|
| 984 |
+
% not mid.sentence
|
| 985 |
+
{ output.state after.block =
|
| 986 |
+
% after.block
|
| 987 |
+
{ add.period.x " " * write$ }
|
| 988 |
+
% before.all
|
| 989 |
+
{ output.state before.all =
|
| 990 |
+
'write$
|
| 991 |
+
{ add.period$ " " * write$ }
|
| 992 |
+
if$
|
| 993 |
+
}
|
| 994 |
+
if$
|
| 995 |
+
mid.sentence 'output.state :=
|
| 996 |
+
}
|
| 997 |
+
if$
|
| 998 |
+
last.period.comma #0 =
|
| 999 |
+
{ s }
|
| 1000 |
+
{ s remove.pre.comma }
|
| 1001 |
+
if$
|
| 1002 |
+
}
|
| 1003 |
+
|
| 1004 |
+
% Not used in the current econ.bst.
|
| 1005 |
+
% FUNCTION {output}
|
| 1006 |
+
% { duplicate$ empty$
|
| 1007 |
+
% 'pop$
|
| 1008 |
+
% 'output.nonnull
|
| 1009 |
+
% if$
|
| 1010 |
+
% }
|
| 1011 |
+
|
| 1012 |
+
FUNCTION {output.nocomma}
|
| 1013 |
+
{ duplicate$ empty$
|
| 1014 |
+
'pop$
|
| 1015 |
+
'output.nonnull.nocomma
|
| 1016 |
+
if$
|
| 1017 |
+
}
|
| 1018 |
+
|
| 1019 |
+
% Not used in the current econ.bst.
|
| 1020 |
+
% FUNCTION {output.check}
|
| 1021 |
+
% { 't :=
|
| 1022 |
+
% duplicate$ empty$
|
| 1023 |
+
% { pop$ "empty " t * " in " * cite$ * warning$ }
|
| 1024 |
+
% 'output.nonnull
|
| 1025 |
+
% if$
|
| 1026 |
+
% }
|
| 1027 |
+
|
| 1028 |
+
FUNCTION {output.check.nocomma}
|
| 1029 |
+
{ 't :=
|
| 1030 |
+
duplicate$ empty$
|
| 1031 |
+
{ pop$ "empty " t * " in " * cite$ * warning$ }
|
| 1032 |
+
'output.nonnull.nocomma
|
| 1033 |
+
if$
|
| 1034 |
+
}
|
| 1035 |
+
|
| 1036 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 1037 |
+
%%% Format in bbl file:
|
| 1038 |
+
|
| 1039 |
+
% \harvarditem[Brezis et~al.]{Brezis, Krugman and
|
| 1040 |
+
% Tsiddon}{1993}{brezis93:_leapf_inter_compet}
|
| 1041 |
+
% Brezis, Elise~S., Paul~R. Krugman, and Daniel Tsiddon (1993) ``Leapfrogging in
|
| 1042 |
+
% International Competition: A Theory of Cycles in National Technological
|
| 1043 |
+
% Leadership.'', {\em American Economic Review.}, Vol.~83. No.~5. pp.
|
| 1044 |
+
% 1211--1219.
|
| 1045 |
+
|
| 1046 |
+
% \harvarditem[abbreviated citation]{full citation}{year}{keyword} ...
|
| 1047 |
+
|
| 1048 |
+
%%% Add period and newline.
|
| 1049 |
+
FUNCTION {fin.entry}
|
| 1050 |
+
{ add.period.x
|
| 1051 |
+
write$
|
| 1052 |
+
newline$
|
| 1053 |
+
}
|
| 1054 |
+
|
| 1055 |
+
FUNCTION {new.block}
|
| 1056 |
+
{ output.state before.all =
|
| 1057 |
+
'skip$
|
| 1058 |
+
{ after.block 'output.state := }
|
| 1059 |
+
if$
|
| 1060 |
+
}
|
| 1061 |
+
|
| 1062 |
+
FUNCTION {new.sentence}
|
| 1063 |
+
{ output.state after.block =
|
| 1064 |
+
'skip$
|
| 1065 |
+
{ output.state before.all =
|
| 1066 |
+
'skip$
|
| 1067 |
+
{ after.sentence 'output.state := }
|
| 1068 |
+
if$
|
| 1069 |
+
}
|
| 1070 |
+
if$
|
| 1071 |
+
}
|
| 1072 |
+
|
| 1073 |
+
FUNCTION {new.block.check}
|
| 1074 |
+
{ empty$
|
| 1075 |
+
'skip$
|
| 1076 |
+
'new.block
|
| 1077 |
+
if$
|
| 1078 |
+
}
|
| 1079 |
+
|
| 1080 |
+
FUNCTION {field.or.null}
|
| 1081 |
+
{ duplicate$ empty$
|
| 1082 |
+
{ pop$ "" }
|
| 1083 |
+
'skip$
|
| 1084 |
+
if$
|
| 1085 |
+
}
|
| 1086 |
+
|
| 1087 |
+
%%% booktitle
|
| 1088 |
+
FUNCTION {format.btitle}
|
| 1089 |
+
{ booktitle empty$
|
| 1090 |
+
{ "" }
|
| 1091 |
+
{ bst.btitle.pre booktitle * bst.btitle.post * }
|
| 1092 |
+
if$
|
| 1093 |
+
}
|
| 1094 |
+
|
| 1095 |
+
FUNCTION {journal.name.sub}
|
| 1096 |
+
{ 't :=
|
| 1097 |
+
t #1 #4 substring$ "The " =
|
| 1098 |
+
% Use #30 to handle with the long journal name.
|
| 1099 |
+
{ t #5 #30 substring$ 't := }
|
| 1100 |
+
'skip$
|
| 1101 |
+
if$
|
| 1102 |
+
t
|
| 1103 |
+
}
|
| 1104 |
+
|
| 1105 |
+
FUNCTION {format.journal.name.abb}
|
| 1106 |
+
{ journal 's :=
|
| 1107 |
+
journal 'jname :=
|
| 1108 |
+
s journal.name.sub 's :=
|
| 1109 |
+
bst.journal.name.abb #0 =
|
| 1110 |
+
'skip$
|
| 1111 |
+
{
|
| 1112 |
+
s "Academic Management Review" =
|
| 1113 |
+
{ "Acad. Manage. J." 'jname := }
|
| 1114 |
+
'skip$
|
| 1115 |
+
if$
|
| 1116 |
+
}
|
| 1117 |
+
if$
|
| 1118 |
+
jname
|
| 1119 |
+
}
|
| 1120 |
+
|
| 1121 |
+
%%% journal
|
| 1122 |
+
FUNCTION {format.journal}
|
| 1123 |
+
{ journal empty$
|
| 1124 |
+
{ "" }
|
| 1125 |
+
{ bst.journal.pre format.journal.name.abb * bst.journal.post * }
|
| 1126 |
+
if$
|
| 1127 |
+
}
|
| 1128 |
+
|
| 1129 |
+
%%% title for book
|
| 1130 |
+
FUNCTION {format.book}
|
| 1131 |
+
{ title empty$
|
| 1132 |
+
{ "" }
|
| 1133 |
+
{ bst.book.pre title * bst.book.post * }
|
| 1134 |
+
if$
|
| 1135 |
+
}
|
| 1136 |
+
|
| 1137 |
+
FUNCTION {format.url}
|
| 1138 |
+
{ url empty$
|
| 1139 |
+
{ "" }
|
| 1140 |
+
{ type$ "online" = bst.show.url or
|
| 1141 |
+
{ bst.url.pre url * bst.url.post *
|
| 1142 |
+
access empty$
|
| 1143 |
+
{ "" * }
|
| 1144 |
+
{ bst.access.pre * access * bst.access.post * }
|
| 1145 |
+
if$
|
| 1146 |
+
}
|
| 1147 |
+
{ "" }
|
| 1148 |
+
if$
|
| 1149 |
+
}
|
| 1150 |
+
if$
|
| 1151 |
+
}
|
| 1152 |
+
|
| 1153 |
+
FUNCTION {format.doi}
|
| 1154 |
+
{ doi empty$ bst.show.doi not or
|
| 1155 |
+
{ "" }
|
| 1156 |
+
{ bst.doi.pre doi * bst.doi.post * }
|
| 1157 |
+
if$
|
| 1158 |
+
}
|
| 1159 |
+
|
| 1160 |
+
FUNCTION {format.url.doi}
|
| 1161 |
+
{ url empty$
|
| 1162 |
+
{ format.doi }
|
| 1163 |
+
{ doi empty$
|
| 1164 |
+
{ format.url }
|
| 1165 |
+
{ bst.url.doi #0 =
|
| 1166 |
+
{ format.url output.nocomma
|
| 1167 |
+
format.doi }
|
| 1168 |
+
{ bst.url.doi #1 =
|
| 1169 |
+
{ format.url }
|
| 1170 |
+
{ format.doi }
|
| 1171 |
+
if$
|
| 1172 |
+
}
|
| 1173 |
+
if$
|
| 1174 |
+
}
|
| 1175 |
+
if$
|
| 1176 |
+
}
|
| 1177 |
+
if$
|
| 1178 |
+
}
|
| 1179 |
+
|
| 1180 |
+
%%% and others
|
| 1181 |
+
FUNCTION {bst.and.others.output}
|
| 1182 |
+
{ nameorder.temp "random" =
|
| 1183 |
+
bst.use.nameorder #0 = not and
|
| 1184 |
+
{ bst.and.others.nameorder }
|
| 1185 |
+
{ bst.and.others }
|
| 1186 |
+
if$
|
| 1187 |
+
}
|
| 1188 |
+
|
| 1189 |
+
%%% author and editor
|
| 1190 |
+
|
| 1191 |
+
%%% name
|
| 1192 |
+
FUNCTION {format.names}
|
| 1193 |
+
{ 's :=
|
| 1194 |
+
% insert 1 to nameptr.
|
| 1195 |
+
#1 'nameptr :=
|
| 1196 |
+
% Set the number of authors to numnames.
|
| 1197 |
+
s num.names$ 'numnames :=
|
| 1198 |
+
numnames 'namesleft :=
|
| 1199 |
+
% Repeat if namesleft > 0
|
| 1200 |
+
{ namesleft #0 > }
|
| 1201 |
+
|
| 1202 |
+
{ nameptr #1 =
|
| 1203 |
+
% First author
|
| 1204 |
+
{ bst.author.name #0 =
|
| 1205 |
+
bst.author.name #1 =
|
| 1206 |
+
or
|
| 1207 |
+
{ bst.first.name.initial #0 =
|
| 1208 |
+
{ s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
|
| 1209 |
+
{ s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
|
| 1210 |
+
if$
|
| 1211 |
+
}
|
| 1212 |
+
{ bst.first.name.initial #0 =
|
| 1213 |
+
{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
|
| 1214 |
+
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
|
| 1215 |
+
if$
|
| 1216 |
+
}
|
| 1217 |
+
if$
|
| 1218 |
+
}
|
| 1219 |
+
% The second or later authors
|
| 1220 |
+
{ bst.author.name #0 =
|
| 1221 |
+
bst.author.name #2 =
|
| 1222 |
+
or
|
| 1223 |
+
{ bst.first.name.initial #0 =
|
| 1224 |
+
{ s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := }
|
| 1225 |
+
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := }
|
| 1226 |
+
if$
|
| 1227 |
+
}
|
| 1228 |
+
{ bst.first.name.initial #0 =
|
| 1229 |
+
{ s nameptr "{vv~}{ll}{, ff}{, jj}" format.name$ 't := }
|
| 1230 |
+
{ s nameptr "{vv~}{ll}{, f.}{, jj}" format.name$ 't := }
|
| 1231 |
+
if$
|
| 1232 |
+
}
|
| 1233 |
+
if$
|
| 1234 |
+
}
|
| 1235 |
+
if$
|
| 1236 |
+
|
| 1237 |
+
nameptr #1 >
|
| 1238 |
+
% The second or later authors
|
| 1239 |
+
{ numnames bst.max.author.num >
|
| 1240 |
+
{ bst.and.others *
|
| 1241 |
+
#1 'namesleft := }
|
| 1242 |
+
{ nameorder.temp "random" =
|
| 1243 |
+
bst.use.nameorder #0 = not and
|
| 1244 |
+
{ bst.and.nameorder * t * }
|
| 1245 |
+
{ namesleft #1 >
|
| 1246 |
+
% More than one authors left
|
| 1247 |
+
{ ", " * t * }
|
| 1248 |
+
% Only one author left
|
| 1249 |
+
{ t "others" =
|
| 1250 |
+
{ bst.and.others.output * }
|
| 1251 |
+
{ numnames #2 =
|
| 1252 |
+
% Entry with two authors
|
| 1253 |
+
{ bst.and * t * }
|
| 1254 |
+
{ bst.ands * t * }
|
| 1255 |
+
if$
|
| 1256 |
+
}
|
| 1257 |
+
if$
|
| 1258 |
+
}
|
| 1259 |
+
if$
|
| 1260 |
+
}
|
| 1261 |
+
if$
|
| 1262 |
+
}
|
| 1263 |
+
if$
|
| 1264 |
+
}
|
| 1265 |
+
't
|
| 1266 |
+
if$
|
| 1267 |
+
nameptr #1 + 'nameptr :=
|
| 1268 |
+
namesleft #1 - 'namesleft :=
|
| 1269 |
+
}
|
| 1270 |
+
while$
|
| 1271 |
+
}
|
| 1272 |
+
|
| 1273 |
+
% remove successive periods (commas) from author
|
| 1274 |
+
FUNCTION {remove.ss.period.auth}
|
| 1275 |
+
{ 's :=
|
| 1276 |
+
s format.names 'tempa :=
|
| 1277 |
+
bst.author.post 'tempb :=
|
| 1278 |
+
tempb #1 #1 substring$ "}" =
|
| 1279 |
+
{ tempa tempb * }
|
| 1280 |
+
{ tempa #-1 #1 substring$ tempb #1 #1 substring$ =
|
| 1281 |
+
{ tempa tempb #2 global.max$ substring$ * }
|
| 1282 |
+
{ tempa tempb * }
|
| 1283 |
+
if$
|
| 1284 |
+
}
|
| 1285 |
+
if$
|
| 1286 |
+
}
|
| 1287 |
+
|
| 1288 |
+
% <prev name list> <new name list> compare.names <modified name list>
|
| 1289 |
+
FUNCTION {compare.names.aer}
|
| 1290 |
+
{ 's :=
|
| 1291 |
+
'tempa :=
|
| 1292 |
+
|
| 1293 |
+
% "current.author = " s * "\\" * write$ newline$
|
| 1294 |
+
% "prev.author = " tempa * "\\" * write$ newline$
|
| 1295 |
+
|
| 1296 |
+
tempa num.names$ 'len1.aer := % len1 = the number of previous authors
|
| 1297 |
+
s num.names$ 'len2.aer := % len2 = the number of current authors
|
| 1298 |
+
|
| 1299 |
+
% len1.aer := min(len1.aer,len2.aer)
|
| 1300 |
+
% len1 -> min{ the number of previous authors, the number of current authors }
|
| 1301 |
+
len1.aer len2.aer >
|
| 1302 |
+
{ len2.aer 'len1.aer := }
|
| 1303 |
+
{ }
|
| 1304 |
+
if$
|
| 1305 |
+
|
| 1306 |
+
% start with an empty string, then while the components are the same
|
| 1307 |
+
% add "\bysame"
|
| 1308 |
+
""
|
| 1309 |
+
#1 'i.aer :=
|
| 1310 |
+
|
| 1311 |
+
{ i.aer len1.aer > not }
|
| 1312 |
+
{ tempa i.aer "{ff }{vv }{ll}{ jj}" format.name$
|
| 1313 |
+
s i.aer "{ff }{vv }{ll}{ jj}" format.name$
|
| 1314 |
+
=
|
| 1315 |
+
{ #1 i.aer <
|
| 1316 |
+
{ " and " * } % \bysame �ŏȗ����钘�҂̑O�ɂ� and
|
| 1317 |
+
{ }
|
| 1318 |
+
if$
|
| 1319 |
+
"\bysame{}" *
|
| 1320 |
+
i.aer #1 + 'i.aer := }
|
| 1321 |
+
{ #-1 'len1.aer := }
|
| 1322 |
+
if$
|
| 1323 |
+
}
|
| 1324 |
+
while$
|
| 1325 |
+
|
| 1326 |
+
% add the rest of the second string
|
| 1327 |
+
{ i.aer len2.aer > not }
|
| 1328 |
+
{ #1 i.aer <
|
| 1329 |
+
{ " and " * }
|
| 1330 |
+
{ }
|
| 1331 |
+
if$
|
| 1332 |
+
s i.aer "{ff }{vv }{ll}{ jj}" format.name$ *
|
| 1333 |
+
i.aer #1 + 'i.aer :=
|
| 1334 |
+
}
|
| 1335 |
+
while$
|
| 1336 |
+
}
|
| 1337 |
+
|
| 1338 |
+
%%% author
|
| 1339 |
+
FUNCTION {format.authors}
|
| 1340 |
+
{ author empty$
|
| 1341 |
+
{ "" }
|
| 1342 |
+
{ bst.use.bysame #2 =
|
| 1343 |
+
{ prev.author.aer author compare.names.aer 's :=
|
| 1344 |
+
author 'prev.author.aer := }
|
| 1345 |
+
{ author 's := }
|
| 1346 |
+
if$
|
| 1347 |
+
extra.label.bysame "bysame" =
|
| 1348 |
+
{ "\bysame " }
|
| 1349 |
+
{ bst.author.pre s remove.ss.period.auth * }
|
| 1350 |
+
if$
|
| 1351 |
+
}
|
| 1352 |
+
if$
|
| 1353 |
+
}
|
| 1354 |
+
|
| 1355 |
+
%%% editor
|
| 1356 |
+
FUNCTION {format.editors}
|
| 1357 |
+
{ editor empty$
|
| 1358 |
+
{ "" }
|
| 1359 |
+
{ bst.use.bysame #2 =
|
| 1360 |
+
{ prev.author.aer editor compare.names.aer 's :=
|
| 1361 |
+
editor 'prev.author.aer := }
|
| 1362 |
+
{ editor 's := }
|
| 1363 |
+
if$
|
| 1364 |
+
extra.label.bysame "bysame" =
|
| 1365 |
+
{ "\bysame " }
|
| 1366 |
+
{ bst.author.pre s remove.ss.period.auth * }
|
| 1367 |
+
if$
|
| 1368 |
+
s num.names$ #1 >
|
| 1369 |
+
{ bst.editors * }
|
| 1370 |
+
{ bst.editor * }
|
| 1371 |
+
if$
|
| 1372 |
+
}
|
| 1373 |
+
if$
|
| 1374 |
+
}
|
| 1375 |
+
|
| 1376 |
+
FUNCTION {format.authors.alt}
|
| 1377 |
+
{ author empty$
|
| 1378 |
+
{ "" }
|
| 1379 |
+
{ extra.label.bysame "bysame" =
|
| 1380 |
+
{"\bysame "}
|
| 1381 |
+
{ bst.author.pre author remove.ss.period.auth * }
|
| 1382 |
+
if$
|
| 1383 |
+
}
|
| 1384 |
+
if$
|
| 1385 |
+
}
|
| 1386 |
+
|
| 1387 |
+
%%% editor
|
| 1388 |
+
FUNCTION {format.editors.alt}
|
| 1389 |
+
{ editor empty$
|
| 1390 |
+
{ "" }
|
| 1391 |
+
{ extra.label.bysame "bysame" =
|
| 1392 |
+
{ "\bysame " }
|
| 1393 |
+
{ bst.author.pre editor remove.ss.period.auth * }
|
| 1394 |
+
if$
|
| 1395 |
+
}
|
| 1396 |
+
if$
|
| 1397 |
+
}
|
| 1398 |
+
|
| 1399 |
+
%%% format.in.ed.booktitle
|
| 1400 |
+
FUNCTION {format.editors.x}
|
| 1401 |
+
{ editor empty$
|
| 1402 |
+
{ "" }
|
| 1403 |
+
{ bst.editor.btitle.order #0 =
|
| 1404 |
+
{ "" }
|
| 1405 |
+
{ editor num.names$ #1 >
|
| 1406 |
+
{ " edited by " }
|
| 1407 |
+
{ " edited by " }
|
| 1408 |
+
% { bst.editors " by " * }
|
| 1409 |
+
% { bst.editor " by " * }
|
| 1410 |
+
if$
|
| 1411 |
+
}
|
| 1412 |
+
if$
|
| 1413 |
+
editor format.names *
|
| 1414 |
+
bst.editor.btitle.order #0 =
|
| 1415 |
+
{ editor num.names$ #1 >
|
| 1416 |
+
{ bst.editors * }
|
| 1417 |
+
{ bst.editor * }
|
| 1418 |
+
if$
|
| 1419 |
+
}
|
| 1420 |
+
{ "" * }
|
| 1421 |
+
if$
|
| 1422 |
+
}
|
| 1423 |
+
if$
|
| 1424 |
+
}
|
| 1425 |
+
|
| 1426 |
+
%%% Remove commas in the cases like "?." and "?,".
|
| 1427 |
+
FUNCTION {remove.irrelevant.period.comma}
|
| 1428 |
+
{ 's :=
|
| 1429 |
+
s empty$
|
| 1430 |
+
{ "" }
|
| 1431 |
+
{ s #-1 #3 substring$ "?,'" =
|
| 1432 |
+
s #-1 #3 substring$ "?.'" = or
|
| 1433 |
+
{ s #-3 global.max$ substring$ "'" * }
|
| 1434 |
+
{ s #-1 #4 substring$ "?,''" =
|
| 1435 |
+
s #-1 #4 substring$ "?.''" = or
|
| 1436 |
+
{ s #-4 global.max$ substring$ "''" * }
|
| 1437 |
+
{ s #-1 #2 substring$ "?," =
|
| 1438 |
+
s #-1 #2 substring$ "?." = or
|
| 1439 |
+
{ s #-2 global.max$ substring$ "" * }
|
| 1440 |
+
{ s #-1 #3 substring$ "?,~" =
|
| 1441 |
+
s #-1 #3 substring$ "?.~" = or
|
| 1442 |
+
{ s #-4 global.max$ substring$ "?~" * }
|
| 1443 |
+
's
|
| 1444 |
+
if$
|
| 1445 |
+
}
|
| 1446 |
+
if$
|
| 1447 |
+
}
|
| 1448 |
+
if$
|
| 1449 |
+
}
|
| 1450 |
+
if$
|
| 1451 |
+
}
|
| 1452 |
+
if$
|
| 1453 |
+
}
|
| 1454 |
+
|
| 1455 |
+
%%% title
|
| 1456 |
+
FUNCTION {format.title.sub}
|
| 1457 |
+
{ bst.title.lower.case #0 =
|
| 1458 |
+
{ bst.title.pre title * bst.title.post * }
|
| 1459 |
+
{ bst.title.pre title "t" change.case$ * bst.title.post * }
|
| 1460 |
+
if$
|
| 1461 |
+
}
|
| 1462 |
+
|
| 1463 |
+
%%% title
|
| 1464 |
+
FUNCTION {format.title}
|
| 1465 |
+
{ title empty$
|
| 1466 |
+
bst.hide.title #0 = not or
|
| 1467 |
+
{ "" }
|
| 1468 |
+
{ format.title.sub remove.irrelevant.period.comma }
|
| 1469 |
+
if$
|
| 1470 |
+
}
|
| 1471 |
+
|
| 1472 |
+
%%% title for misc.
|
| 1473 |
+
FUNCTION {format.misc.title}
|
| 1474 |
+
{ title empty$
|
| 1475 |
+
{ "" }
|
| 1476 |
+
{ bst.title.pre title * bst.title.post * }
|
| 1477 |
+
if$
|
| 1478 |
+
}
|
| 1479 |
+
|
| 1480 |
+
% Convert "-" to "--" (for pages field)
|
| 1481 |
+
FUNCTION {n.dashify}
|
| 1482 |
+
{ 't :=
|
| 1483 |
+
""
|
| 1484 |
+
%% while$
|
| 1485 |
+
{ t empty$ not }
|
| 1486 |
+
{ t #1 #1 substring$ "-" =
|
| 1487 |
+
{ t #1 #2 substring$ "--" = not
|
| 1488 |
+
{ "--" *
|
| 1489 |
+
t #2 global.max$ substring$ 't :=
|
| 1490 |
+
}
|
| 1491 |
+
{ { t #1 #1 substring$ "-" = }
|
| 1492 |
+
{ "-" *
|
| 1493 |
+
t #2 global.max$ substring$ 't :=
|
| 1494 |
+
}
|
| 1495 |
+
while$
|
| 1496 |
+
}
|
| 1497 |
+
if$
|
| 1498 |
+
}
|
| 1499 |
+
{ t #1 #1 substring$ *
|
| 1500 |
+
t #2 global.max$ substring$ 't :=
|
| 1501 |
+
}
|
| 1502 |
+
if$
|
| 1503 |
+
}
|
| 1504 |
+
while$
|
| 1505 |
+
}
|
| 1506 |
+
|
| 1507 |
+
%%% year
|
| 1508 |
+
FUNCTION {format.year}
|
| 1509 |
+
{ year empty$
|
| 1510 |
+
{ "there's no year in " cite$ * warning$
|
| 1511 |
+
", " }
|
| 1512 |
+
{ type$ "article" =
|
| 1513 |
+
{ bst.year.pre year * extra.label * bst.year.post * }
|
| 1514 |
+
{ bst.year.na.pre year * extra.label * bst.year.na.post * }
|
| 1515 |
+
if$
|
| 1516 |
+
}
|
| 1517 |
+
if$
|
| 1518 |
+
}
|
| 1519 |
+
|
| 1520 |
+
%%% page for book
|
| 1521 |
+
FUNCTION {format.book.pages}
|
| 1522 |
+
{ pages empty$
|
| 1523 |
+
{ "" }
|
| 1524 |
+
{ bst.pages.pre pages * bst.pages.post * }
|
| 1525 |
+
if$
|
| 1526 |
+
}
|
| 1527 |
+
|
| 1528 |
+
%%% Attach tie for the string with two or less characters.
|
| 1529 |
+
FUNCTION {tie.or.space.connect}
|
| 1530 |
+
{ duplicate$ text.length$ #3 <
|
| 1531 |
+
{ "~" }
|
| 1532 |
+
{ " " }
|
| 1533 |
+
if$
|
| 1534 |
+
swap$ * *
|
| 1535 |
+
}
|
| 1536 |
+
|
| 1537 |
+
FUNCTION {either.or.check}
|
| 1538 |
+
{ empty$
|
| 1539 |
+
'pop$
|
| 1540 |
+
{ "can't use both " swap$ * " fields in " * cite$ * warning$ }
|
| 1541 |
+
if$
|
| 1542 |
+
}
|
| 1543 |
+
|
| 1544 |
+
%%% volume for book
|
| 1545 |
+
FUNCTION {format.bvolume}
|
| 1546 |
+
{ volume empty$
|
| 1547 |
+
{ "" }
|
| 1548 |
+
% { bst.volume.pre volume * bst.volume.post *
|
| 1549 |
+
{ " Volume " volume * "." *
|
| 1550 |
+
series empty$
|
| 1551 |
+
'skip$
|
| 1552 |
+
%% If there is series field
|
| 1553 |
+
{ " of " * series * bst.series.post * }
|
| 1554 |
+
if$
|
| 1555 |
+
% "volume and number" number either.or.check
|
| 1556 |
+
}
|
| 1557 |
+
if$
|
| 1558 |
+
}
|
| 1559 |
+
|
| 1560 |
+
%%% series
|
| 1561 |
+
FUNCTION {output.series}
|
| 1562 |
+
{ series empty$
|
| 1563 |
+
{ "" }
|
| 1564 |
+
{ bst.series.pre series * bst.series.post * }
|
| 1565 |
+
if$
|
| 1566 |
+
}
|
| 1567 |
+
|
| 1568 |
+
%%% number and series
|
| 1569 |
+
FUNCTION {format.number.series}
|
| 1570 |
+
{ volume empty$
|
| 1571 |
+
{ number empty$
|
| 1572 |
+
bst.hide.month #0 = not or
|
| 1573 |
+
% number is empty
|
| 1574 |
+
{ series empty$
|
| 1575 |
+
{ "" }
|
| 1576 |
+
% series is not empty.
|
| 1577 |
+
{ output.series }
|
| 1578 |
+
if$
|
| 1579 |
+
}
|
| 1580 |
+
% number is not empty$
|
| 1581 |
+
{ series empty$
|
| 1582 |
+
{ bst.number.pre number * bst.number.post * }
|
| 1583 |
+
% series is not empty.
|
| 1584 |
+
{ bst.in bst.series.pre * series * bst.series.post *
|
| 1585 |
+
bst.number.pre * number * bst.number.post * }
|
| 1586 |
+
if$
|
| 1587 |
+
}
|
| 1588 |
+
if$
|
| 1589 |
+
}
|
| 1590 |
+
{ "" }
|
| 1591 |
+
if$
|
| 1592 |
+
}
|
| 1593 |
+
|
| 1594 |
+
%%% Number or not.
|
| 1595 |
+
FUNCTION {is.num}
|
| 1596 |
+
{ chr.to.int$
|
| 1597 |
+
duplicate$ "0" chr.to.int$ < not
|
| 1598 |
+
swap$ "9" chr.to.int$ > not and
|
| 1599 |
+
}
|
| 1600 |
+
|
| 1601 |
+
FUNCTION {extract.num}
|
| 1602 |
+
{ duplicate$ 't :=
|
| 1603 |
+
"" 's :=
|
| 1604 |
+
{ t empty$ not }
|
| 1605 |
+
{ t #1 #1 substring$
|
| 1606 |
+
t #2 global.max$ substring$ 't :=
|
| 1607 |
+
duplicate$ is.num
|
| 1608 |
+
{ s swap$ * 's := }
|
| 1609 |
+
{ pop$ "" 't := }
|
| 1610 |
+
if$
|
| 1611 |
+
}
|
| 1612 |
+
while$
|
| 1613 |
+
s empty$
|
| 1614 |
+
'skip$
|
| 1615 |
+
{ pop$ s }
|
| 1616 |
+
if$
|
| 1617 |
+
}
|
| 1618 |
+
|
| 1619 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 1620 |
+
%% edition
|
| 1621 |
+
|
| 1622 |
+
% Convert edition to 1st, 2nd, 3rd, 4th etc
|
| 1623 |
+
FUNCTION {eng.ord}
|
| 1624 |
+
{ duplicate$ "1" swap$ *
|
| 1625 |
+
#-2 #1 substring$ "1" =
|
| 1626 |
+
{ bst.th * }
|
| 1627 |
+
{ duplicate$ #-1 #1 substring$
|
| 1628 |
+
duplicate$ "1" =
|
| 1629 |
+
{ pop$ bst.st * }
|
| 1630 |
+
{ duplicate$ "2" =
|
| 1631 |
+
{ pop$ bst.nd * }
|
| 1632 |
+
{ "3" =
|
| 1633 |
+
{ bst.rd * }
|
| 1634 |
+
{ bst.th * }
|
| 1635 |
+
if$
|
| 1636 |
+
}
|
| 1637 |
+
if$
|
| 1638 |
+
}
|
| 1639 |
+
if$
|
| 1640 |
+
}
|
| 1641 |
+
if$
|
| 1642 |
+
}
|
| 1643 |
+
|
| 1644 |
+
% Convert first, second etc in edition field to 1st, 2nd (from jfm.bst)
|
| 1645 |
+
FUNCTION {convert.edition}
|
| 1646 |
+
{ edition extract.num "l" change.case$ 's :=
|
| 1647 |
+
s "first" = s "1" = or
|
| 1648 |
+
{ bst.first }
|
| 1649 |
+
{ s "second" = s "2" = or
|
| 1650 |
+
{ bst.second }
|
| 1651 |
+
{ s "third" = s "3" = or
|
| 1652 |
+
{ bst.third }
|
| 1653 |
+
{ s "fourth" = s "4" = or
|
| 1654 |
+
{ bst.fourth }
|
| 1655 |
+
{ s "fifth" = s "5" = or
|
| 1656 |
+
{ bst.fifth }
|
| 1657 |
+
{ s #1 #1 substring$ is.num
|
| 1658 |
+
{ s eng.ord }
|
| 1659 |
+
{ edition }
|
| 1660 |
+
if$
|
| 1661 |
+
}
|
| 1662 |
+
if$
|
| 1663 |
+
}
|
| 1664 |
+
if$
|
| 1665 |
+
}
|
| 1666 |
+
if$
|
| 1667 |
+
}
|
| 1668 |
+
if$
|
| 1669 |
+
}
|
| 1670 |
+
if$
|
| 1671 |
+
}
|
| 1672 |
+
|
| 1673 |
+
%%% edition
|
| 1674 |
+
FUNCTION {format.edition}
|
| 1675 |
+
{ edition empty$
|
| 1676 |
+
{ "" }
|
| 1677 |
+
{ output.state mid.sentence =
|
| 1678 |
+
{ bst.edition.pre convert.edition "l" change.case$ * bst.edition.post * }
|
| 1679 |
+
{ bst.edition.pre convert.edition "t" change.case$ * bst.edition.post * }
|
| 1680 |
+
if$
|
| 1681 |
+
}
|
| 1682 |
+
if$
|
| 1683 |
+
}
|
| 1684 |
+
|
| 1685 |
+
%%% month
|
| 1686 |
+
FUNCTION {format.month}
|
| 1687 |
+
{ month empty$
|
| 1688 |
+
bst.hide.month #0 = not or
|
| 1689 |
+
{ "" }
|
| 1690 |
+
{ bst.month.pre month * bst.month.post * }
|
| 1691 |
+
if$
|
| 1692 |
+
}
|
| 1693 |
+
|
| 1694 |
+
%%% year and month
|
| 1695 |
+
FUNCTION {format.date}
|
| 1696 |
+
{ format.month format.year *
|
| 1697 |
+
}
|
| 1698 |
+
|
| 1699 |
+
%%% Is multiple pages like 1-100?
|
| 1700 |
+
FUNCTION { multi.page.check }
|
| 1701 |
+
{ 't :=
|
| 1702 |
+
#0 'multiresult :=
|
| 1703 |
+
{ multiresult not
|
| 1704 |
+
t empty$ not
|
| 1705 |
+
and
|
| 1706 |
+
}
|
| 1707 |
+
{ t #1 #1 substring$
|
| 1708 |
+
duplicate$ "-" =
|
| 1709 |
+
swap$ duplicate$ "," =
|
| 1710 |
+
swap$ "+" =
|
| 1711 |
+
or or
|
| 1712 |
+
{ #1 'multiresult := }
|
| 1713 |
+
{ t #2 global.max$ substring$ 't := }
|
| 1714 |
+
if$
|
| 1715 |
+
}
|
| 1716 |
+
while$
|
| 1717 |
+
multiresult
|
| 1718 |
+
}
|
| 1719 |
+
|
| 1720 |
+
%%% pages
|
| 1721 |
+
FUNCTION {format.pages}
|
| 1722 |
+
{ pages empty$
|
| 1723 |
+
{ "" }
|
| 1724 |
+
{ pages multi.page.check
|
| 1725 |
+
{ bst.pages.pre pages n.dashify tie.or.space.connect * bst.pages.post }
|
| 1726 |
+
{ bst.page.pre pages tie.or.space.connect * bst.page.post }
|
| 1727 |
+
if$
|
| 1728 |
+
}
|
| 1729 |
+
if$
|
| 1730 |
+
}
|
| 1731 |
+
|
| 1732 |
+
%%% number
|
| 1733 |
+
FUNCTION {format.number}
|
| 1734 |
+
{ number empty$
|
| 1735 |
+
bst.hide.number #0 = not or
|
| 1736 |
+
{ "" }
|
| 1737 |
+
{ bst.number.pre number * bst.number.post * }
|
| 1738 |
+
if$
|
| 1739 |
+
}
|
| 1740 |
+
|
| 1741 |
+
%%% volume
|
| 1742 |
+
FUNCTION {format.volume}
|
| 1743 |
+
{ volume empty$
|
| 1744 |
+
'skip$
|
| 1745 |
+
{ bst.volume.pre volume * bst.volume.post *
|
| 1746 |
+
bst.year.position #3 =
|
| 1747 |
+
{ format.year * }
|
| 1748 |
+
'skip$
|
| 1749 |
+
if$
|
| 1750 |
+
}
|
| 1751 |
+
if$
|
| 1752 |
+
}
|
| 1753 |
+
|
| 1754 |
+
%%% number, page
|
| 1755 |
+
FUNCTION {format.number.pages}
|
| 1756 |
+
{ number empty$
|
| 1757 |
+
{ format.pages }
|
| 1758 |
+
{ format.number format.pages * }
|
| 1759 |
+
if$
|
| 1760 |
+
}
|
| 1761 |
+
|
| 1762 |
+
%%% volume, page
|
| 1763 |
+
FUNCTION {format.volume.pages}
|
| 1764 |
+
{ volume empty$
|
| 1765 |
+
{ format.pages }
|
| 1766 |
+
{ format.volume format.pages * }
|
| 1767 |
+
if$
|
| 1768 |
+
}
|
| 1769 |
+
|
| 1770 |
+
%%% volume, number, page
|
| 1771 |
+
FUNCTION {format.volume.number.pages}
|
| 1772 |
+
{ volume empty$
|
| 1773 |
+
{ number empty$
|
| 1774 |
+
{ format.pages }
|
| 1775 |
+
{ format.number format.pages * }
|
| 1776 |
+
if$
|
| 1777 |
+
}
|
| 1778 |
+
{ number empty$
|
| 1779 |
+
{ format.volume format.pages * }
|
| 1780 |
+
{ format.volume format.number * format.pages * }
|
| 1781 |
+
if$
|
| 1782 |
+
}
|
| 1783 |
+
if$
|
| 1784 |
+
}
|
| 1785 |
+
|
| 1786 |
+
% volume, number, page
|
| 1787 |
+
FUNCTION {format.vol.num.pages}
|
| 1788 |
+
{ volume empty$
|
| 1789 |
+
%% volume is empty.
|
| 1790 |
+
{ number empty$
|
| 1791 |
+
%% number is empty.
|
| 1792 |
+
{ pages empty$
|
| 1793 |
+
% warning
|
| 1794 |
+
{ "there is no volume, number, and pages in " cite$ * warning$ "" }
|
| 1795 |
+
{ "" format.pages * }
|
| 1796 |
+
if$
|
| 1797 |
+
}
|
| 1798 |
+
%% number is not empty.
|
| 1799 |
+
% warning
|
| 1800 |
+
{ "there's a number but no volume in " cite$ * warning$
|
| 1801 |
+
format.number.pages }
|
| 1802 |
+
if$
|
| 1803 |
+
}
|
| 1804 |
+
%% volume is not empty.
|
| 1805 |
+
{ number empty$
|
| 1806 |
+
%% number is empty.
|
| 1807 |
+
{ format.volume.pages }
|
| 1808 |
+
%% number is not empty.
|
| 1809 |
+
{ format.volume.number.pages }
|
| 1810 |
+
if$
|
| 1811 |
+
}
|
| 1812 |
+
if$
|
| 1813 |
+
}
|
| 1814 |
+
|
| 1815 |
+
%%% chapter
|
| 1816 |
+
FUNCTION {format.chapter}
|
| 1817 |
+
{ chapter empty$
|
| 1818 |
+
{ "" }
|
| 1819 |
+
{ type empty$
|
| 1820 |
+
{ bst.chapter.pre chapter tie.or.space.connect * bst.chapter.post }
|
| 1821 |
+
{ ", " * type " " * chapter * }
|
| 1822 |
+
if$
|
| 1823 |
+
}
|
| 1824 |
+
if$
|
| 1825 |
+
}
|
| 1826 |
+
|
| 1827 |
+
%%% chapter, pages
|
| 1828 |
+
FUNCTION {format.chapter.pages}
|
| 1829 |
+
{ chapter empty$
|
| 1830 |
+
{ pages empty$
|
| 1831 |
+
{ "" }
|
| 1832 |
+
{ "" format.pages * }
|
| 1833 |
+
if$
|
| 1834 |
+
}
|
| 1835 |
+
{ pages empty$
|
| 1836 |
+
{ "" format.chapter * }
|
| 1837 |
+
{ "" format.chapter * format.pages * }
|
| 1838 |
+
if$
|
| 1839 |
+
}
|
| 1840 |
+
if$
|
| 1841 |
+
}
|
| 1842 |
+
|
| 1843 |
+
%%% editor and booktitle
|
| 1844 |
+
FUNCTION {format.in.ed.booktitle}
|
| 1845 |
+
{ booktitle empty$
|
| 1846 |
+
{ "" }
|
| 1847 |
+
{ editor empty$
|
| 1848 |
+
{ bst.in format.btitle * }
|
| 1849 |
+
{ bst.editor.btitle.order #0 =
|
| 1850 |
+
{ bst.in format.editors.x * " " * format.btitle * }
|
| 1851 |
+
{ bst.in format.btitle * " " * format.editors.x * }
|
| 1852 |
+
if$
|
| 1853 |
+
}
|
| 1854 |
+
if$
|
| 1855 |
+
}
|
| 1856 |
+
if$
|
| 1857 |
+
}
|
| 1858 |
+
|
| 1859 |
+
%%% howpublished
|
| 1860 |
+
FUNCTION {format.howpublished}
|
| 1861 |
+
{ howpublished empty$
|
| 1862 |
+
{ "" }
|
| 1863 |
+
{ bst.howpublished.pre howpublished * bst.howpublished.post * }
|
| 1864 |
+
if$
|
| 1865 |
+
}
|
| 1866 |
+
|
| 1867 |
+
%%% address
|
| 1868 |
+
FUNCTION {format.address}
|
| 1869 |
+
{ address empty$
|
| 1870 |
+
{ "" }
|
| 1871 |
+
{ bst.address.pre address * bst.address.post * }
|
| 1872 |
+
if$
|
| 1873 |
+
}
|
| 1874 |
+
|
| 1875 |
+
%%% publisher
|
| 1876 |
+
FUNCTION {format.publisher}
|
| 1877 |
+
{ publisher empty$
|
| 1878 |
+
{ "" }
|
| 1879 |
+
{ address empty$
|
| 1880 |
+
{ ", " publisher * bst.publisher.post * }
|
| 1881 |
+
{ bst.publisher.pre publisher * bst.publisher.post * }
|
| 1882 |
+
if$
|
| 1883 |
+
}
|
| 1884 |
+
if$
|
| 1885 |
+
}
|
| 1886 |
+
|
| 1887 |
+
%%% organization
|
| 1888 |
+
FUNCTION {format.organization}
|
| 1889 |
+
{ organization empty$
|
| 1890 |
+
{ "" }
|
| 1891 |
+
{ bst.organization.pre organization * bst.organization.post * }
|
| 1892 |
+
if$
|
| 1893 |
+
}
|
| 1894 |
+
|
| 1895 |
+
%% publisher and address
|
| 1896 |
+
FUNCTION {output.publisher.address}
|
| 1897 |
+
{ address empty$
|
| 1898 |
+
{ format.publisher "publisher" output.check.nocomma }
|
| 1899 |
+
{ bst.address.position #0 =
|
| 1900 |
+
{ format.address output.nocomma
|
| 1901 |
+
format.publisher "publisher" output.check.nocomma }
|
| 1902 |
+
{ format.publisher "publisher" output.check.nocomma
|
| 1903 |
+
format.address output.nocomma }
|
| 1904 |
+
if$
|
| 1905 |
+
}
|
| 1906 |
+
if$
|
| 1907 |
+
}
|
| 1908 |
+
|
| 1909 |
+
%% address, organization, publisher
|
| 1910 |
+
FUNCTION {output.address.organization.publisher}
|
| 1911 |
+
{ address empty$
|
| 1912 |
+
%% address is empty
|
| 1913 |
+
{ organization empty$
|
| 1914 |
+
%% organization is empty
|
| 1915 |
+
{ publisher empty$
|
| 1916 |
+
'skip$
|
| 1917 |
+
{ format.publisher "publisher" output.check.nocomma }
|
| 1918 |
+
if$
|
| 1919 |
+
}
|
| 1920 |
+
%% organization is not empty
|
| 1921 |
+
{ publisher empty$
|
| 1922 |
+
{ format.organization "organization" output.check.nocomma }
|
| 1923 |
+
{ format.organization "organization" output.check.nocomma
|
| 1924 |
+
format.publisher "publisher" output.check.nocomma }
|
| 1925 |
+
if$
|
| 1926 |
+
}
|
| 1927 |
+
if$
|
| 1928 |
+
}
|
| 1929 |
+
%% address is not empty
|
| 1930 |
+
{ organization empty$
|
| 1931 |
+
%% organization is empty
|
| 1932 |
+
{ publisher empty$
|
| 1933 |
+
%% publisher is empty
|
| 1934 |
+
{ format.address output.nocomma }
|
| 1935 |
+
%% publisher is not empty
|
| 1936 |
+
{ bst.address.position #0 =
|
| 1937 |
+
{ format.address output.nocomma
|
| 1938 |
+
format.publisher "publisher" output.check.nocomma }
|
| 1939 |
+
{ format.publisher "publisher" output.check.nocomma
|
| 1940 |
+
format.address output.nocomma }
|
| 1941 |
+
if$
|
| 1942 |
+
}
|
| 1943 |
+
if$
|
| 1944 |
+
}
|
| 1945 |
+
%% organization is not empty
|
| 1946 |
+
{ publisher empty$
|
| 1947 |
+
%% publisher is empty
|
| 1948 |
+
{ format.organization "organization" output.check.nocomma
|
| 1949 |
+
format.address output.nocomma }
|
| 1950 |
+
%% publisher is not empty
|
| 1951 |
+
{ format.organization "organization" output.check.nocomma
|
| 1952 |
+
bst.address.position #0 =
|
| 1953 |
+
{ format.address output.nocomma
|
| 1954 |
+
format.publisher "publisher" output.check.nocomma }
|
| 1955 |
+
{ format.publisher "publisher" output.check.nocomma
|
| 1956 |
+
format.address output.nocomma }
|
| 1957 |
+
if$
|
| 1958 |
+
}
|
| 1959 |
+
if$
|
| 1960 |
+
}
|
| 1961 |
+
if$
|
| 1962 |
+
}
|
| 1963 |
+
if$
|
| 1964 |
+
}
|
| 1965 |
+
|
| 1966 |
+
%%% misc
|
| 1967 |
+
FUNCTION {empty.misc.check}
|
| 1968 |
+
{ author empty$ title empty$ howpublished empty$
|
| 1969 |
+
month empty$ year empty$ note empty$
|
| 1970 |
+
and and and and and
|
| 1971 |
+
key empty$ not and
|
| 1972 |
+
{ "all relevant fields are empty in " cite$ * warning$ }
|
| 1973 |
+
'skip$
|
| 1974 |
+
if$
|
| 1975 |
+
}
|
| 1976 |
+
|
| 1977 |
+
FUNCTION {format.thesis.type}
|
| 1978 |
+
{ type empty$
|
| 1979 |
+
'skip$
|
| 1980 |
+
{ pop$ " " type * }
|
| 1981 |
+
if$
|
| 1982 |
+
}
|
| 1983 |
+
|
| 1984 |
+
FUNCTION {format.tr.number}
|
| 1985 |
+
{ type empty$
|
| 1986 |
+
{ bst.techrep }
|
| 1987 |
+
{ " " type * }
|
| 1988 |
+
if$
|
| 1989 |
+
number empty$
|
| 1990 |
+
{ "t" change.case$ }
|
| 1991 |
+
{ number tie.or.space.connect }
|
| 1992 |
+
if$
|
| 1993 |
+
}
|
| 1994 |
+
|
| 1995 |
+
%%% phdthesis
|
| 1996 |
+
FUNCTION {format.phd}
|
| 1997 |
+
{ bst.phdthesis }
|
| 1998 |
+
|
| 1999 |
+
%%% mastersthesis
|
| 2000 |
+
FUNCTION {format.mthesis}
|
| 2001 |
+
{ bst.mthesis }
|
| 2002 |
+
|
| 2003 |
+
%%% school
|
| 2004 |
+
FUNCTION {format.school}
|
| 2005 |
+
{ school empty$
|
| 2006 |
+
{ "" }
|
| 2007 |
+
{ bst.school.pre school * bst.school.post * }
|
| 2008 |
+
if$
|
| 2009 |
+
}
|
| 2010 |
+
|
| 2011 |
+
%%% institution
|
| 2012 |
+
FUNCTION {format.institution}
|
| 2013 |
+
{ institution empty$
|
| 2014 |
+
{ "" }
|
| 2015 |
+
{ bst.institution.pre institution * bst.institution.post * }
|
| 2016 |
+
if$
|
| 2017 |
+
}
|
| 2018 |
+
|
| 2019 |
+
%%% remove first ? characters.
|
| 2020 |
+
FUNCTION {chop.word}
|
| 2021 |
+
{ 's :=
|
| 2022 |
+
'len :=
|
| 2023 |
+
s #1 len substring$ =
|
| 2024 |
+
{ s len #1 + global.max$ substring$ }
|
| 2025 |
+
's
|
| 2026 |
+
if$
|
| 2027 |
+
}
|
| 2028 |
+
|
| 2029 |
+
FUNCTION {format.note}
|
| 2030 |
+
{ note empty$
|
| 2031 |
+
{ "" }
|
| 2032 |
+
{ bst.note.pre note * bst.note.post * }
|
| 2033 |
+
if$
|
| 2034 |
+
}
|
| 2035 |
+
|
| 2036 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2037 |
+
% \havarditem
|
| 2038 |
+
|
| 2039 |
+
FUNCTION {output.bibitem}
|
| 2040 |
+
{ newline$
|
| 2041 |
+
"\harvarditem[" write$
|
| 2042 |
+
alabel write$ % alabel <- abbreviated citation
|
| 2043 |
+
"]{" write$
|
| 2044 |
+
flabel write$ % flabel <- full citation
|
| 2045 |
+
"}{" write$
|
| 2046 |
+
cyear write$
|
| 2047 |
+
% cyear = year
|
| 2048 |
+
"}{" write$
|
| 2049 |
+
cite$ write$ % cite$ -> pusch keyword
|
| 2050 |
+
"}" write$
|
| 2051 |
+
% If number index is on
|
| 2052 |
+
bst.use.number.index #0 =
|
| 2053 |
+
'skip$
|
| 2054 |
+
{ index #1 + 'index :=
|
| 2055 |
+
"" 'preone :=
|
| 2056 |
+
"" 'preten :=
|
| 2057 |
+
bst.number.index.digit "1" =
|
| 2058 |
+
'skip$
|
| 2059 |
+
{ bst.number.index.digit "2" =
|
| 2060 |
+
{ "\hskip0.5em" 'preone := }
|
| 2061 |
+
{ bst.number.index.digit "3" =
|
| 2062 |
+
{ "\hskip1em" 'preone :=
|
| 2063 |
+
"\hskip0.5em" 'preten := }
|
| 2064 |
+
'skip$
|
| 2065 |
+
if$
|
| 2066 |
+
}
|
| 2067 |
+
if$
|
| 2068 |
+
}
|
| 2069 |
+
if$
|
| 2070 |
+
}
|
| 2071 |
+
if$
|
| 2072 |
+
newline$
|
| 2073 |
+
before.all 'output.state :=
|
| 2074 |
+
""
|
| 2075 |
+
% number index
|
| 2076 |
+
bst.use.number.index #0 =
|
| 2077 |
+
'skip$
|
| 2078 |
+
{ index #10 <
|
| 2079 |
+
% Insert spaces according to digit of number index.
|
| 2080 |
+
{ preone }
|
| 2081 |
+
{ index #100 <
|
| 2082 |
+
{ preten }
|
| 2083 |
+
{ "" }
|
| 2084 |
+
if$
|
| 2085 |
+
}
|
| 2086 |
+
if$
|
| 2087 |
+
bst.number.index.pre * index int.to.str$ * bst.number.index.post * write$
|
| 2088 |
+
}
|
| 2089 |
+
if$
|
| 2090 |
+
}
|
| 2091 |
+
|
| 2092 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2093 |
+
% article
|
| 2094 |
+
|
| 2095 |
+
FUNCTION {article}
|
| 2096 |
+
{ output.bibitem
|
| 2097 |
+
format.authors "author" output.check.nocomma
|
| 2098 |
+
bst.year.position #0 =
|
| 2099 |
+
{ format.year "year" output.check.nocomma }
|
| 2100 |
+
'skip$
|
| 2101 |
+
if$
|
| 2102 |
+
format.title "title" output.check.nocomma
|
| 2103 |
+
|
| 2104 |
+
format.journal "journal" output.check.nocomma
|
| 2105 |
+
bst.year.position #2 =
|
| 2106 |
+
{ format.date output.nocomma }
|
| 2107 |
+
'skip$
|
| 2108 |
+
if$
|
| 2109 |
+
format.vol.num.pages output.nocomma
|
| 2110 |
+
|
| 2111 |
+
bst.year.position #1 =
|
| 2112 |
+
{ format.date output.nocomma }
|
| 2113 |
+
'skip$
|
| 2114 |
+
if$
|
| 2115 |
+
|
| 2116 |
+
format.url.doi output.nocomma
|
| 2117 |
+
|
| 2118 |
+
format.note output.nocomma
|
| 2119 |
+
fin.entry
|
| 2120 |
+
}
|
| 2121 |
+
|
| 2122 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2123 |
+
% book
|
| 2124 |
+
|
| 2125 |
+
FUNCTION {book}
|
| 2126 |
+
{ output.bibitem
|
| 2127 |
+
author empty$
|
| 2128 |
+
{ format.editors "author and editor" output.check.nocomma }
|
| 2129 |
+
{ format.authors output.nonnull.nocomma
|
| 2130 |
+
"author and editor" editor either.or.check
|
| 2131 |
+
}
|
| 2132 |
+
if$
|
| 2133 |
+
bst.year.position #0 =
|
| 2134 |
+
{ format.year "year" output.check.nocomma }
|
| 2135 |
+
'skip$
|
| 2136 |
+
if$
|
| 2137 |
+
format.book "title" output.check.nocomma
|
| 2138 |
+
|
| 2139 |
+
format.bvolume output.nocomma
|
| 2140 |
+
format.number.series output.nocomma
|
| 2141 |
+
output.publisher.address
|
| 2142 |
+
|
| 2143 |
+
format.edition output.nocomma
|
| 2144 |
+
format.book.pages output.nocomma
|
| 2145 |
+
|
| 2146 |
+
bst.year.position #0 = not
|
| 2147 |
+
{ format.year "year" output.check.nocomma }
|
| 2148 |
+
'skip$
|
| 2149 |
+
if$
|
| 2150 |
+
|
| 2151 |
+
format.url.doi output.nocomma
|
| 2152 |
+
|
| 2153 |
+
format.note output.nocomma
|
| 2154 |
+
fin.entry
|
| 2155 |
+
}
|
| 2156 |
+
|
| 2157 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2158 |
+
% booklet
|
| 2159 |
+
|
| 2160 |
+
FUNCTION {booklet}
|
| 2161 |
+
{ output.bibitem
|
| 2162 |
+
format.authors output.nocomma
|
| 2163 |
+
format.year output.nocomma
|
| 2164 |
+
format.misc.title "title" output.check.nocomma
|
| 2165 |
+
format.howpublished output.nocomma
|
| 2166 |
+
format.address output.nocomma
|
| 2167 |
+
|
| 2168 |
+
format.url.doi output.nocomma
|
| 2169 |
+
|
| 2170 |
+
format.note output.nocomma
|
| 2171 |
+
fin.entry
|
| 2172 |
+
}
|
| 2173 |
+
|
| 2174 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2175 |
+
% inbook
|
| 2176 |
+
|
| 2177 |
+
FUNCTION {inbook}
|
| 2178 |
+
{ output.bibitem
|
| 2179 |
+
author empty$
|
| 2180 |
+
{ format.editors "author and editor" output.check.nocomma }
|
| 2181 |
+
{ format.authors output.nonnull.nocomma
|
| 2182 |
+
"author and editor" editor either.or.check
|
| 2183 |
+
}
|
| 2184 |
+
if$
|
| 2185 |
+
bst.year.position #0 =
|
| 2186 |
+
{ format.year "year" output.check.nocomma }
|
| 2187 |
+
'skip$
|
| 2188 |
+
if$
|
| 2189 |
+
% format.book remove.pre.comma "title" output.check.nocomma
|
| 2190 |
+
format.book "title" output.check.nocomma
|
| 2191 |
+
format.edition output.nocomma
|
| 2192 |
+
|
| 2193 |
+
format.bvolume output.nocomma
|
| 2194 |
+
format.chapter.pages "chapter and pages" output.check.nocomma
|
| 2195 |
+
format.number.series output.nocomma
|
| 2196 |
+
output.publisher.address
|
| 2197 |
+
|
| 2198 |
+
bst.year.position #0 = not
|
| 2199 |
+
{ format.year "year" output.check.nocomma }
|
| 2200 |
+
'skip$
|
| 2201 |
+
if$
|
| 2202 |
+
|
| 2203 |
+
format.url.doi output.nocomma
|
| 2204 |
+
|
| 2205 |
+
format.note output.nocomma
|
| 2206 |
+
fin.entry
|
| 2207 |
+
}
|
| 2208 |
+
|
| 2209 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2210 |
+
% incollection
|
| 2211 |
+
|
| 2212 |
+
FUNCTION {incollection}
|
| 2213 |
+
{ output.bibitem
|
| 2214 |
+
format.authors "author" output.check.nocomma
|
| 2215 |
+
bst.year.position #0 =
|
| 2216 |
+
{ format.year "year" output.check.nocomma }
|
| 2217 |
+
'skip$
|
| 2218 |
+
if$
|
| 2219 |
+
format.title "title" output.check.nocomma
|
| 2220 |
+
|
| 2221 |
+
format.in.ed.booktitle "booktitle" output.check.nocomma
|
| 2222 |
+
format.bvolume output.nocomma
|
| 2223 |
+
format.edition output.nocomma
|
| 2224 |
+
format.chapter.pages output.nocomma
|
| 2225 |
+
output.address.organization.publisher
|
| 2226 |
+
|
| 2227 |
+
bst.year.position #0 = not
|
| 2228 |
+
{ format.year "year" output.check.nocomma }
|
| 2229 |
+
'skip$
|
| 2230 |
+
if$
|
| 2231 |
+
|
| 2232 |
+
format.url.doi output.nocomma
|
| 2233 |
+
|
| 2234 |
+
format.note output.nocomma
|
| 2235 |
+
fin.entry
|
| 2236 |
+
}
|
| 2237 |
+
|
| 2238 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2239 |
+
% inproceedings
|
| 2240 |
+
|
| 2241 |
+
FUNCTION {inproceedings}
|
| 2242 |
+
{ output.bibitem
|
| 2243 |
+
format.authors "author" output.check.nocomma
|
| 2244 |
+
bst.year.position #0 =
|
| 2245 |
+
{ format.year "year" output.check.nocomma }
|
| 2246 |
+
'skip$
|
| 2247 |
+
if$
|
| 2248 |
+
format.title "title" output.check.nocomma
|
| 2249 |
+
|
| 2250 |
+
format.in.ed.booktitle "booktitle" output.check.nocomma
|
| 2251 |
+
format.bvolume output.nocomma
|
| 2252 |
+
format.number.series output.nocomma
|
| 2253 |
+
format.pages output.nocomma
|
| 2254 |
+
output.address.organization.publisher
|
| 2255 |
+
|
| 2256 |
+
bst.year.position #0 = not
|
| 2257 |
+
{ format.date output.nocomma }
|
| 2258 |
+
{ format.month output.nocomma }
|
| 2259 |
+
if$
|
| 2260 |
+
|
| 2261 |
+
format.url.doi output.nocomma
|
| 2262 |
+
|
| 2263 |
+
format.note output.nocomma
|
| 2264 |
+
fin.entry
|
| 2265 |
+
}
|
| 2266 |
+
|
| 2267 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2268 |
+
% conference
|
| 2269 |
+
|
| 2270 |
+
FUNCTION {conference}
|
| 2271 |
+
{ inproceedings }
|
| 2272 |
+
|
| 2273 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2274 |
+
% manual
|
| 2275 |
+
FUNCTION {manual}
|
| 2276 |
+
{ output.bibitem
|
| 2277 |
+
author empty$
|
| 2278 |
+
{ organization empty$
|
| 2279 |
+
'skip$
|
| 2280 |
+
{ organization output.nonnull.nocomma
|
| 2281 |
+
address output.nocomma
|
| 2282 |
+
}
|
| 2283 |
+
if$
|
| 2284 |
+
}
|
| 2285 |
+
{ format.authors output.nonnull.nocomma }
|
| 2286 |
+
if$
|
| 2287 |
+
bst.year.position #0 =
|
| 2288 |
+
{ format.year "year" output.check.nocomma }
|
| 2289 |
+
'skip$
|
| 2290 |
+
if$
|
| 2291 |
+
format.book "title" output.check.nocomma
|
| 2292 |
+
author empty$
|
| 2293 |
+
{ organization empty$
|
| 2294 |
+
{ format.address new.block.check
|
| 2295 |
+
format.address output.nocomma
|
| 2296 |
+
}
|
| 2297 |
+
'skip$
|
| 2298 |
+
if$
|
| 2299 |
+
}
|
| 2300 |
+
{ output.address.organization.publisher }
|
| 2301 |
+
if$
|
| 2302 |
+
format.edition output.nocomma
|
| 2303 |
+
|
| 2304 |
+
bst.year.position #0 = not
|
| 2305 |
+
{ format.year "year" output.check.nocomma }
|
| 2306 |
+
'skip$
|
| 2307 |
+
if$
|
| 2308 |
+
|
| 2309 |
+
format.url.doi output.nocomma
|
| 2310 |
+
|
| 2311 |
+
format.note output.nocomma
|
| 2312 |
+
fin.entry
|
| 2313 |
+
}
|
| 2314 |
+
|
| 2315 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2316 |
+
% mastersthesis
|
| 2317 |
+
|
| 2318 |
+
FUNCTION {mastersthesis}
|
| 2319 |
+
{ output.bibitem
|
| 2320 |
+
format.authors "author" output.check.nocomma
|
| 2321 |
+
bst.year.position #0 =
|
| 2322 |
+
{ format.year "year" output.check.nocomma }
|
| 2323 |
+
'skip$
|
| 2324 |
+
if$
|
| 2325 |
+
format.title "title" output.check.nocomma
|
| 2326 |
+
format.mthesis format.thesis.type output.nonnull.nocomma
|
| 2327 |
+
format.school "school" output.check.nocomma
|
| 2328 |
+
format.address output.nocomma
|
| 2329 |
+
|
| 2330 |
+
bst.year.position #0 = not
|
| 2331 |
+
{ format.year "year" output.check.nocomma }
|
| 2332 |
+
'skip$
|
| 2333 |
+
if$
|
| 2334 |
+
|
| 2335 |
+
format.url.doi output.nocomma
|
| 2336 |
+
|
| 2337 |
+
format.note output.nocomma
|
| 2338 |
+
fin.entry
|
| 2339 |
+
}
|
| 2340 |
+
|
| 2341 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2342 |
+
% misc
|
| 2343 |
+
|
| 2344 |
+
FUNCTION {misc}
|
| 2345 |
+
{ output.bibitem
|
| 2346 |
+
format.authors "author" output.check.nocomma
|
| 2347 |
+
bst.year.position #0 =
|
| 2348 |
+
{ format.year "year" output.check.nocomma }
|
| 2349 |
+
'skip$
|
| 2350 |
+
if$
|
| 2351 |
+
format.misc.title output.nocomma
|
| 2352 |
+
format.howpublished output.nocomma
|
| 2353 |
+
|
| 2354 |
+
bst.year.position #0 = not
|
| 2355 |
+
{ format.date output.nocomma }
|
| 2356 |
+
{ format.month output.nocomma }
|
| 2357 |
+
if$
|
| 2358 |
+
|
| 2359 |
+
format.url.doi output.nocomma
|
| 2360 |
+
|
| 2361 |
+
format.note output.nocomma
|
| 2362 |
+
fin.entry
|
| 2363 |
+
empty.misc.check
|
| 2364 |
+
}
|
| 2365 |
+
|
| 2366 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2367 |
+
% Online
|
| 2368 |
+
|
| 2369 |
+
FUNCTION {online}
|
| 2370 |
+
{ output.bibitem
|
| 2371 |
+
format.authors "author" output.check.nocomma
|
| 2372 |
+
bst.year.position #0 =
|
| 2373 |
+
{ format.year "year" output.check.nocomma }
|
| 2374 |
+
'skip$
|
| 2375 |
+
if$
|
| 2376 |
+
format.misc.title output.nocomma
|
| 2377 |
+
format.howpublished output.nocomma
|
| 2378 |
+
|
| 2379 |
+
bst.year.position #0 = not
|
| 2380 |
+
{ format.date output.nocomma }
|
| 2381 |
+
{ format.month output.nocomma }
|
| 2382 |
+
if$
|
| 2383 |
+
|
| 2384 |
+
format.url.doi output.nocomma
|
| 2385 |
+
|
| 2386 |
+
format.note output.nocomma
|
| 2387 |
+
fin.entry
|
| 2388 |
+
empty.misc.check
|
| 2389 |
+
}
|
| 2390 |
+
|
| 2391 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2392 |
+
% phdthesis
|
| 2393 |
+
|
| 2394 |
+
FUNCTION {phdthesis}
|
| 2395 |
+
{ output.bibitem
|
| 2396 |
+
format.authors "author" output.check.nocomma
|
| 2397 |
+
bst.year.position #0 =
|
| 2398 |
+
{ format.year "year" output.check.nocomma }
|
| 2399 |
+
'skip$
|
| 2400 |
+
if$
|
| 2401 |
+
format.book "title" output.check.nocomma
|
| 2402 |
+
format.phd
|
| 2403 |
+
format.thesis.type output.nonnull.nocomma
|
| 2404 |
+
format.school "school" output.check.nocomma
|
| 2405 |
+
address empty$
|
| 2406 |
+
'skip$
|
| 2407 |
+
{ format.address output.nocomma }
|
| 2408 |
+
if$
|
| 2409 |
+
|
| 2410 |
+
bst.year.position #0 = not
|
| 2411 |
+
{ format.year "year" output.check.nocomma }
|
| 2412 |
+
'skip$
|
| 2413 |
+
if$
|
| 2414 |
+
|
| 2415 |
+
format.url.doi output.nocomma
|
| 2416 |
+
|
| 2417 |
+
format.note output.nocomma
|
| 2418 |
+
fin.entry
|
| 2419 |
+
}
|
| 2420 |
+
|
| 2421 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2422 |
+
% proceedings
|
| 2423 |
+
|
| 2424 |
+
FUNCTION {proceedings}
|
| 2425 |
+
{ output.bibitem
|
| 2426 |
+
editor empty$
|
| 2427 |
+
{ organization output.nocomma }
|
| 2428 |
+
{ format.editors output.nonnull.nocomma }
|
| 2429 |
+
if$
|
| 2430 |
+
bst.year.position #0 =
|
| 2431 |
+
{ format.year "year" output.check.nocomma }
|
| 2432 |
+
'skip$
|
| 2433 |
+
if$
|
| 2434 |
+
format.btitle remove.pre.comma "title" output.check.nocomma
|
| 2435 |
+
format.bvolume output.nocomma
|
| 2436 |
+
format.number.series output.nocomma
|
| 2437 |
+
output.address.organization.publisher
|
| 2438 |
+
|
| 2439 |
+
bst.year.position #0 = not
|
| 2440 |
+
{ format.year "year" output.check.nocomma }
|
| 2441 |
+
'skip$
|
| 2442 |
+
if$
|
| 2443 |
+
|
| 2444 |
+
format.url.doi output.nocomma
|
| 2445 |
+
|
| 2446 |
+
format.note output.nocomma
|
| 2447 |
+
fin.entry
|
| 2448 |
+
}
|
| 2449 |
+
|
| 2450 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2451 |
+
% techreport
|
| 2452 |
+
|
| 2453 |
+
FUNCTION {techreport}
|
| 2454 |
+
{ output.bibitem
|
| 2455 |
+
format.authors "author" output.check.nocomma
|
| 2456 |
+
bst.year.position #0 =
|
| 2457 |
+
{ format.year "year" output.check.nocomma }
|
| 2458 |
+
'skip$
|
| 2459 |
+
if$
|
| 2460 |
+
format.title "title" output.check.nocomma
|
| 2461 |
+
format.tr.number output.nonnull.nocomma
|
| 2462 |
+
format.institution "institution" output.check.nocomma
|
| 2463 |
+
format.address output.nocomma
|
| 2464 |
+
|
| 2465 |
+
bst.year.position #0 = not
|
| 2466 |
+
{ format.year "year" output.check.nocomma }
|
| 2467 |
+
'skip$
|
| 2468 |
+
if$
|
| 2469 |
+
|
| 2470 |
+
format.url.doi output.nocomma
|
| 2471 |
+
|
| 2472 |
+
format.note output.nocomma
|
| 2473 |
+
fin.entry
|
| 2474 |
+
}
|
| 2475 |
+
|
| 2476 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2477 |
+
% unpublished
|
| 2478 |
+
|
| 2479 |
+
FUNCTION {unpublished}
|
| 2480 |
+
{ output.bibitem
|
| 2481 |
+
format.authors "author" output.check.nocomma
|
| 2482 |
+
bst.year.position #0 =
|
| 2483 |
+
{ format.year "year" output.check.nocomma }
|
| 2484 |
+
'skip$
|
| 2485 |
+
if$
|
| 2486 |
+
format.title "title" output.check.nocomma
|
| 2487 |
+
|
| 2488 |
+
bst.year.position #0 = not
|
| 2489 |
+
{ format.date remove.pre.comma output.nocomma }
|
| 2490 |
+
{ month empty$
|
| 2491 |
+
'skip$
|
| 2492 |
+
{ format.month remove.pre.comma output.nocomma }
|
| 2493 |
+
if$
|
| 2494 |
+
}
|
| 2495 |
+
if$
|
| 2496 |
+
|
| 2497 |
+
format.url.doi output.nocomma
|
| 2498 |
+
|
| 2499 |
+
format.note "note" output.check.nocomma
|
| 2500 |
+
fin.entry
|
| 2501 |
+
}
|
| 2502 |
+
|
| 2503 |
+
FUNCTION {default.type}
|
| 2504 |
+
{ misc }
|
| 2505 |
+
|
| 2506 |
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
| 2507 |
+
% Alias for month names:
|
| 2508 |
+
|
| 2509 |
+
MACRO {jan} {"January"}
|
| 2510 |
+
MACRO {feb} {"February"}
|
| 2511 |
+
MACRO {mar} {"March"}
|
| 2512 |
+
MACRO {apr} {"April"}
|
| 2513 |
+
MACRO {may} {"May"}
|
| 2514 |
+
MACRO {jun} {"June"}
|
| 2515 |
+
MACRO {jul} {"July"}
|
| 2516 |
+
MACRO {aug} {"August"}
|
| 2517 |
+
MACRO {sep} {"September"}
|
| 2518 |
+
MACRO {oct} {"October"}
|
| 2519 |
+
MACRO {nov} {"November"}
|
| 2520 |
+
MACRO {dec} {"December"}
|
| 2521 |
+
|
| 2522 |
+
%%% Read entries:
|
| 2523 |
+
READ
|
| 2524 |
+
|
| 2525 |
+
%%% Variable for remembering the order of citation.
|
| 2526 |
+
INTEGERS { order.num }
|
| 2527 |
+
FUNCTION {initialize.order.num}
|
| 2528 |
+
{
|
| 2529 |
+
#1 'order.num :=
|
| 2530 |
+
}
|
| 2531 |
+
%%% Initialize a variables
|
| 2532 |
+
EXECUTE {initialize.order.num}
|
| 2533 |
+
|
| 2534 |
+
%%% Variable for remembering the order of citation.
|
| 2535 |
+
FUNCTION {set.order.cited}
|
| 2536 |
+
{
|
| 2537 |
+
order.num 'order.cited :=
|
| 2538 |
+
#1 order.num + 'order.num :=
|
| 2539 |
+
}
|
| 2540 |
+
%%% Iterate for all entries:
|
| 2541 |
+
ITERATE {set.order.cited}
|
| 2542 |
+
|
| 2543 |
+
%%% check the value of nameorder field.
|
| 2544 |
+
FUNCTION {set.nameorder}
|
| 2545 |
+
{ nameorder empty$
|
| 2546 |
+
{ "" 'nameorder.temp := }
|
| 2547 |
+
{ nameorder 'nameorder.temp := }
|
| 2548 |
+
if$
|
| 2549 |
+
}
|
| 2550 |
+
%%% Iterate for all entries:
|
| 2551 |
+
ITERATE {set.nameorder}
|
| 2552 |
+
|
| 2553 |
+
%%% Remove symbols and convert to lowercase.
|
| 2554 |
+
FUNCTION {sortify}
|
| 2555 |
+
{ purify$ "l" change.case$ }
|
| 2556 |
+
|
| 2557 |
+
%%% names for sorting
|
| 2558 |
+
FUNCTION {sort.format.names}
|
| 2559 |
+
{ 's :=
|
| 2560 |
+
#1 'nameptr :=
|
| 2561 |
+
""
|
| 2562 |
+
s num.names$ 'numnames :=
|
| 2563 |
+
numnames 'namesleft :=
|
| 2564 |
+
{ namesleft #0 > }
|
| 2565 |
+
{ nameptr #1 >
|
| 2566 |
+
{ ", " * }
|
| 2567 |
+
'skip$
|
| 2568 |
+
if$
|
| 2569 |
+
s nameptr "{ll}{ f}{ j}" format.name$ 't :=
|
| 2570 |
+
nameptr numnames = t "others" = and
|
| 2571 |
+
{ bst.and.others.output *}
|
| 2572 |
+
{ t sortify * }
|
| 2573 |
+
if$
|
| 2574 |
+
nameptr #1 + 'nameptr :=
|
| 2575 |
+
namesleft #1 - 'namesleft :=
|
| 2576 |
+
}
|
| 2577 |
+
while$
|
| 2578 |
+
}
|
| 2579 |
+
|
| 2580 |
+
FUNCTION {sort.format.names.abb}
|
| 2581 |
+
{ 's :=
|
| 2582 |
+
s num.names$ 'numnames :=
|
| 2583 |
+
numnames bst.and.others.num <
|
| 2584 |
+
{ s sort.format.names }
|
| 2585 |
+
{ s #1 "{ll}{ f}{ j}" format.name$ " zz " * }
|
| 2586 |
+
if$
|
| 2587 |
+
}
|
| 2588 |
+
|
| 2589 |
+
%%% Label for full author name.
|
| 2590 |
+
FUNCTION {format.lab.names.full}
|
| 2591 |
+
{ 's :=
|
| 2592 |
+
#1 'nameptr :=
|
| 2593 |
+
s num.names$ 'numnames :=
|
| 2594 |
+
numnames 'namesleft :=
|
| 2595 |
+
{ namesleft #0 > }
|
| 2596 |
+
{ s nameptr "{vv~}{ll}" format.name$ 't :=
|
| 2597 |
+
nameptr #1 >
|
| 2598 |
+
{ namesleft #1 >
|
| 2599 |
+
{ nameorder.temp "random" = bst.use.nameorder #0 = not and
|
| 2600 |
+
{ bst.and.nameorder * t * }
|
| 2601 |
+
{ ", " * t * }
|
| 2602 |
+
if$
|
| 2603 |
+
}
|
| 2604 |
+
{ t "others" =
|
| 2605 |
+
{ bst.and.others.output * }
|
| 2606 |
+
{ numnames #2 >
|
| 2607 |
+
{ nameorder.temp "random" = bst.use.nameorder #0 = not and
|
| 2608 |
+
{ bst.cite.and.nameorder * t * }
|
| 2609 |
+
{ bst.cite.ands * t * }
|
| 2610 |
+
if$
|
| 2611 |
+
}
|
| 2612 |
+
{ nameorder.temp "random" = bst.use.nameorder #0 = not and
|
| 2613 |
+
{ bst.cite.and.nameorder * t * }
|
| 2614 |
+
{ bst.cite.and * t * }
|
| 2615 |
+
if$
|
| 2616 |
+
}
|
| 2617 |
+
if$
|
| 2618 |
+
}
|
| 2619 |
+
if$
|
| 2620 |
+
}
|
| 2621 |
+
if$
|
| 2622 |
+
}
|
| 2623 |
+
't
|
| 2624 |
+
if$
|
| 2625 |
+
nameptr #1 + 'nameptr :=
|
| 2626 |
+
namesleft #1 - 'namesleft :=
|
| 2627 |
+
}
|
| 2628 |
+
while$
|
| 2629 |
+
numnames #1 > #1 #2 = and {", eds" *} {} if$
|
| 2630 |
+
numnames #1 = #1 #2 = and {", ed" *} {} if$
|
| 2631 |
+
}
|
| 2632 |
+
|
| 2633 |
+
%%% laberl for abbreviated author name.
|
| 2634 |
+
FUNCTION {format.lab.names.abb}
|
| 2635 |
+
{ 's :=
|
| 2636 |
+
s num.names$ 'numnames :=
|
| 2637 |
+
numnames bst.and.others.num <
|
| 2638 |
+
% if the number of authors is less than bst.and.others.num, full name.
|
| 2639 |
+
{ s format.lab.names.full }
|
| 2640 |
+
% if the number of authors is equal or more than bst.and.others.num, abbreviated name.
|
| 2641 |
+
{ s #1 "{ll}" format.name$ bst.and.others.output * }
|
| 2642 |
+
if$
|
| 2643 |
+
}
|
| 2644 |
+
|
| 2645 |
+
%%% abbreviated author
|
| 2646 |
+
FUNCTION {author.key.label.abb}
|
| 2647 |
+
{ author empty$
|
| 2648 |
+
{ key empty$
|
| 2649 |
+
{ cite$ #1 #3 substring$ }
|
| 2650 |
+
{ key #3 text.prefix$ }
|
| 2651 |
+
if$
|
| 2652 |
+
}
|
| 2653 |
+
{ author format.lab.names.abb }
|
| 2654 |
+
if$
|
| 2655 |
+
}
|
| 2656 |
+
|
| 2657 |
+
%%% full author
|
| 2658 |
+
FUNCTION {author.key.label.full}
|
| 2659 |
+
{ author empty$
|
| 2660 |
+
{ key empty$
|
| 2661 |
+
{ cite$ #1 #3 substring$ }
|
| 2662 |
+
{ key #3 text.prefix$ }
|
| 2663 |
+
if$
|
| 2664 |
+
}
|
| 2665 |
+
{ author format.lab.names.full }
|
| 2666 |
+
if$
|
| 2667 |
+
}
|
| 2668 |
+
|
| 2669 |
+
FUNCTION {format.names.full.wo.and}
|
| 2670 |
+
{ 's :=
|
| 2671 |
+
#1 'nameptr :=
|
| 2672 |
+
s num.names$ 'numnames :=
|
| 2673 |
+
numnames 'namesleft :=
|
| 2674 |
+
{ namesleft #0 > }
|
| 2675 |
+
{ s nameptr "{ll}{, ff}{, jj}" format.name$ 't :=
|
| 2676 |
+
nameptr #1 >
|
| 2677 |
+
{ namesleft #1 >
|
| 2678 |
+
{ " " * t * }
|
| 2679 |
+
{ t "others" =
|
| 2680 |
+
{ " " * }
|
| 2681 |
+
{ numnames #2 >
|
| 2682 |
+
{ " " * t * }
|
| 2683 |
+
{ " " * t * }
|
| 2684 |
+
if$
|
| 2685 |
+
}
|
| 2686 |
+
if$
|
| 2687 |
+
}
|
| 2688 |
+
if$
|
| 2689 |
+
}
|
| 2690 |
+
't
|
| 2691 |
+
if$
|
| 2692 |
+
nameptr #1 + 'nameptr :=
|
| 2693 |
+
namesleft #1 - 'namesleft :=
|
| 2694 |
+
}
|
| 2695 |
+
while$
|
| 2696 |
+
}
|
| 2697 |
+
|
| 2698 |
+
FUNCTION {author.key.full.wo.and}
|
| 2699 |
+
{ author empty$
|
| 2700 |
+
{ key empty$
|
| 2701 |
+
{ cite$ #1 #3 substring$ }
|
| 2702 |
+
{ key #3 text.prefix$ }
|
| 2703 |
+
if$
|
| 2704 |
+
}
|
| 2705 |
+
{ author format.names.full.wo.and }
|
| 2706 |
+
if$
|
| 2707 |
+
}
|
| 2708 |
+
|
| 2709 |
+
FUNCTION {author.editor.key.full.wo.and}
|
| 2710 |
+
{ author empty$
|
| 2711 |
+
{ editor empty$
|
| 2712 |
+
{ key empty$
|
| 2713 |
+
{ cite$ #1 #3 substring$ }
|
| 2714 |
+
{ key #3 text.prefix$ }
|
| 2715 |
+
if$
|
| 2716 |
+
}
|
| 2717 |
+
{ editor format.names.full.wo.and }
|
| 2718 |
+
if$
|
| 2719 |
+
}
|
| 2720 |
+
{ author format.names.full.wo.and }
|
| 2721 |
+
if$
|
| 2722 |
+
}
|
| 2723 |
+
|
| 2724 |
+
FUNCTION {editor.key.organization.key.full.wo.and}
|
| 2725 |
+
{ editor empty$
|
| 2726 |
+
{ key empty$
|
| 2727 |
+
{ organization empty$
|
| 2728 |
+
{ cite$ #1 #3 substring$ }
|
| 2729 |
+
{ "The " #4 organization chop.word #3 text.prefix$ }
|
| 2730 |
+
if$
|
| 2731 |
+
}
|
| 2732 |
+
{ key #3 text.prefix$ }
|
| 2733 |
+
if$
|
| 2734 |
+
}
|
| 2735 |
+
{ editor format.names.full.wo.and }
|
| 2736 |
+
if$
|
| 2737 |
+
}
|
| 2738 |
+
|
| 2739 |
+
FUNCTION {author.key.organization.key.full.wo.and}
|
| 2740 |
+
{ author empty$
|
| 2741 |
+
{ key empty$
|
| 2742 |
+
{ organization empty$
|
| 2743 |
+
{ cite$ #1 #3 substring$ }
|
| 2744 |
+
{ "The " #4 organization chop.word #3 text.prefix$ }
|
| 2745 |
+
if$
|
| 2746 |
+
}
|
| 2747 |
+
{ key #3 text.prefix$ }
|
| 2748 |
+
if$
|
| 2749 |
+
}
|
| 2750 |
+
{ author format.names.full.wo.and }
|
| 2751 |
+
if$
|
| 2752 |
+
}
|
| 2753 |
+
|
| 2754 |
+
%%% abbreviated author
|
| 2755 |
+
FUNCTION {author.editor.key.label.abb}
|
| 2756 |
+
{ author empty$
|
| 2757 |
+
{ editor empty$
|
| 2758 |
+
{ key empty$
|
| 2759 |
+
{ cite$ #1 #3 substring$ }
|
| 2760 |
+
{ key #3 text.prefix$ }
|
| 2761 |
+
if$
|
| 2762 |
+
}
|
| 2763 |
+
{ editor format.lab.names.abb }
|
| 2764 |
+
if$
|
| 2765 |
+
}
|
| 2766 |
+
{ author format.lab.names.abb }
|
| 2767 |
+
if$
|
| 2768 |
+
}
|
| 2769 |
+
|
| 2770 |
+
%%% full author
|
| 2771 |
+
FUNCTION {author.editor.key.label.full}
|
| 2772 |
+
{ author empty$
|
| 2773 |
+
{ editor empty$
|
| 2774 |
+
{ key empty$
|
| 2775 |
+
{ cite$ #1 #3 substring$ }
|
| 2776 |
+
{ key #3 text.prefix$ }
|
| 2777 |
+
if$
|
| 2778 |
+
}
|
| 2779 |
+
{ editor format.lab.names.full }
|
| 2780 |
+
if$
|
| 2781 |
+
}
|
| 2782 |
+
{ author format.lab.names.full }
|
| 2783 |
+
if$
|
| 2784 |
+
}
|
| 2785 |
+
|
| 2786 |
+
FUNCTION {author.key.organization.label.full}
|
| 2787 |
+
{ author empty$
|
| 2788 |
+
{ key empty$
|
| 2789 |
+
{ organization empty$
|
| 2790 |
+
{ cite$ #1 #3 substring$ }
|
| 2791 |
+
{ "The " #4 organization chop.word #3 text.prefix$ }
|
| 2792 |
+
if$
|
| 2793 |
+
}
|
| 2794 |
+
{ key #3 text.prefix$ }
|
| 2795 |
+
if$
|
| 2796 |
+
}
|
| 2797 |
+
{ author format.lab.names.full }
|
| 2798 |
+
if$
|
| 2799 |
+
}
|
| 2800 |
+
|
| 2801 |
+
FUNCTION {author.key.organization.label.abb}
|
| 2802 |
+
{ author empty$
|
| 2803 |
+
{ key empty$
|
| 2804 |
+
{ organization empty$
|
| 2805 |
+
{ cite$ #1 #3 substring$ }
|
| 2806 |
+
{ "The " #4 organization chop.word #3 text.prefix$ }
|
| 2807 |
+
if$
|
| 2808 |
+
}
|
| 2809 |
+
{ key #3 text.prefix$ }
|
| 2810 |
+
if$
|
| 2811 |
+
}
|
| 2812 |
+
{ author format.lab.names.abb }
|
| 2813 |
+
if$
|
| 2814 |
+
}
|
| 2815 |
+
|
| 2816 |
+
FUNCTION {editor.key.organization.label.full}
|
| 2817 |
+
{ editor empty$
|
| 2818 |
+
{ key empty$
|
| 2819 |
+
{ organization empty$
|
| 2820 |
+
{ cite$ #1 #3 substring$ }
|
| 2821 |
+
{ "The " #4 organization chop.word #3 text.prefix$ }
|
| 2822 |
+
if$
|
| 2823 |
+
}
|
| 2824 |
+
{ key #3 text.prefix$ }
|
| 2825 |
+
if$
|
| 2826 |
+
}
|
| 2827 |
+
{ editor format.lab.names.full }
|
| 2828 |
+
if$
|
| 2829 |
+
}
|
| 2830 |
+
|
| 2831 |
+
FUNCTION {editor.key.organization.label.abb}
|
| 2832 |
+
{ editor empty$
|
| 2833 |
+
{ key empty$
|
| 2834 |
+
{ organization empty$
|
| 2835 |
+
{ cite$ #1 #3 substring$ }
|
| 2836 |
+
{ "The " #4 organization chop.word #3 text.prefix$ }
|
| 2837 |
+
if$
|
| 2838 |
+
}
|
| 2839 |
+
{ key #3 text.prefix$ }
|
| 2840 |
+
if$
|
| 2841 |
+
}
|
| 2842 |
+
{ editor format.lab.names.abb }
|
| 2843 |
+
if$
|
| 2844 |
+
}
|
| 2845 |
+
|
| 2846 |
+
%%% Convert numbers: 0->9, 1->8, 2->7,..., 9->0
|
| 2847 |
+
FUNCTION {reverse.num}
|
| 2848 |
+
{ 's :=
|
| 2849 |
+
s "1" =
|
| 2850 |
+
{ "8" 'year.num := }
|
| 2851 |
+
{ s "2" =
|
| 2852 |
+
{ "7" 'year.num := }
|
| 2853 |
+
{ s "3" =
|
| 2854 |
+
{ "6" 'year.num := }
|
| 2855 |
+
{ s "4" =
|
| 2856 |
+
{ "5" 'year.num := }
|
| 2857 |
+
{ s "5" =
|
| 2858 |
+
{ "4" 'year.num := }
|
| 2859 |
+
{ s "6" =
|
| 2860 |
+
{ "3" 'year.num := }
|
| 2861 |
+
{ s "7" =
|
| 2862 |
+
{ "2" 'year.num := }
|
| 2863 |
+
{ s "8" =
|
| 2864 |
+
{ "1" 'year.num := }
|
| 2865 |
+
{ s "9" =
|
| 2866 |
+
{ "0" 'year.num := }
|
| 2867 |
+
{ s "0" =
|
| 2868 |
+
{ "9" 'year.num := }
|
| 2869 |
+
{ "9" 'year.num := }
|
| 2870 |
+
if$
|
| 2871 |
+
}
|
| 2872 |
+
if$
|
| 2873 |
+
}
|
| 2874 |
+
if$
|
| 2875 |
+
}
|
| 2876 |
+
if$
|
| 2877 |
+
}
|
| 2878 |
+
if$
|
| 2879 |
+
}
|
| 2880 |
+
if$
|
| 2881 |
+
}
|
| 2882 |
+
if$
|
| 2883 |
+
}
|
| 2884 |
+
if$
|
| 2885 |
+
}
|
| 2886 |
+
if$
|
| 2887 |
+
}
|
| 2888 |
+
if$
|
| 2889 |
+
year.num
|
| 2890 |
+
}
|
| 2891 |
+
|
| 2892 |
+
%%% Convert year (large number -> small number)
|
| 2893 |
+
FUNCTION {convert.year}
|
| 2894 |
+
{ 't :=
|
| 2895 |
+
bst.reverse.year #0 =
|
| 2896 |
+
{ t 'tt := }
|
| 2897 |
+
{ t #1 #1 substring$ reverse.num
|
| 2898 |
+
t #2 #1 substring$ reverse.num *
|
| 2899 |
+
t #3 #1 substring$ reverse.num *
|
| 2900 |
+
t #4 #1 substring$ reverse.num * 'tt := }
|
| 2901 |
+
if$
|
| 2902 |
+
tt
|
| 2903 |
+
}
|
| 2904 |
+
|
| 2905 |
+
%%% cyear
|
| 2906 |
+
FUNCTION {calc.cyear}
|
| 2907 |
+
{ type$ "book" =
|
| 2908 |
+
type$ "inbook" =
|
| 2909 |
+
or
|
| 2910 |
+
'author.editor.key.full.wo.and
|
| 2911 |
+
{ type$ "proceedings" =
|
| 2912 |
+
'editor.key.organization.key.full.wo.and
|
| 2913 |
+
{ type$ "manual" =
|
| 2914 |
+
'author.key.organization.key.full.wo.and
|
| 2915 |
+
'author.key.full.wo.and
|
| 2916 |
+
if$
|
| 2917 |
+
}
|
| 2918 |
+
if$
|
| 2919 |
+
}
|
| 2920 |
+
if$
|
| 2921 |
+
duplicate$
|
| 2922 |
+
year empty$
|
| 2923 |
+
{ "2199" 'cyear := }
|
| 2924 |
+
{ year 'cyear := }
|
| 2925 |
+
if$
|
| 2926 |
+
year empty$
|
| 2927 |
+
{ " " "2199" convert.year * field.or.null * }
|
| 2928 |
+
{ " " year convert.year * field.or.null * }
|
| 2929 |
+
if$
|
| 2930 |
+
sortify 'sort.label :=
|
| 2931 |
+
% For debug
|
| 2932 |
+
econ.debug #0 = not
|
| 2933 |
+
{ "sort.label = ``\texttt{" write$
|
| 2934 |
+
sort.label write$
|
| 2935 |
+
"}''\\" write$
|
| 2936 |
+
newline$
|
| 2937 |
+
}
|
| 2938 |
+
'skip$
|
| 2939 |
+
if$
|
| 2940 |
+
pop$
|
| 2941 |
+
}
|
| 2942 |
+
|
| 2943 |
+
FUNCTION {calc.sort.label.abb}
|
| 2944 |
+
{ author empty$
|
| 2945 |
+
{ editor empty$
|
| 2946 |
+
{ "" }
|
| 2947 |
+
{ editor 's := }
|
| 2948 |
+
if$
|
| 2949 |
+
}
|
| 2950 |
+
{ author 's := }
|
| 2951 |
+
if$
|
| 2952 |
+
s sort.format.names.abb 't :=
|
| 2953 |
+
year empty$
|
| 2954 |
+
{ t sortify " " * "2199" convert.year * 'sort.label.abb := }
|
| 2955 |
+
{ t sortify " " * year convert.year * 'sort.label.abb := }
|
| 2956 |
+
if$
|
| 2957 |
+
econ.debug #0 = not
|
| 2958 |
+
{ "sort.label.abb = ``\texttt{" write$
|
| 2959 |
+
sort.label.abb write$
|
| 2960 |
+
"}''\\" write$
|
| 2961 |
+
newline$
|
| 2962 |
+
}
|
| 2963 |
+
'skip$
|
| 2964 |
+
if$
|
| 2965 |
+
}
|
| 2966 |
+
|
| 2967 |
+
%%% flabel
|
| 2968 |
+
FUNCTION {calc.flabel}
|
| 2969 |
+
{ type$ "book" =
|
| 2970 |
+
type$ "inbook" =
|
| 2971 |
+
or
|
| 2972 |
+
'author.editor.key.label.full
|
| 2973 |
+
{ type$ "proceedings" =
|
| 2974 |
+
'editor.key.organization.label.full
|
| 2975 |
+
{ type$ "manual" =
|
| 2976 |
+
'author.key.organization.label.full
|
| 2977 |
+
'author.key.label.full
|
| 2978 |
+
if$
|
| 2979 |
+
}
|
| 2980 |
+
if$
|
| 2981 |
+
}
|
| 2982 |
+
if$
|
| 2983 |
+
'flabel :=
|
| 2984 |
+
author empty$
|
| 2985 |
+
'skip$
|
| 2986 |
+
{ author num.names$ 'numnames :=
|
| 2987 |
+
numnames bst.max.author.num >
|
| 2988 |
+
{ alabel 'flabel := }
|
| 2989 |
+
'skip$
|
| 2990 |
+
if$
|
| 2991 |
+
}
|
| 2992 |
+
if$
|
| 2993 |
+
% For debug
|
| 2994 |
+
econ.debug #0 = not
|
| 2995 |
+
{ "flabel = ``\texttt{" write$
|
| 2996 |
+
flabel write$
|
| 2997 |
+
"}''\\" write$
|
| 2998 |
+
newline$
|
| 2999 |
+
}
|
| 3000 |
+
'skip$
|
| 3001 |
+
if$
|
| 3002 |
+
}
|
| 3003 |
+
|
| 3004 |
+
%%% alabel
|
| 3005 |
+
FUNCTION {calc.alabel}
|
| 3006 |
+
{ type$ "book" =
|
| 3007 |
+
type$ "inbook" =
|
| 3008 |
+
or
|
| 3009 |
+
'author.editor.key.label.abb
|
| 3010 |
+
{ type$ "proceedings" =
|
| 3011 |
+
'editor.key.organization.label.abb
|
| 3012 |
+
{ type$ "manual" =
|
| 3013 |
+
'author.key.organization.label.abb
|
| 3014 |
+
'author.key.label.abb
|
| 3015 |
+
if$
|
| 3016 |
+
}
|
| 3017 |
+
if$
|
| 3018 |
+
}
|
| 3019 |
+
if$
|
| 3020 |
+
'alabel :=
|
| 3021 |
+
% For debug
|
| 3022 |
+
econ.debug #0 = not
|
| 3023 |
+
{ "alabel = ``\texttt{" write$
|
| 3024 |
+
alabel write$
|
| 3025 |
+
"}''\\" write$
|
| 3026 |
+
newline$
|
| 3027 |
+
}
|
| 3028 |
+
'skip$
|
| 3029 |
+
if$
|
| 3030 |
+
}
|
| 3031 |
+
|
| 3032 |
+
%%% title for sorting
|
| 3033 |
+
FUNCTION {sort.format.title}
|
| 3034 |
+
{ 't :=
|
| 3035 |
+
"A " #2
|
| 3036 |
+
"An " #3
|
| 3037 |
+
"The " #4 t chop.word
|
| 3038 |
+
chop.word
|
| 3039 |
+
chop.word
|
| 3040 |
+
sortify
|
| 3041 |
+
#1 global.max$ substring$
|
| 3042 |
+
}
|
| 3043 |
+
|
| 3044 |
+
%%% author for sorting
|
| 3045 |
+
FUNCTION {author.sort}
|
| 3046 |
+
{ author empty$
|
| 3047 |
+
{ key empty$
|
| 3048 |
+
{ "to sort, need author or key in " cite$ * warning$
|
| 3049 |
+
""
|
| 3050 |
+
}
|
| 3051 |
+
{ key sortify }
|
| 3052 |
+
if$
|
| 3053 |
+
}
|
| 3054 |
+
{ author sort.format.names }
|
| 3055 |
+
if$
|
| 3056 |
+
}
|
| 3057 |
+
|
| 3058 |
+
%%% editor for sorting
|
| 3059 |
+
FUNCTION {author.editor.sort}
|
| 3060 |
+
{ author empty$
|
| 3061 |
+
{ editor empty$
|
| 3062 |
+
{ key empty$
|
| 3063 |
+
{ "to sort, need author, editor, or key in " cite$ * warning$
|
| 3064 |
+
""
|
| 3065 |
+
}
|
| 3066 |
+
{ key sortify }
|
| 3067 |
+
if$
|
| 3068 |
+
}
|
| 3069 |
+
{ editor sort.format.names }
|
| 3070 |
+
if$
|
| 3071 |
+
}
|
| 3072 |
+
{ author sort.format.names }
|
| 3073 |
+
if$
|
| 3074 |
+
}
|
| 3075 |
+
|
| 3076 |
+
FUNCTION {author.organization.sort}
|
| 3077 |
+
{ author empty$
|
| 3078 |
+
{ organization empty$
|
| 3079 |
+
{ key empty$
|
| 3080 |
+
{ "to sort, need author, organization, or key in " cite$ * warning$
|
| 3081 |
+
""
|
| 3082 |
+
}
|
| 3083 |
+
{ key sortify }
|
| 3084 |
+
if$
|
| 3085 |
+
}
|
| 3086 |
+
{ "The " #4 organization chop.word sortify }
|
| 3087 |
+
if$
|
| 3088 |
+
}
|
| 3089 |
+
{ author sort.format.names }
|
| 3090 |
+
if$
|
| 3091 |
+
}
|
| 3092 |
+
|
| 3093 |
+
FUNCTION {editor.organization.sort}
|
| 3094 |
+
{ editor empty$
|
| 3095 |
+
{ organization empty$
|
| 3096 |
+
{ key empty$
|
| 3097 |
+
{ "to sort, need editor, organization, or key in " cite$ * warning$
|
| 3098 |
+
""
|
| 3099 |
+
}
|
| 3100 |
+
{ key sortify }
|
| 3101 |
+
if$
|
| 3102 |
+
}
|
| 3103 |
+
{ "The " #4 organization chop.word sortify }
|
| 3104 |
+
if$
|
| 3105 |
+
}
|
| 3106 |
+
{ editor sort.format.names }
|
| 3107 |
+
if$
|
| 3108 |
+
}
|
| 3109 |
+
|
| 3110 |
+
%%% 1,...,9 -> 001,...,009
|
| 3111 |
+
%%% 10,...,99 -> 010,...,099
|
| 3112 |
+
FUNCTION {add.zero.to.number}
|
| 3113 |
+
{ 's :=
|
| 3114 |
+
s text.length$ #1 =
|
| 3115 |
+
{ "00" s * }
|
| 3116 |
+
{ s text.length$ #2 =
|
| 3117 |
+
{ "0" s * }
|
| 3118 |
+
{ s }
|
| 3119 |
+
if$
|
| 3120 |
+
}
|
| 3121 |
+
if$
|
| 3122 |
+
}
|
| 3123 |
+
|
| 3124 |
+
%% entry type
|
| 3125 |
+
FUNCTION {bst.sort.entry.type.order}
|
| 3126 |
+
{ 'item.type :=
|
| 3127 |
+
item.type "article" =
|
| 3128 |
+
{ "01" }
|
| 3129 |
+
{ item.type "book" =
|
| 3130 |
+
{ "02" }
|
| 3131 |
+
{ item.type "booklet" =
|
| 3132 |
+
{ "03" }
|
| 3133 |
+
{ item.type "comment" =
|
| 3134 |
+
{ "04" }
|
| 3135 |
+
{ item.type "conference" =
|
| 3136 |
+
{ "05" }
|
| 3137 |
+
{ item.type "inbook" =
|
| 3138 |
+
{ "06" }
|
| 3139 |
+
{ item.type "incollection" =
|
| 3140 |
+
{ "07" }
|
| 3141 |
+
{ item.type "inproceedings" =
|
| 3142 |
+
{ "08" }
|
| 3143 |
+
{ item.type "manual" =
|
| 3144 |
+
{ "09" }
|
| 3145 |
+
{ item.type "masterthesis" =
|
| 3146 |
+
{ "10" }
|
| 3147 |
+
{ item.type "misc" =
|
| 3148 |
+
{ "11" }
|
| 3149 |
+
{ item.type "phdthesis" =
|
| 3150 |
+
{ "12" }
|
| 3151 |
+
{ item.type "proceedings" =
|
| 3152 |
+
{ "13" }
|
| 3153 |
+
{ item.type "techreport" =
|
| 3154 |
+
{ "14" }
|
| 3155 |
+
{ item.type "unpublished" =
|
| 3156 |
+
{ "15" }
|
| 3157 |
+
{ "16" }
|
| 3158 |
+
if$
|
| 3159 |
+
}
|
| 3160 |
+
if$
|
| 3161 |
+
}
|
| 3162 |
+
if$
|
| 3163 |
+
}
|
| 3164 |
+
if$
|
| 3165 |
+
}
|
| 3166 |
+
if$
|
| 3167 |
+
}
|
| 3168 |
+
if$
|
| 3169 |
+
}
|
| 3170 |
+
if$
|
| 3171 |
+
}
|
| 3172 |
+
if$
|
| 3173 |
+
}
|
| 3174 |
+
if$
|
| 3175 |
+
}
|
| 3176 |
+
if$
|
| 3177 |
+
}
|
| 3178 |
+
if$
|
| 3179 |
+
}
|
| 3180 |
+
if$
|
| 3181 |
+
}
|
| 3182 |
+
if$
|
| 3183 |
+
}
|
| 3184 |
+
if$
|
| 3185 |
+
}
|
| 3186 |
+
if$
|
| 3187 |
+
}
|
| 3188 |
+
|
| 3189 |
+
%%% Create sort.key$: absorder -> author -> year -> order -> month -> title.
|
| 3190 |
+
FUNCTION {presort.one}
|
| 3191 |
+
{
|
| 3192 |
+
bst.no.sort #0 = not
|
| 3193 |
+
{ order.cited int.to.str$ add.zero.to.number " " * }
|
| 3194 |
+
{ "" }
|
| 3195 |
+
if$
|
| 3196 |
+
bst.sort.year #0 = not
|
| 3197 |
+
%% Use year field as the primary sorting key.
|
| 3198 |
+
{ year convert.year * }
|
| 3199 |
+
'skip$
|
| 3200 |
+
if$
|
| 3201 |
+
bst.sort.entry.type #0 = not
|
| 3202 |
+
{ type$ bst.sort.entry.type.order * " " * }
|
| 3203 |
+
'skip$
|
| 3204 |
+
if$
|
| 3205 |
+
absorder empty$
|
| 3206 |
+
{ "/// " * }
|
| 3207 |
+
{ bst.notuse.absorder.field #0 =
|
| 3208 |
+
{ absorder "999" =
|
| 3209 |
+
{ "zzz " * }
|
| 3210 |
+
{ absorder add.zero.to.number "000" =
|
| 3211 |
+
{ "/// " * }
|
| 3212 |
+
{ absorder add.zero.to.number * " " * }
|
| 3213 |
+
if$
|
| 3214 |
+
}
|
| 3215 |
+
if$
|
| 3216 |
+
}
|
| 3217 |
+
{ "/// " * }
|
| 3218 |
+
if$
|
| 3219 |
+
}
|
| 3220 |
+
if$
|
| 3221 |
+
" " *
|
| 3222 |
+
sort.label.abb *
|
| 3223 |
+
" " *
|
| 3224 |
+
type$ "book" = type$ "inbook" = or
|
| 3225 |
+
'author.editor.sort
|
| 3226 |
+
{ type$ "proceedings" =
|
| 3227 |
+
'editor.organization.sort
|
| 3228 |
+
{ type$ "manual" =
|
| 3229 |
+
'author.organization.sort
|
| 3230 |
+
'author.sort
|
| 3231 |
+
if$
|
| 3232 |
+
}
|
| 3233 |
+
if$
|
| 3234 |
+
}
|
| 3235 |
+
if$
|
| 3236 |
+
* " " *
|
| 3237 |
+
" "
|
| 3238 |
+
order empty$
|
| 3239 |
+
{ "/// " * }
|
| 3240 |
+
{ bst.notuse.order.field #0 =
|
| 3241 |
+
{ order "999" =
|
| 3242 |
+
{ "zzz " * }
|
| 3243 |
+
{ order add.zero.to.number "000" =
|
| 3244 |
+
{ "/// " * }
|
| 3245 |
+
{ order add.zero.to.number * " " * }
|
| 3246 |
+
if$
|
| 3247 |
+
}
|
| 3248 |
+
if$
|
| 3249 |
+
}
|
| 3250 |
+
{ "/// " * }
|
| 3251 |
+
if$
|
| 3252 |
+
}
|
| 3253 |
+
if$
|
| 3254 |
+
month empty$
|
| 3255 |
+
{ * "/// " * }
|
| 3256 |
+
{ month "999" =
|
| 3257 |
+
{ * month add.zero.to.number * "zzz " * }
|
| 3258 |
+
{ month add.zero.to.number "000" =
|
| 3259 |
+
{ * month add.zero.to.number * "/// " * }
|
| 3260 |
+
{ * month add.zero.to.number * " " * }
|
| 3261 |
+
if$
|
| 3262 |
+
}
|
| 3263 |
+
if$
|
| 3264 |
+
}
|
| 3265 |
+
if$
|
| 3266 |
+
title field.or.null sort.format.title
|
| 3267 |
+
*
|
| 3268 |
+
#1 entry.max$ substring$
|
| 3269 |
+
'sort.key$ :=
|
| 3270 |
+
% For debug
|
| 3271 |
+
econ.debug #0 = not
|
| 3272 |
+
{ "``\texttt{" write$
|
| 3273 |
+
sort.key$ write$
|
| 3274 |
+
"}''\\" write$
|
| 3275 |
+
newline$
|
| 3276 |
+
}
|
| 3277 |
+
'skip$
|
| 3278 |
+
if$
|
| 3279 |
+
}
|
| 3280 |
+
|
| 3281 |
+
FUNCTION {presort.two}
|
| 3282 |
+
{
|
| 3283 |
+
bst.no.sort #0 = not
|
| 3284 |
+
{ order.cited int.to.str$ add.zero.to.number " " * }
|
| 3285 |
+
{ "" }
|
| 3286 |
+
if$
|
| 3287 |
+
bst.sort.year #0 = not
|
| 3288 |
+
%% Use year field as the primary sorting key.
|
| 3289 |
+
{ year convert.year * }
|
| 3290 |
+
'skip$
|
| 3291 |
+
if$
|
| 3292 |
+
bst.sort.entry.type #0 = not
|
| 3293 |
+
{ type$ bst.sort.entry.type.order * " " * }
|
| 3294 |
+
'skip$
|
| 3295 |
+
if$
|
| 3296 |
+
absorder empty$
|
| 3297 |
+
{ "/// " * }
|
| 3298 |
+
{ bst.notuse.absorder.field #0 =
|
| 3299 |
+
{ absorder "999" =
|
| 3300 |
+
{ "zzz " * }
|
| 3301 |
+
{ absorder add.zero.to.number "000" =
|
| 3302 |
+
{ "/// " * }
|
| 3303 |
+
{ absorder add.zero.to.number * " " * }
|
| 3304 |
+
if$
|
| 3305 |
+
}
|
| 3306 |
+
if$
|
| 3307 |
+
}
|
| 3308 |
+
{ "/// " * }
|
| 3309 |
+
if$
|
| 3310 |
+
}
|
| 3311 |
+
if$
|
| 3312 |
+
" " * sort.label * " "
|
| 3313 |
+
order empty$
|
| 3314 |
+
{ "/// " * }
|
| 3315 |
+
{ bst.notuse.order.field #0 =
|
| 3316 |
+
{ order "999" =
|
| 3317 |
+
{ "zzz " * }
|
| 3318 |
+
{ order add.zero.to.number "000" =
|
| 3319 |
+
{ "/// " * }
|
| 3320 |
+
{ order add.zero.to.number * " " * }
|
| 3321 |
+
if$
|
| 3322 |
+
}
|
| 3323 |
+
if$
|
| 3324 |
+
}
|
| 3325 |
+
{ "/// " * }
|
| 3326 |
+
if$
|
| 3327 |
+
}
|
| 3328 |
+
if$
|
| 3329 |
+
month empty$
|
| 3330 |
+
{ * "/// " * }
|
| 3331 |
+
{ month "999" =
|
| 3332 |
+
{ * month add.zero.to.number * "zzz " * }
|
| 3333 |
+
{ month add.zero.to.number "000" =
|
| 3334 |
+
{ * month add.zero.to.number * "/// " * }
|
| 3335 |
+
{ * month add.zero.to.number * " " * }
|
| 3336 |
+
if$
|
| 3337 |
+
}
|
| 3338 |
+
if$
|
| 3339 |
+
}
|
| 3340 |
+
if$
|
| 3341 |
+
title field.or.null sort.format.title
|
| 3342 |
+
*
|
| 3343 |
+
#1 entry.max$ substring$
|
| 3344 |
+
'sort.key$ :=
|
| 3345 |
+
% For debug
|
| 3346 |
+
econ.debug #0 = not
|
| 3347 |
+
{ "``\texttt{" write$
|
| 3348 |
+
sort.key$ write$
|
| 3349 |
+
"}''\\" write$
|
| 3350 |
+
newline$
|
| 3351 |
+
}
|
| 3352 |
+
'skip$
|
| 3353 |
+
if$
|
| 3354 |
+
}
|
| 3355 |
+
|
| 3356 |
+
%%% Codes for debugging
|
| 3357 |
+
FUNCTION {calc.alabel.mess}
|
| 3358 |
+
{ econ.debug #0 = not
|
| 3359 |
+
{ "\textbf{Iteration of calc.alabel: alabel = }\\" write$
|
| 3360 |
+
newline$ }
|
| 3361 |
+
'skip$
|
| 3362 |
+
if$
|
| 3363 |
+
}
|
| 3364 |
+
FUNCTION {calc.flabel.mess}
|
| 3365 |
+
{ econ.debug #0 = not
|
| 3366 |
+
{ "\textbf{Iteration of calc.flabel: flabel = }\\" write$
|
| 3367 |
+
newline$ }
|
| 3368 |
+
'skip$
|
| 3369 |
+
if$
|
| 3370 |
+
}
|
| 3371 |
+
FUNCTION {presort.one.mess}
|
| 3372 |
+
{ econ.debug #0 = not
|
| 3373 |
+
{ "\textbf{Iteration of presort (1st time): \$sort.key = }\\" write$
|
| 3374 |
+
newline$ }
|
| 3375 |
+
'skip$
|
| 3376 |
+
if$
|
| 3377 |
+
}
|
| 3378 |
+
|
| 3379 |
+
FUNCTION {presort.two.mess}
|
| 3380 |
+
{ econ.debug #0 = not
|
| 3381 |
+
{ "\textbf{Iteration of presort (2nd time): \$sort.key = }\\" write$
|
| 3382 |
+
newline$ }
|
| 3383 |
+
'skip$
|
| 3384 |
+
if$
|
| 3385 |
+
}
|
| 3386 |
+
|
| 3387 |
+
FUNCTION {calc.cyear.mess}
|
| 3388 |
+
{ econ.debug #0 = not
|
| 3389 |
+
{ "\textbf{Iteration of calc.cyear: sort.label = }\\" write$
|
| 3390 |
+
newline$ }
|
| 3391 |
+
'skip$
|
| 3392 |
+
if$
|
| 3393 |
+
}
|
| 3394 |
+
|
| 3395 |
+
FUNCTION {calc.sort.label.abb.mess}
|
| 3396 |
+
{ econ.debug #0 = not
|
| 3397 |
+
{ "\textbf{Iteration of calc.sort.label.abb: sort.label.abb = }\\" write$
|
| 3398 |
+
newline$ }
|
| 3399 |
+
'skip$
|
| 3400 |
+
if$
|
| 3401 |
+
}
|
| 3402 |
+
|
| 3403 |
+
%%% alabel
|
| 3404 |
+
EXECUTE {calc.alabel.mess}
|
| 3405 |
+
ITERATE {calc.alabel}
|
| 3406 |
+
|
| 3407 |
+
%%% flabel
|
| 3408 |
+
EXECUTE {calc.flabel.mess}
|
| 3409 |
+
ITERATE {calc.flabel}
|
| 3410 |
+
|
| 3411 |
+
%%% cyear and sort.label
|
| 3412 |
+
EXECUTE {calc.cyear.mess}
|
| 3413 |
+
ITERATE {calc.cyear}
|
| 3414 |
+
|
| 3415 |
+
%%%
|
| 3416 |
+
EXECUTE {calc.sort.label.abb.mess}
|
| 3417 |
+
ITERATE {calc.sort.label.abb}
|
| 3418 |
+
|
| 3419 |
+
%%% Sorting by $sort.key (first time)
|
| 3420 |
+
%
|
| 3421 |
+
% Sorting is done in two times. This is the first time.
|
| 3422 |
+
%
|
| 3423 |
+
EXECUTE {presort.one.mess}
|
| 3424 |
+
ITERATE {presort.one}
|
| 3425 |
+
SORT
|
| 3426 |
+
|
| 3427 |
+
FUNCTION {forward.pass}
|
| 3428 |
+
{ bst.use.bysame #0 = bst.use.bysame #2 = or
|
| 3429 |
+
% Not use \bysame
|
| 3430 |
+
{ last.sort.label sort.label.abb =
|
| 3431 |
+
{ last.extra.num #1 + 'last.extra.num :=
|
| 3432 |
+
last.extra.num int.to.chr$ 'extra.label :=
|
| 3433 |
+
}
|
| 3434 |
+
{ "a" chr.to.int$ 'last.extra.num :=
|
| 3435 |
+
"" 'extra.label :=
|
| 3436 |
+
sort.label.abb 'last.sort.label :=
|
| 3437 |
+
}
|
| 3438 |
+
if$
|
| 3439 |
+
}
|
| 3440 |
+
% Use \bysame
|
| 3441 |
+
{ last.sort.label sort.label.abb =
|
| 3442 |
+
{ last.extra.num #1 + 'last.extra.num :=
|
| 3443 |
+
last.extra.num int.to.chr$ 'extra.label :=
|
| 3444 |
+
}
|
| 3445 |
+
{ "a" chr.to.int$ 'last.extra.num :=
|
| 3446 |
+
"" 'extra.label :=
|
| 3447 |
+
sort.label.abb 'last.sort.label :=
|
| 3448 |
+
}
|
| 3449 |
+
if$
|
| 3450 |
+
author empty$
|
| 3451 |
+
{ editor empty$
|
| 3452 |
+
{ "" }
|
| 3453 |
+
'format.editors.alt
|
| 3454 |
+
if$
|
| 3455 |
+
}
|
| 3456 |
+
'format.authors.alt
|
| 3457 |
+
if$
|
| 3458 |
+
'this.author :=
|
| 3459 |
+
% format.names 'this.author :=
|
| 3460 |
+
this.author prev.author =
|
| 3461 |
+
{ "bysame" 'extra.label.bysame := }
|
| 3462 |
+
{ this.author "" =
|
| 3463 |
+
{ "abcxyz" }
|
| 3464 |
+
'this.author
|
| 3465 |
+
if$
|
| 3466 |
+
'prev.author :=
|
| 3467 |
+
}
|
| 3468 |
+
if$
|
| 3469 |
+
}
|
| 3470 |
+
if$
|
| 3471 |
+
}
|
| 3472 |
+
|
| 3473 |
+
FUNCTION {reverse.pass}
|
| 3474 |
+
{ next.extra "b" =
|
| 3475 |
+
{ "a" 'extra.label := }
|
| 3476 |
+
'skip$
|
| 3477 |
+
if$
|
| 3478 |
+
extra.label empty$ not
|
| 3479 |
+
{ cyear extra.label * }
|
| 3480 |
+
{ cyear "" * }
|
| 3481 |
+
if$
|
| 3482 |
+
"" field.or.null *
|
| 3483 |
+
'cyear :=
|
| 3484 |
+
extra.label 'next.extra :=
|
| 3485 |
+
}
|
| 3486 |
+
|
| 3487 |
+
%%% \bysame
|
| 3488 |
+
ITERATE {forward.pass}
|
| 3489 |
+
|
| 3490 |
+
REVERSE {reverse.pass}
|
| 3491 |
+
|
| 3492 |
+
%%% Sorting by sort.key$ (second time)
|
| 3493 |
+
EXECUTE {presort.two.mess}
|
| 3494 |
+
ITERATE {presort.two}
|
| 3495 |
+
SORT
|
| 3496 |
+
|
| 3497 |
+
FUNCTION {reset.prev.author}
|
| 3498 |
+
{ "xxyyzz" 'prev.author := }
|
| 3499 |
+
|
| 3500 |
+
EXECUTE {reset.prev.author}
|
| 3501 |
+
|
| 3502 |
+
FUNCTION {forward.pass.two}
|
| 3503 |
+
{ bst.use.bysame #1 =
|
| 3504 |
+
{ author empty$
|
| 3505 |
+
{ editor empty$
|
| 3506 |
+
{ "" }
|
| 3507 |
+
'format.editors.alt
|
| 3508 |
+
if$
|
| 3509 |
+
}
|
| 3510 |
+
'format.authors.alt
|
| 3511 |
+
if$
|
| 3512 |
+
'this.author :=
|
| 3513 |
+
this.author prev.author =
|
| 3514 |
+
{ "bysame" 'extra.label.bysame := }
|
| 3515 |
+
{ this.author "" =
|
| 3516 |
+
{ "abcxyz" }
|
| 3517 |
+
'this.author
|
| 3518 |
+
if$
|
| 3519 |
+
'prev.author :=
|
| 3520 |
+
}
|
| 3521 |
+
if$
|
| 3522 |
+
}
|
| 3523 |
+
'skip$
|
| 3524 |
+
if$
|
| 3525 |
+
}
|
| 3526 |
+
|
| 3527 |
+
ITERATE {forward.pass.two}
|
| 3528 |
+
|
| 3529 |
+
FUNCTION{punctuation}
|
| 3530 |
+
{
|
| 3531 |
+
"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$
|
| 3532 |
+
"% This bbl file is created by aea.bst ver." econ.version * write$ newline$
|
| 3533 |
+
"% The latest aea.bst is available at" write$ newline$
|
| 3534 |
+
"% <https://github.com/ShiroTakeda/econ-bst>" write$ newline$ newline$
|
| 3535 |
+
}
|
| 3536 |
+
|
| 3537 |
+
EXECUTE {punctuation}
|
| 3538 |
+
|
| 3539 |
+
FUNCTION {begin.bib}
|
| 3540 |
+
{
|
| 3541 |
+
preamble$ empty$
|
| 3542 |
+
'skip$
|
| 3543 |
+
{ preamble$ write$ newline$ }
|
| 3544 |
+
if$
|
| 3545 |
+
bst.use.bysame #0 =
|
| 3546 |
+
% Not use \bysame.
|
| 3547 |
+
'skip$
|
| 3548 |
+
% Use \bysame.
|
| 3549 |
+
{ "%%% Definition of \bysame" write$ newline$
|
| 3550 |
+
"\ifx\undefined\bysame" write$ newline$
|
| 3551 |
+
"\newcommand{\bysame}{" bst.bysame.definition * "}" *
|
| 3552 |
+
write$ newline$
|
| 3553 |
+
"\fi" write$ newline$ newline$ }
|
| 3554 |
+
if$
|
| 3555 |
+
%% When number index is attached to the beginning of each item.
|
| 3556 |
+
bst.use.number.index #0 =
|
| 3557 |
+
'skip$
|
| 3558 |
+
{ bst.number.index.digit "1" =
|
| 3559 |
+
% one digit.
|
| 3560 |
+
{ bst.number.index.bibhang.one }
|
| 3561 |
+
{ bst.number.index.digit "2" =
|
| 3562 |
+
% two digits.
|
| 3563 |
+
{ bst.number.index.bibhang.ten }
|
| 3564 |
+
% three or more digits.
|
| 3565 |
+
{ bst.number.index.bibhang.hund }
|
| 3566 |
+
if$
|
| 3567 |
+
}
|
| 3568 |
+
if$
|
| 3569 |
+
'hang :=
|
| 3570 |
+
"%%% Redefinition of \bibhang" write$ newline$
|
| 3571 |
+
"\ifx\undefined\bibhang" write$ newline$
|
| 3572 |
+
"\relax" write$ newline$
|
| 3573 |
+
"\else" write$ newline$
|
| 3574 |
+
"\setlength{\bibhang}{"
|
| 3575 |
+
hang * "}" * write$ newline$
|
| 3576 |
+
"\fi" write$ newline$ newline$
|
| 3577 |
+
}
|
| 3578 |
+
if$
|
| 3579 |
+
"\begin{thebibliography}{xxx}" write$ newline$
|
| 3580 |
+
|
| 3581 |
+
%% Initialize the variable `index'.
|
| 3582 |
+
#0 'index :=
|
| 3583 |
+
}
|
| 3584 |
+
|
| 3585 |
+
FUNCTION {end.bib}
|
| 3586 |
+
{ newline$ "\end{thebibliography}" write$ newline$ }
|
| 3587 |
+
|
| 3588 |
+
EXECUTE {begin.bib}
|
| 3589 |
+
|
| 3590 |
+
EXECUTE {init.state.consts}
|
| 3591 |
+
|
| 3592 |
+
ITERATE {call.type$}
|
| 3593 |
+
|
| 3594 |
+
EXECUTE {end.bib}
|
| 3595 |
+
|
| 3596 |
+
% --------------------
|
| 3597 |
+
% Local Variables:
|
| 3598 |
+
% fill-column: 78
|
| 3599 |
+
% mode: bst
|
| 3600 |
+
% End:
|
107/replication_package/Output/CCBeliefs2.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{4}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{8}{c}{Subjective expected attendance without incentives}\\
|
| 4 |
+
& (1)& & (2)& & (3)& & (4)& \\
|
| 5 |
+
\hline
|
| 6 |
+
Subj. prob. succeed in & 8.46&***& & & 9.17&***& 9.68&** \\
|
| 7 |
+
\lq\lq more\rq\rq\, contract& (1.31)& & & & (1.17)& & (3.79)& \\
|
| 8 |
+
Subj. prob. succeed in & & & --3.96&***& --4.64&***& --9.97&***\\
|
| 9 |
+
\lq\lq fewer\rq\rq\, contract& & & (0.91)& & (0.85)& & (3.10)& \\
|
| 10 |
+
N & 399& & 399& & 399& & 76& \\
|
| 11 |
+
\hline ``More'' $-$ ``Fewer''& & & & & 13.81***& & 19.64***& \\
|
| 12 |
+
& & & & & (1.37)& & (6.02)& \\
|
| 13 |
+
\hline\hline
|
| 14 |
+
\end{tabular}
|
107/replication_package/Output/CCcorrelates.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{3}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{2}{c}{Expected attendance}&\multicolumn{2}{c}{Past attendance}&\multicolumn{2}{c}{Goal attendance}\\
|
| 4 |
+
& (1)& & (2)& & (3)& \\
|
| 5 |
+
\hline
|
| 6 |
+
Chose ``more contract''& 1.94&***& 1.31&***& 2.56&***\\
|
| 7 |
+
& (0.21)& & (0.22)& & (0.22)& \\
|
| 8 |
+
Chose ``fewer'' contract& --0.87&***& --1.94&***& --1.03&***\\
|
| 9 |
+
& (0.23)& & (0.23)& & (0.25)& \\
|
| 10 |
+
N & 2,946& & 2,946& & 2,946& \\
|
| 11 |
+
\hline ``More'' $-$ ``Fewer''& 2.81***& & 3.25***& & 3.59***& \\
|
| 12 |
+
& (0.34)& & (0.35)& & (0.36)& \\
|
| 13 |
+
\hline\hline
|
| 14 |
+
\end{tabular}
|
107/replication_package/Output/CCtakeupVbeliefs.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{6}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{6}{c}{\shortstack{Subj. prob. succeed in \\ ``more'' contract}}&\multicolumn{6}{c}{\shortstack{Subj. prob. succeed in \\ ``fewer'' contract}}\\
|
| 4 |
+
&\multicolumn{2}{c}{(1)}&\multicolumn{2}{c}{(2)}&\multicolumn{2}{c}{(3)}&\multicolumn{2}{c}{(4)}&\multicolumn{2}{c}{(5)}&\multicolumn{2}{c}{(6)}\\
|
| 5 |
+
\hline
|
| 6 |
+
Commit to ``more''& 0.12&***& & & 0.14&***& --0.09&***& & & --0.13&***\\
|
| 7 |
+
& (0.02)& & & & (0.02)& & (0.03)& & & & (0.03)& \\
|
| 8 |
+
Commit to ``fewer''& & & --0.05&* & --0.08&***& & & 0.17&***& 0.20&***\\
|
| 9 |
+
& & & (0.03)& & (0.02)& & & & (0.03)& & (0.03)& \\
|
| 10 |
+
N & 399& & 399& & 399& & 399& & 399& & 399& \\
|
| 11 |
+
\hline ``More'' $-$ ``Fewer''& & & & & 0.22***& & & & & & -0.34***& \\
|
| 12 |
+
& & & & & (0.03)& & & & & & (0.05)& \\
|
| 13 |
+
\hline\hline
|
| 14 |
+
\end{tabular}
|
107/replication_package/Output/DailyAttIncr.tex
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{1}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{2}{c}{\shortstack{Attendance \\ likelihood}}\\
|
| 4 |
+
&\multicolumn{2}{c}{(1)}\\
|
| 5 |
+
\hline
|
| 6 |
+
Day & --0.005&***\\
|
| 7 |
+
& (0.001)& \\
|
| 8 |
+
12+ visits contract& 0.051& \\
|
| 9 |
+
& (0.045)& \\
|
| 10 |
+
Day $\times$ 12+ visits contract& 0.005&** \\
|
| 11 |
+
& (0.002)& \\
|
| 12 |
+
\hline
|
| 13 |
+
Wave FEs & Yes& \\
|
| 14 |
+
N & 7,336& \\
|
| 15 |
+
Clusters & 262& \\
|
| 16 |
+
\hline\hline
|
| 17 |
+
\end{tabular}
|
107/replication_package/Output/Formatted output/CCBeliefs2.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{4}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{8}{c}{Subjective expected attendance without incentives}\\
|
| 4 |
+
& (1)& & (2)& & (3)& & (4)& \\
|
| 5 |
+
\hline
|
| 6 |
+
Subj. prob. succeed in & 8.46&***& & & 9.17&***& 9.68&** \\
|
| 7 |
+
\lq\lq more\rq\rq\, contract& (1.31)& & & & (1.17)& & (3.79)& \\
|
| 8 |
+
Subj. prob. succeed in & & & --3.96&***& --4.64&***& --9.97&***\\
|
| 9 |
+
\lq\lq fewer\rq\rq\, contract& & & (0.91)& & (0.85)& & (3.10)& \\
|
| 10 |
+
N & 399& & 399& & 399& & 76& \\
|
| 11 |
+
\hline ``More'' $-$ ``Fewer''& & & & & 13.81&*** & 19.64&*** \\
|
| 12 |
+
& & & & & (1.37)& & (6.02)& \\
|
| 13 |
+
\hline\hline
|
| 14 |
+
\end{tabular}
|
107/replication_package/Output/Formatted output/CC_literature_table.tex
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{threeparttable}
|
| 2 |
+
\begin{tabular}{lcr}
|
| 3 |
+
\hline
|
| 4 |
+
\textit{Type of contract} & & \\
|
| 5 |
+
Authors (year) & Take-up rate & \multicolumn{1}{c}{At stake} \\
|
| 6 |
+
\hline
|
| 7 |
+
& & \\
|
| 8 |
+
\textit{A. Penalty-based:} & & \\
|
| 9 |
+
& & \\
|
| 10 |
+
\cite*{gine2010} & 11\% & \multicolumn{1}{c}{own money} \\
|
| 11 |
+
\cite*{royer2015} & 12\% & \multicolumn{1}{c}{earned money} \\
|
| 12 |
+
\cite{Bai2018} & 14\% & \multicolumn{1}{c}{own money} \\
|
| 13 |
+
\cite*{bhattacharya2015} & 23\% & \multicolumn{1}{c}{own money} \\
|
| 14 |
+
\cite{john2020} & 27\% & \multicolumn{1}{c}{own money} \\
|
| 15 |
+
\cite*{kaur2015} & 36\% & \multicolumn{1}{c}{own money} \\
|
| 16 |
+
\cite{schwartz2014} & 36\% & \multicolumn{1}{c}{house money} \\
|
| 17 |
+
\cite{bonein2015} & 42\% & \multicolumn{1}{c}{other\tnote{1}} \\
|
| 18 |
+
\cite{beshears2020} & 39-46\%\tnote{2} & \multicolumn{1}{c}{house money} \\
|
| 19 |
+
\cite{toussaert2019} & 21-65\% & \multicolumn{1}{c}{house money} \\
|
| 20 |
+
\cite{schilbach2019} & 31-55\% & \multicolumn{1}{c}{house money} \\
|
| 21 |
+
\cite{exley2017} & 41-65\% & \multicolumn{1}{c}{house money } \\
|
| 22 |
+
\cite*{avery2019} & 63\% & \multicolumn{1}{c}{house money } \\
|
| 23 |
+
\cite{ariely2002} & 73\% & \multicolumn{1}{c}{other\tnote{3}} \\
|
| 24 |
+
& & \\
|
| 25 |
+
\hline
|
| 26 |
+
& & \\
|
| 27 |
+
Average take-up rates (Penalty-based contracts) & & \\
|
| 28 |
+
\hspace{3mm} Own money at stake & 22\% & \\
|
| 29 |
+
\hspace{3mm} House money at stake & 47\% & \\
|
| 30 |
+
\hspace{3mm} Other stakes & 42\% & \\
|
| 31 |
+
& & \\
|
| 32 |
+
Overall & 37\% & \\
|
| 33 |
+
\hline
|
| 34 |
+
\hline
|
| 35 |
+
& & \\
|
| 36 |
+
\textit{B. Removing options:} & & \multicolumn{1}{c}{Restricted access to} \\
|
| 37 |
+
& & \\
|
| 38 |
+
\cite{brune2016} & 6\% & \multicolumn{1}{c}{own money} \\
|
| 39 |
+
\cite{afzal2019} & 4-9\% & \multicolumn{1}{c}{own money} \\
|
| 40 |
+
\cite{zhang2021} & 16-31\% & \multicolumn{1}{c}{other} \\
|
| 41 |
+
\cite{sadoffjebo2019} & 20-50\% & \multicolumn{1}{c}{other} \\
|
| 42 |
+
\cite{ek2020} & 27\%\tnote{4} & \multicolumn{1}{c}{other} \\
|
| 43 |
+
\cite*{ashraf2006} & 28\% & \multicolumn{1}{c}{own money} \\
|
| 44 |
+
\cite*{sadoffsprenger2019} & 33\% & \multicolumn{1}{c}{other} \\
|
| 45 |
+
\cite{acland2018} & 35\% & \multicolumn{1}{c}{other} \\
|
| 46 |
+
\cite{john2020} & 42\% & \multicolumn{1}{c}{own money} \\
|
| 47 |
+
\cite{karlan2017} & 44\% & \multicolumn{1}{c}{own money} \\
|
| 48 |
+
\cite{toussaert2018} & 45\% & \multicolumn{1}{c}{other} \\
|
| 49 |
+
\cite{bisin2020} & 31-62\% & \multicolumn{1}{c}{other} \\
|
| 50 |
+
\cite{houser2018} & 48\% & \multicolumn{1}{c}{other} \\
|
| 51 |
+
\cite*{brune2021} & 50\% & \multicolumn{1}{c}{own money} \\
|
| 52 |
+
\cite{beshears2020} & 56\%\tnote{5} & \multicolumn{1}{c}{house money} \\
|
| 53 |
+
\cite*{augenblick2015} & 59\% & \multicolumn{1}{c}{other} \\
|
| 54 |
+
\cite*{milkman2014} & 61\%\tnote{4} & \multicolumn{1}{c}{other} \\
|
| 55 |
+
\cite{dupas2013} & 65\% & \multicolumn{1}{c}{own money} \\
|
| 56 |
+
\cite{alan2015} & 69\% & \multicolumn{1}{c}{house chocolates} \\
|
| 57 |
+
\cite{chow2011} & 79\% & \multicolumn{1}{c}{other} \\
|
| 58 |
+
\cite{casaburi2019} & 93\% & \multicolumn{1}{c}{own money} \\
|
| 59 |
+
& & \\
|
| 60 |
+
\hline
|
| 61 |
+
& & \\
|
| 62 |
+
Average take-up rates (Option removal contracts) & & \\
|
| 63 |
+
\hspace{3mm} Own money at stake & 42\% & \\
|
| 64 |
+
\hspace{3mm} House money/object at stake & 63\% & \\
|
| 65 |
+
\hspace{3mm} Other stakes & 43\% & \\
|
| 66 |
+
& & \\
|
| 67 |
+
Overall & 45\% & \\
|
| 68 |
+
\hline
|
| 69 |
+
\hline
|
| 70 |
+
\end{tabular}
|
| 71 |
+
\begin{tablenotes}
|
| 72 |
+
\setlength{\columnsep}{0.5cm}
|
| 73 |
+
\setlength{\multicolsep}{0cm}
|
| 74 |
+
\begin{multicols}{2}
|
| 75 |
+
\footnotesize
|
| 76 |
+
\item [1]Points in a two-part experiment
|
| 77 |
+
\item [2]Fraction of endowment put into account with early withdrawal penalty
|
| 78 |
+
\item [3]Grade points
|
| 79 |
+
\item [4]Percent of participants with WTP>0
|
| 80 |
+
\item [5]Fraction of endowment put into account with early withdrawal prohibited
|
| 81 |
+
\end{multicols}
|
| 82 |
+
\end{tablenotes}
|
| 83 |
+
\end{threeparttable}
|
107/replication_package/Output/Formatted output/CCcorrelates.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{3}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{2}{c}{Expected attendance}&\multicolumn{2}{c}{Past attendance}&\multicolumn{2}{c}{Goal attendance}\\
|
| 4 |
+
& (1)& & (2)& & (3)& \\
|
| 5 |
+
\hline
|
| 6 |
+
Chose ``more contract''& 1.94&***& 1.31&***& 2.56&***\\
|
| 7 |
+
& (0.21)& & (0.22)& & (0.22)& \\
|
| 8 |
+
Chose ``fewer'' contract& --0.87&***& --1.94&***& --1.03&***\\
|
| 9 |
+
& (0.23)& & (0.23)& & (0.25)& \\
|
| 10 |
+
N & 2,946& & 2,946& & 2,946& \\
|
| 11 |
+
\hline ``More'' $-$ ``Fewer''& 2.81&***& 3.25&***& 3.59&*** \\
|
| 12 |
+
& (0.34)& & (0.35)& & (0.36)& \\
|
| 13 |
+
\hline\hline
|
| 14 |
+
\end{tabular}
|
107/replication_package/Output/Formatted output/CCtable.tex
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{tabular}{l*{7}{c}} \hline
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
&\multicolumn{1}{c}{ }&\multicolumn{1}{c}{}&\multicolumn{1}{c}{}&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``fewer''} &\multicolumn{1}{c}{} &\multicolumn{1}{c}{}\\ &\multicolumn{1}{c}{ }&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``fewer''}&\multicolumn{1}{c}{given chose} &\multicolumn{1}{c}{given chose} &\multicolumn{1}{c}{} &\multicolumn{1}{c}{}\\ &\multicolumn{1}{c}{}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{``fewer''}&\multicolumn{1}{c}{``more''} &\multicolumn{1}{c}{Diff}&\multicolumn{1}{c}{Diff} \\ &\multicolumn{1}{c}{Threshold}&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)} &\multicolumn{1}{c}{(3)-(1)}&\multicolumn{1}{c}{(4)-(2)} \\ \hline \ & 8 visits & 0.64 & 0.34 & 0.89 & 0.47 & 0.25*** & 0.13*** \\ \ & 12 visits & 0.49 & 0.31 & 0.67 & 0.43 & 0.18*** & 0.12*** \\ \ & 16 visits & 0.32 & 0.27 & 0.50 & 0.43 & 0.18*** & 0.15*** \\ [0.5ex] \hline\hline \end{tabular}
|
| 5 |
+
|
| 6 |
+
% created with estimates from Tables.do
|
107/replication_package/Output/Formatted output/CCtable_control.tex
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{tabular}{l*{7}{c}} \hline
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
&\multicolumn{1}{c}{ }&\multicolumn{1}{c}{}&\multicolumn{1}{c}{}&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``fewer'' } &\multicolumn{1}{c}{} &\multicolumn{1}{c}{}\\ &\multicolumn{1}{c}{ }&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``fewer''}&\multicolumn{1}{c}{given chose} &\multicolumn{1}{c}{given chose} &\multicolumn{1}{c}{} &\multicolumn{1}{c}{}\\ &\multicolumn{1}{c}{}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{``fewer''}&\multicolumn{1}{c}{``more''} &\multicolumn{1}{c}{Diff}&\multicolumn{1}{c}{Diff} \\ &\multicolumn{1}{c}{Threshold}&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)} &\multicolumn{1}{c}{(3)-(1)}&\multicolumn{1}{c}{(4)-(2)} \\ \hline \ & 8 visits & 0.65 & 0.36 & 0.88 & 0.49 & 0.23*** & 0.13*** \\ \ & 12 visits & 0.52 & 0.33 & 0.72 & 0.45 & 0.20*** & 0.13*** \\ \ & 16 visits & 0.36 & 0.31 & 0.56 & 0.48 & 0.20*** & 0.17*** \\ [0.5ex] \hline\hline \end{tabular}
|
| 5 |
+
|
| 6 |
+
% created with estimates from Appendix.do
|
107/replication_package/Output/Formatted output/CCtable_treatment.tex
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{tabular}{l*{7}{c}} \hline
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
&\multicolumn{1}{c}{ }&\multicolumn{1}{c}{}&\multicolumn{1}{c}{}&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``fewer'' } &\multicolumn{1}{c}{} &\multicolumn{1}{c}{}\\ &\multicolumn{1}{c}{ }&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``fewer''}&\multicolumn{1}{c}{given chose} &\multicolumn{1}{c}{given chose} &\multicolumn{1}{c}{} &\multicolumn{1}{c}{}\\ &\multicolumn{1}{c}{}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{``fewer''}&\multicolumn{1}{c}{``more''} &\multicolumn{1}{c}{Diff}&\multicolumn{1}{c}{Diff} \\ &\multicolumn{1}{c}{Threshold}&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)} &\multicolumn{1}{c}{(3)-(1)}&\multicolumn{1}{c}{(4)-(2)} \\ \hline \ & 8 visits & 0.62 & 0.30 & 0.89 & 0.43 & 0.27*** & 0.13*** \\ \ & 12 visits & 0.47 & 0.29 & 0.62 & 0.38 & 0.15*** & 0.09*** \\ \ & 16 visits & 0.31 & 0.22 & 0.47 & 0.34 & 0.16*** & 0.12*** \\ [0.5ex] \hline\hline \end{tabular}
|
| 5 |
+
|
| 6 |
+
% created with estimates from Appendix.do
|
107/replication_package/Output/Formatted output/CCtakeupVbeliefs.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{6}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{6}{c}{\shortstack{Subj. prob. succeed in \\ ``more'' contract}}&\multicolumn{6}{c}{\shortstack{Subj. prob. succeed in \\ ``fewer'' contract}}\\
|
| 4 |
+
&\multicolumn{2}{c}{(1)}&\multicolumn{2}{c}{(2)}&\multicolumn{2}{c}{(3)}&\multicolumn{2}{c}{(4)}&\multicolumn{2}{c}{(5)}&\multicolumn{2}{c}{(6)}\\
|
| 5 |
+
\hline
|
| 6 |
+
Commit to ``more''& 0.12&***& & & 0.14&***& --0.09&***& & & --0.13&***\\
|
| 7 |
+
& (0.02)& & & & (0.02)& & (0.03)& & & & (0.03)& \\
|
| 8 |
+
Commit to ``fewer''& & & --0.05&* & --0.08&***& & & 0.17&***& 0.20&***\\
|
| 9 |
+
& & & (0.03)& & (0.02)& & & & (0.03)& & (0.03)& \\
|
| 10 |
+
N & 399& & 399& & 399& & 399& & 399& & 399& \\
|
| 11 |
+
\hline ``More'' $-$ ``Fewer''& & & & & 0.22&***& & & & & -0.34&*** \\
|
| 12 |
+
& & & & & (0.03)& & & & & & (0.05)& \\
|
| 13 |
+
\hline\hline
|
| 14 |
+
\end{tabular}
|
107/replication_package/Output/Formatted output/Exp_Corr.tex
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\renewcommand{\tabcolsep}{4pt}
|
| 2 |
+
\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
|
| 3 |
+
\begin{tabular}{l*{8}{c}} \hline
|
| 4 |
+
|
| 5 |
+
&\multicolumn{1}{c}{ }&\multicolumn{1}{c}{}&\multicolumn{1}{c}{Exp. att.}&\multicolumn{1}{c}{Exp. att.} &\multicolumn{1}{c}{Exp. att.} &\multicolumn{1}{c}{Exp. att.}&\multicolumn{1}{c}{Exp. att.}&\multicolumn{1}{c}{Exp. att.}\\
|
| 6 |
+
&\multicolumn{1}{c}{}&\multicolumn{1}{c}{All}&\multicolumn{1}{c}{$\le r-2$}&\multicolumn{1}{c}{$\le r-4$}&\multicolumn{1}{c}{$\ge r+1$}&\multicolumn{1}{c}{$\ge r+3$}&\multicolumn{1}{c}{$\le 6$} &\multicolumn{1}{c}{$\ge 17$} \\
|
| 7 |
+
&\multicolumn{1}{c}{Threshold ($r$)}&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)} &\multicolumn{1}{c}{(5)}&\multicolumn{1}{c}{(6)}&\multicolumn{1}{c}{(7)}\\
|
| 8 |
+
\hline
|
| 9 |
+
\ & 8 visits & 0.37*** & 0.39*** & 0.46*** & 0.37*** & 0.38*** & 0.39*** &0.41*** \\
|
| 10 |
+
\ & 12 visits & 0.24*** & 0.23*** & 0.27*** & 0.31*** & 0.27*** & 0.29*** & 0.32*** \\
|
| 11 |
+
\ & 16 visits & 0.23*** & 0.22*** & 0.22*** & 0.33*** & 0.33*** & 0.25** & 0.33*** \\
|
| 12 |
+
[0.5ex] \hline\hline \end{tabular}
|
| 13 |
+
|
| 14 |
+
% created with estimates from Appendix.do
|
107/replication_package/Output/Formatted output/Exp_Rates.tex
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\renewcommand{\tabcolsep}{2pt}
|
| 2 |
+
\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
|
| 3 |
+
\begin{tabular}{l*{7}{c}} \hline
|
| 4 |
+
|
| 5 |
+
&\multicolumn{1}{c}{ }&\multicolumn{1}{c}{}&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{} &\multicolumn{1}{c}{Chose ``fewer''} &\multicolumn{1}{c}{Chose ``fewer''}\\
|
| 6 |
+
&\multicolumn{1}{c}{ }&\multicolumn{1}{c}{Chose ``more''}&\multicolumn{1}{c}{given exp. att.}&\multicolumn{1}{c}{given exp. att.} &\multicolumn{1}{c}{Chose ``fewer''} &\multicolumn{1}{c}{given exp. att.} &\multicolumn{1}{c}{given exp. att.}\\
|
| 7 |
+
&\multicolumn{1}{c}{}&\multicolumn{1}{c}{contract}&\multicolumn{1}{c}{$\le r-2$}&\multicolumn{1}{c}{$\le r-4$}&\multicolumn{1}{c}{contract} &\multicolumn{1}{c}{$\ge r+1$}&\multicolumn{1}{c}{$\ge r+3$} \\
|
| 8 |
+
&\multicolumn{1}{c}{Threshold ($r$)}&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)} &\multicolumn{1}{c}{(5)}&\multicolumn{1}{c}{(6)} \\
|
| 9 |
+
\hline
|
| 10 |
+
\ & 8 visits & 0.64 & 0.62 & 0.63 & 0.34 & 0.31 & 0.29 \\
|
| 11 |
+
\ & 12 visits & 0.49 & 0.39 & 0.35 & 0.31 & 0.30 & 0.29 \\
|
| 12 |
+
\ & 16 visits & 0.32 & 0.24& 0.23 & 0.27 & 0.31 &0.32 \\
|
| 13 |
+
[0.5ex] \hline\hline \end{tabular}
|
| 14 |
+
|
| 15 |
+
% created with estimates from Appendix.do
|
107/replication_package/Output/Formatted output/uniformrange.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51c4fb26f11f3e45d129efac3796b319e0f3d3e346633756d8a2f40210946144
|
| 3 |
+
size 64725
|
107/replication_package/Output/appendix_descriptive_stats.tex
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
|
| 3 |
+
\begin{tabular}{l*{4}{c}}
|
| 4 |
+
\hline
|
| 5 |
+
& Wave 1 & Wave 2 & Wave 3 & Overall \\
|
| 6 |
+
\hline
|
| 7 |
+
Female & 0.66 & 0.61 & 0.57 & 0.61 \\
|
| 8 |
+
& (0.47) & (0.49) & (0.50) & (0.49) \\
|
| 9 |
+
[1em]
|
| 10 |
+
Age$^a$ & 30.93 & 34.55 & 34.38 & 33.51 \\
|
| 11 |
+
& (12.61) & (15.29) & (15.70) & (14.82) \\
|
| 12 |
+
[1em]
|
| 13 |
+
Student, full-time & 0.64 & 0.54 & 0.55 & 0.57 \\
|
| 14 |
+
& (0.48) & (0.50) & (0.50) & (0.50) \\
|
| 15 |
+
[1em]
|
| 16 |
+
Working, full- or part-time& 0.50 & 0.60 & 0.59 & 0.57 \\
|
| 17 |
+
& (0.50) & (0.49) & (0.49) & (0.50) \\
|
| 18 |
+
[1em]
|
| 19 |
+
Married & 0.25 & 0.28 & 0.27 & 0.27 \\
|
| 20 |
+
& (0.44) & (0.45) & (0.45) & (0.44) \\
|
| 21 |
+
[1em]
|
| 22 |
+
Advanced degree$^b$ & 0.41 & 0.48 & 0.47 & 0.46 \\
|
| 23 |
+
& (0.49) & (0.50) & (0.50) & (0.50) \\
|
| 24 |
+
[1em]
|
| 25 |
+
Household income$^a$& 45,804 & 58,502 & 58,527 & 55,139 \\
|
| 26 |
+
& (40,574) & (48,248) & (49,722) & (47,121) \\
|
| 27 |
+
[1em]
|
| 28 |
+
Visits in the past 4 weeks, recorded& 7.04 & 7.63 & 5.89 & 6.91 \\
|
| 29 |
+
& (5.86) & (6.12) & (5.36) & (5.86) \\
|
| 30 |
+
\hline
|
| 31 |
+
\addlinespace
|
| 32 |
+
N & 340 & 509 & 399 & 1,248 \\
|
| 33 |
+
\hline\hline
|
| 34 |
+
\end{tabular}
|
| 35 |
+
}
|
107/replication_package/Output/bcp_on_behavior_change.tex
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{2}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{4}{c}{\shortstack{Behavior change \\ premium}}\\
|
| 4 |
+
&\multicolumn{2}{c}{(1)}&\multicolumn{2}{c}{(2)}\\
|
| 5 |
+
\hline
|
| 6 |
+
Expected behavior change& 1.51&***& 1.52&***\\
|
| 7 |
+
& (0.13)& & (0.13)& \\
|
| 8 |
+
Constant & 0.10& & & \\
|
| 9 |
+
& (0.22)& & & \\
|
| 10 |
+
\hline
|
| 11 |
+
Dep. var. mean:& 1.20& & 1.20& \\
|
| 12 |
+
& (0.15)& & (0.15)& \\
|
| 13 |
+
\hline Wave FEs& No& & Yes& \\
|
| 14 |
+
N & 6,240& & 6,240& \\
|
| 15 |
+
Clusters & 1,248& & 1,248& \\
|
| 16 |
+
\hline\hline
|
| 17 |
+
\end{tabular}
|
107/replication_package/Output/bcp_on_risk_aversion.tex
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{3}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{6}{c}{\shortstack{Behavior change premium}}\\
|
| 4 |
+
&\multicolumn{2}{c}{(1)}&\multicolumn{2}{c}{(2)}&\multicolumn{2}{c}{(3)}\\
|
| 5 |
+
\hline
|
| 6 |
+
Risk aversion& --0.001& & & & & \\
|
| 7 |
+
& (0.090)& & & & & \\
|
| 8 |
+
Above median risk aversion& & & 0.037& & & \\
|
| 9 |
+
& & & (0.391)& & & \\
|
| 10 |
+
Risk averse & & & & & 0.515& \\
|
| 11 |
+
& & & & & (0.478)& \\
|
| 12 |
+
\hline
|
| 13 |
+
Dep. var. mean:& 1.20& & 1.20& & 1.20& \\
|
| 14 |
+
& (0.20)& & (0.20)& & (0.20)& \\
|
| 15 |
+
\hline Wave FEs& Yes& & Yes& & Yes& \\
|
| 16 |
+
N & 1,248& & 1,248& & 1,248& \\
|
| 17 |
+
\hline\hline
|
| 18 |
+
\end{tabular}
|
107/replication_package/Output/commit_delta.tex
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{4}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{8}{c}{\shortstack{Take-up of ``more'' visits contract}}\\
|
| 4 |
+
&\multicolumn{2}{c}{\shortstack{8+ visits \\ (1)}}&\multicolumn{2}{c}{\shortstack{12+ visits \\ (2)}}&\multicolumn{2}{c}{\shortstack{16+ visits \\ (3)}}&\multicolumn{2}{c}{\shortstack{Pooled \\ (4)}}\\
|
| 5 |
+
\hline
|
| 6 |
+
Behavior change premium & 0.019&* & 0.020&* & 0.026&* & 0.022&** \\
|
| 7 |
+
(z-score) & (0.011)& & (0.012)& & (0.013)& & (0.010)& \\
|
| 8 |
+
\hline
|
| 9 |
+
Dep. var. mean: & 0.64& & 0.49& & 0.32& & 0.49& \\
|
| 10 |
+
& (0.02)& & (0.01)& & (0.02)& & (0.01)& \\
|
| 11 |
+
\hline Wave FEs & Yes& & Yes& & Yes& & Yes& \\
|
| 12 |
+
Contract FEs & No& & No& & No& & Yes& \\
|
| 13 |
+
N & 849& & 1,248& & 849& & 2,946& \\
|
| 14 |
+
Clusters & 849& & 1,248& & 849& & 1,248& \\
|
| 15 |
+
\hline\hline
|
| 16 |
+
\end{tabular}
|
107/replication_package/Output/commit_delta_control.tex
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{4}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{8}{c}{\shortstack{Take-up of ``more'' visits contract}}\\
|
| 4 |
+
&\multicolumn{2}{c}{\shortstack{8+ visits \\ (1)}}&\multicolumn{2}{c}{\shortstack{12+ visits \\ (2)}}&\multicolumn{2}{c}{\shortstack{16+ visits \\ (3)}}&\multicolumn{2}{c}{\shortstack{Pooled \\ (4)}}\\
|
| 5 |
+
\hline
|
| 6 |
+
Behavior change premium & --0.040& & --0.013& & --0.036& & --0.028& \\
|
| 7 |
+
(z-score) & (0.025)& & (0.024)& & (0.029)& & (0.022)& \\
|
| 8 |
+
\hline
|
| 9 |
+
Dep. var. mean: & 0.65& & 0.52& & 0.36& & 0.51& \\
|
| 10 |
+
& (0.02)& & (0.02)& & (0.02)& & (0.01)& \\
|
| 11 |
+
\hline Wave FEs & Yes& & Yes& & Yes& & Yes& \\
|
| 12 |
+
Contract FEs & No& & No& & No& & Yes& \\
|
| 13 |
+
N & 429& & 622& & 429& & 1,480& \\
|
| 14 |
+
Clusters & 429& & 622& & 429& & 622& \\
|
| 15 |
+
\hline\hline
|
| 16 |
+
\end{tabular}
|
107/replication_package/Output/commit_delta_info.tex
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\begin{tabular}{l*{4}{r @{} l}}
|
| 2 |
+
\hline
|
| 3 |
+
&\multicolumn{8}{c}{\shortstack{Take-up of ``more'' visits contract}}\\
|
| 4 |
+
&\multicolumn{2}{c}{\shortstack{8+ visits \\ (1)}}&\multicolumn{2}{c}{\shortstack{12+ visits \\ (2)}}&\multicolumn{2}{c}{\shortstack{16+ visits \\ (3)}}&\multicolumn{2}{c}{\shortstack{Pooled \\ (4)}}\\
|
| 5 |
+
\hline
|
| 6 |
+
Behavior change premium & 0.035&***& 0.041&***& 0.055&***& 0.044&***\\
|
| 7 |
+
(z-score) & (0.013)& & (0.013)& & (0.014)& & (0.012)& \\
|
| 8 |
+
\hline
|
| 9 |
+
Dep. var. mean: & 0.62& & 0.47& & 0.31& & 0.47& \\
|
| 10 |
+
& (0.03)& & (0.02)& & (0.03)& & (0.02)& \\
|
| 11 |
+
\hline Wave FEs & Yes& & Yes& & Yes& & Yes& \\
|
| 12 |
+
Contract FEs & No& & No& & No& & Yes& \\
|
| 13 |
+
N & 246& & 452& & 246& & 944& \\
|
| 14 |
+
Clusters & 246& & 452& & 246& & 452& \\
|
| 15 |
+
\hline\hline
|
| 16 |
+
\end{tabular}
|
107/replication_package/Output/daily_att_likelihood.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0c2e7e62848d2b4f5653d530962f04406cd8b16dda2cf54108272d1f64d409e
|
| 3 |
+
size 62578
|
107/replication_package/Output/daily_att_prob_commit12.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54b829aabdbd20e0bc2e166ad67b11099299ddcba1c60867d2696cd6de73daab
|
| 3 |
+
size 2867
|
107/replication_package/Output/deltas.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ff500b61349564b389203fcd61b850c339e10e573ed12aad88b75a28e5e6afc
|
| 3 |
+
size 55305
|
107/replication_package/Output/exp_actual_under_incentive.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09ec913939ebd58eb8eae9eaa7504810cf30b7517dff5dd8091c304a69b8bd36
|
| 3 |
+
size 59652
|
107/replication_package/Output/numbers.tex
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\newcommand{\lowwtpobs}{32}
|
| 2 |
+
\newcommand{\nexogobs}{12}
|
| 3 |
+
\newcommand{\excludeobs}{44}
|
| 4 |
+
\newcommand{\lowwtpobswthree}{13}
|
| 5 |
+
\newcommand{\nexogobswthree}{2}
|
| 6 |
+
\newcommand{\woneobs}{350}
|
| 7 |
+
\newcommand{\wtwoobs}{528}
|
| 8 |
+
\newcommand{\wthreeobs}{414}
|
| 9 |
+
\newcommand{\pctpreferzero}{1.2}
|
| 10 |
+
\newcommand{\commiteightrate}{64}
|
| 11 |
+
\newcommand{\commiteightobs}{849}
|
| 12 |
+
\newcommand{\committwelverate}{49}
|
| 13 |
+
\newcommand{\committwelveobs}{1{,}248}
|
| 14 |
+
\newcommand{\commitsixteenrate}{32}
|
| 15 |
+
\newcommand{\commitsixteenobs}{849}
|
| 16 |
+
\newcommand{\gotcontractobs}{122}
|
| 17 |
+
\newcommand{\goalexpmean}{3.34}
|
| 18 |
+
\newcommand{\goalexpsd}{3.64}
|
| 19 |
+
\newcommand{\actexpmean}{-4.17}
|
| 20 |
+
\newcommand{\actexpsd}{6.61}
|
| 21 |
+
\newcommand{\enhinfobcpcoeff}{1.36}
|
| 22 |
+
\newcommand{\bcpinfoctrlmean}{0.66}
|
| 23 |
+
\newcommand{\bcpregmean}{1.17}
|
| 24 |
+
\newcommand{\goalexpbcpcoeff}{0.71}
|
| 25 |
+
\newcommand{\actualexpbcpcoeff}{0.45}
|
| 26 |
+
\newcommand{\enhinfoMCcoeff}{8.0}
|
| 27 |
+
\newcommand{\MCregmean}{0.49}
|
| 28 |
+
\newcommand{\MCregmeanPCT}{49}
|
| 29 |
+
\newcommand{\bcpMCcoeff}{3}
|
| 30 |
+
\newcommand{\goalexpMCcoeff}{3.8}
|
| 31 |
+
\newcommand{\wantgottwelvediff}{3.51}
|
| 32 |
+
\newcommand{\rejectgottwelvediff}{4.04}
|
| 33 |
+
\newcommand{\pctundertwelve}{35}
|
| 34 |
+
\newcommand{\pctmaxed}{7.4}
|
| 35 |
+
\newcommand{\pctovermax}{28}
|
| 36 |
+
\newcommand{\pctatmax}{22}
|
| 37 |
+
\newcommand{\pctbelowmax}{50}
|
| 38 |
+
\newcommand{\pctdeltaneg}{33}
|
| 39 |
+
\newcommand{\pctfemale}{61}
|
| 40 |
+
\newcommand{\pctfemalealt}{61.3}
|
| 41 |
+
\newcommand{\pctmalealt}{38.7}
|
| 42 |
+
\newcommand{\fracfemale}{0.613}
|
| 43 |
+
\newcommand{\fracmale}{0.387}
|
| 44 |
+
\newcommand{\meanage}{34}
|
| 45 |
+
\newcommand{\pctstudent}{57}
|
| 46 |
+
\newcommand{\pctworking}{57}
|
| 47 |
+
\newcommand{\pctmarried}{27}
|
| 48 |
+
\newcommand{\meanpastvisits}{22}
|
| 49 |
+
\newcommand{\meanpastvisitsrecall}{31}
|
| 50 |
+
\newcommand{\pctfailedac}{3.5}
|
| 51 |
+
\newcommand{\pctchosedom}{1.8}
|
| 52 |
+
\newcommand{\pctfailedcc}{4.3}
|
| 53 |
+
\newcommand{\passednumeracy}{95.2}
|
| 54 |
+
\newcommand{\anticommitrate}{31}
|
| 55 |
+
\newcommand{\anticommitrateexcl}{30}
|
| 56 |
+
\newcommand{\anticommitpctmin}{27}
|
| 57 |
+
\newcommand{\anticommitpctmax}{34}
|
| 58 |
+
\newcommand{\wtwothreeobs}{908}
|
| 59 |
+
\newcommand{\avgexpnoinc}{11.5}
|
| 60 |
+
\newcommand{\avgexpseveninc}{17.7}
|
| 61 |
+
\newcommand{\avgexpdiffseven}{6.2}
|
| 62 |
+
\newcommand{\avgactnoinc}{7.2}
|
| 63 |
+
\newcommand{\avgactseveninc}{13.3}
|
| 64 |
+
\newcommand{\avgactdiffseven}{6.1}
|
| 65 |
+
\newcommand{\attcoeff}{0.685}
|
| 66 |
+
\newcommand{\attcoeffse}{0.028}
|
| 67 |
+
\newcommand{\avgbcpcorr}{0.17}
|
| 68 |
+
\newcommand{\avgbcpcorrse}{0.06}
|
| 69 |
+
\newcommand{\avgMCcorr}{0.49}
|
| 70 |
+
\newcommand{\avgMCcorrse}{0.02}
|
| 71 |
+
\newcommand{\avgexpincone}{12.92}
|
| 72 |
+
\newcommand{\avgwtpincone}{18.30}
|
| 73 |
+
\newcommand{\avgdiffincone}{5.38}
|
| 74 |
+
\newcommand{\avgbcp}{2.01}
|
| 75 |
+
\newcommand{\avgbcpexone}{1.20}
|
| 76 |
+
\newcommand{\incentivezeroobs}{413}
|
| 77 |
+
\newcommand{\incentivetwoobs}{293}
|
| 78 |
+
\newcommand{\incentivefiveobs}{75}
|
| 79 |
+
\newcommand{\incentivesevenobs}{342}
|
| 80 |
+
\newcommand{\incentivezeroobsbasic}{105}
|
| 81 |
+
\newcommand{\incentivetwoobsbasic}{112}
|
| 82 |
+
\newcommand{\incentivesevenobsbasic}{121}
|
| 83 |
+
\newcommand{\obsbasictreat}{174}
|
| 84 |
+
\newcommand{\obsbasiccontrol}{166}
|
| 85 |
+
\newcommand{\incentivezeroobsenhanced}{308}
|
| 86 |
+
\newcommand{\incentivetwoobsenhanced}{181}
|
| 87 |
+
\newcommand{\incentivefiveobsenhanced}{74}
|
| 88 |
+
\newcommand{\incentivesevenobsenhanced}{221}
|
| 89 |
+
\newcommand{\obsenhancedtreat}{452}
|
| 90 |
+
\newcommand{\obsenhancedcontrol}{456}
|
| 91 |
+
\newcommand{\incrattinc}{0.67}
|
| 92 |
+
\newcommand{\incrattincse}{0.014}
|
| 93 |
+
\newcommand{\avgbcpinc}{3.00}
|
| 94 |
+
\newcommand{\avgbcpexoneinc}{1.78}
|
| 95 |
+
\newcommand{\wtpbcmean}{1.20}
|
| 96 |
+
\newcommand{\wtpbcsd}{7.08}
|
| 97 |
+
\newcommand{\enhancedtreatobs}{452}
|
| 98 |
+
\newcommand{\controlobs}{622}
|
| 99 |
+
\newcommand{\incentivezeroinfobs}{366}
|
| 100 |
+
\newcommand{\incentivetwoinfobs}{234}
|
| 101 |
+
\newcommand{\incentivefiveinfobs}{75}
|
| 102 |
+
\newcommand{\incentiveseveninfobs}{274}
|
| 103 |
+
\newcommand{\minfoavgobspe}{952}
|
| 104 |
+
\newcommand{\infodropobs}{174}
|
| 105 |
+
\newcommand{\minfoavgnoconfusedobspe}{865}
|
| 106 |
+
\newcommand{\empirDaC}{3.51}
|
| 107 |
+
\newcommand{\empirDaCCI}{(1.38, 5.65)}
|
| 108 |
+
\newcommand{\empirctrlPmeet}{0.22}
|
| 109 |
+
\newcommand{\empirctrlPmeetCI}{(0.10, 0.35)}
|
| 110 |
+
\newcommand{\empirtreatPmeet}{0.65}
|
| 111 |
+
\newcommand{\empirtreatPmeetCI}{(0.52, 0.78)}
|
| 112 |
+
\newcommand{\empirDmeet}{0.42}
|
| 113 |
+
\newcommand{\empirDmeetCI}{(0.26, 0.58)}
|
107/replication_package/Output/numbers_struct.tex
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\newcommand{\allobspe}{1,126}
|
| 2 |
+
\newcommand{\lambdaall}{0.068}
|
| 3 |
+
\newcommand{\lambdaallCI}{(0.06, 0.07)}
|
| 4 |
+
\newcommand{\betatildeall}{0.84}
|
| 5 |
+
\newcommand{\betatildeallCI}{(0.80, 0.88)}
|
| 6 |
+
\newcommand{\ball}{9.66}
|
| 7 |
+
\newcommand{\ballCI}{(9.05, 10.28)}
|
| 8 |
+
\newcommand{\betaall}{0.55}
|
| 9 |
+
\newcommand{\betaallCI}{(0.51, 0.58)}
|
| 10 |
+
\newcommand{\aintall}{4.39}
|
| 11 |
+
\newcommand{\aintallCI}{(4.02, 4.77)}
|
| 12 |
+
\newcommand{\naiveall}{0.36}
|
| 13 |
+
\newcommand{\naiveallCI}{(0.29, 0.43)}
|
| 14 |
+
\newcommand{\expcostall}{14.81}
|
| 15 |
+
\newcommand{\expcostallCI}{(13.61, 16.00)}
|
| 16 |
+
\newcommand{\poneDoneerror}{0.10}
|
| 17 |
+
\newcommand{\ptwoDoneerror}{0.06}
|
| 18 |
+
\newcommand{\pthreeDtwoerror}{0.26}
|
| 19 |
+
\newcommand{\pfiveDtwoerror}{0.16}
|
| 20 |
+
\newcommand{\psevenDfiveerror}{1.29}
|
| 21 |
+
\newcommand{\wtwothreeobspe}{786}
|
| 22 |
+
\newcommand{\lambdawtwothree}{0.068}
|
| 23 |
+
\newcommand{\lambdawtwothreeCI}{(0.06, 0.08)}
|
| 24 |
+
\newcommand{\betatildewtwothree}{0.81}
|
| 25 |
+
\newcommand{\betatildewtwothreeCI}{(0.76, 0.86)}
|
| 26 |
+
\newcommand{\bwtwothree}{10.07}
|
| 27 |
+
\newcommand{\bwtwothreeCI}{(9.29, 10.84)}
|
| 28 |
+
\newcommand{\betawtwothree}{0.53}
|
| 29 |
+
\newcommand{\betawtwothreeCI}{(0.49, 0.57)}
|
| 30 |
+
\newcommand{\aintwtwothree}{4.75}
|
| 31 |
+
\newcommand{\aintwtwothreeCI}{(4.27, 5.23)}
|
| 32 |
+
\newcommand{\naivewtwothree}{0.40}
|
| 33 |
+
\newcommand{\naivewtwothreeCI}{(0.31, 0.49)}
|
| 34 |
+
\newcommand{\expcostwtwothree}{14.70}
|
| 35 |
+
\newcommand{\expcostwtwothreeCI}{(13.18, 16.22)}
|
| 36 |
+
\newcommand{\wonetwoobspe}{849}
|
| 37 |
+
\newcommand{\lambdawonetwo}{0.067}
|
| 38 |
+
\newcommand{\lambdawonetwoCI}{(0.06, 0.07)}
|
| 39 |
+
\newcommand{\betatildewonetwo}{0.84}
|
| 40 |
+
\newcommand{\betatildewonetwoCI}{(0.79, 0.89)}
|
| 41 |
+
\newcommand{\bwonetwo}{9.64}
|
| 42 |
+
\newcommand{\bwonetwoCI}{(8.92, 10.36)}
|
| 43 |
+
\newcommand{\betawonetwo}{0.56}
|
| 44 |
+
\newcommand{\betawonetwoCI}{(0.52, 0.60)}
|
| 45 |
+
\newcommand{\aintwonetwo}{4.23}
|
| 46 |
+
\newcommand{\aintwonetwoCI}{(3.78, 4.67)}
|
| 47 |
+
\newcommand{\naivewonetwo}{0.36}
|
| 48 |
+
\newcommand{\naivewonetwoCI}{(0.27, 0.45)}
|
| 49 |
+
\newcommand{\expcostwonetwo}{14.94}
|
| 50 |
+
\newcommand{\expcostwonetwoCI}{(13.53, 16.35)}
|
| 51 |
+
\newcommand{\controlobspe}{560}
|
| 52 |
+
\newcommand{\lambdacontrol}{0.067}
|
| 53 |
+
\newcommand{\lambdacontrolCI}{(0.06, 0.07)}
|
| 54 |
+
\newcommand{\betatildecontrol}{0.86}
|
| 55 |
+
\newcommand{\betatildecontrolCI}{(0.82, 0.90)}
|
| 56 |
+
\newcommand{\bcontrol}{10.03}
|
| 57 |
+
\newcommand{\bcontrolCI}{(9.13, 10.93)}
|
| 58 |
+
\newcommand{\betacontrol}{0.54}
|
| 59 |
+
\newcommand{\betacontrolCI}{(0.50, 0.58)}
|
| 60 |
+
\newcommand{\aintcontrol}{4.63}
|
| 61 |
+
\newcommand{\aintcontrolCI}{(4.15, 5.11)}
|
| 62 |
+
\newcommand{\naivecontrol}{0.30}
|
| 63 |
+
\newcommand{\naivecontrolCI}{(0.22, 0.37)}
|
| 64 |
+
\newcommand{\expcostcontrol}{15.02}
|
| 65 |
+
\newcommand{\expcostcontrolCI}{(13.48, 16.55)}
|
| 66 |
+
\newcommand{\treatobspe}{392}
|
| 67 |
+
\newcommand{\lambdatreat}{0.068}
|
| 68 |
+
\newcommand{\lambdatreatCI}{(0.06, 0.08)}
|
| 69 |
+
\newcommand{\betatildetreat}{0.78}
|
| 70 |
+
\newcommand{\betatildetreatCI}{(0.69, 0.87)}
|
| 71 |
+
\newcommand{\btreat}{9.83}
|
| 72 |
+
\newcommand{\btreatCI}{(8.77, 10.89)}
|
| 73 |
+
\newcommand{\betatreat}{0.54}
|
| 74 |
+
\newcommand{\betatreatCI}{(0.47, 0.62)}
|
| 75 |
+
\newcommand{\ainttreat}{4.49}
|
| 76 |
+
\newcommand{\ainttreatCI}{(3.73, 5.26)}
|
| 77 |
+
\newcommand{\naivetreat}{0.49}
|
| 78 |
+
\newcommand{\naivetreatCI}{(0.35, 0.63)}
|
| 79 |
+
\newcommand{\expcosttreat}{14.76}
|
| 80 |
+
\newcommand{\expcosttreatCI}{(12.33, 17.19)}
|
| 81 |
+
\newcommand{\bmobspe}{550}
|
| 82 |
+
\newcommand{\lambdabm}{0.073}
|
| 83 |
+
\newcommand{\lambdabmCI}{(0.06, 0.08)}
|
| 84 |
+
\newcommand{\betatildebm}{0.78}
|
| 85 |
+
\newcommand{\betatildebmCI}{(0.70, 0.86)}
|
| 86 |
+
\newcommand{\bbm}{7.07}
|
| 87 |
+
\newcommand{\bbmCI}{(6.45, 7.68)}
|
| 88 |
+
\newcommand{\betabm}{0.38}
|
| 89 |
+
\newcommand{\betabmCI}{(0.33, 0.43)}
|
| 90 |
+
\newcommand{\aintbm}{4.39}
|
| 91 |
+
\newcommand{\aintbmCI}{(3.92, 4.86)}
|
| 92 |
+
\newcommand{\naivebm}{0.36}
|
| 93 |
+
\newcommand{\naivebmCI}{(0.25, 0.46)}
|
| 94 |
+
\newcommand{\expcostbm}{13.75}
|
| 95 |
+
\newcommand{\expcostbmCI}{(11.91, 15.58)}
|
| 96 |
+
\newcommand{\amobspe}{576}
|
| 97 |
+
\newcommand{\lambdaam}{0.064}
|
| 98 |
+
\newcommand{\lambdaamCI}{(0.06, 0.07)}
|
| 99 |
+
\newcommand{\betatildeam}{0.88}
|
| 100 |
+
\newcommand{\betatildeamCI}{(0.84, 0.92)}
|
| 101 |
+
\newcommand{\bam}{12.57}
|
| 102 |
+
\newcommand{\bamCI}{(11.45, 13.69)}
|
| 103 |
+
\newcommand{\betaam}{0.68}
|
| 104 |
+
\newcommand{\betaamCI}{(0.63, 0.72)}
|
| 105 |
+
\newcommand{\aintam}{4.08}
|
| 106 |
+
\newcommand{\aintamCI}{(3.54, 4.63)}
|
| 107 |
+
\newcommand{\naiveam}{0.36}
|
| 108 |
+
\newcommand{\naiveamCI}{(0.26, 0.45)}
|
| 109 |
+
\newcommand{\expcostam}{15.66}
|
| 110 |
+
\newcommand{\expcostamCI}{(14.09, 17.24)}
|
| 111 |
+
\newcommand{\bminfoavghet}{10.24}
|
| 112 |
+
\newcommand{\bminfoavghetCI}{(9.50, 10.98)}
|
| 113 |
+
\newcommand{\lambdaminfoavghet}{0.07}
|
| 114 |
+
\newcommand{\lambdaminfoavghetCI}{(0.06, 0.07)}
|
| 115 |
+
\newcommand{\betaminfoavghet}{0.55}
|
| 116 |
+
\newcommand{\betaminfoavghetCI}{(0.52, 0.58)}
|
| 117 |
+
\newcommand{\betatildeminfoavghet}{0.85}
|
| 118 |
+
\newcommand{\betatildeminfoavghetCI}{(0.81, 0.89)}
|
| 119 |
+
\newcommand{\aintminfoavghet}{4.21}
|
| 120 |
+
\newcommand{\aintminfoavghetCI}{(3.83, 4.59)}
|
| 121 |
+
\newcommand{\naiveminfoavghet}{0.35}
|
| 122 |
+
\newcommand{\naiveminfoavghetCI}{(0.27, 0.42)}
|
| 123 |
+
\newcommand{\expcostminfoavghet}{15.55}
|
| 124 |
+
\newcommand{\expcostminfoavghetCI}{(14.24, 16.85)}
|
| 125 |
+
\newcommand{\twelveobspe}{556}
|
| 126 |
+
\newcommand{\lambdatwelve}{0.081}
|
| 127 |
+
\newcommand{\lambdatwelveCI}{(0.07, 0.09)}
|
| 128 |
+
\newcommand{\betatildetwelve}{0.81}
|
| 129 |
+
\newcommand{\betatildetwelveCI}{(0.75, 0.88)}
|
| 130 |
+
\newcommand{\btwelve}{9.62}
|
| 131 |
+
\newcommand{\btwelveCI}{(8.78, 10.47)}
|
| 132 |
+
\newcommand{\betatwelve}{0.50}
|
| 133 |
+
\newcommand{\betatwelveCI}{(0.45, 0.54)}
|
| 134 |
+
\newcommand{\ainttwelve}{4.84}
|
| 135 |
+
\newcommand{\ainttwelveCI}{(4.31, 5.38)}
|
| 136 |
+
\newcommand{\naivetwelve}{0.37}
|
| 137 |
+
\newcommand{\naivetwelveCI}{(0.26, 0.47)}
|
| 138 |
+
\newcommand{\expcosttwelve}{12.33}
|
| 139 |
+
\newcommand{\expcosttwelveCI}{(10.86, 13.81)}
|
| 140 |
+
\newcommand{\notwelveobspe}{570}
|
| 141 |
+
\newcommand{\lambdanotwelve}{0.058}
|
| 142 |
+
\newcommand{\lambdanotwelveCI}{(0.05, 0.06)}
|
| 143 |
+
\newcommand{\betatildenotwelve}{0.86}
|
| 144 |
+
\newcommand{\betatildenotwelveCI}{(0.82, 0.89)}
|
| 145 |
+
\newcommand{\bnotwelve}{9.46}
|
| 146 |
+
\newcommand{\bnotwelveCI}{(8.59, 10.32)}
|
| 147 |
+
\newcommand{\betanotwelve}{0.59}
|
| 148 |
+
\newcommand{\betanotwelveCI}{(0.55, 0.64)}
|
| 149 |
+
\newcommand{\aintnotwelve}{3.84}
|
| 150 |
+
\newcommand{\aintnotwelveCI}{(3.36, 4.32)}
|
| 151 |
+
\newcommand{\naivenotwelve}{0.35}
|
| 152 |
+
\newcommand{\naivenotwelveCI}{(0.27, 0.43)}
|
| 153 |
+
\newcommand{\expcostnotwelve}{17.26}
|
| 154 |
+
\newcommand{\expcostnotwelveCI}{(15.55, 18.98)}
|
| 155 |
+
\newcommand{\eightobspe}{546}
|
| 156 |
+
\newcommand{\lambdaeight}{0.070}
|
| 157 |
+
\newcommand{\lambdaeightCI}{(0.06, 0.08)}
|
| 158 |
+
\newcommand{\betatildeeight}{0.84}
|
| 159 |
+
\newcommand{\betatildeeightCI}{(0.77, 0.90)}
|
| 160 |
+
\newcommand{\beight}{9.16}
|
| 161 |
+
\newcommand{\beightCI}{(8.34, 9.98)}
|
| 162 |
+
\newcommand{\betaeight}{0.54}
|
| 163 |
+
\newcommand{\betaeightCI}{(0.49, 0.59)}
|
| 164 |
+
\newcommand{\ainteight}{4.23}
|
| 165 |
+
\newcommand{\ainteightCI}{(3.70, 4.76)}
|
| 166 |
+
\newcommand{\naiveeight}{0.36}
|
| 167 |
+
\newcommand{\naiveeightCI}{(0.24, 0.47)}
|
| 168 |
+
\newcommand{\expcosteight}{14.23}
|
| 169 |
+
\newcommand{\expcosteightCI}{(12.51, 15.96)}
|
| 170 |
+
\newcommand{\noeightobspe}{303}
|
| 171 |
+
\newcommand{\lambdanoeight}{0.060}
|
| 172 |
+
\newcommand{\lambdanoeightCI}{(0.05, 0.07)}
|
| 173 |
+
\newcommand{\betatildenoeight}{0.86}
|
| 174 |
+
\newcommand{\betatildenoeightCI}{(0.81, 0.92)}
|
| 175 |
+
\newcommand{\bnoeight}{10.64}
|
| 176 |
+
\newcommand{\bnoeightCI}{(9.23, 12.04)}
|
| 177 |
+
\newcommand{\betanoeight}{0.61}
|
| 178 |
+
\newcommand{\betanoeightCI}{(0.55, 0.67)}
|
| 179 |
+
\newcommand{\aintnoeight}{4.13}
|
| 180 |
+
\newcommand{\aintnoeightCI}{(3.39, 4.86)}
|
| 181 |
+
\newcommand{\naivenoeight}{0.35}
|
| 182 |
+
\newcommand{\naivenoeightCI}{(0.24, 0.47)}
|
| 183 |
+
\newcommand{\expcostnoeight}{16.69}
|
| 184 |
+
\newcommand{\expcostnoeightCI}{(14.37, 19.00)}
|
| 185 |
+
\newcommand{\sixteenobspe}{275}
|
| 186 |
+
\newcommand{\lambdasixteen}{0.097}
|
| 187 |
+
\newcommand{\lambdasixteenCI}{(0.08, 0.12)}
|
| 188 |
+
\newcommand{\betatildesixteen}{0.75}
|
| 189 |
+
\newcommand{\betatildesixteenCI}{(0.63, 0.86)}
|
| 190 |
+
\newcommand{\bsixteen}{10.30}
|
| 191 |
+
\newcommand{\bsixteenCI}{(8.94, 11.67)}
|
| 192 |
+
\newcommand{\betasixteen}{0.47}
|
| 193 |
+
\newcommand{\betasixteenCI}{(0.39, 0.55)}
|
| 194 |
+
\newcommand{\aintsixteen}{5.46}
|
| 195 |
+
\newcommand{\aintsixteenCI}{(4.57, 6.34)}
|
| 196 |
+
\newcommand{\naivesixteen}{0.48}
|
| 197 |
+
\newcommand{\naivesixteenCI}{(0.33, 0.64)}
|
| 198 |
+
\newcommand{\expcostsixteen}{10.33}
|
| 199 |
+
\newcommand{\expcostsixteenCI}{(8.22, 12.44)}
|
| 200 |
+
\newcommand{\nosixteenobspe}{574}
|
| 201 |
+
\newcommand{\lambdanosixteen}{0.060}
|
| 202 |
+
\newcommand{\lambdanosixteenCI}{(0.05, 0.07)}
|
| 203 |
+
\newcommand{\betatildenosixteen}{0.85}
|
| 204 |
+
\newcommand{\betatildenosixteenCI}{(0.81, 0.89)}
|
| 205 |
+
\newcommand{\bnosixteen}{9.11}
|
| 206 |
+
\newcommand{\bnosixteenCI}{(8.28, 9.94)}
|
| 207 |
+
\newcommand{\betanosixteen}{0.58}
|
| 208 |
+
\newcommand{\betanosixteenCI}{(0.54, 0.62)}
|
| 209 |
+
\newcommand{\aintnosixteen}{3.83}
|
| 210 |
+
\newcommand{\aintnosixteenCI}{(3.37, 4.29)}
|
| 211 |
+
\newcommand{\naivenosixteen}{0.36}
|
| 212 |
+
\newcommand{\naivenosixteenCI}{(0.28, 0.43)}
|
| 213 |
+
\newcommand{\expcostnosixteen}{16.70}
|
| 214 |
+
\newcommand{\expcostnosixteenCI}{(15.09, 18.30)}
|
107/replication_package/Output/numbers_struct_appx.tex
ADDED
|
@@ -0,0 +1,402 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\newcommand{\allVobspe}{1,126}
|
| 2 |
+
\newcommand{\lambdaallV}{0.064}
|
| 3 |
+
\newcommand{\lambdaallVCI}{(0.06, 0.07)}
|
| 4 |
+
\newcommand{\betatildeallV}{0.82}
|
| 5 |
+
\newcommand{\betatildeallVCI}{(0.74, 0.89)}
|
| 6 |
+
\newcommand{\ballV}{4.57}
|
| 7 |
+
\newcommand{\ballVCI}{(3.56, 5.58)}
|
| 8 |
+
\newcommand{\betaallV}{0.33}
|
| 9 |
+
\newcommand{\betaallVCI}{(0.24, 0.42)}
|
| 10 |
+
\newcommand{\aintallV}{3.07}
|
| 11 |
+
\newcommand{\aintallVCI}{(2.64, 3.49)}
|
| 12 |
+
\newcommand{\naiveallV}{0.28}
|
| 13 |
+
\newcommand{\naiveallVCI}{(0.19, 0.36)}
|
| 14 |
+
\newcommand{\expcostallV}{15.58}
|
| 15 |
+
\newcommand{\expcostallVCI}{(13.73, 17.43)}
|
| 16 |
+
\newcommand{\controlVobspe}{560}
|
| 17 |
+
\newcommand{\lambdacontrolV}{0.065}
|
| 18 |
+
\newcommand{\lambdacontrolVCI}{(0.06, 0.07)}
|
| 19 |
+
\newcommand{\betatildecontrolV}{0.83}
|
| 20 |
+
\newcommand{\betatildecontrolVCI}{(0.75, 0.90)}
|
| 21 |
+
\newcommand{\bcontrolV}{4.96}
|
| 22 |
+
\newcommand{\bcontrolVCI}{(3.66, 6.25)}
|
| 23 |
+
\newcommand{\betacontrolV}{0.30}
|
| 24 |
+
\newcommand{\betacontrolVCI}{(0.20, 0.40)}
|
| 25 |
+
\newcommand{\aintcontrolV}{3.47}
|
| 26 |
+
\newcommand{\aintcontrolVCI}{(2.86, 4.08)}
|
| 27 |
+
\newcommand{\naivecontrolV}{0.25}
|
| 28 |
+
\newcommand{\naivecontrolVCI}{(0.16, 0.33)}
|
| 29 |
+
\newcommand{\expcostcontrolV}{15.47}
|
| 30 |
+
\newcommand{\expcostcontrolVCI}{(13.36, 17.57)}
|
| 31 |
+
\newcommand{\treatVobspe}{392}
|
| 32 |
+
\newcommand{\lambdatreatV}{0.062}
|
| 33 |
+
\newcommand{\lambdatreatVCI}{(0.04, 0.08)}
|
| 34 |
+
\newcommand{\betatildetreatV}{0.77}
|
| 35 |
+
\newcommand{\betatildetreatVCI}{(0.57, 0.96)}
|
| 36 |
+
\newcommand{\btreatV}{4.69}
|
| 37 |
+
\newcommand{\btreatVCI}{(2.42, 6.95)}
|
| 38 |
+
\newcommand{\betatreatV}{0.38}
|
| 39 |
+
\newcommand{\betatreatVCI}{(0.18, 0.58)}
|
| 40 |
+
\newcommand{\ainttreatV}{2.91}
|
| 41 |
+
\newcommand{\ainttreatVCI}{(2.16, 3.66)}
|
| 42 |
+
\newcommand{\naivetreatV}{0.38}
|
| 43 |
+
\newcommand{\naivetreatVCI}{(0.17, 0.58)}
|
| 44 |
+
\newcommand{\expcosttreatV}{16.05}
|
| 45 |
+
\newcommand{\expcosttreatVCI}{(11.51, 20.60)}
|
| 46 |
+
\newcommand{\bmVobspe}{550}
|
| 47 |
+
\newcommand{\lambdabmV}{0.052}
|
| 48 |
+
\newcommand{\lambdabmVCI}{(0.04, 0.06)}
|
| 49 |
+
\newcommand{\betatildebmV}{0.89}
|
| 50 |
+
\newcommand{\betatildebmVCI}{(0.79, 1.00)}
|
| 51 |
+
\newcommand{\bbmV}{3.88}
|
| 52 |
+
\newcommand{\bbmVCI}{(2.77, 4.99)}
|
| 53 |
+
\newcommand{\betabmV}{0.15}
|
| 54 |
+
\newcommand{\betabmVCI}{(0.03, 0.28)}
|
| 55 |
+
\newcommand{\aintbmV}{3.28}
|
| 56 |
+
\newcommand{\aintbmVCI}{(2.60, 3.97)}
|
| 57 |
+
\newcommand{\naivebmV}{0.13}
|
| 58 |
+
\newcommand{\naivebmVCI}{(0.01, 0.24)}
|
| 59 |
+
\newcommand{\expcostbmV}{19.37}
|
| 60 |
+
\newcommand{\expcostbmVCI}{(16.59, 22.16)}
|
| 61 |
+
\newcommand{\amVobspe}{576}
|
| 62 |
+
\newcommand{\lambdaamV}{0.067}
|
| 63 |
+
\newcommand{\lambdaamVCI}{(0.06, 0.08)}
|
| 64 |
+
\newcommand{\betatildeamV}{0.83}
|
| 65 |
+
\newcommand{\betatildeamVCI}{(0.75, 0.90)}
|
| 66 |
+
\newcommand{\bamV}{6.75}
|
| 67 |
+
\newcommand{\bamVCI}{(5.33, 8.16)}
|
| 68 |
+
\newcommand{\betaamV}{0.52}
|
| 69 |
+
\newcommand{\betaamVCI}{(0.43, 0.60)}
|
| 70 |
+
\newcommand{\aintamV}{3.27}
|
| 71 |
+
\newcommand{\aintamVCI}{(2.78, 3.76)}
|
| 72 |
+
\newcommand{\naiveamV}{0.36}
|
| 73 |
+
\newcommand{\naiveamVCI}{(0.25, 0.47)}
|
| 74 |
+
\newcommand{\expcostamV}{14.90}
|
| 75 |
+
\newcommand{\expcostamVCI}{(12.91, 16.90)}
|
| 76 |
+
\newcommand{\bminfoavghetV}{5.66}
|
| 77 |
+
\newcommand{\bminfoavghetVCI}{(4.68, 6.64)}
|
| 78 |
+
\newcommand{\lambdaminfoavghetV}{0.06}
|
| 79 |
+
\newcommand{\lambdaminfoavghetVCI}{(0.05, 0.07)}
|
| 80 |
+
\newcommand{\betaminfoavghetV}{0.37}
|
| 81 |
+
\newcommand{\betaminfoavghetVCI}{(0.29, 0.44)}
|
| 82 |
+
\newcommand{\betatildeminfoavghetV}{0.85}
|
| 83 |
+
\newcommand{\betatildeminfoavghetVCI}{(0.79, 0.91)}
|
| 84 |
+
\newcommand{\aintminfoavghetV}{3.34}
|
| 85 |
+
\newcommand{\aintminfoavghetVCI}{(2.88, 3.79)}
|
| 86 |
+
\newcommand{\naiveminfoavghetV}{0.27}
|
| 87 |
+
\newcommand{\naiveminfoavghetVCI}{(0.19, 0.35)}
|
| 88 |
+
\newcommand{\expcostminfoavghetV}{17.36}
|
| 89 |
+
\newcommand{\expcostminfoavghetVCI}{(15.61, 19.11)}
|
| 90 |
+
\newcommand{\twelveVobspe}{556}
|
| 91 |
+
\newcommand{\lambdatwelveV}{0.073}
|
| 92 |
+
\newcommand{\lambdatwelveVCI}{(0.06, 0.09)}
|
| 93 |
+
\newcommand{\betatildetwelveV}{0.81}
|
| 94 |
+
\newcommand{\betatildetwelveVCI}{(0.69, 0.93)}
|
| 95 |
+
\newcommand{\btwelveV}{4.96}
|
| 96 |
+
\newcommand{\btwelveVCI}{(3.46, 6.46)}
|
| 97 |
+
\newcommand{\betatwelveV}{0.28}
|
| 98 |
+
\newcommand{\betatwelveVCI}{(0.15, 0.41)}
|
| 99 |
+
\newcommand{\ainttwelveV}{3.57}
|
| 100 |
+
\newcommand{\ainttwelveVCI}{(2.93, 4.21)}
|
| 101 |
+
\newcommand{\naivetwelveV}{0.26}
|
| 102 |
+
\newcommand{\naivetwelveVCI}{(0.13, 0.39)}
|
| 103 |
+
\newcommand{\expcosttwelveV}{13.64}
|
| 104 |
+
\newcommand{\expcosttwelveVCI}{(11.21, 16.07)}
|
| 105 |
+
\newcommand{\eightVobspe}{546}
|
| 106 |
+
\newcommand{\lambdaeightV}{0.063}
|
| 107 |
+
\newcommand{\lambdaeightVCI}{(0.05, 0.07)}
|
| 108 |
+
\newcommand{\betatildeeightV}{0.85}
|
| 109 |
+
\newcommand{\betatildeeightVCI}{(0.73, 0.97)}
|
| 110 |
+
\newcommand{\beightV}{4.54}
|
| 111 |
+
\newcommand{\beightVCI}{(3.17, 5.91)}
|
| 112 |
+
\newcommand{\betaeightV}{0.33}
|
| 113 |
+
\newcommand{\betaeightVCI}{(0.20, 0.46)}
|
| 114 |
+
\newcommand{\ainteightV}{3.03}
|
| 115 |
+
\newcommand{\ainteightVCI}{(2.47, 3.60)}
|
| 116 |
+
\newcommand{\naiveeightV}{0.23}
|
| 117 |
+
\newcommand{\naiveeightVCI}{(0.08, 0.37)}
|
| 118 |
+
\newcommand{\expcosteightV}{15.88}
|
| 119 |
+
\newcommand{\expcosteightVCI}{(13.21, 18.56)}
|
| 120 |
+
\newcommand{\sixteenVobspe}{275}
|
| 121 |
+
\newcommand{\lambdasixteenV}{0.087}
|
| 122 |
+
\newcommand{\lambdasixteenVCI}{(0.06, 0.12)}
|
| 123 |
+
\newcommand{\betatildesixteenV}{0.74}
|
| 124 |
+
\newcommand{\betatildesixteenVCI}{(0.52, 0.97)}
|
| 125 |
+
\newcommand{\bsixteenV}{5.28}
|
| 126 |
+
\newcommand{\bsixteenVCI}{(2.46, 8.11)}
|
| 127 |
+
\newcommand{\betasixteenV}{0.26}
|
| 128 |
+
\newcommand{\betasixteenVCI}{(0.04, 0.47)}
|
| 129 |
+
\newcommand{\aintsixteenV}{3.93}
|
| 130 |
+
\newcommand{\aintsixteenVCI}{(2.77, 5.09)}
|
| 131 |
+
\newcommand{\naivesixteenV}{0.34}
|
| 132 |
+
\newcommand{\naivesixteenVCI}{(0.13, 0.56)}
|
| 133 |
+
\newcommand{\expcostsixteenV}{11.45}
|
| 134 |
+
\newcommand{\expcostsixteenVCI}{(7.60, 15.30)}
|
| 135 |
+
\newcommand{\allXobspe}{1,126}
|
| 136 |
+
\newcommand{\lambdaallX}{0.062}
|
| 137 |
+
\newcommand{\lambdaallXCI}{(0.06, 0.07)}
|
| 138 |
+
\newcommand{\betatildeallX}{0.91}
|
| 139 |
+
\newcommand{\betatildeallXCI}{(0.89, 0.93)}
|
| 140 |
+
\newcommand{\ballX}{20.70}
|
| 141 |
+
\newcommand{\ballXCI}{(20.08, 21.32)}
|
| 142 |
+
\newcommand{\betaallX}{0.74}
|
| 143 |
+
\newcommand{\betaallXCI}{(0.72, 0.76)}
|
| 144 |
+
\newcommand{\aintallX}{5.35}
|
| 145 |
+
\newcommand{\aintallXCI}{(4.88, 5.81)}
|
| 146 |
+
\newcommand{\naiveallX}{0.34}
|
| 147 |
+
\newcommand{\naiveallXCI}{(0.28, 0.41)}
|
| 148 |
+
\newcommand{\expcostallX}{16.19}
|
| 149 |
+
\newcommand{\expcostallXCI}{(15.17, 17.20)}
|
| 150 |
+
\newcommand{\controlXobspe}{560}
|
| 151 |
+
\newcommand{\lambdacontrolX}{0.062}
|
| 152 |
+
\newcommand{\lambdacontrolXCI}{(0.06, 0.07)}
|
| 153 |
+
\newcommand{\betatildecontrolX}{0.92}
|
| 154 |
+
\newcommand{\betatildecontrolXCI}{(0.90, 0.94)}
|
| 155 |
+
\newcommand{\bcontrolX}{20.95}
|
| 156 |
+
\newcommand{\bcontrolXCI}{(20.09, 21.82)}
|
| 157 |
+
\newcommand{\betacontrolX}{0.73}
|
| 158 |
+
\newcommand{\betacontrolXCI}{(0.71, 0.76)}
|
| 159 |
+
\newcommand{\aintcontrolX}{5.56}
|
| 160 |
+
\newcommand{\aintcontrolXCI}{(5.01, 6.11)}
|
| 161 |
+
\newcommand{\naivecontrolX}{0.29}
|
| 162 |
+
\newcommand{\naivecontrolXCI}{(0.22, 0.36)}
|
| 163 |
+
\newcommand{\expcostcontrolX}{16.14}
|
| 164 |
+
\newcommand{\expcostcontrolXCI}{(14.75, 17.53)}
|
| 165 |
+
\newcommand{\treatXobspe}{392}
|
| 166 |
+
\newcommand{\lambdatreatX}{0.060}
|
| 167 |
+
\newcommand{\lambdatreatXCI}{(0.05, 0.07)}
|
| 168 |
+
\newcommand{\betatildetreatX}{0.88}
|
| 169 |
+
\newcommand{\betatildetreatXCI}{(0.84, 0.93)}
|
| 170 |
+
\newcommand{\btreatX}{21.18}
|
| 171 |
+
\newcommand{\btreatXCI}{(20.06, 22.30)}
|
| 172 |
+
\newcommand{\betatreatX}{0.74}
|
| 173 |
+
\newcommand{\betatreatXCI}{(0.70, 0.78)}
|
| 174 |
+
\newcommand{\ainttreatX}{5.51}
|
| 175 |
+
\newcommand{\ainttreatXCI}{(4.54, 6.48)}
|
| 176 |
+
\newcommand{\naivetreatX}{0.45}
|
| 177 |
+
\newcommand{\naivetreatXCI}{(0.33, 0.57)}
|
| 178 |
+
\newcommand{\expcosttreatX}{16.77}
|
| 179 |
+
\newcommand{\expcosttreatXCI}{(14.87, 18.67)}
|
| 180 |
+
\newcommand{\bmXobspe}{550}
|
| 181 |
+
\newcommand{\lambdabmX}{0.063}
|
| 182 |
+
\newcommand{\lambdabmXCI}{(0.06, 0.07)}
|
| 183 |
+
\newcommand{\betatildebmX}{0.89}
|
| 184 |
+
\newcommand{\betatildebmXCI}{(0.86, 0.93)}
|
| 185 |
+
\newcommand{\bbmX}{18.31}
|
| 186 |
+
\newcommand{\bbmXCI}{(17.63, 18.99)}
|
| 187 |
+
\newcommand{\betabmX}{0.68}
|
| 188 |
+
\newcommand{\betabmXCI}{(0.66, 0.71)}
|
| 189 |
+
\newcommand{\aintbmX}{5.84}
|
| 190 |
+
\newcommand{\aintbmXCI}{(5.21, 6.47)}
|
| 191 |
+
\newcommand{\naivebmX}{0.33}
|
| 192 |
+
\newcommand{\naivebmXCI}{(0.25, 0.42)}
|
| 193 |
+
\newcommand{\expcostbmX}{15.80}
|
| 194 |
+
\newcommand{\expcostbmXCI}{(14.44, 17.15)}
|
| 195 |
+
\newcommand{\amXobspe}{576}
|
| 196 |
+
\newcommand{\lambdaamX}{0.060}
|
| 197 |
+
\newcommand{\lambdaamXCI}{(0.06, 0.07)}
|
| 198 |
+
\newcommand{\betatildeamX}{0.93}
|
| 199 |
+
\newcommand{\betatildeamXCI}{(0.91, 0.95)}
|
| 200 |
+
\newcommand{\bamX}{23.39}
|
| 201 |
+
\newcommand{\bamXCI}{(22.28, 24.51)}
|
| 202 |
+
\newcommand{\betaamX}{0.80}
|
| 203 |
+
\newcommand{\betaamXCI}{(0.78, 0.82)}
|
| 204 |
+
\newcommand{\aintamX}{4.66}
|
| 205 |
+
\newcommand{\aintamXCI}{(4.03, 5.29)}
|
| 206 |
+
\newcommand{\naiveamX}{0.35}
|
| 207 |
+
\newcommand{\naiveamXCI}{(0.26, 0.44)}
|
| 208 |
+
\newcommand{\expcostamX}{16.55}
|
| 209 |
+
\newcommand{\expcostamXCI}{(15.06, 18.03)}
|
| 210 |
+
\newcommand{\bminfoavghetX}{21.30}
|
| 211 |
+
\newcommand{\bminfoavghetXCI}{(20.55, 22.04)}
|
| 212 |
+
\newcommand{\lambdaminfoavghetX}{0.06}
|
| 213 |
+
\newcommand{\lambdaminfoavghetXCI}{(0.06, 0.07)}
|
| 214 |
+
\newcommand{\betaminfoavghetX}{0.75}
|
| 215 |
+
\newcommand{\betaminfoavghetXCI}{(0.73, 0.76)}
|
| 216 |
+
\newcommand{\betatildeminfoavghetX}{0.92}
|
| 217 |
+
\newcommand{\betatildeminfoavghetXCI}{(0.90, 0.94)}
|
| 218 |
+
\newcommand{\aintminfoavghetX}{5.28}
|
| 219 |
+
\newcommand{\aintminfoavghetXCI}{(4.83, 5.74)}
|
| 220 |
+
\newcommand{\naiveminfoavghetX}{0.33}
|
| 221 |
+
\newcommand{\naiveminfoavghetXCI}{(0.27, 0.40)}
|
| 222 |
+
\newcommand{\expcostminfoavghetX}{16.93}
|
| 223 |
+
\newcommand{\expcostminfoavghetXCI}{(15.77, 18.08)}
|
| 224 |
+
\newcommand{\twelveXobspe}{556}
|
| 225 |
+
\newcommand{\lambdatwelveX}{0.073}
|
| 226 |
+
\newcommand{\lambdatwelveXCI}{(0.07, 0.08)}
|
| 227 |
+
\newcommand{\betatildetwelveX}{0.90}
|
| 228 |
+
\newcommand{\betatildetwelveXCI}{(0.87, 0.93)}
|
| 229 |
+
\newcommand{\btwelveX}{20.83}
|
| 230 |
+
\newcommand{\btwelveXCI}{(19.95, 21.71)}
|
| 231 |
+
\newcommand{\betatwelveX}{0.71}
|
| 232 |
+
\newcommand{\betatwelveXCI}{(0.69, 0.74)}
|
| 233 |
+
\newcommand{\ainttwelveX}{5.97}
|
| 234 |
+
\newcommand{\ainttwelveXCI}{(5.29, 6.64)}
|
| 235 |
+
\newcommand{\naivetwelveX}{0.34}
|
| 236 |
+
\newcommand{\naivetwelveXCI}{(0.25, 0.43)}
|
| 237 |
+
\newcommand{\expcosttwelveX}{13.76}
|
| 238 |
+
\newcommand{\expcosttwelveXCI}{(12.56, 14.95)}
|
| 239 |
+
\newcommand{\eightXobspe}{546}
|
| 240 |
+
\newcommand{\lambdaeightX}{0.065}
|
| 241 |
+
\newcommand{\lambdaeightXCI}{(0.06, 0.07)}
|
| 242 |
+
\newcommand{\betatildeeightX}{0.91}
|
| 243 |
+
\newcommand{\betatildeeightXCI}{(0.88, 0.94)}
|
| 244 |
+
\newcommand{\beightX}{20.12}
|
| 245 |
+
\newcommand{\beightXCI}{(19.27, 20.97)}
|
| 246 |
+
\newcommand{\betaeightX}{0.74}
|
| 247 |
+
\newcommand{\betaeightXCI}{(0.71, 0.77)}
|
| 248 |
+
\newcommand{\ainteightX}{5.22}
|
| 249 |
+
\newcommand{\ainteightXCI}{(4.54, 5.90)}
|
| 250 |
+
\newcommand{\naiveeightX}{0.35}
|
| 251 |
+
\newcommand{\naiveeightXCI}{(0.24, 0.45)}
|
| 252 |
+
\newcommand{\expcosteightX}{15.39}
|
| 253 |
+
\newcommand{\expcosteightXCI}{(14.01, 16.78)}
|
| 254 |
+
\newcommand{\sixteenXobspe}{275}
|
| 255 |
+
\newcommand{\lambdasixteenX}{0.082}
|
| 256 |
+
\newcommand{\lambdasixteenXCI}{(0.07, 0.09)}
|
| 257 |
+
\newcommand{\betatildesixteenX}{0.87}
|
| 258 |
+
\newcommand{\betatildesixteenXCI}{(0.81, 0.92)}
|
| 259 |
+
\newcommand{\bsixteenX}{22.16}
|
| 260 |
+
\newcommand{\bsixteenXCI}{(20.69, 23.63)}
|
| 261 |
+
\newcommand{\betasixteenX}{0.69}
|
| 262 |
+
\newcommand{\betasixteenXCI}{(0.65, 0.73)}
|
| 263 |
+
\newcommand{\aintsixteenX}{6.78}
|
| 264 |
+
\newcommand{\aintsixteenXCI}{(5.64, 7.92)}
|
| 265 |
+
\newcommand{\naivesixteenX}{0.44}
|
| 266 |
+
\newcommand{\naivesixteenXCI}{(0.31, 0.57)}
|
| 267 |
+
\newcommand{\expcostsixteenX}{12.26}
|
| 268 |
+
\newcommand{\expcostsixteenXCI}{(10.62, 13.91)}
|
| 269 |
+
\newcommand{\allnoconfusedobspe}{1,031}
|
| 270 |
+
\newcommand{\lambdaallnoconfused}{0.069}
|
| 271 |
+
\newcommand{\lambdaallnoconfusedCI}{(0.06, 0.07)}
|
| 272 |
+
\newcommand{\betatildeallnoconfused}{0.84}
|
| 273 |
+
\newcommand{\betatildeallnoconfusedCI}{(0.80, 0.88)}
|
| 274 |
+
\newcommand{\ballnoconfused}{9.39}
|
| 275 |
+
\newcommand{\ballnoconfusedCI}{(8.79, 9.99)}
|
| 276 |
+
\newcommand{\betaallnoconfused}{0.55}
|
| 277 |
+
\newcommand{\betaallnoconfusedCI}{(0.51, 0.59)}
|
| 278 |
+
\newcommand{\aintallnoconfused}{4.22}
|
| 279 |
+
\newcommand{\aintallnoconfusedCI}{(3.84, 4.59)}
|
| 280 |
+
\newcommand{\naiveallnoconfused}{0.36}
|
| 281 |
+
\newcommand{\naiveallnoconfusedCI}{(0.28, 0.43)}
|
| 282 |
+
\newcommand{\expcostallnoconfused}{14.56}
|
| 283 |
+
\newcommand{\expcostallnoconfusedCI}{(13.36, 15.77)}
|
| 284 |
+
\newcommand{\controlnoconfusedobspe}{516}
|
| 285 |
+
\newcommand{\lambdacontrolnoconfused}{0.066}
|
| 286 |
+
\newcommand{\lambdacontrolnoconfusedCI}{(0.06, 0.07)}
|
| 287 |
+
\newcommand{\betatildecontrolnoconfused}{0.87}
|
| 288 |
+
\newcommand{\betatildecontrolnoconfusedCI}{(0.84, 0.91)}
|
| 289 |
+
\newcommand{\bcontrolnoconfused}{9.88}
|
| 290 |
+
\newcommand{\bcontrolnoconfusedCI}{(8.99, 10.78)}
|
| 291 |
+
\newcommand{\betacontrolnoconfused}{0.55}
|
| 292 |
+
\newcommand{\betacontrolnoconfusedCI}{(0.51, 0.59)}
|
| 293 |
+
\newcommand{\aintcontrolnoconfused}{4.43}
|
| 294 |
+
\newcommand{\aintcontrolnoconfusedCI}{(3.95, 4.91)}
|
| 295 |
+
\newcommand{\naivecontrolnoconfused}{0.28}
|
| 296 |
+
\newcommand{\naivecontrolnoconfusedCI}{(0.20, 0.36)}
|
| 297 |
+
\newcommand{\expcostcontrolnoconfused}{15.08}
|
| 298 |
+
\newcommand{\expcostcontrolnoconfusedCI}{(13.53, 16.64)}
|
| 299 |
+
\newcommand{\treatnoconfusedobspe}{349}
|
| 300 |
+
\newcommand{\lambdatreatnoconfused}{0.071}
|
| 301 |
+
\newcommand{\lambdatreatnoconfusedCI}{(0.06, 0.08)}
|
| 302 |
+
\newcommand{\betatildetreatnoconfused}{0.77}
|
| 303 |
+
\newcommand{\betatildetreatnoconfusedCI}{(0.67, 0.87)}
|
| 304 |
+
\newcommand{\btreatnoconfused}{9.34}
|
| 305 |
+
\newcommand{\btreatnoconfusedCI}{(8.33, 10.35)}
|
| 306 |
+
\newcommand{\betatreatnoconfused}{0.54}
|
| 307 |
+
\newcommand{\betatreatnoconfusedCI}{(0.46, 0.62)}
|
| 308 |
+
\newcommand{\ainttreatnoconfused}{4.31}
|
| 309 |
+
\newcommand{\ainttreatnoconfusedCI}{(3.53, 5.10)}
|
| 310 |
+
\newcommand{\naivetreatnoconfused}{0.50}
|
| 311 |
+
\newcommand{\naivetreatnoconfusedCI}{(0.34, 0.65)}
|
| 312 |
+
\newcommand{\expcosttreatnoconfused}{14.14}
|
| 313 |
+
\newcommand{\expcosttreatnoconfusedCI}{(11.62, 16.66)}
|
| 314 |
+
\newcommand{\bmnoconfusedobspe}{502}
|
| 315 |
+
\newcommand{\lambdabmnoconfused}{0.072}
|
| 316 |
+
\newcommand{\lambdabmnoconfusedCI}{(0.06, 0.08)}
|
| 317 |
+
\newcommand{\betatildebmnoconfused}{0.79}
|
| 318 |
+
\newcommand{\betatildebmnoconfusedCI}{(0.71, 0.87)}
|
| 319 |
+
\newcommand{\bbmnoconfused}{7.03}
|
| 320 |
+
\newcommand{\bbmnoconfusedCI}{(6.41, 7.64)}
|
| 321 |
+
\newcommand{\betabmnoconfused}{0.40}
|
| 322 |
+
\newcommand{\betabmnoconfusedCI}{(0.35, 0.45)}
|
| 323 |
+
\newcommand{\aintbmnoconfused}{4.24}
|
| 324 |
+
\newcommand{\aintbmnoconfusedCI}{(3.77, 4.72)}
|
| 325 |
+
\newcommand{\naivebmnoconfused}{0.35}
|
| 326 |
+
\newcommand{\naivebmnoconfusedCI}{(0.23, 0.46)}
|
| 327 |
+
\newcommand{\expcostbmnoconfused}{13.92}
|
| 328 |
+
\newcommand{\expcostbmnoconfusedCI}{(12.00, 15.84)}
|
| 329 |
+
\newcommand{\amnoconfusedobspe}{529}
|
| 330 |
+
\newcommand{\lambdaamnoconfused}{0.066}
|
| 331 |
+
\newcommand{\lambdaamnoconfusedCI}{(0.06, 0.07)}
|
| 332 |
+
\newcommand{\betatildeamnoconfused}{0.89}
|
| 333 |
+
\newcommand{\betatildeamnoconfusedCI}{(0.85, 0.93)}
|
| 334 |
+
\newcommand{\bamnoconfused}{11.98}
|
| 335 |
+
\newcommand{\bamnoconfusedCI}{(10.90, 13.06)}
|
| 336 |
+
\newcommand{\betaamnoconfused}{0.67}
|
| 337 |
+
\newcommand{\betaamnoconfusedCI}{(0.63, 0.71)}
|
| 338 |
+
\newcommand{\aintamnoconfused}{3.93}
|
| 339 |
+
\newcommand{\aintamnoconfusedCI}{(3.41, 4.44)}
|
| 340 |
+
\newcommand{\naiveamnoconfused}{0.34}
|
| 341 |
+
\newcommand{\naiveamnoconfusedCI}{(0.24, 0.44)}
|
| 342 |
+
\newcommand{\expcostamnoconfused}{15.16}
|
| 343 |
+
\newcommand{\expcostamnoconfusedCI}{(13.62, 16.71)}
|
| 344 |
+
\newcommand{\bminfoavghetnoconfused}{9.96}
|
| 345 |
+
\newcommand{\bminfoavghetnoconfusedCI}{(9.23, 10.69)}
|
| 346 |
+
\newcommand{\lambdaminfoavghetnoconfused}{0.07}
|
| 347 |
+
\newcommand{\lambdaminfoavghetnoconfusedCI}{(0.06, 0.08)}
|
| 348 |
+
\newcommand{\betaminfoavghetnoconfused}{0.56}
|
| 349 |
+
\newcommand{\betaminfoavghetnoconfusedCI}{(0.52, 0.59)}
|
| 350 |
+
\newcommand{\betatildeminfoavghetnoconfused}{0.85}
|
| 351 |
+
\newcommand{\betatildeminfoavghetnoconfusedCI}{(0.81, 0.89)}
|
| 352 |
+
\newcommand{\aintminfoavghetnoconfused}{4.08}
|
| 353 |
+
\newcommand{\aintminfoavghetnoconfusedCI}{(3.70, 4.45)}
|
| 354 |
+
\newcommand{\naiveminfoavghetnoconfused}{0.34}
|
| 355 |
+
\newcommand{\naiveminfoavghetnoconfusedCI}{(0.26, 0.41)}
|
| 356 |
+
\newcommand{\expcostminfoavghetnoconfused}{15.44}
|
| 357 |
+
\newcommand{\expcostminfoavghetnoconfusedCI}{(14.12, 16.76)}
|
| 358 |
+
\newcommand{\twelvenoconfusedobspe}{507}
|
| 359 |
+
\newcommand{\lambdatwelvenoconfused}{0.085}
|
| 360 |
+
\newcommand{\lambdatwelvenoconfusedCI}{(0.07, 0.10)}
|
| 361 |
+
\newcommand{\betatildetwelvenoconfused}{0.82}
|
| 362 |
+
\newcommand{\betatildetwelvenoconfusedCI}{(0.75, 0.89)}
|
| 363 |
+
\newcommand{\btwelvenoconfused}{9.12}
|
| 364 |
+
\newcommand{\btwelvenoconfusedCI}{(8.32, 9.91)}
|
| 365 |
+
\newcommand{\betatwelvenoconfused}{0.49}
|
| 366 |
+
\newcommand{\betatwelvenoconfusedCI}{(0.45, 0.54)}
|
| 367 |
+
\newcommand{\ainttwelvenoconfused}{4.61}
|
| 368 |
+
\newcommand{\ainttwelvenoconfusedCI}{(4.10, 5.12)}
|
| 369 |
+
\newcommand{\naivetwelvenoconfused}{0.36}
|
| 370 |
+
\newcommand{\naivetwelvenoconfusedCI}{(0.25, 0.47)}
|
| 371 |
+
\newcommand{\expcosttwelvenoconfused}{11.81}
|
| 372 |
+
\newcommand{\expcosttwelvenoconfusedCI}{(10.36, 13.25)}
|
| 373 |
+
\newcommand{\eightnoconfusedobspe}{510}
|
| 374 |
+
\newcommand{\lambdaeightnoconfused}{0.074}
|
| 375 |
+
\newcommand{\lambdaeightnoconfusedCI}{(0.06, 0.08)}
|
| 376 |
+
\newcommand{\betatildeeightnoconfused}{0.83}
|
| 377 |
+
\newcommand{\betatildeeightnoconfusedCI}{(0.76, 0.91)}
|
| 378 |
+
\newcommand{\beightnoconfused}{8.69}
|
| 379 |
+
\newcommand{\beightnoconfusedCI}{(7.92, 9.46)}
|
| 380 |
+
\newcommand{\betaeightnoconfused}{0.55}
|
| 381 |
+
\newcommand{\betaeightnoconfusedCI}{(0.49, 0.60)}
|
| 382 |
+
\newcommand{\ainteightnoconfused}{3.95}
|
| 383 |
+
\newcommand{\ainteightnoconfusedCI}{(3.43, 4.46)}
|
| 384 |
+
\newcommand{\naiveeightnoconfused}{0.37}
|
| 385 |
+
\newcommand{\naiveeightnoconfusedCI}{(0.24, 0.49)}
|
| 386 |
+
\newcommand{\expcosteightnoconfused}{13.57}
|
| 387 |
+
\newcommand{\expcosteightnoconfusedCI}{(11.88, 15.26)}
|
| 388 |
+
\newcommand{\sixteennoconfusedobspe}{253}
|
| 389 |
+
\newcommand{\lambdasixteennoconfused}{0.105}
|
| 390 |
+
\newcommand{\lambdasixteennoconfusedCI}{(0.08, 0.13)}
|
| 391 |
+
\newcommand{\betatildesixteennoconfused}{0.76}
|
| 392 |
+
\newcommand{\betatildesixteennoconfusedCI}{(0.64, 0.88)}
|
| 393 |
+
\newcommand{\bsixteennoconfused}{9.25}
|
| 394 |
+
\newcommand{\bsixteennoconfusedCI}{(8.07, 10.43)}
|
| 395 |
+
\newcommand{\betasixteennoconfused}{0.48}
|
| 396 |
+
\newcommand{\betasixteennoconfusedCI}{(0.40, 0.56)}
|
| 397 |
+
\newcommand{\aintsixteennoconfused}{4.81}
|
| 398 |
+
\newcommand{\aintsixteennoconfusedCI}{(4.02, 5.60)}
|
| 399 |
+
\newcommand{\naivesixteennoconfused}{0.46}
|
| 400 |
+
\newcommand{\naivesixteennoconfusedCI}{(0.29, 0.63)}
|
| 401 |
+
\newcommand{\expcostsixteennoconfused}{9.53}
|
| 402 |
+
\newcommand{\expcostsixteennoconfusedCI}{(7.63, 11.44)}
|
107/replication_package/Output/overconfidence.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdc05783bc01021f131f541efb4869db17d59364e3c1104ff10220b99b19e40a
|
| 3 |
+
size 58395
|
107/replication_package/Output/overconfidence_estimates.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cad8e4c81a3724e9e23a98331b6346da1038ed00feaa7ba8d646b5df5ebca40
|
| 3 |
+
size 95590
|
107/replication_package/Output/overconfidence_estimatesV.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f95d4d70be363fe25f77883979f0b736bc9649ae2864faff01ad9f4c191a5e90
|
| 3 |
+
size 95538
|
107/replication_package/Output/overconfidence_estimatesX.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a15bfdd1a45b37c2627710e73f49a294960539873d0925dfcd0f47b9976c623
|
| 3 |
+
size 95670
|
107/replication_package/Output/overconfidence_estimates_commit12.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa0d06d98db68d865254dd551b191a294bc5811b44d6c7210f41f9e357fa1d42
|
| 3 |
+
size 96426
|