1 The greatest achievement in life is to be able to get up again from failure.

Slides:



Advertisements
Similar presentations
Types of Variables Objective:
Advertisements

Analysis of Categorical Data Nick Jackson University of Southern California Department of Psychology 10/11/
Data: Crab mating patterns Data: Typists (Poisson with random effects) (Poisson Regression, ZIP model, Negative Binomial) Data: Challenger (Binomial with.
Factorial ANOVA More than one categorical explanatory variable.
Department of Cognitive Science Michael J. Kalsher Adv. Experimental Methods & Statistics PSYC 4310 / COGS 6310 Dummy Coding 1 PSYC 4310/6310 Advanced.
TYPES OF DATA. Qualitative vs. Quantitative Data A qualitative variable is one in which the “true” or naturally occurring levels or categories taken by.
Logistic Regression Example: Horseshoe Crab Data
Logistic regression without interaction (homogeneous association model) 1 For I = 2, if we want to test the X-Y conditional independence by using the model.
6.1.4 AIC, Model Selection, and the Correct Model oAny model is a simplification of reality oIf a model has relatively little bias, it tends to provide.
1 Joyful mood is a meritorious deed that cheers up people around you like the showering of cool spring breeze.
EPI809/Spring Models With Two or More Quantitative Variables.
Logistic Regression Biostatistics 510 March 15, 2007 Vanessa Perez.
1 G Lect 11M Binary outcomes in psychology Can Binary Outcomes Be Studied Using OLS Multiple Regression? Transforming the binary outcome Logistic.
Adjusting for extraneous factors Topics for today More on logistic regression analysis for binary data and how it relates to the Wolf and Mantel- Haenszel.
Data Management: Quantifying Data & Planning Your Analysis
Regression Approach To ANOVA
Statistics Idiots Guide! Dr. Hamda Qotba, B.Med.Sc, M.D, ABCM.
Logistic Regression II Simple 2x2 Table (courtesy Hosmer and Lemeshow) Exposure=1Exposure=0 Disease = 1 Disease = 0.
SAS Lecture 5 – Some regression procedures Aidan McDermott, April 25, 2005.
CHAPTER 9 DUMMY VARIABLE REGRESSION MODELS
The Use of Dummy Variables. In the examples so far the independent variables are continuous numerical variables. Suppose that some of the independent.
ALISON BOWLING THE GENERAL LINEAR MODEL. ALTERNATIVE EXPRESSION OF THE MODEL.
Basics of Regression Analysis. Determination of three performance measures Estimation of the effect of each factor Explanation of the variability Forecasting.
Factorial ANOVA More than one categorical explanatory variable STA305 Spring 2014.
Multiple Regression I KNNL – Chapter 6. Models with Multiple Predictors Most Practical Problems have more than one potential predictor variable Goal is.
4-Oct-07GzLM PresentationBIOL The GzLM and SAS Or why it’s a necessary evil to learn code! Keith Lewis Department of Biology Memorial University,
1 היחידה לייעוץ סטטיסטי אוניברסיטת חיפה פרופ’ בנימין רייזר פרופ’ דוד פרג’י גב’ אפרת ישכיל.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Dummy Variable Regression Models chapter ten.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
Generalized Linear Models (GLMs) & Categorical Data Analysis (CDA) in R Hong Tran, April 21, 2015.
Analysis of Covariance Combines linear regression and ANOVA Can be used to compare g treatments, after controlling for quantitative factor believed to.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Interpreting multivariate OLS and logit coefficients Jane E. Miller, PhD.
Regression Models for Quantitative (Numeric) and Qualitative (Categorical) Predictors KNNL – Chapter 8.
Single-Factor Studies KNNL – Chapter 16. Single-Factor Models Independent Variable can be qualitative or quantitative If Quantitative, we typically assume.
Categorical Independent Variables STA302 Fall 2013.
In Stat-I, we described data by three different ways. Qualitative vs Quantitative Discrete vs Continuous Measurement Scales Describing Data Types.
1 STA 517 – Chp4 Introduction to Generalized Linear Models 4.3 GENERALIZED LINEAR MODELS FOR COUNTS  count data - assume a Poisson distribution  counts.
General Linear Model.
1 STA 617 – Chp10 Models for matched pairs Summary  Describing categorical random variable – chapter 1  Poisson for count data  Binomial for binary.
Log-linear Models HRP /03/04 Log-Linear Models for Multi-way Contingency Tables 1. GLM for Poisson-distributed data with log-link (see Agresti.
1 Everyday is a new beginning in life. Every moment is a time for self vigilance.
9.1 Chapter 9: Dummy Variables A Dummy Variable: is a variable that can take on only 2 possible values: yes, no up, down male, female union member, non-union.
FIXED AND RANDOM EFFECTS IN HLM. Fixed effects produce constant impact on DV. Random effects produce variable impact on DV. F IXED VS RANDOM EFFECTS.
Logistic Regression. Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the.
Chapter 1 Exploring Data Guided Notes. 1.0 Data Analysis: Making Sense of Data Pages 2-7 Objectives SWBAT: 1)Identify the individuals and variables in.
1 Say good things, think good thoughts, and do good deeds.
Binary logistic regression. Characteristic Regression model for target categorized variable explanatory variables – continuous and categorical Estimate.
Multiple Imputation using SAS Don Miller 812 Oswald Tower
EKONOMETRIKA 1 FE_UB By Al Muiz almuiz 2009.
Dependent Variable Discrete  2 values – binomial  3 or more discrete values – multinomial  Skewed – e.g. Poisson Continuous  Non-normal.
1 Fighting for fame, scrambling for fortune, where is the end? Great wealth and glorious honor, no more than a night dream. Lasting pleasure, worry-free.
Analysis of Covariance KNNL – Chapter 22. Analysis of Covariance Goal: To Compare treatments (1-Factor or Multiple Factors) after Controlling for Numeric.
Nonparametric Statistics
Four way analysis Nursing home residence Gender Age Death.
Engineering Statistics Design of Engineering Experiments.
Research methods Factors affecting choice of statistical test, including levels of measurement.
Education 793 Class Notes ANCOVA Presentation 11.
Causality, Null Hypothesis Testing, and Bivariate Analysis
Generalized Linear Models
Nonparametric Statistics
Soc 3306a: ANOVA and Regression Models
Classification of Variables
Georgi Iskrov, MBA, MPH, PhD Department of Social Medicine
Soc 3306a Lecture 11: Multivariate 4
Analysis of Covariance
Joyful mood is a meritorious deed that cheers up people around you
Analysis of Covariance
Analysis of Covariance
Analysis of Covariance
Presentation transcript:

1 The greatest achievement in life is to be able to get up again from failure.

2 Categorical Data Analysis Chapter 5 II: Logistic Regression for Qualitative/Mixed Factors

3 Anova Type Representation of Factors Binary response variable: Y ~ Bernoulli( ) Qualitative factors: A, B, … SAS textbook Sec 8.4

4 Example: Berkeley Admissions Data (Table 2.10) MenWomen Major# of applicants % admitted # of applicants % admitted A B C D E F

Anova-Type Logistic Regression 5 Only one factor (eg. Department) Only main effects of two factors Full model

Anova-Type Logistic Regression Parameterization (in SAS): The effect at the last level of each factor is set as 0 (Regular) logistic regression expression by dummy variables (one factor example) 6

7 Mixed-type Logistic Regression Binary response variable: Y ~ Bernoulli( ) Qualitative factors: A, B, … Quantitative factors: X SAS textbook Sec 8.5

8 Example: Horseshoe Crab Dataset is given in Table 4.3, textbook Each female crab had a male crab attached to her in her nest; other males residing nearby her are called satellites Y= # of satellites X= female crab’s color (C), spine condition (S), weight (Wt), and carapace width (W) –C = 1 to 4 (light to dark); –S = 1 to 3 (good to worst)

Mixed-Type Logistic Regression 9 Numerical factors Wt, W and: Only one factor (eg. color) Only main effects of two factors With interaction effects (Not the saturated model)

Mixed-Type Logistic Regression Parameterization (PROC GENMOD in SAS): The effect at the last level of each factor is set as 0 (Regular) logistic regression expression by dummy variables (C + W example) 10

11 Quantitative Treatment of Ordinal factors Assign scores to its categories for each ordinal factor Treat the ordinal factors as quantitative factors to fit GLM e.g. color

Goodness of Fit Deviance or comparison to the full model Residuals Model comparisons (L-R tests) 12