Skip to main content

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
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 ...
JonKetchup91's user avatar
0 votes
1 answer
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 —...
W Hampton's user avatar
0 votes
0 answers
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 <- ...
Guilherme Mourão's user avatar
0 votes
0 answers
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" ...
maglorismyspiritanimal's user avatar
3 votes
2 answers
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 ...
nickalh's user avatar
  • 133
2 votes
1 answer
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 ...
niobium's user avatar
  • 189
0 votes
0 answers
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 ...
Damir Tenishev's user avatar
9 votes
3 answers
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 ...
Damir Tenishev's user avatar
0 votes
0 answers
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: ...
Endre Hagen's user avatar
1 vote
1 answer
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 ...
Fabian's user avatar
  • 61
1 vote
0 answers
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-...
LucaS's user avatar
  • 735
1 vote
1 answer
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 ...
Zoomman's user avatar
  • 11
0 votes
0 answers
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 ...
PGT's user avatar
  • 101
1 vote
0 answers
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,...
kemajuan's user avatar
1 vote
1 answer
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 ...
Lukas D. Sauer's user avatar
2 votes
1 answer
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 ...
Paul Cudles's user avatar
3 votes
1 answer
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 ...
user406570's user avatar
0 votes
0 answers
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) ...
biostudent's user avatar
1 vote
1 answer
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 ...
Shyamkkhadka's user avatar
2 votes
1 answer
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 ...
Buck Thorn's user avatar
0 votes
0 answers
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 ...
Wangana's user avatar
  • 53
10 votes
4 answers
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 ...
vin's user avatar
  • 203
0 votes
0 answers
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 ...
pindakazen's user avatar
5 votes
1 answer
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?
Katherine's user avatar
  • 165
0 votes
0 answers
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 ...
Darfo's user avatar
  • 1
3 votes
1 answer
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 ...
Alex J's user avatar
  • 2,551
4 votes
0 answers
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 ...
Ben Bolker's user avatar
  • 44.2k
4 votes
1 answer
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 ...
Coris's user avatar
  • 347
3 votes
3 answers
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 ...
maglorismyspiritanimal's user avatar
19 votes
4 answers
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,...
Coris's user avatar
  • 347
10 votes
3 answers
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 ...
Michael Liu's user avatar
0 votes
0 answers
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 ...
irahorecka's user avatar
4 votes
1 answer
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 ...
ACOM's user avatar
  • 43
3 votes
0 answers
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 ...
A-okay's user avatar
  • 83
0 votes
0 answers
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: ...
jos0909's user avatar
  • 51
3 votes
3 answers
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?
Happy Cretine's user avatar
2 votes
1 answer
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 ...
Actuarial_student's user avatar
2 votes
1 answer
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 ...
justm-c's user avatar
  • 21
0 votes
0 answers
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 ...
John Gallop's user avatar
1 vote
0 answers
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 ...
Kati's user avatar
  • 11
0 votes
1 answer
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 ...
Tanuki's user avatar
  • 1
0 votes
0 answers
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 ...
Micah's user avatar
  • 1
10 votes
3 answers
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 ...
Tryer's user avatar
  • 275
0 votes
2 answers
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 ...
Marmaduke Bonthrop Shelmerdine's user avatar
1 vote
0 answers
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 ...
rdemyan's user avatar
  • 11
5 votes
2 answers
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 ...
Isha B's user avatar
  • 163
8 votes
2 answers
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: ...
tacrolimus's user avatar
5 votes
1 answer
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 ...
camhsdoc's user avatar
  • 399
1 vote
0 answers
54 views

Plotting 3 points per data set in lollipop-type chart [closed]

I am wanting to plot a graph where I have multiple data points per category of data. For some context, I have done some analysis on different samples and now have up to 3 3 data points for each sample ...
Charllotte's user avatar
4 votes
1 answer
80 views

How to interpret and visualise output from lmer model r?

I have data from 310 individual plants, from various habitats (5 type), species (10) occuring in different habitats, measured photosynthesis performance (PhiPS2) in different months (sampling_no_). I ...
scholar101's user avatar

1
2 3 4 5
62