Skip to content

ENH: fractional data, treatment effect in paired proportions (not potential) #2661

Open

Description

@josef-pkt

(just a random find)

http://nbviewer.ipython.org/github/stitchfix/Algorithms-Notebooks/blob/master/mult-test-blog/free_throw_analysis.ipynb

The outcome variable is a paired/bivariate proportion depending on observed binary treatment, and we observe many independent observations of those. proportion is not constant across observations.
Analogous to paired t-test but with proportions.

It's not treatment effects literature where treatment is either one or the other but not both, and where we need to use potential outcomes.

Assume independence conditional on unobserved individual true probabilities, i.e. individual specific constant.

What's the best small sample test for testing for no effect. What's the best small sample estimate for average marginal effect size.

Underlying model is binomial GLM but with paired data and unobserved heterogeneity. Because of binomial, we also have heteroscedasticity. Alternative, Quasi-MLE for "continuous binary model".

Note if the outcome variable were binary, then we could use ConditionalLogit, but I guess it cannot be mapped into it. (Conditional Logit conditions out a single fixed effect constant per individual. It might be possible under the assumption that the treatment effect (change) is constant across individuals, but the base level can be a fixed effect.)

Note: I don't think this maps into the testing two proportions case or contingency tables, because there the underlying observation is binary, unless stratified contingency tables or 2 by k tables can be reused for this, where strata or the k column units are the individuals.

Using Fisher's (?) transform or similar to transform to paired z or t test will be the easiest but accurate only with large enough samples, and I guess not too close to the 0,1 boundaries.

aside question: Is there multiplicative heteroscedasticity version for Binomial similar to Poisson?

Activity

  1. josef-pkt commented on Oct 17, 2015

    @josef-pkt
    MemberAuthor

    more

    • we don't need to stick to difference, we can also look at risk ratio or odds ratio instead. odds ratio might be simpler in analogy to Logit.
    • there might be more analogies to MNLogit, ConditionalLogit, if we treat it as bivariate/two category model
    • The only regression model for correlated observations that we have for this kind of response is GEE, and eventually MixedLM with random effects.
    • except for GLM-Binomial no model allows for frequency weights, blowing up sample of binomial to full binary version would become very large.
    • modeling under the null hypothesis of no effect for a score test would be easier than estimating a nonzero treatment effect, because the variance is different under the alternative.

    This looks like an interesting case to combine different things, e.g. average treatment effect, heterogeneity, correlate observations, ... similar to risk ratio calculations.

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