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
1
vote
2answers
66 views

plot more than 2 PCAs in 2D in R

I have done a PCA analysis where 7 PCAs explain about 80% of cumulative variation in the data. I would like to plot the scores for all 7 PCAs in R but not sure on how to achieve it. When I use biplot ...
2
votes
1answer
29 views

Plotting categorical data along with numerical variable

I have data like as shown below I would like to represent the above tabular data in a visual form. However, the below graph may not work because my real data as 50K unique drug names. Doing so, will ...
5
votes
1answer
53 views

Visualising mixed model with only random slopes?

How can I visualize a mixed model with random slopes for a variable but no fixed effect for that variable in a simple model such as y ~ 1 + (var | subject)?
0
votes
0answers
13 views

Explaining cluster by original variables

I have high-dimensional data on observations of individuals. To simplify and visualize the problem let's assume I have the probability of a positive reaction to 10different marketing campaigns of 8 ...
2
votes
0answers
25 views

Circular confidence intervals about scatter points [closed]

I'm wondering if this is a "thing", I quite like the visual and feel it would be nice to know how much the points are likely to move from the location given by the data. The following plot ...
1
vote
0answers
81 views

visreg visualization of GAM results (mgcv package)

How do I plot the generalised additive model using visreg? I have tried with the following code but it does not work and I am unsure how to specify it correctly. I have looked at visreg visualization ...
1
vote
0answers
12 views

Oscillation in number of deaths by coronavirus [duplicate]

Looking the graphs that report the number of deaths by coronavirus in worldometer, I have noticed that for many countries there is a clear oscillation with a one week period. See for example the graph ...
1
vote
1answer
35 views

Plot the probability (success) of a binary variable from coefficients of a GLMM?

I have developed a GLMM (Mixed Generalized Linear Model), as you can see in more detail [here] (Is it correct to evaluate differences of a binary variable between different places with a GLMM?) ...
0
votes
0answers
24 views

3D copula contour plot with original margins

I have a data follows one copula dependency pattern. I would like to interpret the plot. I always thought that for PDF, CDF or contour plot of the copula, we only can plot the values of the copula (...
0
votes
0answers
19 views

What do the score values of a principal component mean?

In PCA plots, the values of the scores seem to be usually in the range of [-2,2] or so. For example, here they range from about [-0.5,+0.5] Interpretation of biplots in principal components analysis ...
1
vote
0answers
14 views

Crossing categorical features that are stored as integers

Newbie here. I'm experimenting with the following dataset: https://archive.ics.uci.edu/ml/datasets/Teaching+Assistant+Evaluation Data Set Information: The data consist of evaluations of teaching ...
2
votes
1answer
311 views

How can I plot presence/absence data on a time series?

I have some schedule data in the following format ...
0
votes
0answers
25 views

How to transform data in order to visualize it with my own drawing software?

I want to build my own data visualization toolset using Blender3D and Python. Let's think of a racing bar chart. As a dataset, I have 'google search frequencies of 10 keywords over a period of 10 ...
1
vote
1answer
323 views

How to plot quadratic model? [closed]

I have fit a polynomial glm in R with x and x^2 as the predictor of interest. ...
0
votes
2answers
52 views

Plot of prediction by ARIMA model [closed]

After fitting an ARIMA model to data, how can we plot the predicted value plus the original observation in one figure? ...
3
votes
0answers
114 views

Is there any consensus or literature on the proportion of font parameters within plots?

This is now about how to make a plot, though that is the information that I'm finding when trying to search for an answer to my question. What I'm wondering, is whether there are any thoughts/...
0
votes
1answer
22 views

Interpreting multiple line plot

I am writing a thesis about predicting different series in the FRED-MD database. Before estimating the proposed model, I make the following line plot in R , it presents how the variables in the first ...
1
vote
0answers
28 views

Which data visualization when running GLMM?

I'm analysing correct response rate and response time of participants on a task. For the first one, I ran a mixed effect logistic regression: ...
1
vote
0answers
53 views

How to explain a Box Plot?

Assuming that I'm able to augment their knowledge about boxplot I can give the below insights for box plot ...
0
votes
0answers
23 views

Visualising multiple data sets containing progressive elements using R

I have two datasets which I will like to visualise together. I'm not sure the best way to visualise the data. I have tried barchart in R which didn't work due to the nature of the datasets. early_data:...
1
vote
0answers
31 views

Comparison Circles algorithm in Python

My goal is to visually represent similarities between groups using the comparison circles algorithm described here: https://docs.tibco.com/pub/sfire-analyst/7.10.1/doc/html/en-US/TIB_sfire-...
0
votes
0answers
41 views

Which statistical tests should I use for this data?

I have been given data from Kickstarter ( Kickstarter is a crowd funding platform that helps people garner funds for their business ideas). The data has about 15,000 rows and about 10 - 15 columns. ...
0
votes
1answer
62 views

How can you know that result of auto.arima is accurate?

I’m using auto.arima and forecast package to forecast the COVID-19 dataset. I got my results and graphed them in R. As I’m no statistician, I read many papers available online related to COVID-19 and ...
0
votes
0answers
23 views

How to graph multiple variables

I've been tasked with the challenge of creating ONE singular plot that entails a multitude of relevant given data. There is one dependent variable vs three independent continuous variables, an ...
2
votes
2answers
130 views

Calculating the Mean of an Ordinal Variable Question

I have distributed and analyzed a survey regarding teaching quality. For some of the questions, I ask how often a given teaching method is used. When doing this I ask them to select one of the ...
0
votes
0answers
28 views

Visualize multiple rejection reasons

Goal: Visualize why loans are rejected which can be due to multiple reasons. A loan is either rejected or accepted. Any rejection is caused by one or more rejection reasons. There is a list of ...
0
votes
0answers
22 views

To determine the observation(or value) and variable in a given data

While reading "Statistics_The Art of Learning from data" book, we are given data to represent it in a histogram. I have read about the type of variables- i) Categorical variables(if observations on ...
1
vote
0answers
25 views

Summary of All of Statistics in a useful mind map [duplicate]

Is there a good mind map to summarize all the important concepts in statistics in a useful manner so that a beginner can decide which topics he has covered, which he needs to cover in short term, ...
0
votes
0answers
18 views

Plotting confidence interval - graph showing odd results

Just wondering if anyone can help me analyse the following: I plotted my confidence intervals from a GLM, and found that a lot of the points don't overlap the C.I. What exactly does this mean ...
0
votes
0answers
15 views

Is there a visualization technique/statistical test to compare the growth rates of 2 treatment groups?

Is there a visualization technique/statistical test to compare the growth rates of 2 treatment groups in which patients in each group do not all have the same number of weigh-in dates The data in the ...
0
votes
2answers
89 views

Build a nomogram for a semi-parametric cox model: help to find the (best) time point for prediction

I'm using R 3.6 software. I try to build a nomogram for my survival data but I don't understand how can I choose the survival time point prediction. I have a maximum survival time of 3500 days. If I ...
0
votes
1answer
103 views

How to plot the relationship of two Likert scale variables?

I have two variables which are measured on a Likert scale. I ran the Spearman correlation test to test the relationship between them and they have a negative correlation coefficient (-0.729 with a p-...
2
votes
1answer
88 views

Plot ROC curve in R with the PRROC package

After many hours of research, trial and error and frustration I hope someone here will be able to guide me in the right direction. I am fairly new to R and statistics and can not wrap my hand about ...
2
votes
0answers
57 views

ggplot: help with interpreting standard error areas

I have made the graph below which shows the SE area around lines. However, I can't work out why they are so large for the 3rd graph. Graph code: ...
3
votes
0answers
37 views

Visualizing regression with categorical variables

I am working my way through linear models in matrix form using mainly Brown (2014) Linear Models in Matrix Form. The book presents a schematic representation of observed and fitted values in a linear ...
0
votes
0answers
17 views

Finding abnormal behavior in costs in R

I have a dataset with 70 000 observations and 5 variables, x1,x2,...x5 were: x1 = cost, ...
1
vote
0answers
17 views

How should I visually represent these preference rankings?

I'm trying to visually represent the following rankings in a clear and intuitive way, but am unsure of how to best do that. Here's the data: There are 4 outcomes: A1, A2, B1, B2 The letters are the ...
2
votes
2answers
77 views

Presenting 5-point Likert scale data as a percentage, rather than an average

I'm working on a project that uses mostly descriptive statistics to show how satisfied people who visit police services are with the services at any particular station. The consumers aren't very savvy ...
0
votes
0answers
12 views

When comparing groups of subjects with within-subjects repeated measures, is it appropriate to use the per-group observations directly?

I'd like to show a summary figure comparing two groups. Within each group, each individual responded to multiple independent trials. As an example: ...
2
votes
1answer
868 views

Is normal-QQ plot used for checking linearity assumption in linear regression? [closed]

I was wondering if this way of checking linearity assumption in linear regression is correct or common. In "Build the Linear Model", one of the slides (to open it in presentation mode, first ...
1
vote
1answer
57 views

Visualizing the variable DAG in a stan / brms model

I would like to visualize the relationships between variables in the brms / stan models I write. I could make these myself for each model, but I'm hoping there's a package to generate them ...
0
votes
0answers
56 views

Distance Correlation Result Interpretation

These are the two columns, which I am comparing to find distance correlation. ...
1
vote
0answers
38 views

Can you tell whether the linearity assumption holds by inspecting these graphs?

The multiple regression model in R looks like this: > Model <- lm(log(Y) ~ log(x1) + x2 + x3 + x4 + log(x1)*x2, data=df), where ...
4
votes
1answer
79 views

Close curves on an Andrews plot

On the Andrews plot, close points (that is inputs) appear as close functions (the curves), but the reverse does not necessarily hold. That is there can be two curves on the Andrews plot that are close,...
2
votes
1answer
145 views

Can a 4D perceptron be plotted in 2 dimensions?

I am wondering if it is at all possible to plot a 4D perceptron line in 2D. Obviously, it would be impossible to observe it with all of its original information, but is there a way for me to observe ...
0
votes
1answer
156 views

Representing interaction plot for coxph model using plot_model() in R

I used coxph() to model the latency to a behavior as a function of the levels of a hormone in interaction with the treatment administered. Code for model is as follows ...
3
votes
1answer
77 views

How to add error bar plots into a parameter table?

I saw a very neat and clear table in this paper https://link.springer.com/article/10.3758/s13421-018-0797-5: As shown above, the authors added error bars of parameter estimates into a table, which ...
1
vote
0answers
21 views

interpreting deviance residual plot for response of negative binomial distribution

I have a big dataset on which I've used glm.nb(). I plotted the deviance residuals and got the plot below as the result. I do not understand what it means, why is it two "bands" of residuals?
1
vote
0answers
14 views

Mixed Group Data

I'm trying to analyze data that has been mixed and I'm not sure if there's any good way to approach it. I have data from two groups at different periods of time, say 2, 4, 6, and 8 weeks. For weeks 2-...
1
vote
0answers
14 views

How to Handle Data vs Visual Representation Granularity Mismatch in Line Chart?

A bit simplifying here but I'm facing a problem with granularity when representing data in Time/Value format visually as a Line Chart. Where let's say, the Value is Balance of a bank account. The ...

1 2 3
4
5
54