File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ describe('correlationMetrics', () => {
5
5
test ( 'Deaths vs. CLI correlations should equal what was published in the blog post' , async ( ) => {
6
6
let expected_metrics = {
7
7
r2At0 : 0.5 ,
8
- lagAtMaxR2 : 20 ,
8
+ lagAtMaxR2 : - 20 ,
9
9
r2AtMaxR2 : 0.81 ,
10
10
} ;
11
11
let actual_metrics = generateCorrelationMetrics ( deathsTestData , cliTestData ) ;
@@ -17,7 +17,7 @@ describe('correlationMetrics', () => {
17
17
test ( 'Signals with different date ranges should correlate on the union of their dates.' , async ( ) => {
18
18
let expected_metrics = {
19
19
r2At0 : - 0.59 ,
20
- lagAtMaxR2 : 28 ,
20
+ lagAtMaxR2 : - 28 ,
21
21
r2AtMaxR2 : - 0.07 ,
22
22
} ;
23
23
let actual_metrics = generateCorrelationMetrics ( cases_national , safegraph_full_time_national ) ;
You can’t perform that action at this time.
0 commit comments