diff --git a/README.md b/README.md index 119614f..dc4f40b 100755 --- a/README.md +++ b/README.md @@ -1,96 +1,42 @@ -Assignment 3 - Replicating a Classic Experiment -=== - -For the scope of this project, assume the role of a scientist who runs experiments for a living. - -Q: How do we know that bar charts are "better" than pie charts? -A: Controlled experiments! - -In this assignment you'll implement a simple controlled experiment using some of the visualizations you’ve been building in this class. -You'll need to develop support code for the experiment sequence, results file output, and other experiment components. -(These are all simple with Javascript buttons and forms.) -The main goals for you are to a) test three competing visualizations, b) implement data generation and error calculation functions inspired by Cleveland and McGill's 1984 paper, c) run the experiment with 10 participants (or a trial equivalent), and d) do some basic analysis and reporting of the results. - -For this assignment you should aim to write everything from scratch. For experimentation it is often necessary to control all elements of the chart. -You should definitely *reference* demo programs from books or the web, and if you do please provide a References section with links at the end of your Readme. - -Requirements ---- - -- Look it over Cleveland and McGill's original experiment (see the section below) and [watch this video](experiment-example.mp4) to get a sense of the experiment structure and where your visualizations will go. -- When viewing the example experiment video, note the following: - - Trials are in random order. - - Each trial has a randomly generated set of 5-10 data points. - - Two of these data points are marked. - - (Note: the experiment UI and User Experience could be better. Plenty of design achievements here). -- Implement the data generation code **as described in the Cleveland & McGill paper**. - - The goal is to generate a set of random datapoints (usually 5 or 10, with values be between 0 and 100) and to mark two of them for comparison in the trial. -- Add 3 visualizations (i.e. conditions) to your experiment. When you are adding these visualizations, think about *why* these visualizations are interesting to test. In other words, keep in mind a *testable hypothesis* for each of the added visualization. Some good options include bar charts, pie charts, stacked-bar charts, and treemaps. You can also rotate your bar chart to be horizontal or upside-down as one of your conditions. You are encouraged to test unorthodox charts -- radar charts come to mind, but there are MANY possibilities here-- feel free to be creative! - - Follow the style from Cleveland and McGill closely (e.g. no color, simple lines) unless you are specifically testing a hypothesis (e.g. color versus no color). Pay attention to spacing between elements like bars. Do not mark bars for comparison using color-- this makes the perceptual task too easy. -- After each trial, implement code that grades and stores participant’s responses. -- At the end of the experiment, to get the data, one easy option use Javascript to show the data from the current experiment\* (i.e. a comma separated list in a text box) and copy it into your master datafile. See the Background section below for an example of what this file should look like. (\*Alternately implement a server, if you're experienced with that sort of thing.) - -- Figure out how to calculate "Error", the difference between the true percentage and the reported percentage. -- Scale this error using Cleveland and McGill’s log-base-2 error equation. For details, see the background section (there’s a figure with the equation). This becomes your “Error” column in the output. Make sure you use whole percentages (not decimal) in the log-base-2 equation. Make sure you handle the case of when a person gets the exact percentage correct (log-base-2 of 1/8 is -3, it is better to set this to 0). -- Run your experiment with 10 or more participants, or-- make sure you get at least 200 trials **per visualization type** in total. - - Grab friends or people in the class. - - Run at least 20 trials per visualization type, per participant. This is to ensure that you cover the range of possible answers (e.g. 5%, 10%, ..., 95%) -- Make sure to save the resulting CSV after each participant. Compile the results into a master csv file (all participants, all trials). -- Produce a README with figures that shows the visualizations you tested and results, ordered by best performance to worst performance. Follow the modern Cleveland-McGill figure below -- though note that using names instead of icons is fine. -- To obtain the ranking, calculate and report the average log2Error for each visualization across all trials and participants. This should be straightforward to do in a spreadsheet. -- Use Bootstrapped 95\% confidence intervals for your error upper and lower bounds. Include these in your figures. Bootstrapped confidence intervals are easily implemented in R + ggplot2 using the `stat_summary` geom. You can also use Excel, Python, or many many other tools. Bootstrapped 95% CIs are **very** useful in modern experiment practice. -- Include example images of each visualization as they appeared in your experiment (i.e. if you used a pie chart show the actual pie chart you used in the experiment along with the markings, not an example from Google Images). - -## General Requirements - -0. Your code should be forked from the GitHub repo and linked using GitHub pages. -2. Your project should use d3 to build visualizations. -3. Your writeup (readme.md in the repo) should contain the following: - -- Working link to the experiment hosted on gh-pages or some other site. -- Concise description and screenshot of your experiment. -- Description of the technical achievements you attempted with this project. -- Description of the design achievements you attempted with this project. - -Background ---- - -In 1984, William Cleveland and Robert McGill published the results of several controlled experiments that pitted bar charts against pies and stacked-bar variants. -Their paper (http://www.cs.ubc.ca/~tmm/courses/cpsc533c-04-spr/readings/cleveland.pdf) (http://info.slis.indiana.edu/~katy/S637-S11/cleveland84.pdf) is considered a seminal paper in data visualization. -In particular, they ran a psychology-style experiment where users were shown a series of randomly-generated charts with two graphical elements marked like this: - -![cleveland bar chart](img/cleveland-bar.png) - -Participants were then asked, "What percentage is the smaller of the larger?". -This was repeated hundreds of time with varying data and charts. -By the end of the study, Cleveland and McGill had amassed a large dataset that looked like this: - -![cleveland table](img/cleveland-table.png) - -__Log-base-2 or "cm-error"__: The true percent is the actual percentage of the smaller to the larger, while the reported percent is what participants reported. -Cleveland and McGill recognized that their analyses would be biased if they took `abs(ReportedPercent – TruePercent)` as their score for error. -To compensate, they came up with a logarithmic scale for error with this equation: - -![cleveland equation](img/cleveland-equation.png) - -You’ll be implementing this error score as part of the lab. -(Hint: it’s not a trick question, this is just to familiarize you with the experiment protocol). -With this Cleveland-McGill error score you can better compare the performance of the charts you test to figure out which one performs the best. - -As a baseline, compare your average Error scores to the following chart, which include both Cleveland and McGill’s results as well as more recent extensions of this experiment (lower error indicates better performance, and error bars are bootstrapped 95% confidence intervals (`http://en.wikipedia.org/wiki/Confidence_interval#Meaning_and_interpretation`)): - -![cleveland results](img/cleveland-results.png) - -GitHub Details ---- - -- Fork the GitHub Repository. You now have a copy associated with your username. -- Make changes to index.html to fulfill the project requirements. -- Make sure your "master" branch matches your "gh-pages" branch. See the GitHub Guides referenced above if you need help. -- Edit this README.md with a link to your gh-pages site: e.g. http://YourUsernameGoesHere.github.io/Experiment/index.html -- Replace this file (README.md) with your writeup and Design/Technical achievements. -- To submit, make a [Pull Request](https://help.github.com/articles/using-pull-requests/) on the original repository. -- Name your submission using the following scheme: -``` -a3-FirstLastnameMember1-FirstLastnameMember2-FirstLastnameMember3-... -``` +# Assignment 3 - Replicating a Classic Experiment + +[Experiment Hosted on GitHub Pages](https://jalovering.github.io/datavis_course_a3_experiment/) + +# Experiment Description +The hypothesis being tested in this experiment was that adding categorical coloring to a bar chart would improve the accuracy of predicting bar height. Participants were asked to predict the percentage of a smaller bar to that of a larger bar in various charts. The three color palettes chosen to conduct this experiment were: + 1. Plain (no categorical varibality) + 2. Grayscale (colorless categorical variability) + 3. Colored (colored categorical variability) +Thirteen participants were presented with 20 of each type of chart, in random order. There were 260 data points collected for each chart, totalling 780 predictions. The three chart types are presented below. + +![Three Chart Types](chart_types.png) + +The first page of the experiment explained the instructions and provided relevant information to the participants. + +![Page 1](screen1.PNG) + +The second page of the experiment was where the participants would spend most of the time. This page generated random charts and collected participant predictions. + +![Page 2](screen2.PNG) + +The third and final page presented the participant with their average log2error for each type of chart as well as instructions for submitting their data. + +![Page 3](screen3.PNG) + + +# Experiment Results +In conclusion, there was no evidence to support that adding color to a bar plot would improve the accuracy of predicting bar height. While individual participants had varying averages across the different charts, the compiled averages were extremely close. The Grayscale had a mean error of 1.525, followed by 1.591 and 1.592 from the Plain and Colored charts, respectively. The variability between these results is too minor to justify concluding any chart type performed better than another. The 95% confidence intervals are displayed below. + +![Confidence Intervals](confidence_interval.png) + +# Referenced Code +- https://www.d3-graph-gallery.com/graph/barplot_basic.html + +This example was referenced for the structure of creating a barplot in d3 v4. + +# Achievements +## Design Achievements +My design achievement was making this experiment as user friendly as possible. To start, I used JavaScript Bootstrap to make the interface. Boostrap results in a clean, that most users would already be familiar with the style. Furthermore, for the colored plot, I used a colorblind friendly palette. I found the palette on a [popular website made by David Nichols](https://davidmathlogic.com/colorblind/#%23332288-%23117733-%2344AA99-%2388CCEE-%23DDCC77-%23CC6677-%23AA4499-%23882255). + +## Technical Achievements +My technical achievement was collecting user inputs as variables in order to use the data throughout the remainder of the experiment. By doing this, I was able to compile the predictions in a dictionary alongside the type of chart and true value. On the results page, I created a link for the user to press which would open their JSON results in a new tab to copy and send to me. Each dictionary could be appended to a main dictionary within my analysis notebook to allow for easy compilation of results. The final implication of this method was that I was able to provide the user with their average log2error at the end of the experiment. diff --git a/a3_results_compiled.csv b/a3_results_compiled.csv new file mode 100644 index 0000000..ebf2cf9 --- /dev/null +++ b/a3_results_compiled.csv @@ -0,0 +1,781 @@ +type,true,predicted,logError,user +Plain,94,92,0.9068905956085185,u1 +Grayscale,88,83,2.2854022188622483,u1 +Colored,43,44,0.16992500144231237,u1 +Grayscale,48,44,1.9541963103868751,u1 +Colored,93,93,0.0,u1 +Colored,13,16,1.6438561897747248,u1 +Plain,54,58,2.0443941193584534,u1 +Grayscale,39,36,1.5235619560570128,u1 +Plain,66,73,2.8328900141647417,u1 +Grayscale,0,0,0.0,u1 +Plain,15,17,1.0874628412503393,u1 +Colored,53,57,2.0443941193584534,u1 +Grayscale,0,0,0.0,u1 +Plain,63,70,2.8328900141647417,u1 +Plain,30,28,0.9068905956085185,u1 +Plain,89,81,2.9772799234999163,u1 +Colored,70,72,1.0874628412503393,u1 +Grayscale,45,47,1.0874628412503393,u1 +Plain,16,20,2.0443941193584534,u1 +Plain,80,81,0.16992500144231237,u1 +Plain,57,60,1.6438561897747248,u1 +Colored,60,64,2.0443941193584534,u1 +Colored,19,20,0.16992500144231237,u1 +Colored,14,16,1.0874628412503393,u1 +Plain,81,80,-0.19264507794239588,u1 +Grayscale,86,80,2.554588851677637,u1 +Plain,66,61,2.2854022188622483,u1 +Grayscale,66,70,2.0443941193584534,u1 +Colored,89,83,2.554588851677637,u1 +Colored,89,83,2.554588851677637,u1 +Colored,17,23,2.6147098441152083,u1 +Grayscale,95,94,-0.19264507794239588,u1 +Grayscale,48,50,1.0874628412503393,u1 +Grayscale,55,58,1.6438561897747248,u1 +Colored,8,14,2.6147098441152083,u1 +Colored,48,51,1.6438561897747248,u1 +Plain,50,51,0.16992500144231237,u1 +Plain,72,79,2.8328900141647417,u1 +Colored,11,20,3.189824558880017,u1 +Grayscale,29,27,0.9068905956085185,u1 +Plain,16,17,0.16992500144231237,u1 +Grayscale,85,88,1.6438561897747248,u1 +Colored,78,84,2.6147098441152083,u1 +Plain,31,26,2.2854022188622483,u1 +Grayscale,54,54,0.0,u1 +Plain,17,20,1.6438561897747248,u1 +Plain,92,91,-0.19264507794239588,u1 +Grayscale,60,60,0.0,u1 +Colored,92,93,0.16992500144231237,u1 +Grayscale,64,70,2.6147098441152083,u1 +Colored,41,44,1.6438561897747248,u1 +Colored,85,81,1.9541963103868751,u1 +Plain,69,73,2.0443941193584534,u1 +Grayscale,76,75,-0.19264507794239588,u1 +Colored,55,58,1.6438561897747248,u1 +Colored,5,13,3.0223678130284544,u1 +Grayscale,42,42,0.0,u1 +Grayscale,31,27,1.9541963103868751,u1 +Plain,35,36,0.16992500144231237,u1 +Grayscale,66,65,-0.19264507794239588,u1 +Grayscale,60,60,0.0,u2 +Grayscale,65,65,0.0,u2 +Colored,30,30,0.0,u2 +Colored,55,55,0.0,u2 +Plain,10,10,0.0,u2 +Plain,34,35,0.16992500144231237,u2 +Colored,22,20,0.9068905956085185,u2 +Grayscale,20,20,0.0,u2 +Colored,1,3,1.0874628412503393,u2 +Plain,26,25,-0.19264507794239588,u2 +Plain,54,55,0.16992500144231237,u2 +Colored,84,85,0.16992500144231237,u2 +Grayscale,42,48,2.6147098441152083,u2 +Grayscale,1,4,1.6438561897747248,u2 +Plain,12,20,3.0223678130284544,u2 +Colored,27,23,1.9541963103868751,u2 +Grayscale,31,34,1.6438561897747248,u2 +Grayscale,14,15,0.16992500144231237,u2 +Plain,100,100,0.0,u2 +Plain,54,60,2.6147098441152083,u2 +Grayscale,77,85,3.0223678130284544,u2 +Plain,82,85,1.6438561897747248,u2 +Grayscale,61,60,-0.19264507794239588,u2 +Colored,78,75,1.5235619560570128,u2 +Grayscale,49,50,0.16992500144231237,u2 +Grayscale,67,70,1.6438561897747248,u2 +Grayscale,85,85,0.0,u2 +Colored,35,40,2.357552004618084,u2 +Plain,10,10,0.0,u2 +Grayscale,82,85,1.6438561897747248,u2 +Grayscale,86,90,2.0443941193584534,u2 +Colored,56,55,-0.19264507794239588,u2 +Grayscale,48,50,1.0874628412503393,u2 +Plain,98,97,-0.19264507794239588,u2 +Plain,72,70,0.9068905956085185,u2 +Plain,41,47,2.6147098441152083,u2 +Grayscale,49,50,0.16992500144231237,u2 +Grayscale,4,6,1.0874628412503393,u2 +Colored,36,35,-0.19264507794239588,u2 +Grayscale,77,85,3.0223678130284544,u2 +Colored,16,18,1.0874628412503393,u2 +Plain,81,85,2.0443941193584534,u2 +Grayscale,97,48,5.611024797307352,u2 +Plain,41,45,2.0443941193584534,u2 +Plain,86,85,-0.19264507794239588,u2 +Colored,0,0,0.0,u2 +Grayscale,81,80,-0.19264507794239588,u2 +Colored,60,66,2.6147098441152083,u2 +Colored,4,6,1.0874628412503393,u2 +Colored,17,20,1.6438561897747248,u2 +Colored,14,20,2.6147098441152083,u2 +Plain,51,55,2.0443941193584534,u2 +Plain,76,85,3.189824558880017,u2 +Plain,91,96,2.357552004618084,u2 +Colored,47,55,3.0223678130284544,u2 +Colored,41,46,2.357552004618084,u2 +Colored,7,10,1.6438561897747248,u2 +Colored,47,50,1.6438561897747248,u2 +Plain,35,45,3.3398500028846247,u2 +Plain,19,25,2.6147098441152083,u2 +Grayscale,48,40,2.9772799234999163,u3 +Colored,64,80,4.011227255423254,u3 +Colored,47,60,3.7142455176661224,u3 +Grayscale,3,5,1.0874628412503393,u3 +Colored,18,20,1.0874628412503393,u3 +Plain,2,5,1.6438561897747248,u3 +Grayscale,22,20,0.9068905956085185,u3 +Grayscale,12,10,0.9068905956085185,u3 +Colored,0,0,0.0,u3 +Colored,50,50,0.0,u3 +Colored,63,65,1.0874628412503393,u3 +Grayscale,70,90,4.330916878114617,u3 +Colored,76,80,2.0443941193584534,u3 +Grayscale,47,45,0.9068905956085185,u3 +Colored,22,25,1.6438561897747248,u3 +Grayscale,96,100,2.0443941193584534,u3 +Grayscale,43,50,2.8328900141647417,u3 +Colored,79,95,4.011227255423254,u3 +Grayscale,17,20,1.6438561897747248,u3 +Grayscale,17,20,1.6438561897747248,u3 +Grayscale,27,25,0.9068905956085185,u3 +Colored,3,5,1.0874628412503393,u3 +Grayscale,39,40,0.16992500144231237,u3 +Grayscale,27,33,2.6147098441152083,u3 +Plain,75,80,2.357552004618084,u3 +Plain,19,25,2.6147098441152083,u3 +Plain,4,10,2.6147098441152083,u3 +Colored,6,10,2.0443941193584534,u3 +Grayscale,17,25,3.0223678130284544,u3 +Grayscale,50,50,0.0,u3 +Plain,16,25,3.189824558880017,u3 +Plain,60,70,3.3398500028846247,u3 +Plain,27,25,0.9068905956085185,u3 +Plain,54,60,2.6147098441152083,u3 +Plain,23,25,1.0874628412503393,u3 +Grayscale,58,60,1.0874628412503393,u3 +Plain,68,70,1.0874628412503393,u3 +Plain,72,70,0.9068905956085185,u3 +Plain,70,80,3.3398500028846247,u3 +Grayscale,6,10,2.0443941193584534,u3 +Plain,64,80,4.011227255423254,u3 +Colored,3,10,2.8328900141647417,u3 +Colored,49,60,3.4757334309663976,u3 +Grayscale,65,80,3.9188632372745946,u3 +Colored,27,30,1.6438561897747248,u3 +Colored,71,80,3.189824558880017,u3 +Plain,55,80,4.651051691178929,u3 +Grayscale,5,10,2.357552004618084,u3 +Grayscale,80,90,3.3398500028846247,u3 +Plain,0,0,0.0,u3 +Plain,24,25,0.16992500144231237,u3 +Colored,19,20,0.16992500144231237,u3 +Colored,87,90,1.6438561897747248,u3 +Plain,86,85,-0.19264507794239588,u3 +Plain,64,75,3.4757334309663976,u3 +Colored,96,100,2.0443941193584534,u3 +Plain,33,33,0.0,u3 +Colored,52,60,3.0223678130284544,u3 +Plain,5,10,2.357552004618084,u3 +Colored,1,5,2.0443941193584534,u3 +Colored,18,20,1.0874628412503393,u4 +Colored,94,95,0.16992500144231237,u4 +Plain,69,70,0.16992500144231237,u4 +Plain,69,75,2.6147098441152083,u4 +Colored,23,20,1.5235619560570128,u4 +Grayscale,59,65,2.6147098441152083,u4 +Grayscale,74,90,4.011227255423254,u4 +Plain,77,85,3.0223678130284544,u4 +Plain,68,70,1.0874628412503393,u4 +Colored,34,33,-0.19264507794239588,u4 +Grayscale,75,70,2.2854022188622483,u4 +Grayscale,81,90,3.189824558880017,u4 +Grayscale,88,95,2.8328900141647417,u4 +Plain,17,10,2.7813597135246595,u4 +Plain,47,40,2.7813597135246595,u4 +Grayscale,85,98,3.7142455176661224,u4 +Plain,38,35,1.5235619560570128,u4 +Plain,19,15,1.9541963103868751,u4 +Colored,70,80,3.3398500028846247,u4 +Grayscale,44,40,1.9541963103868751,u4 +Plain,64,65,0.16992500144231237,u4 +Plain,30,25,2.2854022188622483,u4 +Plain,2,2,0.0,u4 +Colored,23,20,1.5235619560570128,u4 +Colored,7,10,1.6438561897747246,u4 +Colored,79,90,3.4757334309663976,u4 +Grayscale,14,15,0.16992500144231237,u4 +Colored,12,15,1.6438561897747246,u4 +Colored,12,10,0.9068905956085185,u4 +Colored,53,70,4.098032082960526,u4 +Colored,53,60,2.8328900141647417,u4 +Grayscale,74,80,2.6147098441152083,u4 +Colored,48,80,5.005624549193878,u4 +Colored,94,95,0.16992500144231237,u4 +Colored,21,20,-0.19264507794239588,u4 +Grayscale,100,100,0.0,u4 +Colored,59,70,3.4757334309663976,u4 +Colored,42,50,3.0223678130284544,u4 +Plain,76,80,2.0443941193584534,u4 +Grayscale,94,98,2.0443941193584534,u4 +Colored,26,15,3.4429434958487284,u4 +Colored,9,15,2.6147098441152083,u4 +Plain,23,25,1.0874628412503393,u4 +Colored,12,10,0.9068905956085185,u4 +Grayscale,26,25,-0.19264507794239588,u4 +Grayscale,57,66,3.189824558880017,u4 +Plain,50,50,0.0,u4 +Grayscale,32,40,3.0223678130284544,u4 +Grayscale,48,50,1.0874628412503393,u4 +Grayscale,95,95,0.0,u4 +Grayscale,29,33,2.0443941193584534,u4 +Plain,81,80,-0.19264507794239588,u4 +Grayscale,26,33,2.8328900141647417,u4 +Plain,36,40,2.0443941193584534,u4 +Plain,33,33,0.0,u4 +Plain,1,2,0.16992500144231237,u4 +Grayscale,2,4,1.0874628412503393,u4 +Plain,22,15,2.7813597135246595,u4 +Grayscale,66,70,2.0443941193584534,u4 +Plain,15,10,2.2854022188622483,u4 +Grayscale,16,15,-0.19264507794239588,u5 +Plain,90,95,2.357552004618084,u5 +Colored,98,99,0.16992500144231237,u5 +Plain,65,75,3.3398500028846247,u5 +Grayscale,90,90,0.0,u5 +Colored,80,85,2.357552004618084,u5 +Plain,80,85,2.357552004618084,u5 +Grayscale,47,50,1.6438561897747248,u5 +Colored,21,25,2.0443941193584534,u5 +Grayscale,62,66,2.0443941193584534,u5 +Plain,56,55,-0.19264507794239588,u5 +Plain,46,50,2.0443941193584534,u5 +Colored,53,50,1.5235619560570128,u5 +Plain,64,60,1.9541963103868751,u5 +Plain,64,75,3.4757334309663976,u5 +Plain,45,50,2.357552004618084,u5 +Grayscale,14,15,0.16992500144231237,u5 +Colored,38,45,2.8328900141647417,u5 +Colored,65,70,2.357552004618084,u5 +Grayscale,94,95,0.16992500144231237,u5 +Plain,51,55,2.0443941193584534,u5 +Colored,39,45,2.6147098441152083,u5 +Plain,37,50,3.7142455176661224,u5 +Grayscale,47,50,1.6438561897747248,u5 +Plain,24,20,1.9541963103868751,u5 +Plain,34,40,2.6147098441152083,u5 +Colored,46,50,2.0443941193584534,u5 +Colored,5,5,0.0,u5 +Grayscale,22,20,0.9068905956085185,u5 +Grayscale,82,85,1.6438561897747248,u5 +Plain,3,5,1.0874628412503393,u5 +Plain,12,10,0.9068905956085185,u5 +Grayscale,66,70,2.0443941193584534,u5 +Grayscale,100,100,0.0,u5 +Plain,29,33,2.0443941193584534,u5 +Plain,3,5,1.0874628412503393,u5 +Colored,4,5,0.16992500144231237,u5 +Colored,90,97,2.8328900141647417,u5 +Grayscale,77,85,3.0223678130284544,u5 +Colored,70,75,2.357552004618084,u5 +Colored,10,30,4.330916878114617,u5 +Plain,28,33,2.357552004618084,u5 +Grayscale,84,85,0.16992500144231237,u5 +Colored,12,20,3.0223678130284544,u5 +Colored,100,100,0.0,u5 +Colored,36,40,2.0443941193584534,u5 +Colored,0,0,0.0,u5 +Grayscale,60,55,2.2854022188622483,u5 +Colored,85,85,0.0,u5 +Grayscale,83,85,1.0874628412503393,u5 +Plain,35,35,0.0,u5 +Grayscale,25,33,3.0223678130284544,u5 +Grayscale,54,55,0.16992500144231237,u5 +Colored,50,50,0.0,u5 +Grayscale,78,75,1.5235619560570128,u5 +Plain,24,25,0.16992500144231237,u5 +Grayscale,22,25,1.6438561897747248,u5 +Colored,68,75,2.8328900141647417,u5 +Grayscale,27,35,3.0223678130284544,u5 +Plain,10,10,0.0,u5 +Colored,11,11,0.0,u6 +Plain,33,35,1.0874628412503393,u6 +Grayscale,46,45,-0.19264507794239588,u6 +Colored,9,10,0.16992500144231237,u6 +Grayscale,26,23,1.5235619560570128,u6 +Plain,58,60,1.0874628412503393,u6 +Plain,74,70,1.9541963103868751,u6 +Grayscale,95,94,-0.19264507794239588,u6 +Colored,38,43,2.357552004618084,u6 +Grayscale,25,25,0.0,u6 +Colored,44,48,2.0443941193584534,u6 +Grayscale,51,50,-0.19264507794239588,u6 +Grayscale,75,80,2.357552004618084,u6 +Plain,22,25,1.6438561897747248,u6 +Plain,3,2,-0.19264507794239588,u6 +Plain,20,25,2.357552004618084,u6 +Grayscale,43,45,1.0874628412503393,u6 +Grayscale,0,0,0.0,u6 +Grayscale,4,5,0.16992500144231237,u6 +Grayscale,40,43,1.6438561897747248,u6 +Plain,44,44,0.0,u6 +Grayscale,60,70,3.3398500028846247,u6 +Colored,96,95,-0.19264507794239588,u6 +Grayscale,69,76,2.8328900141647417,u6 +Grayscale,17,32,3.9188632372745946,u6 +Plain,54,57,1.6438561897747248,u6 +Colored,72,84,3.599912842187128,u6 +Colored,76,89,3.7142455176661224,u6 +Grayscale,31,25,2.554588851677637,u6 +Plain,91,92,0.16992500144231237,u6 +Plain,36,39,1.6438561897747248,u6 +Grayscale,14,13,-0.19264507794239588,u6 +Grayscale,19,28,3.189824558880017,u6 +Grayscale,29,35,2.6147098441152083,u6 +Plain,27,35,3.0223678130284544,u6 +Colored,86,85,-0.19264507794239588,u6 +Colored,33,42,3.189824558880017,u6 +Grayscale,89,87,0.9068905956085185,u6 +Colored,50,50,0.0,u6 +Colored,93,92,-0.19264507794239588,u6 +Colored,82,80,0.9068905956085185,u6 +Plain,45,47,1.0874628412503393,u6 +Grayscale,75,86,3.4757334309663976,u6 +Grayscale,61,64,1.6438561897747248,u6 +Colored,49,52,1.6438561897747248,u6 +Plain,52,58,2.6147098441152083,u6 +Plain,67,63,1.9541963103868751,u6 +Colored,97,96,-0.19264507794239588,u6 +Plain,65,74,3.189824558880017,u6 +Colored,48,49,0.16992500144231237,u6 +Colored,34,30,1.9541963103868751,u6 +Plain,80,86,2.6147098441152083,u6 +Plain,52,50,0.9068905956085185,u6 +Colored,72,67,2.2854022188622483,u6 +Colored,52,58,2.6147098441152083,u6 +Plain,37,39,1.0874628412503393,u6 +Plain,97,95,0.9068905956085185,u6 +Plain,22,23,0.16992500144231237,u6 +Colored,52,54,1.0874628412503393,u6 +Colored,28,25,1.5235619560570128,u6 +Grayscale,44,55,3.4757334309663976,u7 +Plain,30,33,1.6438561897747248,u7 +Grayscale,85,85,0.0,u7 +Colored,66,65,-0.19264507794239588,u7 +Colored,64,70,2.6147098441152083,u7 +Plain,86,90,2.0443941193584534,u7 +Grayscale,51,50,-0.19264507794239588,u7 +Plain,95,97,1.0874628412503393,u7 +Colored,36,35,-0.19264507794239588,u7 +Grayscale,25,20,2.2854022188622483,u7 +Grayscale,14,15,0.16992500144231237,u7 +Plain,68,75,2.8328900141647417,u7 +Grayscale,55,50,2.2854022188622483,u7 +Colored,15,15,0.0,u7 +Colored,99,99,0.0,u7 +Grayscale,6,8,1.0874628412503393,u7 +Colored,84,85,0.16992500144231237,u7 +Colored,26,25,-0.19264507794239588,u7 +Plain,36,33,1.5235619560570128,u7 +Grayscale,99,99,0.0,u7 +Plain,1,5,2.0443941193584534,u7 +Grayscale,27,33,2.6147098441152083,u7 +Colored,40,40,0.0,u7 +Colored,97,95,0.9068905956085185,u7 +Plain,55,55,0.0,u7 +Plain,63,65,1.0874628412503393,u7 +Colored,0,0,0.0,u7 +Grayscale,74,75,0.16992500144231237,u7 +Plain,73,65,2.9772799234999163,u7 +Colored,41,40,-0.19264507794239588,u7 +Colored,98,97,-0.19264507794239588,u7 +Grayscale,46,48,1.0874628412503393,u7 +Colored,58,55,1.5235619560570128,u7 +Grayscale,4,7,1.6438561897747248,u7 +Grayscale,9,15,2.6147098441152083,u7 +Plain,82,85,1.6438561897747248,u7 +Colored,35,35,0.0,u7 +Grayscale,88,85,1.5235619560570128,u7 +Colored,14,15,0.16992500144231237,u7 +Colored,18,20,1.0874628412503393,u7 +Plain,99,98,-0.19264507794239588,u7 +Plain,68,70,1.0874628412503393,u7 +Plain,11,15,2.0443941193584534,u7 +Plain,25,25,0.0,u7 +Plain,91,95,2.0443941193584534,u7 +Plain,95,95,0.0,u7 +Colored,51,48,1.5235619560570128,u7 +Grayscale,58,60,1.0874628412503393,u7 +Grayscale,20,20,0.0,u7 +Colored,92,95,1.6438561897747248,u7 +Plain,53,55,1.0874628412503393,u7 +Grayscale,37,33,1.9541963103868751,u7 +Grayscale,14,15,0.16992500144231237,u7 +Plain,13,15,1.0874628412503393,u7 +Plain,61,65,2.0443941193584534,u7 +Colored,68,75,2.8328900141647417,u7 +Colored,59,66,2.8328900141647417,u7 +Grayscale,74,75,0.16992500144231237,u7 +Plain,74,75,0.16992500144231237,u7 +Grayscale,87,90,1.6438561897747248,u7 +Grayscale,38,42,2.0443941193584534,u8 +Grayscale,71,78,2.8328900141647417,u8 +Grayscale,15,13,0.9068905956085185,u8 +Grayscale,67,63,1.9541963103868751,u8 +Plain,52,57,2.357552004618084,u8 +Plain,96,94,0.9068905956085185,u8 +Grayscale,100,99,-0.19264507794239588,u8 +Plain,11,12,0.16992500144231237,u8 +Colored,6,6,0.0,u8 +Plain,87,89,1.0874628412503393,u8 +Plain,25,39,3.820178962415188,u8 +Plain,95,97,1.0874628412503393,u8 +Plain,58,74,4.011227255423254,u8 +Grayscale,6,10,2.0443941193584534,u8 +Plain,71,66,2.2854022188622483,u8 +Colored,40,36,1.9541963103868751,u8 +Plain,58,58,0.0,u8 +Grayscale,92,94,1.0874628412503393,u8 +Colored,37,42,2.357552004618084,u8 +Colored,70,78,3.0223678130284544,u8 +Grayscale,82,84,1.0874628412503393,u8 +Plain,17,20,1.6438561897747248,u8 +Grayscale,6,4,0.9068905956085185,u8 +Colored,44,46,1.0874628412503393,u8 +Plain,100,100,0.0,u8 +Grayscale,89,89,0.0,u8 +Plain,18,18,0.0,u8 +Colored,98,98,0.0,u8 +Colored,52,61,3.189824558880017,u8 +Plain,13,18,2.357552004618084,u8 +Plain,96,96,0.0,u8 +Grayscale,16,20,2.0443941193584534,u8 +Colored,7,9,1.0874628412503393,u8 +Plain,9,8,-0.19264507794239588,u8 +Plain,94,94,0.0,u8 +Colored,22,24,1.0874628412503393,u8 +Plain,95,95,0.0,u8 +Grayscale,0,0,0.0,u8 +Colored,20,33,3.7142455176661224,u8 +Grayscale,67,69,1.0874628412503393,u8 +Grayscale,29,30,0.16992500144231237,u8 +Grayscale,21,23,1.0874628412503393,u8 +Plain,65,73,3.0223678130284544,u8 +Plain,45,46,0.16992500144231237,u8 +Grayscale,62,72,3.3398500028846247,u8 +Plain,86,88,1.0874628412503393,u8 +Grayscale,26,36,3.3398500028846247,u8 +Colored,53,55,1.0874628412503393,u8 +Colored,53,64,3.4757334309663976,u8 +Colored,43,47,2.0443941193584534,u8 +Grayscale,47,49,1.0874628412503393,u8 +Colored,43,46,1.6438561897747248,u8 +Colored,59,61,1.0874628412503393,u8 +Grayscale,34,37,1.6438561897747248,u8 +Grayscale,24,25,0.16992500144231237,u8 +Colored,31,34,1.6438561897747248,u8 +Colored,72,79,2.8328900141647417,u8 +Colored,1,3,1.0874628412503393,u8 +Colored,20,25,2.357552004618084,u8 +Colored,78,78,0.0,u8 +Grayscale,70,70,0.0,u9 +Plain,86,85,-0.19264507794239588,u9 +Colored,100,100,0.0,u9 +Plain,6,10,2.0443941193584534,u9 +Grayscale,39,40,0.16992500144231237,u9 +Colored,14,15,0.16992500144231237,u9 +Colored,77,80,1.6438561897747248,u9 +Colored,18,20,1.0874628412503393,u9 +Grayscale,22,25,1.6438561897747248,u9 +Plain,49,55,2.6147098441152083,u9 +Colored,82,85,1.6438561897747248,u9 +Grayscale,71,75,2.0443941193584534,u9 +Plain,56,60,2.0443941193584534,u9 +Plain,54,60,2.6147098441152083,u9 +Colored,59,60,0.16992500144231237,u9 +Colored,3,7,2.0443941193584534,u9 +Grayscale,97,95,0.9068905956085185,u9 +Grayscale,4,7,1.6438561897747248,u9 +Plain,7,10,1.6438561897747248,u9 +Colored,13,15,1.0874628412503393,u9 +Plain,21,20,-0.19264507794239588,u9 +Grayscale,59,65,2.6147098441152083,u9 +Grayscale,64,66,1.0874628412503393,u9 +Colored,20,20,0.0,u9 +Grayscale,7,10,1.6438561897747248,u9 +Plain,20,20,0.0,u9 +Grayscale,95,92,1.5235619560570128,u9 +Grayscale,67,70,1.6438561897747248,u9 +Colored,70,75,2.357552004618084,u9 +Plain,60,66,2.6147098441152083,u9 +Grayscale,79,85,2.6147098441152083,u9 +Grayscale,70,75,2.357552004618084,u9 +Plain,17,20,1.6438561897747248,u9 +Colored,43,50,2.8328900141647417,u9 +Grayscale,50,60,3.3398500028846247,u9 +Plain,55,66,3.4757334309663976,u9 +Plain,92,92,0.0,u9 +Grayscale,0,0,0.0,u9 +Grayscale,34,40,2.6147098441152083,u9 +Colored,16,0,3.988684686772166,u9 +Plain,25,30,2.357552004618084,u9 +Colored,94,92,0.9068905956085185,u9 +Colored,54,60,2.6147098441152083,u9 +Colored,65,65,0.0,u9 +Grayscale,41,40,-0.19264507794239588,u9 +Colored,60,60,0.0,u9 +Grayscale,80,80,0.0,u9 +Plain,14,15,0.16992500144231237,u9 +Grayscale,8,15,2.8328900141647417,u9 +Grayscale,27,33,2.6147098441152083,u9 +Colored,63,66,1.6438561897747248,u9 +Colored,15,15,0.0,u9 +Plain,18,20,1.0874628412503393,u9 +Plain,33,33,0.0,u9 +Colored,65,66,0.16992500144231237,u9 +Colored,44,50,2.6147098441152083,u9 +Plain,10,10,0.0,u9 +Plain,60,66,2.6147098441152083,u9 +Plain,100,100,0.0,u9 +Plain,82,85,1.6438561897747248,u9 +Colored,86,84,0.9068905956085185,u10 +Grayscale,91,87,1.9541963103868751,u10 +Colored,13,21,3.0223678130284544,u10 +Colored,77,76,-0.19264507794239588,u10 +Colored,0,5,2.357552004618084,u10 +Colored,86,90,2.0443941193584534,u10 +Plain,36,33,1.5235619560570128,u10 +Grayscale,33,29,1.9541963103868751,u10 +Grayscale,27,28,0.16992500144231237,u10 +Colored,68,68,0.0,u10 +Colored,78,87,3.189824558880017,u10 +Colored,68,78,3.3398500028846247,u10 +Plain,10,19,3.189824558880017,u10 +Grayscale,12,22,3.3398500028846247,u10 +Grayscale,73,74,0.16992500144231237,u10 +Colored,35,38,1.6438561897747248,u10 +Plain,3,11,3.0223678130284544,u10 +Plain,29,34,2.357552004618084,u10 +Colored,50,48,0.9068905956085185,u10 +Colored,74,72,0.9068905956085185,u10 +Colored,90,93,1.6438561897747248,u10 +Plain,96,98,1.0874628412503393,u10 +Plain,93,99,2.6147098441152083,u10 +Plain,48,53,2.357552004618084,u10 +Plain,18,23,2.357552004618084,u10 +Colored,83,82,-0.19264507794239588,u10 +Grayscale,100,98,0.9068905956085185,u10 +Grayscale,63,69,2.6147098441152083,u10 +Colored,55,54,-0.19264507794239588,u10 +Colored,1,5,2.0443941193584534,u10 +Grayscale,50,53,1.6438561897747248,u10 +Colored,24,36,3.599912842187128,u10 +Plain,17,22,2.357552004618084,u10 +Plain,7,11,2.0443941193584534,u10 +Colored,66,65,-0.19264507794239588,u10 +Colored,10,16,2.6147098441152083,u10 +Grayscale,62,66,2.0443941193584534,u10 +Plain,76,77,0.16992500144231237,u10 +Colored,39,29,3.303780748177103,u10 +Colored,56,53,1.5235619560570128,u10 +Grayscale,51,51,0.0,u10 +Grayscale,22,24,1.0874628412503393,u10 +Grayscale,30,35,2.357552004618084,u10 +Grayscale,58,61,1.6438561897747248,u10 +Plain,44,49,2.357552004618084,u10 +Grayscale,70,73,1.6438561897747248,u10 +Grayscale,33,32,-0.19264507794239588,u10 +Plain,44,48,2.0443941193584534,u10 +Grayscale,76,83,2.8328900141647417,u10 +Grayscale,100,99,-0.19264507794239588,u10 +Plain,17,21,2.0443941193584534,u10 +Grayscale,46,52,2.6147098441152083,u10 +Grayscale,39,43,2.0443941193584534,u10 +Grayscale,19,24,2.357552004618084,u10 +Plain,59,63,2.0443941193584534,u10 +Plain,43,50,2.8328900141647417,u10 +Plain,1,3,1.0874628412503393,u10 +Plain,41,47,2.6147098441152083,u10 +Plain,31,35,2.0443941193584534,u10 +Plain,12,23,3.4757334309663976,u10 +Grayscale,17,20,1.6438561897747248,u11 +Plain,38,33,2.2854022188622483,u11 +Plain,88,90,1.0874628412503393,u11 +Plain,96,96,0.0,u11 +Plain,84,93,3.189824558880017,u11 +Plain,70,83,3.7142455176661224,u11 +Plain,29,30,0.16992500144231237,u11 +Plain,88,93,2.357552004618084,u11 +Plain,67,70,1.6438561897747248,u11 +Plain,21,18,1.5235619560570128,u11 +Grayscale,74,80,2.6147098441152083,u11 +Grayscale,16,15,-0.19264507794239588,u11 +Plain,26,26,0.0,u11 +Grayscale,93,95,1.0874628412503393,u11 +Colored,78,90,3.599912842187128,u11 +Grayscale,35,40,2.357552004618084,u11 +Plain,60,70,3.3398500028846247,u11 +Plain,37,42,2.357552004618084,u11 +Colored,58,60,1.0874628412503393,u11 +Colored,13,23,3.3398500028846247,u11 +Plain,39,43,2.0443941193584534,u11 +Grayscale,43,48,2.357552004618084,u11 +Colored,8,13,2.357552004618084,u11 +Plain,19,23,2.0443941193584534,u11 +Colored,27,31,2.0443941193584534,u11 +Grayscale,13,18,2.357552004618084,u11 +Colored,87,89,1.0874628412503393,u11 +Plain,23,25,1.0874628412503393,u11 +Grayscale,36,33,1.5235619560570128,u11 +Grayscale,61,58,1.5235619560570128,u11 +Plain,33,45,3.599912842187128,u11 +Colored,0,0,0.0,u11 +Colored,0,0,0.0,u11 +Grayscale,71,70,-0.19264507794239588,u11 +Plain,71,68,1.5235619560570128,u11 +Plain,27,33,2.6147098441152083,u11 +Plain,33,31,0.9068905956085185,u11 +Colored,0,0,0.0,u11 +Colored,0,0,0.0,u11 +Grayscale,67,80,3.7142455176661224,u11 +Colored,44,40,1.9541963103868751,u11 +Colored,21,20,-0.19264507794239588,u11 +Plain,20,22,1.0874628412503393,u11 +Colored,90,93,1.6438561897747248,u11 +Grayscale,36,43,2.8328900141647417,u11 +Grayscale,11,12,0.16992500144231237,u11 +Grayscale,86,89,1.6438561897747248,u11 +Grayscale,67,75,3.0223678130284544,u11 +Colored,63,64,0.16992500144231237,u11 +Colored,78,85,2.8328900141647417,u11 +Colored,46,66,4.330916878114617,u11 +Colored,66,75,3.189824558880017,u11 +Colored,22,18,1.9541963103868751,u11 +Colored,52,66,3.820178962415188,u11 +Grayscale,52,58,2.6147098441152083,u11 +Grayscale,99,98,-0.19264507794239588,u11 +Grayscale,0,0,0.0,u11 +Grayscale,75,86,3.4757334309663976,u11 +Grayscale,20,25,2.357552004618084,u11 +Colored,18,20,1.0874628412503393,u11 +Colored,93,92,-0.19264507794239588,u12 +Plain,60,65,2.357552004618084,u12 +Plain,3,5,1.0874628412503393,u12 +Colored,60,60,0.0,u12 +Grayscale,29,30,0.16992500144231237,u12 +Plain,8,10,1.0874628412503393,u12 +Grayscale,55,60,2.357552004618084,u12 +Grayscale,98,99,0.16992500144231237,u12 +Colored,54,60,2.6147098441152083,u12 +Plain,28,30,1.0874628412503393,u12 +Colored,91,90,-0.19264507794239588,u12 +Colored,60,70,3.3398500028846247,u12 +Colored,15,20,2.357552004618084,u12 +Plain,44,50,2.6147098441152083,u12 +Colored,67,70,1.6438561897747248,u12 +Grayscale,73,80,2.8328900141647417,u12 +Grayscale,45,50,2.357552004618084,u12 +Colored,56,40,3.988684686772166,u12 +Grayscale,47,60,3.7142455176661224,u12 +Grayscale,32,30,0.9068905956085185,u12 +Grayscale,43,30,3.6865005271832185,u12 +Colored,81,80,-0.19264507794239588,u12 +Colored,19,20,0.16992500144231237,u12 +Grayscale,71,80,3.189824558880017,u12 +Plain,50,50,0.0,u12 +Colored,63,70,2.8328900141647417,u12 +Grayscale,25,30,2.357552004618084,u12 +Colored,55,60,2.357552004618084,u12 +Plain,84,80,1.9541963103868751,u12 +Plain,99,96,1.5235619560570128,u12 +Colored,67,75,3.0223678130284544,u12 +Plain,84,80,1.9541963103868751,u12 +Grayscale,6,10,2.0443941193584534,u12 +Grayscale,88,90,1.0874628412503393,u12 +Grayscale,64,75,3.4757334309663976,u12 +Grayscale,81,80,-0.19264507794239588,u12 +Grayscale,18,30,3.599912842187128,u12 +Colored,91,90,-0.19264507794239588,u12 +Colored,51,70,4.257387842692652,u12 +Colored,10,15,2.357552004618084,u12 +Plain,91,90,-0.19264507794239588,u12 +Plain,94,99,2.357552004618084,u12 +Colored,33,30,1.5235619560570128,u12 +Grayscale,52,60,3.0223678130284544,u12 +Colored,52,60,3.0223678130284544,u12 +Colored,94,90,1.9541963103868751,u12 +Grayscale,54,60,2.6147098441152083,u12 +Colored,20,30,3.3398500028846247,u12 +Plain,4,10,2.6147098441152083,u12 +Plain,75,80,2.357552004618084,u12 +Plain,33,40,2.8328900141647417,u12 +Grayscale,31,30,-0.19264507794239588,u12 +Plain,64,60,1.9541963103868751,u12 +Grayscale,30,30,0.0,u12 +Plain,61,60,-0.19264507794239588,u12 +Grayscale,80,80,0.0,u12 +Plain,58,60,1.0874628412503393,u12 +Plain,46,60,3.820178962415188,u12 +Plain,99,95,1.9541963103868751,u12 +Plain,15,20,2.357552004618084,u12 +Grayscale,32,30,0.9068905956085185,u13 +Colored,9,10,0.16992500144231237,u13 +Plain,38,40,1.0874628412503393,u13 +Colored,98,48,5.640244936222346,u13 +Grayscale,84,43,5.353146825498083,u13 +Grayscale,55,60,2.357552004618084,u13 +Colored,22,24,1.0874628412503393,u13 +Grayscale,90,93,1.6438561897747248,u13 +Plain,95,95,0.0,u13 +Grayscale,35,35,0.0,u13 +Grayscale,36,35,-0.19264507794239588,u13 +Plain,11,10,-0.19264507794239588,u13 +Plain,71,65,2.554588851677637,u13 +Colored,98,95,1.5235619560570128,u13 +Grayscale,32,35,1.6438561897747248,u13 +Colored,87,85,0.9068905956085185,u13 +Colored,33,27,2.554588851677637,u13 +Colored,21,20,-0.19264507794239588,u13 +Grayscale,49,50,0.16992500144231237,u13 +Grayscale,24,28,2.0443941193584534,u13 +Grayscale,22,22,0.0,u13 +Grayscale,6,15,3.189824558880017,u13 +Colored,34,33,-0.19264507794239588,u13 +Grayscale,30,33,1.6438561897747248,u13 +Grayscale,56,60,2.0443941193584534,u13 +Colored,38,40,1.0874628412503393,u13 +Plain,38,45,2.8328900141647417,u13 +Plain,49,50,0.16992500144231237,u13 +Grayscale,36,40,2.0443941193584534,u13 +Plain,42,48,2.6147098441152083,u13 +Colored,22,20,0.9068905956085185,u13 +Plain,88,90,1.0874628412503393,u13 +Grayscale,0,0,0.0,u13 +Colored,32,22,3.303780748177103,u13 +Colored,83,90,2.8328900141647417,u13 +Grayscale,48,50,1.0874628412503393,u13 +Grayscale,28,30,1.0874628412503393,u13 +Colored,29,27,0.9068905956085185,u13 +Plain,9,10,0.16992500144231237,u13 +Plain,92,90,0.9068905956085185,u13 +Colored,26,30,2.0443941193584534,u13 +Grayscale,50,50,0.0,u13 +Plain,76,80,2.0443941193584534,u13 +Colored,47,50,1.6438561897747248,u13 +Grayscale,30,30,0.0,u13 +Plain,33,30,1.5235619560570128,u13 +Colored,70,70,0.0,u13 +Grayscale,33,70,5.2143191208007655,u13 +Colored,55,30,4.636624620543649,u13 +Plain,16,18,1.0874628412503393,u13 +Plain,4,5,0.16992500144231237,u13 +Colored,57,60,1.6438561897747248,u13 +Plain,24,20,1.9541963103868751,u13 +Plain,46,50,2.0443941193584534,u13 +Colored,34,40,2.6147098441152083,u13 +Colored,63,65,1.0874628412503393,u13 +Plain,77,80,1.6438561897747248,u13 +Plain,97,100,1.6438561897747248,u13 +Plain,54,60,2.6147098441152083,u13 +Plain,82,0,6.355351096424813,u13 diff --git a/analysis.ipynb b/analysis.ipynb new file mode 100644 index 0000000..b25b4f1 --- /dev/null +++ b/analysis.ipynb @@ -0,0 +1,170 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 37, + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd\n", + "import math\n", + "import numpy as np\n", + "import matplotlib.pyplot as plt\n", + "import seaborn as sns\n", + "import statistics" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Import Data" + ] + }, + { + "cell_type": "code", + "execution_count": 38, + "metadata": {}, + "outputs": [], + "source": [ + "# pasted data received via email\n", + "users = {\"u1\": {1:[0,94,92,0.9068905956085185],2:[1,88,83,2.2854022188622483],3:[2,43,44,0.16992500144231237],4:[1,48,44,1.9541963103868751],5:[2,93,93,0],6:[2,13,16,1.6438561897747248],7:[0,54,58,2.0443941193584534],8:[1,39,36,1.5235619560570128],9:[0,66,73,2.8328900141647417],10:[1,0,0,0],11:[0,15,17,1.0874628412503393],12:[2,53,57,2.0443941193584534],13:[1,0,0,0],14:[0,63,70,2.8328900141647417],15:[0,30,28,0.9068905956085185],16:[0,89,81,2.9772799234999163],17:[2,70,72,1.0874628412503393],18:[1,45,47,1.0874628412503393],19:[0,16,20,2.0443941193584534],20:[0,80,81,0.16992500144231237],21:[0,57,60,1.6438561897747248],22:[2,60,64,2.0443941193584534],23:[2,19,20,0.16992500144231237],24:[2,14,16,1.0874628412503393],25:[0,81,80,-0.19264507794239588],26:[1,86,80,2.554588851677637],27:[0,66,61,2.2854022188622483],28:[1,66,70,2.0443941193584534],29:[2,89,83,2.554588851677637],30:[2,89,83,2.554588851677637],31:[2,17,23,2.6147098441152083],32:[1,95,94,-0.19264507794239588],33:[1,48,50,1.0874628412503393],34:[1,55,58,1.6438561897747248],35:[2,8,14,2.6147098441152083],36:[2,48,51,1.6438561897747248],37:[0,50,51,0.16992500144231237],38:[0,72,79,2.8328900141647417],39:[2,11,20,3.189824558880017],40:[1,29,27,0.9068905956085185],41:[0,16,17,0.16992500144231237],42:[1,85,88,1.6438561897747248],43:[2,78,84,2.6147098441152083],44:[0,31,26,2.2854022188622483],45:[1,54,54,0],46:[0,17,20,1.6438561897747248],47:[0,92,91,-0.19264507794239588],48:[1,60,60,0],49:[2,92,93,0.16992500144231237],50:[1,64,70,2.6147098441152083],51:[2,41,44,1.6438561897747248],52:[2,85,81,1.9541963103868751],53:[0,69,73,2.0443941193584534],54:[1,76,75,-0.19264507794239588],55:[2,55,58,1.6438561897747248],56:[2,5,13,3.0223678130284544],57:[1,42,42,0],58:[1,31,27,1.9541963103868751],59:[0,35,36,0.16992500144231237],60:[1,66,65,-0.19264507794239588]},\n", + " \"u2\": {1:[1,60,60,0],2:[1,65,65,0],3:[2,30,30,0],4:[2,55,55,0],5:[0,10,10,0],6:[0,34,35,0.16992500144231237],7:[2,22,20,0.9068905956085185],8:[1,20,20,0],9:[2,1,3,1.0874628412503393],10:[0,26,25,-0.19264507794239588],11:[0,54,55,0.16992500144231237],12:[2,84,85,0.16992500144231237],13:[1,42,48,2.6147098441152083],14:[1,1,4,1.6438561897747248],15:[0,12,20,3.0223678130284544],16:[2,27,23,1.9541963103868751],17:[1,31,34,1.6438561897747248],18:[1,14,15,0.16992500144231237],19:[0,100,100,0],20:[0,54,60,2.6147098441152083],21:[1,77,85,3.0223678130284544],22:[0,82,85,1.6438561897747248],23:[1,61,60,-0.19264507794239588],24:[2,78,75,1.5235619560570128],25:[1,49,50,0.16992500144231237],26:[1,67,70,1.6438561897747248],27:[1,85,85,0],28:[2,35,40,2.357552004618084],29:[0,10,10,0],30:[1,82,85,1.6438561897747248],31:[1,86,90,2.0443941193584534],32:[2,56,55,-0.19264507794239588],33:[1,48,50,1.0874628412503393],34:[0,98,97,-0.19264507794239588],35:[0,72,70,0.9068905956085185],36:[0,41,47,2.6147098441152083],37:[1,49,50,0.16992500144231237],38:[1,4,6,1.0874628412503393],39:[2,36,35,-0.19264507794239588],40:[1,77,85,3.0223678130284544],41:[2,16,18,1.0874628412503393],42:[0,81,85,2.0443941193584534],43:[1,97,48,5.611024797307352],44:[0,41,45,2.0443941193584534],45:[0,86,85,-0.19264507794239588],46:[2,0,0,0],47:[1,81,80,-0.19264507794239588],48:[2,60,66,2.6147098441152083],49:[2,4,6,1.0874628412503393],50:[2,17,20,1.6438561897747248],51:[2,14,20,2.6147098441152083],52:[0,51,55,2.0443941193584534],53:[0,76,85,3.189824558880017],54:[0,91,96,2.357552004618084],55:[2,47,55,3.0223678130284544],56:[2,41,46,2.357552004618084],57:[2,7,10,1.6438561897747248],58:[2,47,50,1.6438561897747248],59:[0,35,45,3.3398500028846247],60:[0,19,25,2.6147098441152083]},\n", + " \"u3\": {1:[1,48,40,2.9772799234999163],2:[2,64,80,4.011227255423254],3:[2,47,60,3.7142455176661224],4:[1,3,5,1.0874628412503393],5:[2,18,20,1.0874628412503393],6:[0,2,5,1.6438561897747248],7:[1,22,20,0.9068905956085185],8:[1,12,10,0.9068905956085185],9:[2,0,0,0],10:[2,50,50,0],11:[2,63,65,1.0874628412503393],12:[1,70,90,4.330916878114617],13:[2,76,80,2.0443941193584534],14:[1,47,45,0.9068905956085185],15:[2,22,25,1.6438561897747248],16:[1,96,100,2.0443941193584534],17:[1,43,50,2.8328900141647417],18:[2,79,95,4.011227255423254],19:[1,17,20,1.6438561897747248],20:[1,17,20,1.6438561897747248],21:[1,27,25,0.9068905956085185],22:[2,3,5,1.0874628412503393],23:[1,39,40,0.16992500144231237],24:[1,27,33,2.6147098441152083],25:[0,75,80,2.357552004618084],26:[0,19,25,2.6147098441152083],27:[0,4,10,2.6147098441152083],28:[2,6,10,2.0443941193584534],29:[1,17,25,3.0223678130284544],30:[1,50,50,0],31:[0,16,25,3.189824558880017],32:[0,60,70,3.3398500028846247],33:[0,27,25,0.9068905956085185],34:[0,54,60,2.6147098441152083],35:[0,23,25,1.0874628412503393],36:[1,58,60,1.0874628412503393],37:[0,68,70,1.0874628412503393],38:[0,72,70,0.9068905956085185],39:[0,70,80,3.3398500028846247],40:[1,6,10,2.0443941193584534],41:[0,64,80,4.011227255423254],42:[2,3,10,2.8328900141647417],43:[2,49,60,3.4757334309663976],44:[1,65,80,3.9188632372745946],45:[2,27,30,1.6438561897747248],46:[2,71,80,3.189824558880017],47:[0,55,80,4.651051691178929],48:[1,5,10,2.357552004618084],49:[1,80,90,3.3398500028846247],50:[0,0,0,0],51:[0,24,25,0.16992500144231237],52:[2,19,20,0.16992500144231237],53:[2,87,90,1.6438561897747248],54:[0,86,85,-0.19264507794239588],55:[0,64,75,3.4757334309663976],56:[2,96,100,2.0443941193584534],57:[0,33,33,0],58:[2,52,60,3.0223678130284544],59:[0,5,10,2.357552004618084],60:[2,1,5,2.0443941193584534]},\n", + " \"u4\": {1:[2,18,20,1.0874628412503393],2:[2,94,95,0.16992500144231237],3:[0,69,70,0.16992500144231237],4:[0,69,75,2.6147098441152083],5:[2,23,20,1.5235619560570128],6:[1,59,65,2.6147098441152083],7:[1,74,90,4.011227255423254],8:[0,77,85,3.0223678130284544],9:[0,68,70,1.0874628412503393],10:[2,34,33,-0.19264507794239588],11:[1,75,70,2.2854022188622483],12:[1,81,90,3.189824558880017],13:[1,88,95,2.8328900141647417],14:[0,17,10,2.7813597135246595],15:[0,47,40,2.7813597135246595],16:[1,85,98,3.7142455176661224],17:[0,38,35,1.5235619560570128],18:[0,19,15,1.9541963103868751],19:[2,70,80,3.3398500028846247],20:[1,44,40,1.9541963103868751],21:[0,64,65,0.16992500144231237],22:[0,30,25,2.2854022188622483],23:[0,2,2,0],24:[2,23,20,1.5235619560570128],25:[2,7,10,1.6438561897747246],26:[2,79,90,3.4757334309663976],27:[1,14,15,0.16992500144231237],28:[2,12,15,1.6438561897747246],29:[2,12,10,0.9068905956085185],30:[2,53,70,4.098032082960526],31:[2,53,60,2.8328900141647417],32:[1,74,80,2.6147098441152083],33:[2,48,80,5.005624549193878],34:[2,94,95,0.16992500144231237],35:[2,21,20,-0.19264507794239588],36:[1,100,100,0],37:[2,59,70,3.4757334309663976],38:[2,42,50,3.0223678130284544],39:[0,76,80,2.0443941193584534],40:[1,94,98,2.0443941193584534],41:[2,26,15,3.4429434958487284],42:[2,9,15,2.6147098441152083],43:[0,23,25,1.0874628412503393],44:[2,12,10,0.9068905956085185],45:[1,26,25,-0.19264507794239588],46:[1,57,66,3.189824558880017],47:[0,50,50,0],48:[1,32,40,3.0223678130284544],49:[1,48,50,1.0874628412503393],50:[1,95,95,0],51:[1,29,33,2.0443941193584534],52:[0,81,80,-0.19264507794239588],53:[1,26,33,2.8328900141647417],54:[0,36,40,2.0443941193584534],55:[0,33,33,0],56:[0,1,2,0.16992500144231237],57:[1,2,4,1.0874628412503393],58:[0,22,15,2.7813597135246595],59:[1,66,70,2.0443941193584534],60:[0,15,10,2.2854022188622483]},\n", + " \"u5\": {1:[1,16,15,-0.19264507794239588],2:[0,90,95,2.357552004618084],3:[2,98,99,0.16992500144231237],4:[0,65,75,3.3398500028846247],5:[1,90,90,0],6:[2,80,85,2.357552004618084],7:[0,80,85,2.357552004618084],8:[1,47,50,1.6438561897747248],9:[2,21,25,2.0443941193584534],10:[1,62,66,2.0443941193584534],11:[0,56,55,-0.19264507794239588],12:[0,46,50,2.0443941193584534],13:[2,53,50,1.5235619560570128],14:[0,64,60,1.9541963103868751],15:[0,64,75,3.4757334309663976],16:[0,45,50,2.357552004618084],17:[1,14,15,0.16992500144231237],18:[2,38,45,2.8328900141647417],19:[2,65,70,2.357552004618084],20:[1,94,95,0.16992500144231237],21:[0,51,55,2.0443941193584534],22:[2,39,45,2.6147098441152083],23:[0,37,50,3.7142455176661224],24:[1,47,50,1.6438561897747248],25:[0,24,20,1.9541963103868751],26:[0,34,40,2.6147098441152083],27:[2,46,50,2.0443941193584534],28:[2,5,5,0],29:[1,22,20,0.9068905956085185],30:[1,82,85,1.6438561897747248],31:[0,3,5,1.0874628412503393],32:[0,12,10,0.9068905956085185],33:[1,66,70,2.0443941193584534],34:[1,100,100,0],35:[0,29,33,2.0443941193584534],36:[0,3,5,1.0874628412503393],37:[2,4,5,0.16992500144231237],38:[2,90,97,2.8328900141647417],39:[1,77,85,3.0223678130284544],40:[2,70,75,2.357552004618084],41:[2,10,30,4.330916878114617],42:[0,28,33,2.357552004618084],43:[1,84,85,0.16992500144231237],44:[2,12,20,3.0223678130284544],45:[2,100,100,0],46:[2,36,40,2.0443941193584534],47:[2,0,0,0],48:[1,60,55,2.2854022188622483],49:[2,85,85,0],50:[1,83,85,1.0874628412503393],51:[0,35,35,0],52:[1,25,33,3.0223678130284544],53:[1,54,55,0.16992500144231237],54:[2,50,50,0],55:[1,78,75,1.5235619560570128],56:[0,24,25,0.16992500144231237],57:[1,22,25,1.6438561897747248],58:[2,68,75,2.8328900141647417],59:[1,27,35,3.0223678130284544],60:[0,10,10,0]},\n", + " \"u6\": {1:[2,11,11,0],2:[0,33,35,1.0874628412503393],3:[1,46,45,-0.19264507794239588],4:[2,9,10,0.16992500144231237],5:[1,26,23,1.5235619560570128],6:[0,58,60,1.0874628412503393],7:[0,74,70,1.9541963103868751],8:[1,95,94,-0.19264507794239588],9:[2,38,43,2.357552004618084],10:[1,25,25,0],11:[2,44,48,2.0443941193584534],12:[1,51,50,-0.19264507794239588],13:[1,75,80,2.357552004618084],14:[0,22,25,1.6438561897747248],15:[0,3,2,-0.19264507794239588],16:[0,20,25,2.357552004618084],17:[1,43,45,1.0874628412503393],18:[1,0,0,0],19:[1,4,5,0.16992500144231237],20:[1,40,43,1.6438561897747248],21:[0,44,44,0],22:[1,60,70,3.3398500028846247],23:[2,96,95,-0.19264507794239588],24:[1,69,76,2.8328900141647417],25:[1,17,32,3.9188632372745946],26:[0,54,57,1.6438561897747248],27:[2,72,84,3.599912842187128],28:[2,76,89,3.7142455176661224],29:[1,31,25,2.554588851677637],30:[0,91,92,0.16992500144231237],31:[0,36,39,1.6438561897747248],32:[1,14,13,-0.19264507794239588],33:[1,19,28,3.189824558880017],34:[1,29,35,2.6147098441152083],35:[0,27,35,3.0223678130284544],36:[2,86,85,-0.19264507794239588],37:[2,33,42,3.189824558880017],38:[1,89,87,0.9068905956085185],39:[2,50,50,0],40:[2,93,92,-0.19264507794239588],41:[2,82,80,0.9068905956085185],42:[0,45,47,1.0874628412503393],43:[1,75,86,3.4757334309663976],44:[1,61,64,1.6438561897747248],45:[2,49,52,1.6438561897747248],46:[0,52,58,2.6147098441152083],47:[0,67,63,1.9541963103868751],48:[2,97,96,-0.19264507794239588],49:[0,65,74,3.189824558880017],50:[2,48,49,0.16992500144231237],51:[2,34,30,1.9541963103868751],52:[0,80,86,2.6147098441152083],53:[0,52,50,0.9068905956085185],54:[2,72,67,2.2854022188622483],55:[2,52,58,2.6147098441152083],56:[0,37,39,1.0874628412503393],57:[0,97,95,0.9068905956085185],58:[0,22,23,0.16992500144231237],59:[2,52,54,1.0874628412503393],60:[2,28,25,1.5235619560570128]},\n", + " \"u7\": {1:[1,44,55,3.4757334309663976],2:[0,30,33,1.6438561897747248],3:[1,85,85,0],4:[2,66,65,-0.19264507794239588],5:[2,64,70,2.6147098441152083],6:[0,86,90,2.0443941193584534],7:[1,51,50,-0.19264507794239588],8:[0,95,97,1.0874628412503393],9:[2,36,35,-0.19264507794239588],10:[1,25,20,2.2854022188622483],11:[1,14,15,0.16992500144231237],12:[0,68,75,2.8328900141647417],13:[1,55,50,2.2854022188622483],14:[2,15,15,0],15:[2,99,99,0],16:[1,6,8,1.0874628412503393],17:[2,84,85,0.16992500144231237],18:[2,26,25,-0.19264507794239588],19:[0,36,33,1.5235619560570128],20:[1,99,99,0],21:[0,1,5,2.0443941193584534],22:[1,27,33,2.6147098441152083],23:[2,40,40,0],24:[2,97,95,0.9068905956085185],25:[0,55,55,0],26:[0,63,65,1.0874628412503393],27:[2,0,0,0],28:[1,74,75,0.16992500144231237],29:[0,73,65,2.9772799234999163],30:[2,41,40,-0.19264507794239588],31:[2,98,97,-0.19264507794239588],32:[1,46,48,1.0874628412503393],33:[2,58,55,1.5235619560570128],34:[1,4,7,1.6438561897747248],35:[1,9,15,2.6147098441152083],36:[0,82,85,1.6438561897747248],37:[2,35,35,0],38:[1,88,85,1.5235619560570128],39:[2,14,15,0.16992500144231237],40:[2,18,20,1.0874628412503393],41:[0,99,98,-0.19264507794239588],42:[0,68,70,1.0874628412503393],43:[0,11,15,2.0443941193584534],44:[0,25,25,0],45:[0,91,95,2.0443941193584534],46:[0,95,95,0],47:[2,51,48,1.5235619560570128],48:[1,58,60,1.0874628412503393],49:[1,20,20,0],50:[2,92,95,1.6438561897747248],51:[0,53,55,1.0874628412503393],52:[1,37,33,1.9541963103868751],53:[1,14,15,0.16992500144231237],54:[0,13,15,1.0874628412503393],55:[0,61,65,2.0443941193584534],56:[2,68,75,2.8328900141647417],57:[2,59,66,2.8328900141647417],58:[1,74,75,0.16992500144231237],59:[0,74,75,0.16992500144231237],60:[1,87,90,1.6438561897747248]},\n", + " \"u8\": {1:[1,38,42,2.0443941193584534],2:[1,71,78,2.8328900141647417],3:[1,15,13,0.9068905956085185],4:[1,67,63,1.9541963103868751],5:[0,52,57,2.357552004618084],6:[0,96,94,0.9068905956085185],7:[1,100,99,-0.19264507794239588],8:[0,11,12,0.16992500144231237],9:[2,6,6,0],10:[0,87,89,1.0874628412503393],11:[0,25,39,3.820178962415188],12:[0,95,97,1.0874628412503393],13:[0,58,74,4.011227255423254],14:[1,6,10,2.0443941193584534],15:[0,71,66,2.2854022188622483],16:[2,40,36,1.9541963103868751],17:[0,58,58,0],18:[1,92,94,1.0874628412503393],19:[2,37,42,2.357552004618084],20:[2,70,78,3.0223678130284544],21:[1,82,84,1.0874628412503393],22:[0,17,20,1.6438561897747248],23:[1,6,4,0.9068905956085185],24:[2,44,46,1.0874628412503393],25:[0,100,100,0],26:[1,89,89,0],27:[0,18,18,0],28:[2,98,98,0],29:[2,52,61,3.189824558880017],30:[0,13,18,2.357552004618084],31:[0,96,96,0],32:[1,16,20,2.0443941193584534],33:[2,7,9,1.0874628412503393],34:[0,9,8,-0.19264507794239588],35:[0,94,94,0],36:[2,22,24,1.0874628412503393],37:[0,95,95,0],38:[1,0,0,0],39:[2,20,33,3.7142455176661224],40:[1,67,69,1.0874628412503393],41:[1,29,30,0.16992500144231237],42:[1,21,23,1.0874628412503393],43:[0,65,73,3.0223678130284544],44:[0,45,46,0.16992500144231237],45:[1,62,72,3.3398500028846247],46:[0,86,88,1.0874628412503393],47:[1,26,36,3.3398500028846247],48:[2,53,55,1.0874628412503393],49:[2,53,64,3.4757334309663976],50:[2,43,47,2.0443941193584534],51:[1,47,49,1.0874628412503393],52:[2,43,46,1.6438561897747248],53:[2,59,61,1.0874628412503393],54:[1,34,37,1.6438561897747248],55:[1,24,25,0.16992500144231237],56:[2,31,34,1.6438561897747248],57:[2,72,79,2.8328900141647417],58:[2,1,3,1.0874628412503393],59:[2,20,25,2.357552004618084],60:[2,78,78,0]},\n", + " \"u9\": {1:[1,70,70,0],2:[0,86,85,-0.19264507794239588],3:[2,100,100,0],4:[0,6,10,2.0443941193584534],5:[1,39,40,0.16992500144231237],6:[2,14,15,0.16992500144231237],7:[2,77,80,1.6438561897747248],8:[2,18,20,1.0874628412503393],9:[1,22,25,1.6438561897747248],10:[0,49,55,2.6147098441152083],11:[2,82,85,1.6438561897747248],12:[1,71,75,2.0443941193584534],13:[0,56,60,2.0443941193584534],14:[0,54,60,2.6147098441152083],15:[2,59,60,0.16992500144231237],16:[2,3,7,2.0443941193584534],17:[1,97,95,0.9068905956085185],18:[1,4,7,1.6438561897747248],19:[0,7,10,1.6438561897747248],20:[2,13,15,1.0874628412503393],21:[0,21,20,-0.19264507794239588],22:[1,59,65,2.6147098441152083],23:[1,64,66,1.0874628412503393],24:[2,20,20,0],25:[1,7,10,1.6438561897747248],26:[0,20,20,0],27:[1,95,92,1.5235619560570128],28:[1,67,70,1.6438561897747248],29:[2,70,75,2.357552004618084],30:[0,60,66,2.6147098441152083],31:[1,79,85,2.6147098441152083],32:[1,70,75,2.357552004618084],33:[0,17,20,1.6438561897747248],34:[2,43,50,2.8328900141647417],35:[1,50,60,3.3398500028846247],36:[0,55,66,3.4757334309663976],37:[0,92,92,0],38:[1,0,0,0],39:[1,34,40,2.6147098441152083],40:[2,16,0,3.988684686772166],41:[0,25,30,2.357552004618084],42:[2,94,92,0.9068905956085185],43:[2,54,60,2.6147098441152083],44:[2,65,65,0],45:[1,41,40,-0.19264507794239588],46:[2,60,60,0],47:[1,80,80,0],48:[0,14,15,0.16992500144231237],49:[1,8,15,2.8328900141647417],50:[1,27,33,2.6147098441152083],51:[2,63,66,1.6438561897747248],52:[2,15,15,0],53:[0,18,20,1.0874628412503393],54:[0,33,33,0],55:[2,65,66,0.16992500144231237],56:[2,44,50,2.6147098441152083],57:[0,10,10,0],58:[0,60,66,2.6147098441152083],59:[0,100,100,0],60:[0,82,85,1.6438561897747248]},\n", + " \"u10\": {1:[2,86,84,0.9068905956085185],2:[1,91,87,1.9541963103868751],3:[2,13,21,3.0223678130284544],4:[2,77,76,-0.19264507794239588],5:[2,0,5,2.357552004618084],6:[2,86,90,2.0443941193584534],7:[0,36,33,1.5235619560570128],8:[1,33,29,1.9541963103868751],9:[1,27,28,0.16992500144231237],10:[2,68,68,0],11:[2,78,87,3.189824558880017],12:[2,68,78,3.3398500028846247],13:[0,10,19,3.189824558880017],14:[1,12,22,3.3398500028846247],15:[1,73,74,0.16992500144231237],16:[2,35,38,1.6438561897747248],17:[0,3,11,3.0223678130284544],18:[0,29,34,2.357552004618084],19:[2,50,48,0.9068905956085185],20:[2,74,72,0.9068905956085185],21:[2,90,93,1.6438561897747248],22:[0,96,98,1.0874628412503393],23:[0,93,99,2.6147098441152083],24:[0,48,53,2.357552004618084],25:[0,18,23,2.357552004618084],26:[2,83,82,-0.19264507794239588],27:[1,100,98,0.9068905956085185],28:[1,63,69,2.6147098441152083],29:[2,55,54,-0.19264507794239588],30:[2,1,5,2.0443941193584534],31:[1,50,53,1.6438561897747248],32:[2,24,36,3.599912842187128],33:[0,17,22,2.357552004618084],34:[0,7,11,2.0443941193584534],35:[2,66,65,-0.19264507794239588],36:[2,10,16,2.6147098441152083],37:[1,62,66,2.0443941193584534],38:[0,76,77,0.16992500144231237],39:[2,39,29,3.303780748177103],40:[2,56,53,1.5235619560570128],41:[1,51,51,0],42:[1,22,24,1.0874628412503393],43:[1,30,35,2.357552004618084],44:[1,58,61,1.6438561897747248],45:[0,44,49,2.357552004618084],46:[1,70,73,1.6438561897747248],47:[1,33,32,-0.19264507794239588],48:[0,44,48,2.0443941193584534],49:[1,76,83,2.8328900141647417],50:[1,100,99,-0.19264507794239588],51:[0,17,21,2.0443941193584534],52:[1,46,52,2.6147098441152083],53:[1,39,43,2.0443941193584534],54:[1,19,24,2.357552004618084],55:[0,59,63,2.0443941193584534],56:[0,43,50,2.8328900141647417],57:[0,1,3,1.0874628412503393],58:[0,41,47,2.6147098441152083],59:[0,31,35,2.0443941193584534],60:[0,12,23,3.4757334309663976]},\n", + " \"u11\": {1:[1,17,20,1.6438561897747248],2:[0,38,33,2.2854022188622483],3:[0,88,90,1.0874628412503393],4:[0,96,96,0],5:[0,84,93,3.189824558880017],6:[0,70,83,3.7142455176661224],7:[0,29,30,0.16992500144231237],8:[0,88,93,2.357552004618084],9:[0,67,70,1.6438561897747248],10:[0,21,18,1.5235619560570128],11:[1,74,80,2.6147098441152083],12:[1,16,15,-0.19264507794239588],13:[0,26,26,0],14:[1,93,95,1.0874628412503393],15:[2,78,90,3.599912842187128],16:[1,35,40,2.357552004618084],17:[0,60,70,3.3398500028846247],18:[0,37,42,2.357552004618084],19:[2,58,60,1.0874628412503393],20:[2,13,23,3.3398500028846247],21:[0,39,43,2.0443941193584534],22:[1,43,48,2.357552004618084],23:[2,8,13,2.357552004618084],24:[0,19,23,2.0443941193584534],25:[2,27,31,2.0443941193584534],26:[1,13,18,2.357552004618084],27:[2,87,89,1.0874628412503393],28:[0,23,25,1.0874628412503393],29:[1,36,33,1.5235619560570128],30:[1,61,58,1.5235619560570128],31:[0,33,45,3.599912842187128],32:[2,0,0,0],33:[2,0,0,0],34:[1,71,70,-0.19264507794239588],35:[0,71,68,1.5235619560570128],36:[0,27,33,2.6147098441152083],37:[0,33,31,0.9068905956085185],38:[2,0,0,0],39:[2,0,0,0],40:[1,67,80,3.7142455176661224],41:[2,44,40,1.9541963103868751],42:[2,21,20,-0.19264507794239588],43:[0,20,22,1.0874628412503393],44:[2,90,93,1.6438561897747248],45:[1,36,43,2.8328900141647417],46:[1,11,12,0.16992500144231237],47:[1,86,89,1.6438561897747248],48:[1,67,75,3.0223678130284544],49:[2,63,64,0.16992500144231237],50:[2,78,85,2.8328900141647417],51:[2,46,66,4.330916878114617],52:[2,66,75,3.189824558880017],53:[2,22,18,1.9541963103868751],54:[2,52,66,3.820178962415188],55:[1,52,58,2.6147098441152083],56:[1,99,98,-0.19264507794239588],57:[1,0,0,0],58:[1,75,86,3.4757334309663976],59:[1,20,25,2.357552004618084],60:[2,18,20,1.0874628412503393]},\n", + " \"u12\": {1:[2,93,92,-0.19264507794239588],2:[0,60,65,2.357552004618084],3:[0,3,5,1.0874628412503393],4:[2,60,60,0],5:[1,29,30,0.16992500144231237],6:[0,8,10,1.0874628412503393],7:[1,55,60,2.357552004618084],8:[1,98,99,0.16992500144231237],9:[2,54,60,2.6147098441152083],10:[0,28,30,1.0874628412503393],11:[2,91,90,-0.19264507794239588],12:[2,60,70,3.3398500028846247],13:[2,15,20,2.357552004618084],14:[0,44,50,2.6147098441152083],15:[2,67,70,1.6438561897747248],16:[1,73,80,2.8328900141647417],17:[1,45,50,2.357552004618084],18:[2,56,40,3.988684686772166],19:[1,47,60,3.7142455176661224],20:[1,32,30,0.9068905956085185],21:[1,43,30,3.6865005271832185],22:[2,81,80,-0.19264507794239588],23:[2,19,20,0.16992500144231237],24:[1,71,80,3.189824558880017],25:[0,50,50,0],26:[2,63,70,2.8328900141647417],27:[1,25,30,2.357552004618084],28:[2,55,60,2.357552004618084],29:[0,84,80,1.9541963103868751],30:[0,99,96,1.5235619560570128],31:[2,67,75,3.0223678130284544],32:[0,84,80,1.9541963103868751],33:[1,6,10,2.0443941193584534],34:[1,88,90,1.0874628412503393],35:[1,64,75,3.4757334309663976],36:[1,81,80,-0.19264507794239588],37:[1,18,30,3.599912842187128],38:[2,91,90,-0.19264507794239588],39:[2,51,70,4.257387842692652],40:[2,10,15,2.357552004618084],41:[0,91,90,-0.19264507794239588],42:[0,94,99,2.357552004618084],43:[2,33,30,1.5235619560570128],44:[1,52,60,3.0223678130284544],45:[2,52,60,3.0223678130284544],46:[2,94,90,1.9541963103868751],47:[1,54,60,2.6147098441152083],48:[2,20,30,3.3398500028846247],49:[0,4,10,2.6147098441152083],50:[0,75,80,2.357552004618084],51:[0,33,40,2.8328900141647417],52:[1,31,30,-0.19264507794239588],53:[0,64,60,1.9541963103868751],54:[1,30,30,0],55:[0,61,60,-0.19264507794239588],56:[1,80,80,0],57:[0,58,60,1.0874628412503393],58:[0,46,60,3.820178962415188],59:[0,99,95,1.9541963103868751],60:[0,15,20,2.357552004618084]},\n", + " \"u13\": {1:[1,32,30,0.9068905956085185],2:[2,9,10,0.16992500144231237],3:[0,38,40,1.0874628412503393],4:[2,98,48,5.640244936222346],5:[1,84,43,5.353146825498083],6:[1,55,60,2.357552004618084],7:[2,22,24,1.0874628412503393],8:[1,90,93,1.6438561897747248],9:[0,95,95,0],10:[1,35,35,0],11:[1,36,35,-0.19264507794239588],12:[0,11,10,-0.19264507794239588],13:[0,71,65,2.554588851677637],14:[2,98,95,1.5235619560570128],15:[1,32,35,1.6438561897747248],16:[2,87,85,0.9068905956085185],17:[2,33,27,2.554588851677637],18:[2,21,20,-0.19264507794239588],19:[1,49,50,0.16992500144231237],20:[1,24,28,2.0443941193584534],21:[1,22,22,0],22:[1,6,15,3.189824558880017],23:[2,34,33,-0.19264507794239588],24:[1,30,33,1.6438561897747248],25:[1,56,60,2.0443941193584534],26:[2,38,40,1.0874628412503393],27:[0,38,45,2.8328900141647417],28:[0,49,50,0.16992500144231237],29:[1,36,40,2.0443941193584534],30:[0,42,48,2.6147098441152083],31:[2,22,20,0.9068905956085185],32:[0,88,90,1.0874628412503393],33:[1,0,0,0],34:[2,32,22,3.303780748177103],35:[2,83,90,2.8328900141647417],36:[1,48,50,1.0874628412503393],37:[1,28,30,1.0874628412503393],38:[2,29,27,0.9068905956085185],39:[0,9,10,0.16992500144231237],40:[0,92,90,0.9068905956085185],41:[2,26,30,2.0443941193584534],42:[1,50,50,0],43:[0,76,80,2.0443941193584534],44:[2,47,50,1.6438561897747248],45:[1,30,30,0],46:[0,33,30,1.5235619560570128],47:[2,70,70,0],48:[1,33,70,5.2143191208007655],49:[2,55,30,4.636624620543649],50:[0,16,18,1.0874628412503393],51:[0,4,5,0.16992500144231237],52:[2,57,60,1.6438561897747248],53:[0,24,20,1.9541963103868751],54:[0,46,50,2.0443941193584534],55:[2,34,40,2.6147098441152083],56:[2,63,65,1.0874628412503393],57:[0,77,80,1.6438561897747248],58:[0,97,100,1.6438561897747248],59:[0,54,60,2.6147098441152083],60:[0,82,0,6.355351096424813]},\n", + " }" + ] + }, + { + "cell_type": "code", + "execution_count": 39, + "metadata": {}, + "outputs": [], + "source": [ + "list_of_df = []\n", + "for key in users:\n", + " df = pd.DataFrame.from_dict(users[key], \n", + " orient='index',\n", + " columns=['type', 'true', 'predicted', 'logError'])\n", + " df['user'] = key\n", + " list_of_df.append(df)\n", + "compiled = pd.concat(list_of_df)\n", + "compiled['type'] = compiled['type'].map({0: 'Plain', 1: 'Grayscale', 2: 'Colored'})" + ] + }, + { + "cell_type": "code", + "execution_count": 40, + "metadata": {}, + "outputs": [], + "source": [ + "compiled.to_csv(\"a3_results_compiled.csv\", index=False)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Analyze Results" + ] + }, + { + "cell_type": "code", + "execution_count": 41, + "metadata": { + "scrolled": false + }, + "outputs": [ + { + "data": { + "image/png": "iVBORw0KGgoAAAANSUhEUgAAAoUAAAEXCAYAAADbbz4BAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHd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ZWXphRdecE43adJEubm5D7Uo5BUfH6/4+HizywAAoMjxHVh08j2n0MPDQ1evXpXFYpGkR/6qVDPs2LFDktS8eXOTKwEAoGjxHVh08g2Fb7/9trp3766ff/5Z77//vhISEvSXv/ylKGoDAABAEck3FDZr1kyBgYFKSEiQw+HQgAEDFBQUdE8bt9vtmj9/vjZv3iyLxaLc3FyFh4erX79+zpFHsxw4cEAff/yxli1bZmodAAAAxcE93ZLGZrPJZrPJzc1N7u7u97zx8ePH65dfftHq1av1+OOPKz09XQMGDJCfn5+6detW6KIBAADwYOV7ocnKlSvVo0cPff/99zp27Ji6du2qrVu35rvhixcvavPmzZoyZYoef/xxSZKvr6/GjBmj3/3udxo+fLj69++v1q1bKz4+Xtu2bdMbb7yhdu3aKTg4WIcPH9b58+fVtGlTORwOSTdG9/r06aOLFy+qe/fu6tChgyIiInTkyBFJ0r59+9SuXTu1bdtW/fr1U3p6utLT0zVo0CB17txZzZo104gRI2QYRp5az58/r169eik8PFxdunTRd999V+COBAAAcGX5jhQuXrxYGzduVEBAgCTpp59+0ltvvaU2bdrcdb1jx44pKChIZcqUyfN6UFCQgoKC9O2338rf319z586Vw+FQr169NHfuXJUrV07r1q3Tp59+qrlz56p8+fI6cOCA6tWrp40bN6pDhw5at26dmjZtqj59+mj37t06dOiQqlatqg8++EALFy5UlSpV9Ne//lVxcXEqW7asqlSpolmzZslmsykkJEQnT57MU9OwYcM0ZswYVa1aVWfPntWAAQO0ffv2gvblQ5OamqqUlBRFR0cXav2CPnrMarXKx3AUqi3ADOk2h362Wgv9GTFTSXikohnot4Jz1T6zWq0qV67k34S/OMg3FPr6+joDoSQ9++yz8vLyuqeN/+d5g19++aX+/ve/y+FwyMvLSxUrVlT16tUlSW5ubvrkk08UHx+v//3f/9XBgwfl5nZjELNjx47avHmzatasqf3792vcuHEKCAjQwIED9f3336tJkybq3r27Tp8+rYCAAFWpUkWSNGTIEGfbx44d0+LFi2W1WpWamqrMzEznvIyMDJ04cSLPl0lmZqauX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vl4eGhX3/9Vbm5uSpdurTZZbmE1NRUzZw5U/379ze7FJdgtVolSb1791a7du20fPlykytyDTt27FCbNm309NNPy9PTUzNnzlSNGjXMLuuh48+GEury5ct68sknndNPPfWUjh07ZmJFriEmJsbsElxOxYoVnf8/d+6ctm3bppUrV5pYkWvw9PTUrFmz9I9//EPBwcEKCAgwuySXMGbMGA0ePFjJyclml+ISrl27pnr16mn06NHKyclRjx49VKFCBTVo0MDs0oq18+fPy9PTU/3791dycrKaNm2q//7v/za7rIeOkcISyuFwyGKxOKcNw8gzDTxoP/zwg3r37q2hQ4fq+eefN7sclzBo0CAlJiYqOTlZa9asMbucYm/t2rV65plnVK9ePbNLcRm1atVSbGys/Pz8VK5cOUVERGjXrl1ml1Xs5ebmKjExUZMmTdLq1at17NgxxcXFmV3WQ0coLKGefvpp/fzzz87pn3/+mUOieGgOHTqkP//5zxoyZIjCw8PNLqfY+/e//63vv/9ekuTj46NWrVrp9OnTJldV/G3dulUJCQkKCwvTrFmzFB8fr0mTJpldVrH2z3/+U4mJic5pwzA4t/Ae/O53v1O9evVUrlw5eXt7q0WLFo/E0TZCYQlVv359JSYmKiUlRdevX9dXX32lxo0bm10WSqDk5GQNGDBA06dPV0hIiNnluISkpCSNGjVKNptNNptN33zzjWrXrm12WcXeokWL9MUXX2jTpk0aNGiQmjdvrhEjRphdVrGWlpam2NhYZWdnKz09XXFxcVwEdg+aNWumvXv36tq1a8rNzdWePXv00ksvmV3WQ8efCyVUQECABg8erB49eignJ0cRERGqXr262WWhBFq4cKGys7M1ZcoU52uRkZHq0qWLiVUVb02aNNGxY8fUvn17ubu7q1WrVgRqPBTNmjXT0aNH1b59ezkcDnXt2lW1atUyu6xir0aNGurTp4+6du2qnJwcNWjQQB07djS7rIfOYhiGYXYRAAAAMBeHjwEAAEAoBAAAAKEQAAAAIhQCAABAhEIAAACIW9IAwANx4MABTZgwQV988UWB101KSlLLli1VqVKlW+atXbtWXl5eD6JEALgrQiEAFAPe3t7atGmT2WUAeIQRCgHgAUpLS9P48eN16tQpWSwWNWrUSO+//748PDy0a9cuTZ8+XW5ubqpSpYr27dunFStW5LvNDRs2aN26dbp+/bp8fX0VHh6eZ3rZsmX65JNPtGXLFrm7u6tChQoaPXq0nnzySUVFRalMmTKyWq3q0qWLoqKiiqAXALgiQiEAPEATJ06Uv7+/Pv/8c+Xk5Ojtt9/WP/7xD3Xq1ElDhw7VkiVLVLlyZcXFxSkuLs65XlZWlsLCwvJs65VXXtHYsWMlSWfPnlV8fLx8fX21YcOGPNPr16/Xnj17tG7dOpUuXVqzZ8/W8OHDtXDhQknS448/rq1btxZdJwBwSYRCAHiAdu/erZUrV8piscjLy0uRkZFasmSJKlSooKCgIFWuXFmSFB4erokTJzrXy+/w8YsvvihfX9/bTu/evVsdOnRQ6dKlJUk9evTQ3LlzZbPZJEmvvvrqA99PACUPVx8DwAPkcDhksVjyTNvtdrm7u+u3TxV1c7v3X8E3A9/tpu/U5p3WBYDbIRQCwAPUsGFDLV++XIZhyGazac2aNapfv75eeeUVnTt3TqdOnZIkbd++XdeuXcsT5gqrUaNGWr9+vTIzMyVJy5Yt0x//+EeuWgZQIBw+BoAHaNSoUZo4caLatm2rnJwcNWrUSP3795eXl5dmzJihYcOGyc3NTdWqVZOHh4d8fHyUmZl523MKJWnKlCn5thkREaHk5GR16tRJDodDzz33nKZPn/4wdg9ACWYxfns8AwDwwKWnp2vOnDkaOHCgfHx8dPLkSfXr10979ux5IKOFAHC/GCkEgCLg6+srT09PRUREyMPDQx4eHvrb3/5GIARQbDBSCAAAAC40AQAAAKEQAAAAIhQCAABAhEIAAACIUAgAAAARCgEAACDp/wHH5GiMKdtvKwAAAABJRU5ErkJggg==\n", + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "fig = plt.figure(figsize =(10, 4)) \n", + "sns.set(style=\"whitegrid\")\n", + "\n", + "# Creating plot \n", + "kwargs = {'bootstrap':10000}\n", + "ax = sns.boxplot(x='logError', y='type', data=compiled, width=.3, orient='h', **kwargs)\n", + "\n", + "# labeling\n", + "plt.title('Confidence Interval of Each Chart Type')\n", + "\n", + "# show plot \n", + "plt.savefig(\"confidence_interval.png\")\n", + "plt.show() " + ] + }, + { + "cell_type": "code", + "execution_count": 44, + "metadata": {}, + "outputs": [], + "source": [ + "plainMean = statistics.mean(compiled[compiled['type']==\"Plain\"]['logError'])\n", + "grayscaleMean = statistics.mean(compiled[compiled['type']==\"Grayscale\"]['logError'])\n", + "coloredMean = statistics.mean(compiled[compiled['type']==\"Colored\"]['logError'])" + ] + }, + { + "cell_type": "code", + "execution_count": 46, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "mean log2 error\n", + "Plain: 1.5910367695766354\n", + "Grayscale: 1.5246388279741478\n", + "Colored: 1.5923336256311647\n" + ] + } + ], + "source": [ + "print(\"mean log2 error\")\n", + "print(\"Plain: \", plainMean)\n", + "print(\"Grayscale: \", grayscaleMean)\n", + "print(\"Colored: \", coloredMean)" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.9" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/chart_types.png b/chart_types.png new file mode 100644 index 0000000..84eb706 Binary files /dev/null and b/chart_types.png differ diff --git a/chart_types.psd b/chart_types.psd new file mode 100644 index 0000000..4ff181a Binary files /dev/null and b/chart_types.psd differ diff --git a/confidence_interval.png b/confidence_interval.png new file mode 100644 index 0000000..ce697fe Binary files /dev/null and b/confidence_interval.png differ diff --git a/experiment-example.mp4 b/experiment-example.mp4 old mode 100755 new mode 100644 diff --git a/experiment.html b/experiment.html new file mode 100644 index 0000000..6367e96 --- /dev/null +++ b/experiment.html @@ -0,0 +1,349 @@ + + + + + + + + + + +
+ + + + + +
+ +
+ +
+ +
+ +
+ +
+ + + Input Percentage (Integer Value) + + +
+ + + + + +
+ \ No newline at end of file diff --git a/img/cleveland-bar.png b/img/cleveland-bar.png old mode 100755 new mode 100644 diff --git a/img/cleveland-equation.png b/img/cleveland-equation.png old mode 100755 new mode 100644 diff --git a/img/cleveland-results.png b/img/cleveland-results.png old mode 100755 new mode 100644 diff --git a/img/cleveland-table.png b/img/cleveland-table.png old mode 100755 new mode 100644 diff --git a/index.html b/index.html index 99092d5..4b0c7b2 100755 --- a/index.html +++ b/index.html @@ -1,13 +1,42 @@ - + + -

Experiment

+ + +
+
+

Visualization Experiment

+

+ In this experiment you will be asked to judge + the percentage of a smaller bar to a larger bar in + sixty different bar charts (integer values only). + You are encouraged to make a quick judgement and spend only 10 seconds per chart. + Nothing other than your typed responses will be recorded. + The experiment should take 10 to 15 minutes. +

+ +
+
+ + + diff --git a/screen1.PNG b/screen1.PNG new file mode 100644 index 0000000..54db745 Binary files /dev/null and b/screen1.PNG differ diff --git a/screen2.PNG b/screen2.PNG new file mode 100644 index 0000000..292864d Binary files /dev/null and b/screen2.PNG differ diff --git a/screen3.PNG b/screen3.PNG new file mode 100644 index 0000000..ed498e4 Binary files /dev/null and b/screen3.PNG differ diff --git a/screenv1.PNG b/screenv1.PNG new file mode 100644 index 0000000..4f8d559 Binary files /dev/null and b/screenv1.PNG differ diff --git a/screenv2.PNG b/screenv2.PNG new file mode 100644 index 0000000..6f3b582 Binary files /dev/null and b/screenv2.PNG differ diff --git a/screenv3.PNG b/screenv3.PNG new file mode 100644 index 0000000..e187ee8 Binary files /dev/null and b/screenv3.PNG differ