Resampling and meta-analysis
stat bootstrapstat bootstrapstat permutation_teststat permutation_teststat metastat metastat meta_binarystat meta_binary

stat bootstrap <json_values> <statistic>


Description

    Bootstrap of a statistic (2000 resamples): estimate, standard error, bias, percentile and BCa 95 % intervals. Statistics: mean, median, std, var, trimmed_mean, iqr, cv, p05..p95; on pairs [[x, y]]: correlation, spearman, ratio_of_means, slope

Parameters

    json_values:   The values (or the pairs) - String - required
    statistic:   The statistic - String - required
admin
stat bootstrap "[2.1, 3.4, 1.9, 5.6, 2.8, 3.3, 4.1, 2.2, 3.9, 6.2, 2.7, 3.1]" "median"
mentdb
{"statistic": "median", "estimate": 3.2, "se": 0.38808561584090184, "bias": -0.014400000000017066, "percentile_lower": 2.45, "percentile_upper": 4, "bca_lower": 2.45, "bca_upper": 3.9, "replicates": 2000, "level": 0.95}
Correlation of pairs
admin
stat bootstrap "[[1, 2.1], [2, 3.9], [3, 6.2], [4, 7.8], [5, 10.3], [6, 11.6], [7, 14.5], [8, 15.7]]" "correlation"
mentdb
{"statistic": "correlation", "estimate": 0.9979510731034178, "se": 0.002073134682152841, "bias": -1.236429904446501E-4, "percentile_lower": 0.9931628594335384, "percentile_upper": 0.9998516816078616, "bca_lower": 0.9892330188767354, "bca_upper": 0.999654639680594, "replicates": 2000, "level": 0.95}

stat bootstrap <json_values> <statistic> <json_params>


Description

    Bootstrap with parameters: replicates, level, seed

Parameters

    json_values:   The values - String - required
    statistic:   The statistic - String - required
    json_params:   The parameters - String - required
admin
stat bootstrap "[2.1, 3.4, 1.9, 5.6, 2.8, 3.3, 4.1, 2.2, 3.9, 6.2, 2.7, 3.1]" "p90" "{\"replicates\": 5000, \"level\": 0.9}"
mentdb
{"statistic": "p90", "estimate": 5.45, "se": 0.9430825016004588, "bias": -0.40906399999978493, "percentile_lower": 3.4, "percentile_upper": 6.2, "bca_lower": 3.8200000000000003, "bca_upper": 6.2, "replicates": 5000, "level": 0.9}

stat permutation_test <json_a> <json_b>


Description

    Permutation test of two samples: difference of the means, two-sided, 10 000 permutations; exact under the null hypothesis, no normality needed

Parameters

    json_a:   The first sample - String - required
    json_b:   The second sample - String - required
admin
stat permutation_test "[12.1, 13.4, 11.9, 14.2, 13.8]" "[10.2, 11.1, 10.9, 11.7, 10.4]"
mentdb
{"statistic": "mean difference", "observed": 2.2200000000000006, "p_value": 0.007599240075992401, "permutations": 10000, "alternative": "two_sided", "paired": false}

stat permutation_test <json_a> <json_b> <json_params>


Description

    Permutation test with parameters: statistic (mean or median), paired (sign flips of the differences), permutations, alternative (two_sided, greater, less), seed

Parameters

    json_a:   The first sample - String - required
    json_b:   The second sample - String - required
    json_params:   The parameters - String - required
admin
stat permutation_test "[140, 152, 138, 160, 147, 155]" "[132, 147, 136, 149, 140, 150]" "{\"paired\": true, \"alternative\": \"greater\"}"
mentdb
{"statistic": "mean difference", "observed": 6.333333333333333, "p_value": 0.017198280171982803, "permutations": 10000, "alternative": "greater", "paired": true}

stat meta <json_effects> <json_variances>


Description

    Meta-analysis of effects (mean differences, log odds ratios...) with their variances: fixed effect or random effects (DerSimonian-Laird), pooled estimate with its interval, Q, I2, tau2, prediction interval, and the forest plot data (interval and weight of each study)

Parameters

    json_effects:   The effect of each study - String - required
    json_variances:   The variance of each effect - String - required
admin
stat meta "[0.32, 0.15, 0.48, 0.22, 0.05]" "[0.010, 0.020, 0.040, 0.015, 0.030]"
mentdb
{"method": "random", "studies": 5, "estimate": 0.2466666666666667, "lower": 0.12847639140613415, "upper": 0.36485694192719925, "se": 0.06030226891555272, "z": 4.090503908104994, "p_value": 4.3043695764355405E-5, "q": 3.7027777777777784, "q_p_value": 0.4477220407486826, "i2": 0, "tau2": 0, "prediction_lower": 0.0547579337818441, "prediction_upper": 0.4385753995514893, "forest": [{"effect": 0.32, "lower": 0.1240036015459946, "upper": 0.5159963984540055, "weight": 0.36363636363636365}, {"effect": 0.15, "lower": -0.12718076486993554, "upper": 0.4271807648699355, "weight": 0.18181818181818182}, {"effect": 0.48, "lower": 0.08800720309198917, "upper": 0.8719927969080108, "weight": 0.09090909090909091}, {"effect": 0.22, "lower": -0.020045583817765472, "upper": 0.4600455838177655, "weight": 0.24242424242424243}, {"effect": 0.05, "lower": -0.2894757202228515, "upper": 0.3894757202228515, "weight": 0.12121212121212122}]}

stat meta <json_effects> <json_variances> <json_params>


Description

    Meta-analysis with parameters: method (random or fixed), level, exp (true: the effects are logarithms, the results are exponentiated), labels (the names of the studies)

Parameters

    json_effects:   The effects - String - required
    json_variances:   The variances - String - required
    json_params:   The parameters - String - required
admin
stat meta "[0.32, 0.15, 0.48]" "[0.010, 0.020, 0.040]" "{\"method\": \"fixed\", \"labels\": [\"Lyon\", \"Paris\", \"Nice\"]}"
mentdb
{"method": "fixed", "studies": 3, "estimate": 0.29428571428571426, "lower": 0.14612636337896492, "upper": 0.4424450651924636, "se": 0.07559289460184544, "z": 3.8930340719950403, "p_value": 9.899824177828087E-5, "q": 1.9692857142857143, "q_p_value": 0.37357262190825113, "i2": 0, "tau2": 0, "forest": [{"study": "Lyon", "effect": 0.32, "lower": 0.1240036015459946, "upper": 0.5159963984540055, "weight": 0.5714285714285714}, {"study": "Paris", "effect": 0.15, "lower": -0.12718076486993554, "upper": 0.4271807648699355, "weight": 0.2857142857142857}, {"study": "Nice", "effect": 0.48, "lower": 0.08800720309198917, "upper": 0.8719927969080108, "weight": 0.14285714285714285}]}

stat meta_binary <json_events1> <json_n1> <json_events2> <json_n2> <measure>


Description

    Meta-analysis of 2 x 2 tables (events and size of the treated and control groups): or (odds ratio), rr (risk ratio) or rd (risk difference), 0.5 added to the tables with a zero; random effects

Parameters

    json_events1:   Events of the treated groups - String - required
    json_n1:   Size of the treated groups - String - required
    json_events2:   Events of the control groups - String - required
    json_n2:   Size of the control groups - String - required
    measure:   or, rr or rd - String - required
admin
stat meta_binary "[4, 6, 3, 62, 33, 180, 8, 505, 29, 17, 186, 5, 27]" "[123, 306, 231, 13598, 5069, 1541, 2545, 88391, 7499, 1716, 50634, 2498, 16913]" "[11, 29, 11, 248, 47, 372, 10, 499, 45, 65, 141, 3, 29]" "[139, 303, 220, 12867, 5808, 1451, 629, 88391, 7277, 1665, 27338, 2341, 17854]" "rr"
mentdb
{"method": "random", "studies": 13, "estimate": 0.489624150463619, "lower": 0.3449191352224759, "upper": 0.695037718225147, "se": 0.1787420895354032, "z": -3.9952381888865798, "p_value": 6.462924304706519E-5, "q": 152.2330080823734, "q_p_value": 0, "i2": 0.9211734685456207, "tau2": 0.30876026286237646, "prediction_lower": 0.135492567068215, "prediction_upper": 1.7693354986515641, "forest": [{"effect": 0.41093865484109393, "lower": 0.13430157083258848, "upper": 1.2573983833227886, "weight": 0.05036491683231727}, {"effect": 0.20486815415821502, "lower": 0.08629744963356453, "upper": 0.4863522707381373, "weight": 0.06347329182641975}, {"effect": 0.2597402597402597, "lower": 0.07344259068807578, "upper": 0.9186086969136731, "weight": 0.0441202722473061}, {"effect": 0.23656052360641272, "lower": 0.17928089408142123, "upper": 0.3121407979119362, "weight": 0.0971764635681429}, {"effect": 0.8044895337953266, "lower": 0.5162931271266507, "upper": 1.2535580583614045, "weight": 0.08875377381656724}, {"effect": 0.45561114483682574, "lower": 0.38713233532784835, "upper": 0.536202988891976, "weight": 0.10121060419345178}, {"effect": 0.19772102161100197, "lower": 0.07835657668143119, "upper": 0.4989192234091391, "weight": 0.060079138257212485}, {"effect": 1.0120240480961924, "lower": 0.894571977550143, "upper": 1.1448968888225608, "weight": 0.10216342533284294}, {"effect": 0.6253663451423153, "lower": 0.3925762660004994, "upper": 0.9961964069324555, "weight": 0.08748416776558122}, {"effect": 0.2537654653039268, "lower": 0.14942094352176705, "upper": 0.4309764740010318, "weight": 0.08368251724263133}, {"effect": 0.712226836059195, "lower": 0.5725136829862566, "upper": 0.8860348338872253, "weight": 0.0994753189514472}, {"effect": 1.5619161996263675, "lower": 0.37368911122183396, "upper": 6.528373831066915, "weight": 0.03797696622423237}, {"effect": 0.9828350768741451, "lower": 0.5821374615339749, "upper": 1.659341396426917, "weight": 0.08403914374184748}]}

stat meta_binary <json_events1> <json_n1> <json_events2> <json_n2> <measure> <json_params>


Description

    Meta-analysis of 2 x 2 tables with parameters: method, level, labels

Parameters

    json_events1:   Events of the treated groups - String - required
    json_n1:   Size of the treated groups - String - required
    json_events2:   Events of the control groups - String - required
    json_n2:   Size of the control groups - String - required
    measure:   or, rr or rd - String - required
    json_params:   The parameters - String - required
admin
stat meta_binary "[4, 6, 3]" "[123, 306, 231]" "[11, 29, 11]" "[139, 303, 220]" "or" "{\"method\": \"fixed\"}"
mentdb
{"method": "fixed", "studies": 3, "estimate": 0.24770391515421933, "lower": 0.13291305672659362, "upper": 0.46163432768642465, "se": 0.31762774299676355, "z": -4.3935744510629275, "p_value": 1.1150197902098924E-5, "q": 0.9365574937877149, "q_p_value": 0.626078981760705, "i2": 0, "tau2": 0, "forest": [{"effect": 0.39113827349121466, "lower": 0.1212419317753449, "upper": 1.2618501433412432, "weight": 0.28249883544840704}, {"effect": 0.1889655172413793, "lower": 0.07727720378054152, "upper": 0.4620763298800069, "weight": 0.48472696320107317}, {"effect": 0.25, "lower": 0.06879533668269952, "upper": 0.9084918108369018, "weight": 0.23277420135051974}]}
Used in use cases (1 recipe)

    Epidemiologist › Meta-analysis of 13 vaccine trials