Tagged Questions

Constructing meaningful and useful graphical representations of data. (If your question is only about how to get particular software to produce a specific effect, then it is likely not on topic here.)

learn more… | top users | synonyms (8)

0
votes
0answers
4 views

How to plot the US maps with selected locations (longitude and latitude of the locations are known)? [migrated]

I've been struggling with the following R plotting of the US map and wonder if any of you have suggestions on how the plot should be done. Here is what I have tried: ...
0
votes
0answers
8 views

Y axes on the logit scale and centered in gbm.plot [migrated]

I am currently exploring the gbm functions in the package dismo to create boosted regression trees for species distribution modeling. I have been using the dismo vignettes as well as the 2008 paper "A ...
0
votes
0answers
4 views

In R, how to create contour plot where lines indicate elevation and color indicate magnitude of a separate value? [migrated]

My specific example: I have a dataframe, say 'df', containing columns of x coordinates, y coordinates, elevation, and I have a vector of precipitation values associated with the x/y coordinates (say ...
1
vote
0answers
14 views

z-score for two variables

Can we study the relationship between two variables using z score? For example: Let us say that we have two classes A, B and we have 5 students in each class and we know the age and the grade for ...
2
votes
3answers
72 views

Probability that node A is connected to another node

Example: I have nodes A, B and C. A is connected to B and C. B is also connected to C. The link between two nodes have a probability to fail. For the link between A and B, the probability is pAB ...
0
votes
0answers
11 views

3d plot with PAM cluster results [on hold]

I made a cluster analysis using PAM (Partiotining Around Medoids) in R for 3 clusters. As 2 of them are overlaped I would like to have the clusters in a 3D scatterplot to visualize if there is ...
0
votes
2answers
29 views

Plotting two graphs of unequal time length in 1 graph

Say I have the following data set. I need to plot both in one graph and when I tried to do so this is what I got. The data of A are not connected by a line so this is not what I want. How do I get ...
0
votes
0answers
17 views

Grouping similar plots together in a Stripchart [migrated]

I have groups of data that I want to put more closely together on my strip charts ...
0
votes
0answers
26 views

interpreting y axis of a partial dependence plots

I have read through other topics on partial dependence plots and most of them are on how you actually plot them with different packages, not how you can accurately interpret them, So: I have been ...
0
votes
0answers
8 views

Select the cases from a data.frame that have been used in a GLMM [migrated]

I am trying to see differences in the feeding-rate of one bird species between big forest patches and small ones. I have several forest patches of both sizes, and three years of study. Some ...
1
vote
1answer
36 views

Best practice for visualizing a lift from zero?

Let's say you have two columns of data. Column A represents a value you had last month, and column B represents a value you have this month. If you want the percent change between the two, you math ...
0
votes
2answers
62 views
2
votes
1answer
50 views

Is the convention for error bars to present one or two standard errors?

I am plotting error bars in ggplot2 with geom_bar and geom_errorbar. geom_errorbar asks for ...
0
votes
0answers
30 views

Visualize a large binary matrix with instances and three classes

I have a matrix with 9500 columns and 1000 rows. Each row represents an instance. I have three classes and an instance belongs to a class. Each column represents a binary feature. That is, each cell ...
0
votes
0answers
11 views

How to calculate the distribution of spend on options of a new car

I have a bit of a real world conundrum and I have reached the limited of my knowledge. The problem in question relates the distribution of the amount of money spent on options when buying a new car. ...
1
vote
1answer
43 views

Can you identify what the sharp spikes in our data could be?

Scenario: There was an online competition to win a prize. The competitors are technology start-up companies and the prize is worth around 5,000 USD. There was a public, online vote to decide the ...
0
votes
1answer
24 views

How to present statistical significance results among more than two datasets?

Let us say that we have 5 sets of data: $$ a = (a_1, a_2, \dots, a_{10}) \\ b = (b_1, b_2, \dots, b_{10}) \\ c = (c_1, c_2, \dots, c_{10}) \\ d = (d_1, d_2, \dots, d_{10}) \\ e = (e_1, e_2, \dots, ...
1
vote
1answer
28 views

Density Plot, scatter plot or Regression if not both best way to visualize

I am working with a data set that has information of users and their contributions. Each user has expert level and contribute to multiple section of the project. Here is a sample data set: ...
2
votes
1answer
17 views

How to choose a kernel for KDE

There are a lot of kernels available for a univariate KDE. R uses normal by default, but the efficacy discussion seems to support the use of Epanechnikov. What should influence kernel choice for ...
0
votes
1answer
21 views

Bivariate Kernel Density plot

Suppose that I have two variables, $X$ and $Y$ that I want to correlate, i.e. in the manner of a scatterplot of $(X_i,Y_i)$. But I also want to show the density of each variable. A scatterplot ...
0
votes
0answers
28 views

Line plot matrix?

Scatter plot matrices are standard these days. But what about line plot matrices? Has anyone here actually used them, and if so, how well do you think they allowed the target audience to comprehend ...
4
votes
2answers
133 views

What are some good examples of exploratory data analysis today?

Are there some papers published which illustrate EDA used to tackle substantial data problems? I am particularly looking for actual (current) data examples, where plots have been made and statistics ...
4
votes
2answers
78 views

Which font to use in a plot to maximize clarity?

I was reading the Wikipedia page of the Bitstream Vera font (used by default by matplotlib), which says: The Bitstream Vera Sans Mono typeface in particular is suitable for technical work, as it ...
1
vote
1answer
56 views

Best way to represent x attributes in y categories in same chart over time series

Is it possible to represent x attributes in y categories over a time series in same chart without losing ability to cross verify between attributes within same category and same attribute between ...
0
votes
0answers
3 views

plotting stratified KM curve in R--want one stratum per plot so the final plot looks like a plot matrix [migrated]

I have a cohort data set and am trying to show the difference in survival patterns of 4 related diseases across eras (say I have 6 decades of data and want to stratify by each decade). How could I ...
1
vote
1answer
31 views

Plot one predictor and its quadratic term versus response variable (GLM binomial distribution)

I have the following model with four independent variables: Model_A <- glm(GRSP~ppt+tem+density+land+I(land^2), family=binomial()) When I plot the variable ...
0
votes
0answers
17 views

Residuals plot from ripley K function on spatstat

I am a rookie on R and on spatstat package. I would like some help with the Kres function on spatstat. As is always wise to plot the residuals from any kind of ...
1
vote
0answers
37 views
6
votes
1answer
178 views

How is this “United States of Reddit” graph created?

Below is a graph from p. 202 of Christian Rudder's Dataclysm, though it was made by James Dowdell. It illustrates the relationships betweens various top 200 subreddits, which are areas of interest on ...
37
votes
9answers
3k views

“Best” series of colors to use for differentiating series in publication-quality plots

Has any study been done on what are the best set of colors to use for showing multiple series on the same plot? I've just been using the defaults in matplotlib, ...
7
votes
3answers
148 views

How can I interpret a plot of trimming percentage vs. trimmed mean?

For part of a homework question, I was asked to calculate the trimmed mean for a dataset by deleting the smallest and largest observation, and to interpret the result. The trimmed mean was lower than ...
0
votes
0answers
12 views

In ensemble predictions, what is reliability diagram?

I have recently heard the term reliability diagram used with regards to the analysis of ensemble predictions. What does it show and how is it calculated?
0
votes
0answers
10 views

Are there free APIs for searching news articles that I can use to collect trend data in news coverage? [migrated]

I am working on a data-visualization web application that looks at trends in American news media coverage over time. It takes a keyword (or keywords), a date range, and a time increment as parameters ...
5
votes
1answer
85 views

How does the 45 degree banking rule apply when plotting multiple data series in one chart?

Cleveland's rule of thumb that the average slope of a line should be 45 degrees. But what about when a chart plots multiple data series? Is there a generalization of Cleveland's rule, or do you set ...
6
votes
4answers
573 views

For plotting with R, should I learn ggplot2 or ggvis?

For plotting with R, should I learn ggplot2 or ggvis? I don't necessarily want to learn both if one of them is superior in any regard. Why R community keeps creating new packages with overlapping ...
2
votes
1answer
16 views

Group and compact variables

I'm working on a menu calendar for a preschool. They have 8 different menus on rotation: Summer 1, 2, 3, 4 and Winter 1, 2, 3, 4. It rotates every week like this: Sep - Jun menu I want parents to ...
4
votes
2answers
100 views

Tournament Plotting: Who is good against whom?

I would like to get insight into who is good against whom. Imagine a tournament setting* of 40 contestants and you're interested in seeing who is good against who in the top 10: how could we make this ...
0
votes
2answers
53 views

Time series - plotting continuous and categorical variable

I have one dependent continuous variable and an independent categorical variable. Each one minute window on a time series is marked with one category, for example 10:00 - 4, 10:01 - 1, 10:02 - 5, ...
2
votes
1answer
38 views

recommendations for test data set(s) known to have well separated clusters [closed]

I am working on visualizing clusters in high dimensional space. I have had good luck with "real" data sets contributed to the UCI Machine Learning repository. Unfortunately, none of these data sets ...
2
votes
1answer
36 views

How to check my data set is following non-linear to linear regression?

I have two data sets with y and X1,X2,X3,....,X6 all Xi's are independent variables and y is dependent variable. Instructor said that one data set will follow linear regression and other will follow ...
-2
votes
1answer
42 views

Graph Interpretation

I would like to ask what could be the most possible interpretation of these two graphs attached. One of them depicts conditional probabilty p(Y|X) whereas the second one shows Y regressed on X. I ...
0
votes
0answers
38 views

Plot 2D view of 3D joint ecdf with isolines

I have this matrix, histDict, which is a dictionary of data of variable X for each value of variable ...
1
vote
1answer
28 views

How to visualize a set of many optimizations of posterior simulations of an objective function?

I started by fitting a model: $y = f(X) + \epsilon$. The model includes random effects and coefficients -- there is a lot of heterogeneity in the population (and the data is longitudinal). I then ...
1
vote
2answers
73 views

Graph with 2 interacted continuous predictor vatiable

When using glm(link=logit), I detected a significant interaction between two continuous predictor variables. How can I present the results visually using R?
3
votes
1answer
31 views

Visualising changes in many-to-one (directional) relationships (votes) between a set of objects over time

I have a set of objects, each of which can be assigned to another object within the set in a many-to-one, directional assignment, like a vote. Objects cannot be assigned to themselves reflexively, but ...
0
votes
0answers
27 views

Problems with bounded response variable

My response variable is a questionnaire score ranging from 1 to 5 (which can take intermediate values like 1.3, 4.7, etc.). However, when the plot is made, I can see the density line reaching values ...
-2
votes
2answers
37 views

What are tools or library to visualize real-estate price on map?

What are appropriate tool or library to plot real-estate price on map. Let's say I have list of real-estate listings that consist of the price and coordinate (latitude and longitude). UPDATED I ...
0
votes
0answers
53 views

Bootstrapping interaction effects with boot() and the effects package - environment problems?

UPDATE AT BOTTOM - workaround and exciting new roadblock! UPDATE #2: SOLVED. Details at bottom. This is a combination stats/programming question, so I apologize if it should go somewhere else. I'm ...
0
votes
0answers
15 views

How can I reach the plot of outlier effetc of a TC outlier?

In this article there is a plot of the outlier effect. Detecting Outliers in Time Series (LS/AO/TC) using tsoutliers package in R. How to represent outliers in equation format? How can I have this ...
12
votes
3answers
580 views

How to present box plot with an extreme outlier?

I could use some guidance about presenting some data. This first plot is a case-control comparison for the cytokine IL-10. I've manually set the y axis to include 99% of the data. The reason I ...