+ Reply to Thread
Results 1 to 7 of 7

Educate me on the correl function

  1. #1
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Educate me on the correl function

    The attached sheet contains a 3 month log for a class that tracks time spent studying and the test scores. I also have info that condenses the log into sum of time spent studying, days between tests, average time per day studying. How would you use the correl function to pull up correlations based on study habits and test scores?
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Educate me on the correl function

    =CORREL(y values, x values)
    y values would be test scores, x values would be time or log time or days between tests.
    CORREL gives the correlation between linear curve (from your x and y values) versus the actual data. A 1.00000 means perfect correlation. The higher (maximum of 1) the better. The Correlation Coefficient is usually designated "R" in math.
    Does that help?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Educate me on the correl function

    Are you concerned mostly with the Excel implementation, or are you looking for some broader discussion about the Pearson correlation coefficient (the quantity computed by the Excel CORREL() function).

    If you need help understanding the concept statistically, I would probably suggest http://www.real-statistics.com/correlation/ and/or http://en.wikipedia.org/wiki/Pearson...on_coefficient and/or http://stattrek.com/statistics/correlation.aspx and/or put "pearson correlation coefficient" or similar into your favorite internet search engine.

    If you already understand how the Pearson correlation coefficient is calculated and used, and just need some discussion around Excel's function (examples of use, descriptions of arguments, etc.), I would probably start with the help file for the CORREL() and/or PEARSON() functions found in your installation's help files.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Educate me on the correl function

    I am mostly wondering about it's use in Excel. I see that the arrays have to be the same size, however apparently each array doesn't have to have the same number of values. And trying to correlate a single test score to a single amount of time studied for the test also doesn't work.

    I did a correlation between Minutes Studied to Test Scores and got a value of -0.275790235. I understand that correlation does not mean causation, but based of this correlation we can assume more time spent studying is actually a bad thing, as the more time spent studying will result in worse test scores.

    I also did a correlation between average minutes per study session to test scores and got -0.715034083. It has been a while since I was in a statistics class but this seems like a significant value. For practical purposes I think reducing the average study session time would be a smart idea. It may or may not be effective, but if we are going come up with a plan based off of statistics this would be one of the more intelligent plans.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Educate me on the correl function

    Lets say this person studied at either the library, home or the coffee shop and recorded that. They want to do a correlation between study location and test scores. Since Correl ignores text, it seems to me a number would have to be assigned to each location, so library would be 1, home would be 2 and coffee shop would be 3. Doing it this way, would an accurate correlation between study location and test scores be figured?

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Educate me on the correl function

    It still seems like we are asking statistics questions and not really Excel questions. We would be having the same discussion points whether we were doing this in Excel, or Minitab, or Matlab, or on a handheld calculator, or using a slide rule.

    I did a correlation between Minutes Studied to Test Scores and got a value of -0.275790235. I understand that correlation does not mean causation, but based of this correlation we can assume more time spent studying is actually a bad thing, as the more time spent studying will result in worse test scores.
    You are correct in seeing that there is a negative correlation here. As you say, the interpretation of why there is a negative correlation could easily be off. Perhaps it shows, instead, that those who understood the material did not waste as much time studying ("I already understand this, so I'm not going to keep studying"), while those who had a harder time grasping the material spent more time trying to understand the material.

    I also did a correlation between average minutes per study session to test scores and got -0.715034083. It has been a while since I was in a statistics class but this seems like a significant value.
    In an "off the top of my head" kind of way, yes, a correlation coefficient of -.7 seems significant. Much of the science of statistics is about quantifying this idea. I am not off the top of my head familiar with these tests, but I'm almost certain that there are "significance tests" around the correlation coefficient. The Wikipedia article has a brief section about "testing using student's t distribution", suggesting to me that a t-test could be structured to determine (within your desired confidence interval) whether or not a given coefficient was truly not equal to 0. If you are looking for this kind of hypothesis testing using the correlation coefficient, I would suggest further research into how these tests are set up and performed.

    Since Correl ignores text, it seems to me a number would have to be assigned to each location, so library would be 1, home would be 2 and coffee shop would be 3. Doing it this way, would an accurate correlation between study location and test scores be figured?
    I'm afraid I am not enough of a statistician to say how one would interpret a correlation coefficient based on these kind of "category" variables. Off the top of my head, I would be tempted to assign a "noise level" or "distraction level" score to each location in the study (or some other meaningful quantity that I think might help explain how location figures into the results), and then test my correlations against that score. I'm sure that there are other ways to deal with this kind of "category" variable, I just am not familiar enough with the statistical science behind this kind of correlation effort.

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Educate me on the correl function

    Correlation is specifically relating a dependent variable y to changes in an independent variable x. The measurement of x must be on a specific scale, i.e. all in minutes of study time (can't have one in seconds, next one in days, etc.). To that point, Mr. Shorty's suggestion of attaching a "level of distraction" to each location would work while arbitrarily attaching a value of 1,2,3 would not.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excluding Zeros from CORREL Function
    By WWOL in forum Excel General
    Replies: 9
    Last Post: 07-29-2010, 02:06 PM
  2. Correl Function Confusion
    By leem in forum Excel General
    Replies: 1
    Last Post: 04-24-2008, 09:49 AM
  3. correl function
    By censura in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-18-2007, 05:13 AM
  4. Correlation Coefficient function CORREL
    By dataperson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-31-2006, 05:27 PM
  5. [SOLVED] Does Correl/Rank combo work eg CORREL(cols E & H) where E&H=RANK(.
    By Emmanuel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-12-2005, 11:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1