+ Reply to Thread
Results 1 to 2 of 2

how do i make a co-ocurrence matrix?

  1. #1
    Registered User
    Join Date
    09-21-2011
    Location
    Rotterdam
    MS-Off Ver
    Excel 2003
    Posts
    1

    how do i make a co-ocurrence matrix?

    Hello can anyone please help me with the following?

    I want to make a co-occurrence matrix:
    i have 100 lists of 10 strings long. what I want to know is how many times duo's of strings co-occur on a list.
    so the list of person 1 may look like:
    -aardvark
    -bee
    -cicade
    -deer
    -earthworm
    -flatworm
    -giraffe
    etc

    and the list of person 2 may look like:
    -cicade
    -giraffe
    -horse
    -karibo
    -lungfish
    etc.

    In this example cicade and giraffe have a co-occurrence of 2 (they are BOTH present in 2 lists).

    What functions/ formulae does one use to make a co-occurrence matrix where all co-occurrences are calculated for all the strings in the 100 lists?

    I thought a sum-product, or an IF statement with an AND function, might do the trick. But I haven't been successful yet.

    Many thanks i advance

    Niek

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: how do i make a co-ocurrence matrix?

    niekvdbogert,

    Welcome to the Excel Forum.

    To get the most precise answer, it is best to upload/attach a sample workbook (sensitive data scrubbed/removed/changed) that contains an example of your raw data on one worksheet, and on another worksheet your desired results.

    The structure and data types of the sample workbook must exactly duplicate the real workbook. Include a clear and explicit explanation of your requirements.

    To attach your workbook, click on the New Post button, then scroll down and click on the Go Advanced button, then scroll down and click on the Manage Attachments button.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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