ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
by deftarget corr to Ptarget corr to P
2
specified corr100%50%75%
3
realized corr100%100%100%
4
PriceQ0Q1Q2TR1TR2TR3
5
101010.511100105109
6
202020.720400414404
7
303030.731900920924
8
404041.040160016391604
9
505050.750250025372513
10
606060.860360036483603
11
707070.171490049044940
12
808080.281640064166479
13
909090.990810081798138
14
100100100.9101100001008810055
15
110110111.0111121001220812171
16
120120120.2121144001442714473
17
130130130.4130169001694916958
18
19
Notes
20
1
starting point - static supply curve from micro 101
21
2
by design, the correl b/w Price and Q0 is 100%
22
3
aim - to investigate how the curvature of the TR (Total Revenue) curve changes when correl is not 100%
23
4
e.g. generate a series Q1, that has 50% correlation to Price and see what TR1 (=Price *Q1) would look like
24
5
same attempt with Q2, but using a 75% correl
25
6
I will also need to preserve the order of the series - e.g. if Q0 is monotonically increaseing, so should Q1 and Q2
26
7
if Price were random, then I could use cholseky - z1*Target Correl + sqrt (1-TargetCorrel)^2*z2
27
8
But price is static - and I'm thinking there's no way to impose a target correl and create a new Q series
28
9
by design, this correl will always be 100%
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100