Unit 11: Analysis of Covariance (ANCOVA)

Total Page:16

File Type:pdf, Size:1020Kb

Unit 11: Analysis of Covariance (ANCOVA) Unit 11: Analysis of Covariance (ANCOVA) STA 643: Advanced Experimental Design Derek S. Young 1 Learning Objectives I Become familiar with the basic orthogonal designs theory of ANCOVA I Understand the benefits and how we include covariates into ANOVA from a designed experiment I Become familiar with the single-factor ANCOVA model I Know the assumptions of ANCOVA I Know how to construct an ANCOVA model when there is more than one covariate I Know how to construct and analyze an ANCOVA model with a blocked design I Know how to construct and analyze a multi-factor ANCOVA model 2 Outline of Topics 1 Linear Model Theory 2 Single-Factor ANCOVA 3 Generalizations of ANCOVA 3 Outline of Topics 1 Linear Model Theory 2 Single-Factor ANCOVA 3 Generalizations of ANCOVA 4 Overview I Analysis of covariance (or ANCOVA) is a technique that combines features of ANOVA and regression. I ANCOVA can be used for either observational or designed experiments. I The idea is to augment the ANOVA model containing the factor effects (we will only consider fixed effects) with one or more additional quantitative variables that are related to the response variable. I These quantitative variables are called covariates (or they also called concomitant variables). I This augmentation is intended to reduce large error term variances that are sometimes present in ANOVA models. I Note that if the covariates are qualitative (e.g., gender, political affiliation, geographic region), then the model remains an ANOVA model where the original factors are of primary interest while the covariates are simply included for the purpose of error variance reduction. 5 Coordinatized-Version of Linear Model I In an ANCOVA model, we have observations that are taken in different categories as in ANOVA, but we also have some other predictors which are measured on an interval scale as in regression. I In the general form of the ANCOVA model, we observe 2 s 2 Y ∼ NN (δ + Xγ; σ I); δ 2 Q; γ 2 R ; σ > 0; (1) where X is a known N × s matrix (which we call a covariate matrix in ANCOVA) and Q is a known q-dimensional subspace. 2 I We assume that δ, γ, and σ are unknown parameters. I Typically, Q is a subspace from ANOVA. I We call the ANOVA model with subspace Q the associated ANOVA model. 6 Coordinate-Free Version of Linear Model I Let ∗ ∗ X = PQ? X; Y = PQ? Y: I In order to guarantee that the covariates are not confounded with the ANOVA component of the model, we need to assume that X∗ has full rank; i.e., that rank(X∗) = s. I Note that it is not enough that X have full column rank in order to have a possible covariance analysis. I Let U be the s-dimensional subspace spanned by the columns of X∗ and let V be the subspace of possible value for µ; i.e., s V = fµ = δ + Xγ : δ 2 Q; γ 2 R g: I Then 2 2 Y ∼ NN (µ; σ I); µ 2 V; σ > 0; which is just the ordinary linear model. 7 Adjusted Estimators I Note that U ? Q and ∗ ∗ µ = δ + PQXγ + X γ; δ + PQXγ 2 Q; X γ 2 U: I Therefore, µ 2 V = Q ⊕ U: I Hence ^ ∗ µ^ = PV Y = PQY + PU Y = δu + X γ^ ^ δu = PQY γ^ = (X∗TX∗)−1X∗TY = (X∗TX∗)−1X∗TY∗ I Note that δ^u is just the estimator of δ based on the associated ANOVA model and that γ^ is just the least squares estimator of γ found by regressing Y (or Y∗) on X∗. I The \u" subscript means the result has been unadjusted for the covariate, while the \a" subscript means the result has been adjusted for the covariate. I Further results using orthogonal direct sums allow us to write 2 2 ∗ 2 kµ^k = kδ^uk + kX δ^k ; and p = dim(V ) = dim(Q) + dim(U) = q + s. 8 Optimal Estimators I Note that γ^ = (X∗TX∗)−1X∗Tµ^; γ = (X∗TX∗)−1X∗Tµ: I Therefore, γ^ is the optimal (i.e., best unbiased) estimator of γ; however, ^ ∗ E[δu] = PQ(δ + Xγ) = δ + (X − X )γ: ∗ I Therefore, δ^u is the optimal estimator of δ + (X − X )γ for the ANCOVA model. I Note that the optimal estimator of ∗ ∗T ∗ −1 ∗T δ = (PQ − (X − X )(X X ) X )µ is ^ ∗ ∗T ∗ −1 ∗T ^ ∗ δa = (PQ − (X − X )(X X ) X )µ^ = δu − (X − X )γ^: I Thus, we have δ^a, which has been adjusted for the covariate. 9 Adjusted Sums of Squares I We can now construct the sums of squares and degrees of freedom for the error when adjusting for covariates. I First, SSEa and dfe;a for the ANCOVA model are given by 2 2 2 ∗ 2 ∗ 2 SSEa = kY − µ^k = kYk − kδ^uk + kX γ^k = SSEu − kX γ^k dfEa = N − dim(V ) = N − (q + s) = dfe;u − s; where SSEu and dfe;u are the sum of squares and df for the error for the associated ANOVA model. I We can compute MSEa = SSEa=dfe;a in the obvious way. I In order to produce the results presented above, it is necessary to find X∗. ^ I Let δu = PQY be the estimator of δ under the associated ANOVA model. I Then, the residual vector for the full ANOVA model is given by ^ ∗ Y − δu = PQ? Y = Y : ∗ I To find X = PQ? X, we apply the same operation to the x values that we apply to the y values when we find the residuals Y∗ for the associated ANOVA model. 10 Inference Setup I Next, consider testing the null hypothesis that δ 2 T , a known t-dimensional subspace of Q. I Let ∗∗ ∗∗ X = PT ? X; Y = PT ? Y: ∗ ∗∗ I Note that if X has full rank then X also does. I As written earlier, Y∗∗ is the vector of residuals for the reduced form of the associated ANOVA model and X∗∗ is the same function of the columns of X as Y∗∗ is of Y. I Let W be the subspace of possible values of µ under the null hypothesis. I By the same argument from earlier, we see that ~ ∗∗ µ~ = PW Y = δu + X γ~ ~ δu = PT Y γ~ = (X∗∗TX∗∗)−1X∗∗TY = (X∗∗TX∗∗)−1X∗∗TY∗∗ 2 2 ∗∗ 2 kµ~k = kµ~ uk + kX γ~k k = dim(W ) = t + s: 11 Test Statistic I Therefore, for testing δ 2 T for the ANCOVA model, the sum of squares, df, and mean square for the hypothesis are given, respectively, by 2 2 SSHa = kµ^k − kµ~k 2 ∗ 2 2 ∗∗ 2 = kδ^uk + kX γ^k − kδ~uk + kX γ~k ∗ 2 ∗∗ 2 = SSHu + kX γ^k − kX γ~k ∗ ∗∗ 2 = SSHu + kX γ^ − X γ~k dfh;a = (q + s) − (t + s) = q − t = dfh;u MSHa = SSHa=dfh;a: I SSHu and dfh;u are the sums of squares and df, respectively, for the hypothesis in the associated ANOVA model. I Note that the df for the hypothesis in the associated ANCOVA model is the same as the df for the hypothesis in the associated ANOVA model and that if X∗∗ = X∗, then the sum of squares and mean square for the hypothesis in the ANCOVA are the same as the sum of squares and the mean square for the hypothesis in the associated ANOVA model. I As usual, the optimal size α test for this hypothesis rejects if ∗ MSHa F = > F1−α;df ;df : MSEa h;a e;a 12 Outline of Topics 1 Linear Model Theory 2 Single-Factor ANCOVA 3 Generalizations of ANCOVA 13 Example: Goats Data A veterinarian carried out an experiment on a goat farm to determine whether a standard worm drenching program (to prevent the goats from obtaining worms) was adequate. Forty goats were used in each experiment, where twenty were chosen completely at random and drenched according to the standard program, while the remaining twenty were drenched more frequently. The goats were individually tagged, and weighed at the start and end of the year-long study. The objective in the experiment is to compare the liveweight gains between the two treatments. This comparison could be made using an ANOVA; however, a commonly observed biological phenomenon could allow us to increase the precision of the analysis. Namely, the lighter animals gain more weight than the heavier animals, so we have a \regression to the norm" setting. Since this can be assumed to occur within both treatment groups, it is appropriate to adjust the analysis to use that covariate information. 14 Example: Goats Data To understand why incorporating the covariate information might be effective, look at the plot of the data below. Here, we plotted weight gain of the goats separately for each treatment (either \standard" or \intensive"). It is evident that the error terms { as shown by the scatter around the treatment means given the respective horizontal lines { are fairly large. Thus, this indicates a large error term variance. Standard Treatment Intensive Treatment 10 10 8 8 6 6 Weight Gain Weight Gain 4 4 2 2 5 10 15 20 5 10 15 20 Goat # Goat # 15 Example: Goats Data Suppose that we now utilize the goats' initial weight. The scatterplot below shows the goats' weight gain versus their initial weight, with different colors corresponding to the different treatments. Note that the two treatment regression lines happen to be linear, although this need not be the case. The scatter around the treatment regression lines is much less than the scatter around the treatment means shown on the previous slide as a result of the goats' weight gain being highly linearly related to the initial weight.
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]