top of page

Technical Directions

Correlation Matrix Generator - Technical Directions

A correlation matrix is a quick and easy way to identify the strength of relationships between two variables, such as the relationship between a demographic group and a student outcome. This correlation matrix generator is an incredibly easy and efficient way for teachers to gain better insight into their data. With just a few clicks, the generator will prepare a color-coded visualization that you can use to jump-start your data conversations. This article will provide detailed technical directions for using the tool.


About the Tool

The DAT is a Shiny Web Application developed by Matthew Courtney in 2023. It uses the R statistical programming language to read data off of a spreadsheet and create a summary of any column. The tool is hosted on the server.


Preparing your Data

  1. Make sure your data is in a tabular format: The correlation matrix tool is designed to work with tabular data, where each column represents a variable and each row represents an observation. If your data is in a different format, such as a nested data frame or a list, you will need to convert it to a tabular format before uploading it.

  2. Check for missing values: The correlation matrix tool will ignore any rows or columns that contain missing values. Before uploading your data, make sure to check for missing values and remove them if necessary.

  3. Check for non-numeric data: The correlation matrix tool only works with numeric data. If your data contains non-numeric values, such as text or categorical variables, you will need to remove them or convert them to numeric values before uploading.

  4. Save your data in a compatible file format: The correlation matrix tool accepts files in CSV, XLSX, XLS, and TXT formats. Before uploading your data, make sure to save it in one of these formats.

  5. Check your file format and extension: The correlation matrix tool requires that the file extension matches the actual file format. For example, a file with a .csv extension must be in CSV format. If the file format and extension do not match, the tool may not be able to read the file.

  6. Make sure your data is well-structured: The correlation matrix tool works best with well-structured data, where each column has a clear and meaningful name and each row contains a complete observation. If your data is poorly structured, the resulting correlation matrix may be difficult to interpret.


Using the Correlation Matrix Generator

  1. Upload your data: The first step in using the correlation matrix tool is to upload your data. To do this, click on the "Browse" button in the sidebar of the tool and select the file you want to upload. The tool accepts files in CSV, XLSX, XLS, and TXT formats.

  2. Wait for the tool to process your data: After you upload your data, the tool will process it and generate a correlation matrix plot. This may take a few moments, depending on the size of your data set.

  3. Interpret the results: The correlation matrix plot shows the relationships between your variables, with each variable represented by a column and row in the matrix. The cells in the matrix show the correlation coefficient between each pair of variables, with positive values indicating a positive correlation and negative values indicating a negative correlation. The strength of the correlation is indicated by the color of the cell, with red indicating a strong positive correlation and blue indicating a strong negative correlation. A white cell indicates no correlation.

  4. Use the hover tooltips to explore the data: To explore the relationships between your variables in more detail, you can use the hover tooltips that appear when you hover your mouse over a cell in the matrix. The tooltips show the names of the two variables being compared and the correlation coefficient value. This can help you identify which variables are strongly correlated and which are not.

  5. Adjust the plot as needed: The correlation matrix plot can be adjusted using the tools in the top right corner of the plot. For example, you can zoom in or out on the plot, pan the plot to focus on a specific area, or export the plot as an image file.

  6. Repeat as needed: If you want to explore different aspects of your data, you can upload a new data file or adjust the settings of the plot. You can also use the correlation matrix plot in conjunction with other tools to gain deeper insights into your data.



bottom of page