How to Tell Which Way Correlation in Regression Continuous Dichotomous
- Home
- »Academics
- »Undergraduate
- »Resources for Courses
- »Analyzing Data
- »Correlation and Regression
Correlation and Regression
Correlation andregression analyses are used to determine how much of the variation in one variable is explained by variation in the other (correlation), and how to predict one variable (the response) from the other (predictor) using an equation (regression). These are two of the most widely used statical analyses in biology. The basic assumptions of these analyses are that the response and predictor variables are normally distributed, and that the relation between them is linear (falls along a straight line). When the correlation coefficient (r is large (close to –1.0 or +1.0) then we say the correlation is strong and thus that the prediction of the response from the predictor is quite accurate. When the slope of the regression line is 1.0 then each increment in the predictor results in an equal increment in the response. Usually correlation and regression analyses are run simultaneously, and it would be unusual to report the regression results without the correlation results. Correlation results often appear alone, however, because we may not be interested in actually making a prediction or knowing the functional relation (slope) between the two variables.
To perform these analyses online you can enter your raw data:
- here for lots of detailed output and even some graphs
- here for a simple regression calculator that gives minimal output (with no correlation) and a simple graph (enter data with one sample per line, x then y separated by a space)
- here and here for some really nice output and detailed explanations for both regression and correlation. The first site allows you to enter data one at a time online and the second allows you to upload or paste your own data file into the calculator
A worked example
Dr Chris Moyes has measured the body mass and COX enzyme activity in a sample of individuals from 12 species of small mammals. He calculated the mean body mass and enzyme activity for each species, and log-transformed both variables to make the distributions closer to normal. He then ran a correlation and a regression analysis and got the following results:
- r = –0.72 (P = 0.009)
- a = –0.01 (P = 0.85)
- b = –0.16 (P = 0.009)
wherer is the correlation coefficient and can vary between –1 and +1,a is the intercept of the regression line, andb is the slope of that line. The P-values tell us that r and b are significantly different from zero (note that both always have the same P), and that the intercept is not significantly different from zero, where P≤0.05 is considered to be statistically significant.
You can see from the graph (and the slope) that COX activity decreases with larger body sizes. By squaring the r-value we get an estimate of the amount of variation in the response variable (logCOX) explained by variation in the predictor variable (logMASS). Here r-squared is 0.52, meaning that 52% of the variation in COX activity is explained by body mass.
I've spent more time than many will believe [making microscopic observations], but I've done them with joy, and I've taken no notice those who have said why take so much trouble and what good is it?
Antonie van Leeuwenhoek
It's a parts list... If I gave you the parts list for the Boeing 777 and it had 100,000 parts, I don't think you could screw it together and you certainly wouldn't understand why it flew
Eric Lander
What is true for E. coli is also true for the elephant
Jacques Monod
The world becomes full of organisms that have what it takes to become ancestors. That, in a sentence, is Darwinism
Richard Dawkins
Shall we conjecture that one and the same kind of living filaments is and has been the cause of all organic life?
Erasmus Darwin
Nature proceeds little by little from things lifeless to animal life in such a way that it's impossible to determine the line of demarcation
Aristotle
Cells let us walk, talk, think, make love, and realize the bath water is cold
Lorraine Lee Cudmore
In the distant future I see open fields for far more important researches. Psychology will be based on a new foundation, that of the necessary acquirement of each mental power and capacity by gradation. Light will be thrown on the origin of man and his history
Charles Darwin
It is my belief that the basic knowledge that we're providing to the world will have a profound impact on the human condition and the treatments for disease and our view of our place on the biological continuum
J. Craig Venter
Imagine a house coming together spontaneously from all the information contained in the bricks: that is how animal bodies are made
Neil Shubin
A grain in the balance will determine which individual shall live and which shall die - which variety or species shall increase in number, and which shall decrease, or finally become extinct
Charles Darwin
The stuff of life turned out to be not a quivering, glowing, wondrous gel but a contraption of tiny jigs, springs, hinges, rods, sheets, magnets, zippers, and trapdoors, assembled by a data tape whose information is copied, downloaded and scanned
Steven Pinker
We wish to discuss a structure for the salt of deoxyribose nucleic acid. (D.N.A.). This structure has novel features which are of considerable biologic interest
Rosalind Franklin
We are biology. We are reminded of this at the beginning and the end, at birth and at death. In between we do what we can to forget
Mary Roach
The systems approach to biology will be the dominant theme in medicine
Leroy Hood
I've always been interested in animal behavior, and I keep reading about it because it's so surprising all the time - so many things are happening around us that we neglect to look at. Part of the passion I have for biology is based on this wonderment"
Isabella Rossellini
Because all of biology is connected, one can often make a breakthrough with an organism that exaggerates a particular phenomenon, and later explore the generality
Thomas Cech
Nothing in Biology makes sense except in the light of evolution
Theodosius Dobzhansky
Biology is now bigger than physics, as measured by the size of budgets, by the size of the workforce, or by the output of major discoveries; and biology is likely to remain the biggest part of science through the twenty-first century
- Freeman Dyson
Nothing can be more incorrect than the assumption one sometimes meets with, that physics has one method, chemistry another, and biology a third
- Thomas Huxley
Source: https://biology.queensu.ca/academics/undergraduate/resources-for-courses/analyzing-data/correlation-and-regression/
0 Response to "How to Tell Which Way Correlation in Regression Continuous Dichotomous"
Post a Comment