# 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.)

3,088 questions
Filter by
Sorted by
Tagged with
9 views

### SAS ODS Output to SVG - Side-by-Side Graphs [closed]

I am trying to output two SGPLOTS side-by-side as a single SVG file; however, the following code creates 2 files: graphs1_21.svg and graphs1_22.svg. If you could help me output a single SVG file with ...
10 views

### Parallel Mediation Model Diagram

I am building a parallel mediation model diagram but am not sure what one of the numbers signifies despite 30 minutes of Goolging. The number in question is what's in the parenthesis for the c' path —...
13 views

### visreg is not ploting random effects with a mixed model [closed]

I am trying to run the example provide in http://pbreheny.github.io/visreg/articles/web/mixed.html: library(visreg); library(lme4, quietly=TRUE) data(Milk, package="nlme") ctrl <- ...
7 views

### I want to plot the decision boundaries of an SVM model with more than 2 variables

I understand that that is impossible to visualize, so I went in and PCA-transformed the variables. The problem is that I still need more than 2 principal components to get "good" ...
84 views

### Intro to Stats- professor's mistake in an exercise on types of diagrams?

The Question Parking at a university has become a problem. University administrators are interested in determining the average time it takes students to find a parking spot. An administrator ...
• 133
39 views

### In general, does $P(R|N)>P(R)$ implies $P(N|R)>P(N)$ ? Seems to be confirmed by Venn diagrams example but contradiction with Bayes' theorem

Let $R$ and $N$ be two dependent events, such that $P(R|N)>P(R)$. Does this implies that $P(N|R)>P(N)$? The odds are this is true (and equivalently $P(R|N)<P(R)$ implies $P(N|R)<P(N)$). I ...
• 189
56 views

### What do people call such a chart with a strip of activity types per time?

What do people call a chart like that below which has days on Y axis and time of the day on X axis while color represents a kind of activity (data gathering, processing, etc.)? It is very close to ...
754 views

### What do people call a chart with a strip of peak values in time intervals?

What do people call a chart like one below which has days on Y axis and time of the day on X axis while color represents the level of some value (for example, loading, usage count, etc.)? The chart ...
16 views

### RDA analysis in R

I'm working with foraminifera diversity in the Arctic on my master thesis. I want to look at how environmental variables are affecting the species variation, so I'm using RDA. This is my code: ...
1 vote
44 views

### Visualizing restricted cubic splines in glm.nb

I am trying to visualize the relationship between a continuous variable ("marker") and a count variable ("count") using a negative binomial regression with a restricted cubic ...
• 61
1 vote
25 views

### Plotting model-adjusted baseline values of change scores

I know using change scores to evaluate a treatment effect on an outcome in an RCT is frowned upon by some. But I'm interested in knowing what people normally do when it comes to plotting the model-...
• 735
1 vote
45 views

### Intensity outliers/anomalies in 2D plot

I wonder what kind of method better to use to see outliers on z value of 2D plot. For example, I have measurements of x and y values both in range of 1 to 16 with step of 1. Next I calculate how many ...
• 11
17 views

### What's the best visualization for an accuracy vs. enum list plot?

I have been training my DL model with different permutations of features and have been logging the results. On on column is accuracy, just a scalar float. On ...
• 101
1 vote
53 views

### Event study: Group periods at margins

For an event study (staggered Diff-in-Diff with different treatment periods) I would like to group the periods at the edges so that we get the coefficients for <=x / >=x , such as: For starters,...
• 11
1 vote
38 views

### Why does the Gelman plot of a JAGS model start at 1000?

I am looking at the diagnostics of a Bayesian model using rjags in R. In particular, I am considering its Gelman-Rubin-Brooks plot. Independent of the number of ...
20 views

### How to present the relation between two KPIs

The case is for a logistics company. We are trying to show our users their current emissions and how much emissions they can save/avoid/reduce by choosing more sustainable routing options. On our ...
98 views

### Forest plot to show results in a observational restrospective cohort study

I have to present my study as a poster and, in order to make my results more visual, I thought it was a good idea to report them as a forest plot. However, it is ok to use a forest plot to report the ...
41 views

### Plot linear mixed-effects model results

Background: I am looking at how clinical factors affect disease progression in a longitudinal dataset with a mixed effects linear model where A is the response variable (here, a measure of disease) ...
1 vote
66 views

### What is the best way to visualize relationship between three variables?

I have a data like this: Company Providers Paths A 1 14 B 2 15 C 4 60 D 2 13 The greater the number of providers, the greater the paths. What might be the best way(graphical plots) to present ...
• 267
54 views

### Why does factor appear significant in 2-way ANOVA but not by inspection (mean +/- sd or error plot)?

I am puzzled about the result of a 2-way ANOVA analysis. The factors are categorical and non-random and the sum of squares used is constrained type III (the choice of categorical or SS type does not ...
• 153
24 views

### Interpreting the Y-axis of a visreg visualizaion of a binominal logistic regression model

This is a long post, apologies for the length. In sum, I just want to know what the Y-axis represents in the below plots. Here's the background: I have a binomial logistic regression model in which ...
• 53
3k views

### What kind of chart is this and how to read it?

I came across this chart that is both weird and intriguing. It is about some literary works produced in the regions mentioned. The x axis is the time and y axis the percentage. The preceding para has ...
• 203
12 views

### Given variable A and B containing data of lemma sentiments, what is the correct term for the variable containing average of var A and var B?

I have a data visualization, showing the sentiment of two lemmas "гей" (var a) and "трансгендер" (var b) in a news corpus throughout the year. Here is the dataframe sample of my ...
272 views

### Visualization of a mixed effect logistic regression model?

Can you suggest me which graphs I should do to visualize a mixed effects logistic regression model with three fixed predictors (all categorical) and two random intercepts?
• 165
31 views

### Representing duration on a map

I have a geographical map of a region, with a few locations of interest on it. For these locations (a dozen - edit: I just counted them, they are actually 25! Sorry for the underestimation), I want to ...
43 views

### How should I visualise uncertainty in a histogram from survey sampling?

I have a numeric variable $\{x_i\}$, which corresponding weights $\{w_i\}$, where the weights are survey weights from a corresponding complex survey design. I want to visualise a weighted histogram of ...
• 2,551
56 views

### experimental evidence for differences in perception on vertical vs. horizontal scales

I am searching for experimental studies, by Cleveland or anyone else, that test differences in the accuracy of quantitative judgements (or related aspects of visual perception) based on whether data ...
• 44.2k
82 views

### Alternatives to population pyramids

In a comment thread relative to another question, Nick Cox says: Population pyramids are over-rated. Subtle shifts in the ratio females to males, or its reciprocal, are important and common and ...
• 347
185 views

### Which error bars to use when comparing only two subjects when many replicates?

I want to plot discrete time measurements made for two subjects, but where many cells were observed for each subject in triplicate. I think the experimental unit is the subject, so I should just get a ...
2k views

### Are there situations where a vertical bar chart is preferable to a horizontal one?

I hardly see what kind of advantage a vertical bar chart could have over a horizontal one (edit: by "horizontal bar chart", I mean a chart with bars oriented horizontally). On the other hand,...
• 347
911 views

### Are these valid histograms?

My friend asked me about histograms and sent me some examples given by their teachers and in the textbook. It is not like the histograms that I've learned at all. I was taught that the quantity ...
• 103
27 views

### Effectively Visualizing P-value Distributions with Excessive 1.0 Values

I'm dealing with a discrete statistical test scenario where a significant portion of the P-values calculated are exactly 1.0, due to the nature of the test statistic not exceeding its observed value ...
• 143
59 views

### LOESS using predicted means from a linear mixed model

What aspects do I need to consider when plotting a smooth curve with the LOESS method (geom_smooth) using predicted means from a linear mixed model? My data consists of longitudinal psychological ...
• 43
28 views

### How to visualise and analyse two aphid species direction facing based on orientation of a plant in relation to gravity

I've performed an experiment looking at whether the orientation a plant is held in (upright, sideways or downwards) will effect the behaviour of two aphid species (S. avenae and M. dirhodum) on ...
• 83
30 views

### Gap in Partial Residuals Plot for Logistic Regression Model

I'm working on a logistic regression model using R with a binary outcome (prescribed DPP-4 inhibitors or other drugs) and several predictors. My model is specified as follows: ...
• 51
512 views

### Gaps in a histogram in sampling distribution

This histogram shows the sampling distribution of 5000 sample proportions each based on 50 persons. Why are there gaps between the bars in the histogram?
48 views

### How to interpret the plots of smooths from a GAM object

I am reading a text which is trying to demonstrate that enabling the select = TRUE option in the GAM function doesn't get rid of all the non-significant variables ...
108 views

### Logarithmic scale use cases

Is it fine to use logarithmic scale with bar charts? (I guess I depends on a specific case, like using the logarithmic scale anywhere else). I have done so in a Power BI report when comparing each ...
• 21
42 views

### Review of Partial Dependence Plot

I have created a partial dependence plot and converted a probability on the y axis. I am systematically going over my variables with the highest importance and see if there are some clear trends in ...
1 vote
73 views

### Calculation Interaction Effects, Plot of Fixed Effects Model with interaction terms

I'm working with panel data using the plm package in R to estimate a fixed effects model that includes interaction terms. I'm currently able to get my model results using plm and display them with ...
• 11
29 views

### Predicted circular regression curve from a bpnr regression

I'm trying to understant how to interpretresults from the bpnreg package to do glm on a circular response variable (flight directions). I understood from the paper that the interpretation can be done ...
15 views

### Error Bars for Incidence of a Rare Medical Complication

I am making a plot of the incidence of a medical complication by the drug dose used. The incidence is very small, and so I am getting huge error bars using standard deviation-based methods, even ...
1k views

### Why does creation of a Q–Q plot in Excel need an adjustment by 0.5?

I am aware that different statistical packages provide Q–Q plots using code or via a black box. For example, minitab with R integration for Q–Q plot from here. I am trying to do this manually via ...
• 275
26 views

### Why is the correlation coefficient of these subsections of this dataset indicating a much weaker correlation than the whole dataset?

I have a dataset which includes household income against expenditure. The correlation coefficient of the dataset is 0.7064 which indicates a strong positive correlation. Here's a graph for it: Now I ...
1 vote
16 views

### Drawing error bars on a position vs time chart where st. dev. is for vectors and not total position

I have the following data for a position versus time analysis. Note that the total distance is just the sum of the mean vector distances. I want to show the error bars on a chart of total distance vs ...
• 11
338 views

### GAM plot in R for "by = factor" [closed]

I have a dataset of dolphin encounters (count data) which are segregated by "type" of detection of an event (acoustic, visual, mix). I ran a GAMM to test the effect of environmental ...
• 163
219 views

### Best plot in R for count data with a broad range and lots of low frequency data

I have a data set that looks like this, in reality there are about twenty categories with a count of 1: ...
• 195
108 views

### "Famous" set of correlation plots used for teaching

I am familiar with Anscombe's quartet I am now looking for a different set of plots. From what I remember, these all had correlations of zero, and there was a question here on CV, and I think it was ...
• 399
1 vote