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

Filter by
Sorted by
Tagged with
0
votes
2answers
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 ...
5
votes
1answer
96 views

Residual Plot vs Fitted, linearity and Heteroskedasticity

I am working on a linear Regression Model right now, it has the following format: ...
0
votes
0answers
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 ...
2
votes
0answers
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 ...
4
votes
2answers
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 ...
1
vote
0answers
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 ...
1
vote
1answer
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 &...
0
votes
0answers
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 (...
0
votes
1answer
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 ...
4
votes
1answer
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. ...
2
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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) ...
2
votes
1answer
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 ...
0
votes
1answer
23 views

Verification and visualization of survival analysis

I performed some experiment with two clones of cells CloneType red and green. The task was ...
0
votes
0answers
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 ...
0
votes
0answers
15 views

Bar graphs with different range bars

I have the following bar graph - Is it ok to have bars of different ranges or is it misleading? For example, the range of the first bar is 0-10M. The range of the last bar is 500M - $1B. The person ...
3
votes
1answer
71 views

How to visualize Dirichlet distribution (with more than 3 targets)?

I want to plot a Dirichlet distribution $\operatorname{Dir}(\alpha), \alpha=[\alpha_1, \alpha_2, \ldots,\alpha_n]$. However, when I google it, almost all of the results consider 3 targets ($n=3$), and ...
2
votes
1answer
22 views

Which graph to use for unequal class widths AND huge frequency range

I recently saw a question where they wanted us to plot an appropriate graph for classes of unequal widths, starting from 0. Normally, we'd have used histogram but then the frequencies ranged from 33 ...
1
vote
1answer
40 views

Is this a kernel density plot?

I have long struggled to bring kernel density plots into the "mainstream." See Reading kernel distribution plot vs typical histogram. However, I recently came across a report that pulled off ...
0
votes
0answers
23 views

plots for logistic regression with only categorical variables

My dataset: Target variable: disease or no disease (0 and 1) other variables: 5 categorical variables (for 5 types of allergies) and each variable shows if each patient has a certain allergy or not ...
1
vote
0answers
32 views

Partial Residual Plots and Interactions

In linear regression, we can use partial residual plots to decide on potentially nonlinear transformations of a quantitative covariate $X_j$. They plot the residuals $r_{Y|X_{-j}}$ on the y-axis and $...
0
votes
0answers
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 ...
2
votes
1answer
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 ...
2
votes
1answer
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 ...
3
votes
0answers
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 ...
1
vote
0answers
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 ...
2
votes
1answer
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 ...
0
votes
0answers
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.} \\ \...
1
vote
1answer
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 ...
2
votes
0answers
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), ...
2
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
0answers
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: ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
1
vote
1answer
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 ...
2
votes
1answer
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 ...
2
votes
1answer
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? ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
0answers
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 ...
4
votes
2answers
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 ...
2
votes
1answer
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/ ...
1
vote
1answer
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" ...
0
votes
0answers
15 views

In NLP what does it mean when text data is clustered? What does each cluster represent?

I am reading about NLP and text analysis and am studying clustering of text data. I have a large csv file that is a collection of online responses. I am first converting each response to a TFIDF ...
0
votes
0answers
27 views

Residuals vs Fitted Interpretation and Comparison

Hello these are both Residuals vs Fitted plots I have created for my models. The top is the plot for an old model, and the bottom is the plot for an improved new model. What is the difference between ...

1
2
3 4 5
56