# Questions tagged [data-visualization]

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

2,756 questions
Filter by
Sorted by
Tagged with
32 views

### How to plot the hazard ratio of a categorised variable in its original continuous scale? take BMI for an example

I have BMI divided into quartiles. I fitted two cox regression models that included BMI as a categorical and continuous variable respectively. Now I want to plot the hazard ratio of categorical BMI ...
96 views

### Residual Plot vs Fitted, linearity and Heteroskedasticity

I am working on a linear Regression Model right now, it has the following format: ...
37 views

### Alternative to spider/radar chart when dealing with a skills matrix for more than 10 people

I have a skills-matrix with skills on 15 people (i.e. 15 observations). I would like to visualise the skills matrix and thought about a spider/radar chart. Due to the high number of people, I suspect ...
78 views

### STATA margins dydx with over(.), continuous variables and interaction effect

I have a logistic regression model with two variables (A and B), which I also interact. A and B are both continuous. After the estimation I want to use the margins command to plot the marginal effect ...
44 views

### What does the "mass" of a box plot mean?

By “mass” I mean the size of the two subretangles that make up the box in a standard box plot. I thought the mass quantified the observations below and above the median but if it did so every box plot ...
28 views

### Summarise results of multiple posteriors on simulated data

For a Bayesian model $M(\theta_1, \theta_2)$ I simulated 100 datasets with fixed $\theta_1$ and $\theta_2$ and then ran posterior sampling on each dataset using model $M(\theta_1, \theta_2)$. Now, my ...
23 views

### Effective way to visualize the differences between various sets of data and a reference set

I'm not a stat person, so I apologize if this question is trivial. I have data obtained from several simulation methods that need to be compared to experimental data (which presumably represent the &...
34 views

### Plot for a GAMM created with predicted() differs from vis.gam() plot

I have a problem with two forms of plots of two GAMM models: The first model is a baseline model estimating the time trend of measured mood during 30 weeks of 2020 (N=371). Lot's of missings, though (...
27 views

### Principal Components of PCA

I have a dataset combined with normals samples and fault samples. We use PCA on normal samples and faults samples separately. I observe that the last PCs help us to have better separation than for ...
55 views

### Graphing Simple Presence/Absence Data?

I have to create a graph (maybe cdplot) for a final project. I have presence/absence data for around 20 years for a species of frog. ...
45 views

### How to compare paired qualitative data?

I would like to compare two methods on qualitative and paired data. To summarize my study for you (it's for an internship), I have activity values ​​that were measured on 13 sites, for 12 species of ...
12 views

### Why on a Confusion Matrix are Independent and Dependent Axis Transposed?

Normally, a graph's X axis contains the independent values and the Y axis contains the dependent values. However, on a Confusion Matrix, the X is dependent (predicted) and Y is independent (true). Why ...
53 views

### Understanding the CDF graphically

Given the following plot of a CDF $F(x)$ I'm testing my understanding on the graphs of the CDF, trying to figure it out certain probabilities but I'm still not grasping it. For example my thoughts ...
37 views

### How to plot a binomial GLM with a three way interaction?

I have the following model: all.fit <- glm(Presence/Total~Season*ToD*Site, family = binomial, weights = Total, data = all.dt) ...
43 views

### plot "average" of many similar time value curves

i did an experiment and recorded a value over time. the value always starts at zero and slowly rises over time. once the value reaches a certain threshold the experiment is stopped. i repeated this ...
23 views

### Verification and visualization of survival analysis

I performed some experiment with two clones of cells CloneType red and green. The task was ...
27 views

### Distribution of this degree distribution plot [duplicate]

I have plotted this distribution, representing the degree distribution of the amazon co-purchase network (2003) graph. Sadly, I do not know how to interpret this. Do you know which distribution this ...
15 views

81 views

### R plot Odds Ratio for each value in logistic regression

I am trying to replicate the method in section 3a of this paper where, for a logistic regression model, they plot the functional relationship between a continuous variable and the odds for developing ...
31 views

### Analysis Course Survey Results

I have data from ~3500 students regarding their experiences taking an online class last year. The class consisted of a unified on-demand component and several sessions on Zoom with instructors. I ...
33 views

### How can I visualize decision tree leaves in tabular form effectively?

I have a decision tree from a classification model that is 6 levels deep and has about 30 different leaf nodes. In a table, I want to sort each leaf node by training probability, and capture ...
54 views

### Visualization of consecutive durations between two groups

Summary: How can I effectively visualize the variability in the time to complete consecutive tasks between two groups? Background: I am performing a health outcome study for how long it takes for ...
21 views

### Plotting predicted common OR and 95% CI from an ordinal logistic regression model

I fitted an ordinal logistic regression model with a dependent variable of four ordered responses with one continuous predictor variable and 6 confounders, using the polr package in R. It looks like ...
20 views

### Visualizing time series regression results in a causal framework

Suppose I have a set of independent variables that I believe to, collectively, cause the observed level and changes in the value of the dependent variable, and I have the results of a regression of ...
25 views

### Graphing Regression Results with Insignificant Coefficients

Consider investigating an interaction using a linear regression with the specification: Y = β0 + β1X + β2M + β3X*M + e Where:  \begin{array}{c} & \text{Coefficients} & \text{Sig.} \\ \...
131 views

### How to properly display technical replicates in figures?

Let's say there was an experiment with two groups that I'd like to compare, both with three biological* (n = 3) and three technical* (N = 3) replicates each. For statistical analysis, I'd average the ...
49 views

### How to interpret this plot?

Please give me an explanation based on this Non-linear estimation results from the aggregate model (HOSP). This figure shows the non-linear effect of age (AGE), education (EDU), family size (FAMSZ), ...
103 views

### Alternative to boxplot when there are many outliers

I have a distribution than has an extremely wide range but has a gaussian shaped narrow peak inside of it. If I plot this data with boxplots I get a small box with small whiskers and many outliers of ...
20 views

### Predict next job category, multi-class classification, R

I have a data frame consisting of 4 columns (category 1 - category 4) which are the job categories people worked in starting from category 1 being the first job after education and job 4 the latest ...
25 views

### Interpret heteroskedasticity plot in R

Consider a linear probability model (LPM) where the $Y_i$ is a dummy variable. To test the presence of heteroskedasticity in our data, I executed the following code: ...
23 views

### Improvement of Interpretation of residuals vs fitted plot

I wish to examine assumptions for single regression using the built in diagnostics within R. The residuals vs fitted plot below seemly violated the assumption. There are 2 dummy coded variables within ...
14 views

### Is standard deviation suitable for error bars in case of time-dependent measures?

I'm a software developer so my knowledge of statistics is pretty limited. I will rephrase the question if it sounds confusing. I'm trying to visualize the data for a networking test in which I ...
13 views

### How can we programmatically decide whether to plot on primary or secondary y-axis?

Suppose we have an arbitrary number of features in our time series dataset, Xn. We'd like to plot all the individual time series together on one plot. However, we'd like to be smart about how we plot ...
69 views

### Interpretation of Group Var and visualizing LMER-model

I've fitted an LMER-model in Statsmodels, and I'd like to illustrate my results with a plot. My data consists of 14 groups, measured once daily during a timeperiod of 15 days (there are a few ...
35 views

### Are there other ways to visualize data not by graphing or tables? [closed]

I want to try something new with data visualization, where I can't use graphs, charts, or even tables to represent some data. First, I will use a table to show some statistics. House No. Energy ...
27 views

### Approaches to visualize difference of two raters from ground-truth

I have a dataset of 80 samples, with each containing two measurements on a 0-10 ordinal scale (Rating_1 and Rating_2) as well as ...
243 views

### How can I plot a hyperbolic curve in R and get an equation of best fit? [closed]

Is there anyway to plot this data set using ggplot2 to get a graph with a hyperbolic line of beset fit as well as the equation for the line? ...
38 views

### Computing histogram bins with insensitivity to domain scale

I have a data set with N values residing in the range [-1, 1]. Assume that N is quite large (1,000 to 10,000). I would like to compute a histogram for this data set with the usual binning requirements ...
24 views

### When using a GAM with mgcv in R, how do I correctly plot and interpret multiple interaction terms with ti() and te()?

I am using GAMs in the mgcv package and have an interaction (a term I use loosely here - see here) that I want to plot. I am exploring how ...
43 views

### Visualising Gantt chart distribution

I perform $n$ simulations of operations planning. I can plot a gantt chart for each simulation, but I am interested in visualising the variability of the whole simulation set : I want a Gantt ...
217 views

### Questions concerning visualizing model results with the R-package visreg

Following some discussions with colleagues, I'm seeking for clarification on how to visualize an ANCOVA with visreg, and what the visualization actually shows. I would like to run the following ANCOVA ...
1k views

### How to plot binary vs. categorical (nominal) data? [duplicate]

I am building a machine learning model for a binary classification task in Python/ Jupyter Notebook. I am currently in the "Exploratory data analysis" phase and try to create multiple plots/ ...
21 views

### Is there a name for the graphs that R's corrplot library generates?

R's corrplot library can generate some rather stimulating graphs: I have an overpowered urge to see more of these, but I cannot find there name anywhere. What are they called? "corrplot" ...