Conduct and Interpret a Factorial ANCOVA

Total Page:16

File Type:pdf, Size:1020Kb

Conduct and Interpret a Factorial ANCOVA Statistics Solutions Advancement Through Clarity http://www.statisticssolutions.com Conduct and Interpret a Factorial ANCOVA What is the Factorial ANCOVA? ANCOVA is short for Analysis of Covariance. The factorial analysis of covariance is a combination of a factorial ANOVA and a regression analysis. In basic terms, the ANCOVA looks at the influence of two or more independent variables on a dependent variable while removing the effect of the covariate factor. ANCOVA first conducts a regression of the independent variables (the covariate) on the dependent variable. The residuals (the unexplained variance in the regression model) are then subject to an ANOVA. Thus the ANCOVA tests whether the independent variables still influence the dependent variable after the influence of the covariate(s) has been removed. The factorial ANCOVA includes more than one independent variable and the factorial ANCOVA can include more than one covariate, SPSS handles up to ten. If the ANCOVA model has more than one covariate it is possible to run the factorial ANCOVA with contrasts and post hoc tests just like the one-way ANCOVA or the ANOVA to identify the influence of each covariate. The factorial ANCOVA is most useful in two ways: 1) it explains a factorial ANOVA's within-group variance, and 2) it controls confounding factors. First, the analysis of variance splits the total variance of the dependent variable into: Variance explained by each of the independent variables (also called between-groups variance of the main effect) Variance explained by all of the independent variables together (also called the interaction effect) Unexplained variance (also called within-group variance) The factorial ANCOVA looks at the unexplained variance and tries to explain some of it with the covariate(s). Thus it increases the power of the factorial ANOVA by explaining more variability in the model. [Note that just like in regression analysis and all linear models, over-fitting might occur. That is, the more covariates you enter into the factorial ANCOVA the more variance it will explain, but the fewer degrees of freedom the model has. Thus entering a weak covariate into the factorial ANCOVA decreases the statistical power of the analysis instead of increasing it.] Secondly, the factorial ANCOVA eliminates the covariates effect on the relationship between independent variables and the dependent variable which is tested with a factorial ANOVA. The concept is very similar to the partial correlation analysis. Technically it is a semi-partial regression and correlation. 1 / 4 Statistics Solutions Advancement Through Clarity http://www.statisticssolutions.com The factorial ANCOVA needs at least four variables (the simplest case with two factors is called two-way ANCOVA): Two or more independent variables, which group the cases into four or more groups. The independent variable has to be at least of nominal scale. The dependent variable, which is influenced by the independent variable. It has to be of continuous-level scale (interval or ratio data). Also, it needs to be homoscedastic and multivariate normal The covariate, also referred to as the confounding factor, or concomitant variable, is the variable that moderates the impact of the independent on the dependent variable. The covariate needs to be a continuous-level variable (interval or ratio data). The ANCOVA covariate is often a pre-test value or a baseline. Typical questions the factorial ANCOVA answers are as follows: Medicine - Does a drug work? Does the average life expectancy significantly differ between the three groups that received the drug versus the established product versus the control and accounting for the dose (high/low)? This question can be answered with a factorial ANOVA. The factorial ANCOVA allows additional control of covariates that might influence the outcome but have nothing to do with the drug, for example healthiness of lifestyle, risk taking activities, age. Sociology - Are rich people living in the countryside happier? Do different income classes report a significantly different satisfaction with life when looking where they live (urban, suburban, rural)? This question can be answered with a factorial ANOVA. Additionally the factorial ANCOVA controls for confounding factors that might influence satisfaction with life, e.g., marital status, job satisfaction, social support system. Management Studies - Which brands from the BCG matrix have a higher customer loyalty? The BCG matrix measures brands in a brand portfolio with their business growth rate (high/low) and their market share (high/ low). A factorial ANOVA answers the question to which brand are customers more loyal – stars, cash cows, dogs, or question marks? And a factorial ANCOVA can control for confounding factors, like satisfaction with the brand or appeal to the customer. The Factorial ANCOVA in SPSS The Factorial ANCOVA is part of the General Linear Models in SPSS. The GLM procedures in SPSS contain the ability to include 1-10 covariates into an ANCOVA model. Without a covariate the GLM procedure calculates the same results as the Factorial ANOVA. The levels of measurement need to be defined in SPSS in order for the GLM procedure to work correctly. We return to the research question from the chapter on the factorial ANOVA. This time we want to know if gender and the outcome of the final exam (pass /fail) have an influence on the math score 2 / 4 Statistics Solutions Advancement Through Clarity http://www.statisticssolutions.com when we control for the reading ability as measured by the score of the standardized reading test. The Factorial ANCOVA can be found in Analyze/General Linear Model/Univariate… This opens the GLM dialog, which allows us to specify any linear model. To answer our research question we need to add the independent variables (Exam and Gender) to the list of fixed factors. [Remember that the factor is fixed if it is deliberately manipulated and not just randomly drawn from a population. In our ANCOVA example this is the case. This also makes the ANCOVA the model of choice when analyzing semi-partial correlations in an experiment, instead of the partial correlation analysis with requires random data.] 3 / 4 Statistics Solutions TheAdvancement Dependent Through Variable Clarity is the Math Test, and the Covariate is the Reading Test. http://www.statisticssolutions.com In the dialog box Model… we leave all settings on the default. The default for all GLM (including the Factorial ANCOVA) is the full factorial model. The field post hocs is disabled when one or more covariates are entered into the analysis. If we want to include a group comparison into our factorial ANCOVA we can add contrast to the analysis. If we want to compare all groups against a specific group we need to select Simple as the Contrast Method, and we also need to specify which group (either the first or the last) should be compared against all other groups. However, since in this example both of our fixed factors only have two factor levels (male/female and pass/fail) we do not really need contrasts to answer the research question. Output, syntax, and interpretation can be found in our downloadable manual: Statistical Analysis: A Manual on Dissertation Statistics in SPSS (included in our member resources). Click here to download. 4 / 4 Powered by TCPDF (www.tcpdf.org).
Recommended publications
  • A Simple Sample Size Formula for Analysis of Covariance in Randomized Clinical Trials George F
    Journal of Clinical Epidemiology 60 (2007) 1234e1238 ORIGINAL ARTICLE A simple sample size formula for analysis of covariance in randomized clinical trials George F. Borma,*, Jaap Fransenb, Wim A.J.G. Lemmensa aDepartment of Epidemiology and Biostatistics, Radboud University Nijmegen Medical Centre, Geert Grooteplein 21, PO Box 9101, NL-6500 HB Nijmegen, The Netherlands bDepartment of Rheumatology, Radboud University Nijmegen Medical Centre, Geert Grooteplein 21, PO Box 9101, NL-6500 HB Nijmegen, The Netherlands Accepted 15 February 2007 Abstract Objective: Randomized clinical trials that compare two treatments on a continuous outcome can be analyzed using analysis of covari- ance (ANCOVA) or a t-test approach. We present a method for the sample size calculation when ANCOVA is used. Study Design and Setting: We derived an approximate sample size formula. Simulations were used to verify the accuracy of the for- mula and to improve the approximation for small trials. The sample size calculations are illustrated in a clinical trial in rheumatoid arthritis. Results: If the correlation between the outcome measured at baseline and at follow-up is r, ANCOVA comparing groups of (1 À r2)n subjects has the same power as t-test comparing groups of n subjects. When on the same data, ANCOVA is usedpffiffiffiffiffiffiffiffiffiffiffiffiffi instead of t-test, the pre- cision of the treatment estimate is increased, and the length of the confidence interval is reduced by a factor 1 À r2. Conclusion: ANCOVA may considerably reduce the number of patients required for a trial. Ó 2007 Elsevier Inc. All rights reserved. Keywords: Power; Sample size; Precision; Analysis of covariance; Clinical trial; Statistical test 1.
    [Show full text]
  • Analysis of Covariance (ANCOVA) in Randomized Trials: More Precision
    Johns Hopkins University, Dept. of Biostatistics Working Papers 10-19-2018 Analysis of Covariance (ANCOVA) in Randomized Trials: More Precision, Less Conditional Bias, and Valid Confidence Intervals, Without Model Assumptions Bingkai Wang Department of Biostatistics, Johns Hopkins University Elizabeth Ogburn Department of Biostatistics, Johns Hopkins University Michael Rosenblum Department of Biostatistics, Johns Hopkins University, [email protected] Suggested Citation Wang, Bingkai; Ogburn, Elizabeth; and Rosenblum, Michael, "Analysis of Covariance (ANCOVA) in Randomized Trials: More Precision, Less Conditional Bias, and Valid Confidence Intervals, Without Model Assumptions" (October 2018). Johns Hopkins University, Dept. of Biostatistics Working Papers. Working Paper 292. https://biostats.bepress.com/jhubiostat/paper292 This working paper is hosted by The Berkeley Electronic Press (bepress) and may not be commercially reproduced without the permission of the copyright holder. Copyright © 2011 by the authors Analysis of Covariance (ANCOVA) in Randomized Trials: More Precision, Less Conditional Bias, and Valid Confidence Intervals, Without Model Assumptions BINGKAI WANG, ELIZABETH OGBURN, MICHAEL ROSENBLUM∗ Department of Biostatistics, Johns Hopkins Bloomberg School of Public Health, 615 North Wolfe Street, Baltimore, Maryland 21205, USA [email protected] Summary \Covariate adjustment" in the randomized trial context refers to an estimator of the average treatment effect that adjusts for chance imbalances between study arms in baseline variables (called \covariates"). The baseline variables could include, e.g., age, sex, disease severity, and biomarkers. According to two surveys of clinical trial reports, there is confusion about the sta- tistical properties of covariate adjustment. We focus on the ANCOVA estimator, which involves fitting a linear model for the outcome given the treatment arm and baseline variables, and trials with equal probability of assignment to treatment and control.
    [Show full text]
  • Analysis of Covariance (ANCOVA) with Two Groups
    NCSS Statistical Software NCSS.com Chapter 226 Analysis of Covariance (ANCOVA) with Two Groups Introduction This procedure performs analysis of covariance (ANCOVA) for a grouping variable with 2 groups and one covariate variable. This procedure uses multiple regression techniques to estimate model parameters and compute least squares means. This procedure also provides standard error estimates for least squares means and their differences, and computes the T-test for the difference between group means adjusted for the covariate. The procedure also provides response vs covariate by group scatter plots and residuals for checking model assumptions. This procedure will output results for a simple two-sample equal-variance T-test if no covariate is entered and simple linear regression if no group variable is entered. This allows you to complete the ANCOVA analysis if either the group variable or covariate is determined to be non-significant. For additional options related to the T- test and simple linear regression analyses, we suggest you use the corresponding procedures in NCSS. The group variable in this procedure is restricted to two groups. If you want to perform ANCOVA with a group variable that has three or more groups, use the One-Way Analysis of Covariance (ANCOVA) procedure. This procedure cannot be used to analyze models that include more than one covariate variable or more than one group variable. If the model you want to analyze includes more than one covariate variable and/or more than one group variable, use the General Linear Models (GLM) for Fixed Factors procedure instead. Kinds of Research Questions A large amount of research consists of studying the influence of a set of independent variables on a response (dependent) variable.
    [Show full text]
  • Parametric ANCOVA Vs. Rank Transform ANCOVA When
    DOCUMENT RESUME ED 231 882 TM 830 499 AUTHOR -01-ejn4-k, Stephen F.; Algina, James TITLE Parametric ANCOVA vs. Rank Transform ANCOVA when Assumptions of Conditional Normality and Homoscedasticity Are Violated4 PUB DATE Apr 83 NOTE 33p.; Paper presented at the Annual Meeting of the American Educational Research Association (67th, Montreal, Quebec, April 11-15, 1983). Table 3 contains small print. PUB TYPE Speeches/Conference Papers (150) -- Reports - Research/Technical (143) EDRS PRICE MF01/PCO2 Plus Postage. DESCRIPTORS *Analysis of Covariance; *Control Groups; *Data Collection; *Error of Measurement; Pretests Posttests; *Research Design; Sample Size; Sampling IDENTIFIERS Computer Simulation; Heteroscedasticity (Statistics); Homoscedasticity (Statistics); *Parametric Analysis; Power (Statistics); *Robustness; Type I Errors ABSTRACT Parametric analysis of covariance was compared to analysis of covariance with data transformed using ranks."Using computer simulation approach the two strategies were compared in terms of the proportion,of TypeI errors made and statistical power s when the conditional distribution of err-ors were: (1) normal and homoscedastic, (2) normal and heteroscedastic, (3) non-normal and homoscedastic, and (4) non-normal and heteroscedastic. The results indicated that parametric ANCOVA was robust to violations of either normality or homoscedasticity. However when both assumptions were violated the observed alpha levels underestimated the nominal 'alpha level when sample sizes were small and alpha=.05. Rank ANCOVA led to a slightly liberal test of the hypothesis when the covariate was non-normal and the errors were heteroscedastic. Practical significant power differences favoring the rank ANCOVA procedure were observed with moderate sample sizes and skewed conditional error distributions. (Author) ************************* *****************************f************** Reproductions supplie by EDRS are the best that can be made from the original document.
    [Show full text]
  • Analysis of Covariance (ANCOVA)
    PASS Sample Size Software NCSS.com Chapter 591 Analysis of Covariance (ANCOVA) Introduction A common task in research is to compare the averages of two or more populations (groups). We might want to compare the income level of two regions, the nitrogen content of three lakes, or the effectiveness of four drugs. The one-way analysis of variance compares the means of two or more groups to determine if at least one mean is different from the others. The F test is used to determine statistical significance. Analysis of Covariance (ANCOVA) is an extension of the one-way analysis of variance model that adds quantitative variables (covariates). When used, it is assumed that their inclusion will reduce the size of the error variance and thus increase the power of the design. Assumptions Using the F test requires certain assumptions. One reason for the popularity of the F test is its robustness in the face of assumption violation. However, if an assumption is not even approximately met, the significance levels and the power of the F test are invalidated. Unfortunately, in practice it often happens that several assumptions are not met. This makes matters even worse. Hence, steps should be taken to check the assumptions before important decisions are made. The following assumptions are needed for a one-way analysis of variance: 1. The data are continuous (not discrete). 2. The data follow the normal probability distribution. Each group is normally distributed about the group mean. 3. The variances of the populations are equal. 4. The groups are independent. There is no relationship among the individuals in one group as compared to another.
    [Show full text]
  • Design and Analysis of Ecological Data Landscape of Statistical Methods: Part 1
    Design and Analysis of Ecological Data Landscape of Statistical Methods: Part 1 1. The landscape of statistical methods. 2 2. General linear models.. 4 3. Nonlinearity. 11 4. Nonlinearity and nonnormal errors (generalized linear models). 16 5. Heterogeneous errors. 18 *Much of the material in this section is taken from Bolker (2008) and Zur et al. (2009) Landscape of statistical methods: part 1 2 1. The landscape of statistical methods The field of ecological modeling has grown amazingly complex over the years. There are now methods for tackling just about any problem. One of the greatest challenges in learning statistics is figuring out how the various methods relate to each other and determining which method is most appropriate for any particular problem. Unfortunately, the plethora of statistical methods defy simple classification. Instead of trying to fit methods into clearly defined boxes, it is easier and more meaningful to think about the factors that help distinguish among methods. In this final section, we will briefly review these factors with the aim of portraying the “landscape” of statistical methods in ecological modeling. Importantly, this treatment is not meant to be an exhaustive survey of statistical methods, as there are many other methods that we will not consider here because they are not commonly employed in ecology. In the end, the choice of a particular method and its interpretation will depend heavily on whether the purpose of the analysis is descriptive or inferential, the number and types of variables (i.e., dependent, independent, or interdependent) and the type of data (e.g., continuous, count, proportion, binary, time at death, time series, circular).
    [Show full text]
  • Propensity Scores One Application of Logistic Regression Is the Propensity
    Newsom Psy 525/625 Categorical Data Analysis, Spring 2021 1 Propensity Scores One application of logistic regression is the propensity score approach to equating groups in an experimental or quasi-experimental study (e.g., non-equivalent control group or case-control group design). When the treatment and control groups are not equal on the dependent variable initially, the most common analysis approach is an analysis of covariance (ANCOVA) in which the dependent variable measured at pretest is controlled when the post-test means are compared. If there is a still a significant difference at post-test after the pretest scores have been controlled, then the researcher concludes the treatment had an effect. Y Pretest Post-test An alternative analytic approach proposed by Rosenbaum and Rubin (1983) is propensity score analysis. Propensity scores are typically estimated with logistic regression. A group of covariates thought to be related to the initial group differences are used to predict group membership (treatment vs. control). This is a standard logistic regression model where Y = 1 is membership in the treatment group. So, for example, if income was a factor in participants’ self-selection into the treatment condition, then income is used to predict membership in the treatment or control group. Any number of covariates could be used. The logit, P ππ/1( − ) , is then used as a basis for matching cases in the treatment and control. Cases may be matched using several approaches (nearest neighbor method, subclassification groups, inverse probability of exposure, weighting). The propensity score is sometimes used in a subsequent linear regression as the only covariate, replacing all of the covariates used in the logistic model that predicted treatment/control membership.
    [Show full text]
  • Chapter 10 Analysis of Covariance
    Chapter 10 Analysis of Covariance An analysis procedure for looking at group effects on a continuous outcome when some other continuous explanatory variable also has an effect on the outcome. This chapter introduces several new important concepts including multiple re- gression, interaction, and use of indicator variables, then uses them to present a model appropriate for the setting of a quantitative outcome, and two explanatory variables, one categorical and one quantitative. Generally the main interest is in the effects of the categorical variable, and the quantitative explanatory variable is considered to be a \control" variable, such that power is improved if its value is controlled for. Using the principles explained here, it is relatively easy to extend the ideas to additional categorical and quantitative explanatory variables. The term ANCOVA, analysis of covariance, is commonly used in this setting, although there is some variation in how the term is used. In some sense ANCOVA is a blending of ANOVA and regression. 10.1 Multiple regression Before you can understand ANCOVA, you need to understand multiple regression. Multiple regression is a straightforward extension of simple regression from one to several quantitative explanatory variables (and also categorical variables as we will see in the section 10.4). For example, if we vary water, sunlight, and fertilizer to see their effects on plant growth, we have three quantitative explanatory variables. 241 242 CHAPTER 10. ANALYSIS OF COVARIANCE In this case we write the structural model as E(Y jx1; x2; x3) = β0 + β1x1 + β2x2 + β3x3: Remember that E(Y jx1; x2; x3) is read as expected (i.e., average) value of Y (the outcome) given the values of the explanatory variables x1 through x3.
    [Show full text]
  • The Central Role of the Propensity Score in Observational Studies for Causal Effects” Statistics Journal Club, 36-825
    Summary and discussion of \The central role of the propensity score in observational studies for causal effects” Statistics Journal Club, 36-825 Jessica Chemali and Michael Vespe 1 Summary 1.1 Background and context Observational studies draw inferences about the possible effect of a treatment on subjects, where the assignment of subjects into a treated group versus a control group is outside the control of the investigator. Let r1(x) be the response when a unit with covariates x receives the treatment (z = 1), and r0(x) be the response when that unit does not receive the treatment (z = 0). Then one is interested in inferring the effect size: Z E[r1(x) − r0(x)] = (r1(x) − r0(x))p(x)dx; (1) X where X is the space of covariates, and p(x) is the distribution from which both treatment and control units are drawn. An unbiased estimatemate of the effect size is the sample average: N 1 X ^[r (x) − r (x)] = (r (x ) − r (x )); E 1 0 N 1 i 0 i i=1 N where fxigi=1 are drawn from p(x). In observational studies, however, one has no control over the distribution of treatment and control groups, and they typically differ systemat- ically (i.e p(xjz = 1) 6= p(xjz = 0)). Consequently, the sample average becomes a biased, unusable, estimate for the treatment effect. The goal of the paper we discuss here is to present methods to match the units in the treatment and control groups in such a way that sample averages can be used to obtain an unbiased estimate of the effect size.
    [Show full text]
  • ANCOVA (Analysis of Covariance)
    ANCOVA in SPSS statstutor Community Project stcp-rothwell-ANCOVA The following resources are associated: ANOVA in SPSS, Checking normality in SPSS and the SPSS dataset ’Diet.sav’ ANCOVA (Analysis of Covariance) Dependent variable: Continuous (scale/interval/ratio), Independent variables: Categorical factors (at least 3 unrelated/ independent groups in each), Scale (continuous) covariates Common Applications: ANCOVA is similar to traditional ANOVA but is used to detect a difference in means of 3 or more independent groups, whilst controlling for scale covariates. A covariate is not usually part of the main research question but could influence the dependent variable and therefore needs to be controlled for. Data: The data set ‘Diet.sav’ contains information on 78 people who undertook one of three diets. There is background information such as age, gender and height as well as weight lost on the diet (a positive value means they lost weight). The aim of the study was to see which diet was best for losing weight so the independent variable (group) is diet. Weight lost Diet 1, 2 or 3 after 10 weeks Female = 0 Before carrying any analysis, summarise weight lost by diet using some summary statistics. Diet 3 seems better than the other diets as the mean weight lost is greater. The standard deviations are similar so weight lost within each group is equally spread out. One could suggest, however, that a person’s height will have an added influence in the amount of weight they lose on a particular diet. This is where ANCOVA comes in useful. ANCOVA stands for ‘Analysis of covariance’, and it combines the methods used in ANOVA with linear regression on a number of different levels.
    [Show full text]
  • What Is Analysis of Covariance (ANCOVA) and How to Correct- Ly Report Its Results in Medical Research?
    Iran J Public Health, Vol. 49, No.5, May 2020, pp.1016-1017 Letter to the Editor What Is Analysis of Covariance (ANCOVA) and How to Correct- ly Report its Results in Medical Research? Alireza KHAMMAR 1, Mohammad YARAHMADI 2, *Farzan MADADIZADEH 3,4 1. Department of Occupational Health Engineering, School of Health, Zabol University of Medical Sciences, Zabol, Iran 2. Razi Herbal Medicines Research Center, Lorestan University of Medical Sciences, Khoramabad, Iran 3. Noncommunicable Diseases Research Center, Fasa University of Medical Sciences, Fasa, Iran 4. Department of Epidemiology and Biostatistics, School of Public Health, Tehran University of Medical Sciences, Tehran, Iran *Corresponding Author: Email: [email protected] (Received 09 Dec 2018; accepted 19 Dec 2018) Dear Editor-in-Chief Sometimes in medical researches, a variable that groups. The prior familiarity of some students is not among the main research variables may with the topics leads to increased learning scores. affect the dependent variable and its relation with Therefore, it is a covariate variable. Another ex- the independent variable, which, if identified, can ample of covariate variable is a pretest score in an be involved in the modeling and its linear effect interventional study that needs to identify, meas- are controlled. This is not a dependent or inde- ure and control before the intervention. pendent variable, this type of variable is known as For more information on the use of the AN- covariate (1). COVA methodology and the appropriate way of To control the effect of covariate variable, not reporting the results, note the following points: only the changes in variance of the dependent The dependent variable must be a con- variable are examined (ANOVA), but also the tinuous quantitative variable and have a relationship between the dependent variable and normal distribution.
    [Show full text]
  • Chapter 25 Analysis of Covariance
    Chapter 25 Analysis of Covariance Analysis of covariance (or ANCOVA) introduces regression elements into an ANOVA analysis. This is done primarily to increase the precision of the ANOVA analysis. 25.1 Basic Ideas SAS program: att7-25-1-drugs-ANCOVA,plots Exercise 25.1 (Basic Ideas) 1. Analysis of variance (review): patient response versus drug types. Fifteen patients responses are recorded for three drug types. drug 1 5.90 5.92 5.91 5.89 5.88 Y 1¢ ¼ 5:90 drug 2 5.50 5.50 5.50 5.49 5.50 Y 2¢ = 5:50 drug 3 5.01 5.00 4.99 4.98 5.02 Y 3¢ ¼ 5:00 patients 1-5 drug 1 6.0 6.0 5.8 patients 6-10 5.8 e e s s n n 5.6 5.6 drug 2 o o p p s s 5.4 5.4 e e r r patients 11-15 5.2 5.2 drug 3 5.0 5.0 1 2 3 drug type 1 2 3 4 5 patient (a) analysis of variance, (b) analysis of variance, one way to look at it another way to look at it Figure 25.1 (ANOVA: Patient response versus drug types) 179 180 Chapter 25. Analysis of Covariance (ATTENDANCE 7) (a) Figure (a) analysis of variance i. The point (x; y) = (1; 5:90) corresponds to the ¯rst patient response of 5.90 to drug 1, where x = 1 refers to (choose one) patient / drug type ii. The x{axis, \drug type", is a (choose one) qualitative / quantitative variable.
    [Show full text]