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
1 vote
0 answers
22 views

Bishop Gaussian Basis

In Pattern Recognition and Machine Learning by Christopher Bishop he says in Section 3.3.2 titled Predictive distribution If we used localised basis functions such as Gaussians, then in regions away ...
Rahul Yadav's user avatar
0 votes
0 answers
16 views

How to preview plots in R Notebook? [closed]

I'm trying to plot a correlogram and periodogram for my dataset in R Notebook, as if I understand correctly, R Notebook offers the feature to preview plots without having to knit unlike R Markdown. ...
KitanaKatana's user avatar
12 votes
3 answers
674 views

Visual assessment of scatterplots acceptable?

I have a fairly basic question about analyzing a dataset of measurements taken on a number of fish, which I’m doing as part of a student project. So I have measurements of four species of fish of ...
roland222x's user avatar
14 votes
5 answers
2k views

In what instances are 3-D charts appropriate?

All the data analysis-related texts I have read over the years recommend against using three-dimensional charts in almost all cases. To quote one of them, "Never use a 3-D chart when a two-...
In Hoc Signo's user avatar
0 votes
1 answer
34 views

How to derive points for each variable in nomogram by hand?

I'm dealing with nomograms at this time, but I don't really understand how to derive the exact points for each variable by hand (or in a mathematically way). To be concrete, I brought a simple example:...
user avatar
1 vote
1 answer
17 views

How to visualise the value of one predictor in a multiple linear regression

I'm looking for confirmation on whether the approach I have is statistically correct / straightforward, and if there might be any references supporting this line of thinking on how to visualise ...
Cam_stats's user avatar
5 votes
2 answers
68 views

Interpreting random effect in GAM output: gaussian quantiles

Model runs are fine. Interpreting effects is easier for factors. What is not straight forward are the outputs/plots for variables with factor levels assigned a random effect. The plots I am trying to ...
frog_dan's user avatar
  • 109
1 vote
0 answers
14 views

Discrepancy in MSE Cell Frequencies and Entropy Estimation for Various Estimators

I've been trying to replicate the results from the paper "Entropy Inference and the James-Stein Estimator, With Application to Nonlinear Gene Association Networks" in R. The goal is to ...
Martin Miccoli's user avatar
2 votes
0 answers
61 views

Is It Okay to Scale up Principal Component Analysis Loadings to Fill the Plotting Region When Plotting Principal Component Analysis Scores [duplicate]

I have the following plot, where I've plotted principal component analysis scores. I overlaid the loadings in the plotting region, but they're all very short and you can't see the loadings nor their ...
David Moore's user avatar
1 vote
0 answers
30 views

How to tell if an interaction term should be included based on residual plot?

Applied Linear Regression Models says: Also, residuals should be plotted against interaction terms for potential interaction effects not included in the regression model, such as against $X_1X_2$ , $...
Nate's user avatar
  • 11
1 vote
1 answer
40 views

How to plot posterior marginal means for categorical variables?

I ran this model. Each categorical variable has three levels. How can I plot the results such as posterior marginal means for each six levels by country? ...
Olivia's user avatar
  • 365
0 votes
0 answers
10 views

Best Approach to Smooth ETA Transitions in Delivery Prediction Models

I'm working on displaying the ETA (Estimated Time of Arrival) for an item delivery using a predictive model that evolves over time. The issue I'm facing involves smoothing the transition between ...
Chiara's user avatar
  • 23
2 votes
1 answer
42 views

Plotting/modelling a histogram with large bins of small values

I'm wondering some best practices or approaches for data where, for example, as in the below image the low value bins are most common, but you are interested in the whole distribution. Here is a ...
WBM's user avatar
  • 121
1 vote
2 answers
59 views

Relative vs. absolute error bars in log-scaled plots

There's conflicting info from seemingly knowledgeable sources about the correct way to show error bars on a log-scaled plot. $log_{10}(x \pm \Delta x)$ shows the absolute error. On the one hand, it's ...
ZachB's user avatar
  • 165
4 votes
3 answers
431 views

Any tips to differentiate zero and non-zero values on a map with a continuous color scale?

This is more a theoretical/best practices question than a practical one, but imagine I have to make a map with points representing cities, and some variable is tied to the points color. The value ...
Throe's user avatar
  • 51
7 votes
3 answers
465 views

I think standard deviation of y is related to size of x. How do I create a model for this / test this?

I have a sample of data $(x_i, y_i)$. I hypothesize that $y_i$ is not dependent on $x_i$, but the standard deviation of $y_i$ depends on $x_i$ More concretely, say I assume $\textrm{Var}(y_i | x_i) = ...
Lost1's user avatar
  • 716
1 vote
0 answers
48 views

seeking suggestions for visualizing relationships between extracted topics and ratings in R

I have a set of product online reviews data. The dataset contains review text and 1-5 star ratings. I've extracted 5 prevalence topics using R stm package. They are price, design, packaging, promotion ...
James's user avatar
  • 63
0 votes
1 answer
42 views

Plot Hazard ratio, 95% CI with a continous variable

Can R generate some figure like this? x-axis=age(continous), y-axis = hazard ratio for each count? Our dataset: mydata, event=death, time to event=years, var=age, group=treatment(1) vs control(0)
bigbigtree's user avatar
0 votes
3 answers
81 views

False Negative vs False Positive for Multiclass classification

Suppose I have three classes 1,2,3. And there's evaluation like below, where second element is false prediction where model predict class 3 while ground truth is 2. ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
58 views

How can i make a simple visualization of my result from a two way fixed effects regression model?

I am trying to understand the effect of the variable x1 on the dependent variable y1, and for that i have panel data. I decided to use a two way fixed effects model to estimate the effect of variable ...
user413005's user avatar
2 votes
1 answer
36 views

Representing growth in learning outcomes

The average score of my class of students at the beginning of the year was 50/100 and at the end of the year, it was 80/100. The percentage growth is 60%. Can I write there is 1.6x growth in average ...
Poulo's user avatar
  • 191
2 votes
3 answers
111 views

How to work out the expected rate of success when there is a guaranteed success on the nth attempt?

I'm looking to work out how to find the expected success rate when given the rate of success but, also after n-1 failed attempts, there the success rate is 100% for the nth attempt. Intuitively I ...
BLey99's user avatar
  • 21
0 votes
0 answers
63 views

How to express the uncertainty in the OR of a right-tailed Fisher's exact test?

Many OR (odds ratio) visualizations show 95% confidence intervals expressing uncertainty like on the left panel in figure below. However, in genomic overrepresentation analysis right tailed Fisher ...
jay.sf's user avatar
  • 888
1 vote
1 answer
205 views

Best solution was not repeated - no reliable result for metaMDS?

I have abundance data of spiders that I captured in different forest stands and I want to perform an NMDS. It generally works, although the stress value is relatively high. However, I get the message ...
Jenny s.'s user avatar
0 votes
1 answer
23 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
19 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
89 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
41 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
71 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
778 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
23 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
64 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
  • 51
1 vote
0 answers
31 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
  • 833
1 vote
1 answer
50 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
18 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
68 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
47 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
22 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
126 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
44 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
79 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
61 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
47 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
13 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
6 votes
1 answer
382 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
  • 175
0 votes
0 answers
32 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
45 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,616
4 votes
0 answers
61 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
  • 45.2k
4 votes
1 answer
100 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

1
2 3 4 5
63