Skip to content

FAQ/DOC overview: proportions hypothesis tests, confint and similar #6399

Open

Description

@josef-pkt

We need a overview table about which hypothesis tests and confidence intervals are available or missing
(see #6380 and #3954

sample method function(s)
1 sample
value hyp binom_test
proportions_ztest
conf int proportion_confint
equivalence binom_tost
proportions_ztost
power NormalIndPower
power_binom_tost
power_ztost_prop
effect size
2 sample
equal hyp contingency_tables
value hyp test_proportions_2indep
proportions_ztest
conf int confint_proportions_2indep
equivalence tost_proportions_2indep
proportions_ztost
power NormalIndPower using effect size
power_proportions_2indep
effect size proportion_effectsize
meta_analysis.effectsize_2proportions
k sample
equal hyp proportions_chisquare
pairwise hyp proportions_chisquare_allpairs
proportions_chisquare_pairscontrol
conf int
equivalence ?
power
effect size
2 x 2 x k
est + hyp StratifiedTable
meta_analysis
multinomial
conf int multinomial_proportions_confint
models
GLM-Binomial
Logit
Probit

possible columns:

  • diff, odds-ratio, risk-ratio for 2 and k sample comparisons
  • methods: asymptotic, exact, improved,
    "improved" is all other methods with some small sample improvements compared to (standard) asymptotic.

power, effect size, ...

contingency tables: 2- and k-sample (2 sample stratified)

model based: #3676, different or all sampling cases, but only asymptotic inference

multinomial
case control - all missing ?
...

Activity

  1. josef-pkt commented on Jan 9, 2020

    @josef-pkt
    MemberAuthor

    see also #650 for general request for overview topics pages

  2. josef-pkt commented on May 4, 2020

    @josef-pkt
    MemberAuthor

    functions in stats.proportion

    function descriptions sampling method
    proportion_confint(count, nobs[, alpha, method]) confidence interval for a binomial proportion 1 sample asy, exact
    proportion_effectsize(prop1, prop2[, method]) Effect size for a test comparing two proportions 2 sample
    binom_test(count, nobs[, prop, alternative]) Perform a test that the probability of success is p. 1 sample
    binom_test_reject_interval(value, nobs[, …]) rejection region for binomial test for one sample proportion 1 sample
    binom_tost(count, nobs, low, upp) exact TOST test for one proportion using binomial distribution 1 sample
    binom_tost_reject_interval(low, upp, nobs[, …]) rejection region for binomial TOST 1 sample
    multinomial_proportions_confint(counts[, …]) Confidence intervals for multinomial proportions.
    proportions_ztest(count, nobs[, value, …]) Test for proportions based on normal (z) test
    proportions_ztost(count, nobs, low, upp[, …]) Equivalence test based on normal distribution
    proportions_chisquare(count, nobs[, value]) test for proportions based on chisquare test
    proportions_chisquare_allpairs(count, nobs) chisquare test of proportions for all pairs of k samples
    proportions_chisquare_pairscontrol(count, nobs) chisquare test of proportions for pairs of k samples compared to control
    proportion_effectsize(prop1, prop2[, method]) Effect size for a test comparing two proportions
    power_binom_tost(low, upp, nobs[, p_alt, alpha])  
    power_ztost_prop(low, upp, nobs, p_alt[, …]) Power of proportions equivalence test based on normal distribution
    samplesize_confint_proportion(proportion, …) find sample size to get desired confidence interval length
    test_proportions_2indep(count1, nobs1, …) Hypothesis test for comparing two independent proportions 2 sample
    confint_proportions_2indep(count1, nobs1, …) Confidence intervals for comparing two independent proportions 2 sample
    power_proportions_2indep(diff, prop2, nobs1) power for ztest that two independent proportions are equal 2 sample
    tost_proportions_2indep(count1, nobs1, …) Equivalence test based on two one-sided test_proportions_2indep 2 sample
    samplesize_proportions_2indep_onetail(diff, …) required sample size assuming normal distribution based on one tail 2 sample
    score_test_proportions_2indep(count1, nobs1, …) score_test for two independent proportions 2 sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions