# Questions tagged [data-visualization]

Constructing and interpreting 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.)

2,958 questions
Filter by
Sorted by
Tagged with
16 views

### How to visualize decreasing trends of categorical data by date?

The facility I am working in can be assessed a number of violations. I have a list of the violations and the date of the violation. The violations range from 1 (least severe) to 7 (most severe). We've ...
22 views

### Problem with Code [closed]

I am trying to solve a data science problem from this resource and I am having some difficulty. I am working on a project that requires me to use Python and it involves predicting the price of a ...
1k views

### Should the y-axis on a survival plot go from 0 to 100 even if the lines are all above 0.9?

I am reviewing an article that includes a survival plot, with % survival on the y-axis and time on the x-axis. The y-axis goes from 0 to 100, but the two survival curves are both always above 90%. I ...
• 97.5k
23 views

### How are interactions calculated in a visualization using the cat_plot function from the interactions package in R?

I have a multilevel model with one significant interaction and several covariates. I understand the results from the summary fairly well, but I'm a bit stumped by the output in the visualization. Here ...
• 11
1 vote
42 views

### Plotting a regression line with a different fit than the model it is supposed to illustrate

I am currently at a dilemma concerning a model describing the allometric relationship between body size and mass. After carefully checking model assumptions and selecting the model that best fits the ...
• 11
51 views

### Visually comparing two models based on the per-observation AIC

In order to visually compare two models (logistic regression, in case that it matters) I thought of plotting the contribution of the individual observations to the AIC of the respective model. The ...
• 7,633
21 views

### Graphing interactions in linear mixed models with negative log-transformed outcome

I have performed a linear mixed model where I used Tukey's ladder of Powers to transform the outcome variable (time) to get normal residuals, which gave a negative lambda. This resulted in a vector of ...
• 91
1 vote
85 views

• 113
86 views

### Showing the difference between two models with similar AUC-ROC curves

I have a plot of ROC curves for about 5 models. The curves are overlapping, as shown in the attached figure. Is there a way to still call out the differences between these models in a research paper ...
• 33
128 views

### Radial axis transformation in polar kernel density estimate

Consider a kernel density estimate of a continuous, non-negative random variable defined over the unit circle with no discontinuity between 360 and 0 degrees. Unlike in the most common KDE ...
• 193
26 views

### statistics linking McFadden's $R^2$ to the relationship between two binary variables, akin to correlation

My goal is to create a visualization of the strength of the McFadden's $R^2$ of a (multinomial) logistic regression, where McFadden's $R^2$ is $1-\dfrac{LL(M_1)}{LL(M_0)}$, involving the ratio of the ...
• 47.2k
28 views

### Representation of a spline regression - it is better to plot y axis in log scale?

I have a quick (perhaps very naive) question here. Suppose I have a Cox Regression model in which I have modeled a spline curve on a Predcitor. I want to plot the results of this regression (i.e., ...
• 592
239 views

### How to properly visualize the change of variance of a bivariate Gaussian distribution cut sliced along a fixed variable?

I'm trying to understand the basics of Gaussian Distribution. I struggle to visualice how the variance of the conditional probability of say P (Y|X) changes when X is fixed (given X and Y have a joint ...
1 vote
15 views

### Visualize difference between time series lines, with similar changes over time and missing data

I have a large set of objects that each generate a multivariate time series at a daily to hourly resolution. As an example, let's say that they are weather stations generating variables for ...
83 views

### Visualizing predictions from GAM model with control values as a baseline?

I am fitting GAM models to check whether forest treatment (2 types of logging regimes) influence bird abundance across years. Abundance was counted on constant plots. Each plot is located in a ...
29 views

### Troubleshooting linear mixed effects model plot and trendline slopes

I'm working with multiple years of temperature data from different sites in a watershed. I'm using the 7DADM measurements i.e. one temperature reading for each site per year of monitoring. This is ...
36 views

### I have an issue summarising highly skewed data in a table

I have a numerical ordinal dataset (eg. 1-10) that's very highly skewed, with >90% of the values at 10. How can I best summarise this in a table? The median/IQR gives '10 (10, 10)' (which doesn't ...
• 21
25 views

### What is the name of a plot that looks at the effect of ony one variable in a regression model? [duplicate]

In short: what is the name of the type of plot below? These seem like standard plots, so I don't want to rename them by accident (I'm giving a presentation on this). The code itself does not matter ...
• 1,213
207 views

### Are there any simpler alternatives to boxplots and barplots that can faithfully represent data with outliers and strongly varying ns?

I have a dataset of passwords that looks like this: My goal is to make a graph that accurately showcases the strength of each category so my initial plan was to group the data by category and ...
• 211
32 views

### Calculate/analyse deviation from overall productivity trend

I have the productivity of a group of people that moves year to year, and that group of people is composed of different subgroups of people that have different general levels of productivity that also ...
• 1
88 views

### Plotting probabilities from multinomial regression output

I generated some data to visualize a multinomial logistic regression, where individuals choose a mode of transportation based on their income. I then set up a regression and predicted the ...
51 views

### Visualizing distributions of measurements with uncertainty

Suppose I have a vector of measurements, each of which has an associated potential measurement error. E.g. all my measurements are of the form $2 \pm 0.5$ or something like that. I can look at the ...
• 437
15 views

### How to cluster and visualise vectors of which the components are class indices?

Let's say I have a dataset $\boldsymbol{\mathcal{X}}$ of $N$ samples wherein each sample $\boldsymbol{x}^{(i)}\in \mathcal{X}$, $i \in {1 \ldots N}$, is described by a set of $D$ features, such that \$\...
1 vote
37 views

### How to visualize time series using PCA?

I have two multivariate data sets comprised of 100s of time series, one is the actual recorded data set of time series and the other is a synthetically generated data set based on the recorded one. ...
• 31
1 vote
33 views

### A summary plot for mean, standard deviation, median, min and max

I have mean, standard devation, median, min, and max of a dataset, but not the source data. Which summary plot would you recommend for visualising different groups in the dataset?
• 179
35 views

### Correct way to visualize glmm with interactions in R?

I just want to make sure I'm visualizing mixed model with interaction terms the correct way. I fitted the following model with glmmTMB package in R. ...
• 141
1 vote
18 views

### Difference between loss, activation functions lanscapes

I have figures below taken from Diganta Misra's paper "Mish: A Self Regularized Non-Monotonic Activation Function." They visualized both the loss output landscapes in Fig 4 below: And they ...
• 249
46 views

### Plotting multinomial choice regression model in R

I generated myself some data to try some data with 4 levels (health status based on body-mass-index, please don't judge me if the values don't make sense): ...
35 views

### summary of the model is good but the plot is not normally distributed

I am doing a linear regression and the summary for the model is good however the plot is not normally distributed, i wanted to know if the model is still valid.
1 vote
30 views

### How do i interpret this plot and summary (multivariable linear regression)

I am not 100% sure how to interpret the plot for multivariable linear regression, especially everything besides the normal Q-Q one. From my understanding, the plot showed linearity or the model is a ... 14 views

### Showing suspended (right-censored) data points in diagram (distributed on x-axis)

How is it possible to show the suspended (right-censored) datapoints (distributed on x-axis without value for y-axis) in e.g. Probability Plot - Weibull CDF like the green triangles in attached image?
• 1
1 vote
29 views

### Mixing raw data & model based visualization

How to handle the following request from a journal: I've evaluated a data set using a linear mixed model (lmm). Among the evaluated factors, I was particularly interested in one, which I plotted as a ...
• 111
11 views

### How to read an ellipsis contour plot? [duplicate]

Page 244, intro to statistical learning 2nd edition. How do you read the following plot? The subtitle does not make any sense to me. Do the concentric circles basically depict 90%, 95%, 99% 2-D ...
• 523
28 views

### How to measure auto-correlation of pixels in a video?

I am working with climate variables time series (such as temperature, wind speed and humidity) and would like to understand how the wind speed (e.g.) at a place is influenced by other entries, by ...
25 views

### Residuals vs. Predictor Plot for categorical predictor

I am trying to use Residuals vs. Predictor Plot to evaluate whether to add a new categorical feature (with 2 levels) to my logistic regression. I found this useful page about how to use Residuals vs. ...
34 views

### Does tapping into face perception for data vizualization like in the case of the famous "Chernoff face" actually work? What are some notable examples?

Chernoff faces, invented by applied mathematician, statistician and physicist Herman Chernoff in 1973, display multivariate data in the shape of a human face. The individual parts, such as eyes, ears, ...
1 vote
44 views

### Comparing two series of measurements

I measured execution times in environments A-1/2 and B-1/2 for tasks I and II. I performed these measurements in two different contexts V1 and V2. I have created a third table in which I form ...
36 views

### Can we calculate SD or SEM on percentage data?

[![I have two student populations and the percentages of students calculated based on what grade they obtained. So here, in the image close to 70% obtained grade A. But the 70% is obtained after ...
• 1
1 vote
11 views

### How to visualize connections between survey participants

I have the dataset from survey with participants IDs and IDs of another participant (or participants) that first participant knows, just like this: Participant ID Knows participant 111 353 111 777 ...
15 views

### Averaging every n points on a line chart to reduce number of points

For university, I am making a website that should be able to plot CO₂ and VOC values from a sensor. On the front end, I am plotting the data using chartJS and react. One requirement for this project ...
51 views

### Interpreting Interaction Effects Using Main Effects Between Models

Traditionally, to investigate the interaction effects between 2 variables one would simply add the interaction term to their model. C ~ A + B + A:B. I feel fairly confident with how to interpret these ...
34 views

### Slopegraph with too many observations

Currently, I am studying the book "storytelling with data - Cole Nussbaumer Knaflic" to learn about data visualization. Now I am learning why the slope graph can be very helpful. If you have ...
• 311
42 views

### How to visualize the results of a method which predicts binned probabilities?

I'm attempting to create a machine learning model that predicts some real-valued data points. If I was using a straight regression approach (that is, one where the output is a real-valued number), I ...
• 949
17 views

### What is this matrix-like relation diagram called

I am looking to reproduce a diagram similar to the below, but I am at a loss for a good way to do so - not least because I do not know what the diagram type is called. The following is an example from ...
• 101
19 views

### How do I read systematic trend plot in survival analysis? [duplicate]

RESIDENCE is a variable I had to add interaction to in order to adjust for time dependence. This is the plot I created with: ...
• 403