1 / 23

Log-Linear Models & Dependent Samples

Log-Linear Models & Dependent Samples. Feng Ye, Xiao Guo, Jing Wang. Outline. Symmetry, Quasi-independence & Quasi-symmetry. Marginal Homogeneity & Quasi-symmetry. Ordinal Quasi-symmetry Model. Conclusion. Quasi-independence Model. Model structure Assumption:

zora
Télécharger la présentation

Log-Linear Models & Dependent Samples

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Log-Linear Models & Dependent Samples Feng Ye, Xiao Guo, Jing Wang

  2. Outline • Symmetry, Quasi-independence & Quasi-symmetry. • Marginal Homogeneity & Quasi-symmetry. • Ordinal Quasi-symmetry Model. • Conclusion.

  3. Quasi-independence Model • Model structure • Assumption: Independent model holds for off diagonal cells. • Model fit df = (I-1)^2-I

  4. Symmetry • Model structure • Assumption: The off diagonal cells have equal expected counts. • Model fit: df = I^2-[I+I(I-1)/2]

  5. Symmetry

  6. Quasi-symmetry • Model structure • Model fit df = (I-2)(I-1)/2 Symmetry: Independence:

  7. Application • Each week Variety magazine summarizes reviews of new movies by critics in several cities. Each review is categorized as pro, con, or mixed, according to whether the overall evaluation is positive, negative, or a mixture of the two. April 1995 through September 1996 for Chicago film critics Gene Siskel and Roger Ebert.

  8. Application • Reviews of new movies by critics.

  9. Output & Interpretation

  10. Quasi-independence • Con-0.9603 • Mixed-0.6239 • pro-1.5069 e.g exp(0.9603+0.6239)=4.41

  11. Marginal Homogeneity & Quasi-symmetry • Symmetry = Quasi-symmetry + Marginal homogeneity • Quasi-symmetry + Marginal homogeneity = Symmetry • Fit statistics for marginal homogeneity

  12. Symmetry Model • Criteria For Assessing Goodness Of Fit • Criterion DF Value Value/DF • Deviance 3 0.5928 0.1976 • Scaled Deviance 3 0.5928 0.1976 • Pearson Chi-Square 3 0.5913 0.1971 • Scaled Pearson X2 3 0.5913 0.1971 • Log Likelihood 351.2829 • Quasi-Symmetry Model • Criteria For Assessing Goodness Of Fit • Criterion DF Value Value/DF • Deviance 1 0.0061 0.0061 • Scaled Deviance 1 0.0061 0.0061 • Pearson Chi-Square 1 0.0061 0.0061 • Scaled Pearson X2 1 0.0061 0.0061 • Log Likelihood 351.5763 • G2(S/QS) = 0.5928 - 0.0061 = 0.5867 with df = 2, showing marginal homogeneity is plausible.

  13. Marginal Homogeneity Testing

  14. Marginal homogeneity is the special case βj=0.Specifying design matrix to produce expected frequency {µab}.Using G2 and X2 tests marginal homogeneity, with df=I-1

  15. da = p+a – pa+ ; d’ =( d1,….dI-1) • Covariance matrix V with elements: • Vab = -(pab + pba) – (p+a – pa+)(p+b – pb+) • Vaa = p+a + pa+ -2paa – (p+a – pa+ )2 • Under marginal homogeneity, E(d) = 0. • W is asymptotically chi-squared with df = I-1.

  16. Marginal Models • Criteria For Assessing Goodness Of Fit • Criterion DF Value Value/DF • Deviance 2 0.5868 0.2934 • Scaled Deviance 2 0.5868 0.2934 • Pearson Chi-Square 2 0.5855 0.2927 • Scaled Pearson X2 2 0.5855 0.2927 • Log Likelihood 351.2859 • Analysis of Variance • Source DF Chi-Square Pr > ChiSq • -------------------------------------------- • Intercept 2 191.15 <.0001 • review 2 0.59 0.7455 • Residual 0 . .

  17. Ordinal Quasi-symmetry Model • Quasi-independence, quasi-symmetry, symmetry models for square tables treat classifications as nominal. • Changing the constraints for log linear model to obtain reduced model for ordered response. • Model structure has a linear trend. Where is the ordered scores

  18. Ordinal Quasi-symmetry Model • Parameter estimation & interpretation • Fitted marginal counts ==(?) observed marginal counts • Dividing the first two equations by n indicates the same means. • Goodness of fit: Checking the distance between reduced model and saturated model.

  19. Logit Representation • Logit model • Interpretation • difference between marginal distribution • marginal homogeneity • Identify as binomial with trials, and fit a logit model with no intercept and predictor

  20. Marginal Homogeneity • Marginal model (cumulative logits) marginal homogeneity : • Ordinal quasi-sym model • At the condition of ordinal quasi-symmetry marginal homogeneity is equivalent to symmetry • Fit statistic

  21. Application Data 1 • Reviews of new movies by critics.

  22. Output & Interpretation • Output • Marginal homogeneity? • No meaning to check if when ordinal quasi-symmetry fits poorly. • Using marginal model is a good way. • Check the symmetry under the condition of ordinal quasi-symmetry.

  23. Conclusion • Summary statistics provide an overall picture of square tables. Kappa & Percentage • Log-linear provides a valuable addition even an alternative to summary statistic. • Quasi-symmetry is the most general model for square table. • Adding or deleting variables from log-linear models provides different useful models. • Quasi-symmetry models proposes a good instrument for marginal homogeneity.

More Related