# Questions tagged [scatterplot]

Pairs of (x,y) values plotted as points in Cartesian coordinates. Widely used as an exploratory and diagnostic tool.

278 questions
Filter by
Sorted by
Tagged with
43 views

### What is the best way to visualise a panel regression?

Simple scatter plots or a correlation matrix can be misleading since they aggregate all years together. What would be te best way to visualise relationships between variables taking time into account? ...
34 views

### What is the best way to represent Spearman’s correlation graphically?

For my thesis research I have to do Spearman’s correlation tests on a set of ordinal variables. I would like to represent the correlations graphically to include them in the report and give a clearer ...
• 91
23 views

### How to perform a breakpoint analysis on these two variables (Survey Score and Total # of Outages)?

Here is a snippet of the data: I believe both of these are discrete variables. I want to first determine if a correlation exists. Would I utilize Kendall’s Rank Correlation? Second, I want to create ...
25 views

### homoscedasticity violated or not?

I was wondering if the homoscedasticity in these two figures has been violated or not? Best regards, Elise
15 views

### spearman correlation: should only the ranked values be plotted on a scatterplot?

My data is not normally distributed and so I did a spearman correlation rank test. I now need to make a scatterplot showing the spearman rank test results and I am not sure if the scatterplot should ...
1 vote
57 views

### Linear regression assumptions violated

I have an independent variable hours/day sitting and a dependent variable test scores, I think all of the assumptions of linear regression are violated, as in the pictures that I added So I did one ...
• 57
41 views

### Mathematical rule for choosing X & Y for scatterplot maximising spread of points [closed]

Is there any method for choosing a combination of X and Y dimensions for a scatterplot, from a larger dataset that has been standardized to be centered at zero and have unit variance, that will ...
• 280
21 views

### Plot the effect of one continuous variable on the change of another continuous variable through time

I have the change of empathy (continuous variable) from time 0 to time 1 and I want to see how another continuous variable (immersion) is affecting the change of empathy. I am using R and ggplot.
158 views

### Spearman correlation test and linear relationship vs monotonic relationship?

I want to use Spearman's correlation test. My data is not normally distributed. Below is a scatterplot of this data. I read somewhere that Spearman's correlation coefficient can describe monotonic ...
• 11
25 views

### How to display error on a 2d median

Below is a 2d scatter plot where the large green dot is the median of the data in x and y. My question is about whether there is a convention for showing the error on the median. As shown, each of the ...
22 views

### On how to calculate different slopes and position coefficents for different clusters when having a linear relation

This question is this question and this other one made by the same author; and slightly related to this and this. I have a (non sorted) dataset showing this in a scatter plot: and I wonder if there's ...
• 111
15 views

### x y plot accounting for random effect

I've been comparing differences in body length to similarity in a specific protein sequence in different species. Each species has been compared to each of the other species. I'm using the ...
1 vote
200 views

### Can the Response Variable ever be used in Clustering?

I have the following question: Can the response variable ever be used in a clustering algorithm? I understand that in general, clustering is considered to be an "unsupervised learning algorithm&...
• 5,698
22 views

### What kind of correlation is this?

I was wondering whether these 2 variables are correlated. According to the analysis, the correlation is 0.89, which is expected, as they are items of the same scale. But I'm having trouble with ...
• 5
17 views

### Do I use the individual groups when I visualize a regression confidence band for a scatter plot with multiple groups?

I have two groups that are influenced by a covariate, and I want to visualize the scatter plot of the variable of interest ($y$) and the covariate ($x$), color-coded by group. I also want to include ...
• 30.9k
1 vote
67 views

### Downward slope but Spearman correlation coefficient is positive and vice versa

Why the slope and the Rho value not the same? For examples, graph H-DSI shows downward slope but the Rho value is positive (P value=0.9603; r=0.009867). Hope someone can explain it. Thank you. H DSI ...
• 13
50 views

### Scatter plot after filtering the outliers

I want to create a scatter plot after filtering out samples less than 0 on a log2 scale. I then want to create a second plot to filter out samples less than 3 on a log2 scale. My two scatter plots ...
• 11
68 views

### How do i interpret this Scatter Plot

I'm researching on the relationship between Scholarship and years. I have scatter plot below. The x axis is equal to the total amount of scholarship for a student. The y axis show the term a student ...
• 21
16 views

### Find the best ratio to distribute a budget using historical data

I have a data set which shows the historical data of a company's employ satisfaction against the budget they spend on different employ motivation schemes. Quarter Scheme 1 Budget Scheme 2 Budget ...
• 101
83 views

### How to plot a poisson model with offset?

I fitted a glm poisson with an offset term (in R) to my data and found a relationship between predictor and response variable. Now I would like to create a scatterplot with my original data in ...
49 views

### How to interpret this scatter plot?

I am simulating a population of binary stars by generating many samples of orbital parameters. I'm investigating the relationship between the inclination of the orbit and the fraction of the ...
1 vote
23 views

### How do I draw polygons in a scatterplot around groups of points based on a factor other than the factor my colors are based on? [closed]

I pasted the data here: The dataframe contains multiple observations on x and y per country. Each country is also part of a region. Based on this post, I managed to draw ploygons/clusters in the ...
• 11
10 views

### Comparison of several groups of a scatterplot

I have a dataframe: ...
• 405
1 vote
30 views

### Visualising a standard multiple regression

I am running a standard multiple regression for my research project. I have 4 predictor variables trying to predict one outcome variable. I've run the analysis in SPSS but Im not sure how I can ...
• 11
1 vote
16 views

### Find skewness and kurtosis of a bivariate scatterplot

I was reading this paper in the medical field which proposes a method using two radiological parameters in order to distinguish benign and malignant lesions. In their paper the Authors show this plot ...
• 473
1 vote
41 views

### Sampling the inside of a curve [closed]

Suppose I have a set of points $S$ in the plane, which defines a curve in a discretized fashion. This could be $3\cdot 10^3$ points on the unit circle: But also could be $3\cdot 10^3$ points ...
• 1,180
26 views

### Is it a line graph if it has no lines?

I'm trying to find the correct terminology for the default plt.plot() method from Python's matplotlib. It appears to behave like ...
1 vote
12 views

### Good measures to quantify the effect of outliers

I have two random quantities linked to a set of N random variables. Increasing N The two random quantities should gradually become similar (meaning that the 2 distributions narrows around the same ...
20 views

### How do I find a threshold to minimise some values? Relevant graph included

I am trying to solve two sub problems based on this graph. My overarching problem is to predict the coordinates of a point, and give a confidence to the prediction. The y-axis is kind of arbitrary, ...
70 views

### Scatter Plot with Y depending on X

Does a scatter plot make sense if our Y variable is a part of the sum of the X variable? For example, say: ...
83 views

### Heteroscedasticity: When is it OK?

The point of the last analysis in my paper was to check on the basis of which predictor variables the answers to moral dilemmas can be explained. Predictor variables are continuous: dark personality ...
263 views

### How to visualise data where one variable is continuous and the other is categorical?

This question is very simple but I have been struggling in getting the right script for this. My data set goes as follows: ...
• 51
1 vote
89 views

### Does this scatter plot suggest non-linearity?

As part of assumption testing for ordinary least squares (OLS), I am examining the linearity between the variables in my model. I'm using scatterplots between the independent variables (IVs) and ...
• 11
1 vote
162 views

### Correct or incorrect interpretation of scatter plots: a comparison among the Pearson, Spearman and Kendall correlations

Cross-reference overlapping question: "Interpretation of a scatter plot: an unclear correlation" I have 3 scatter plots, where 3 variables are plotted against each other as follows: Plot 1: ...
• 23
753 views

### Interpretation of a scatter plot: an unclear correlation

Cross-reference overlapping question: "Correct or incorrect interpretation of scatter plots: a comparison among the Pearson, Spearman and Kendall correlations" I have this scatter plot ...
• 23
812 views

### The best way to plot high amount of discrete data with 2 variables in R [duplicate]

I am trying to see the relationship between two variables (say A and B) in a plot in RStudio. Both are discrete and range from 1 to 10. However, I have 1000s of data points, so given that there are ...
• 61
33 views

### Term for multipanel scatterplots where each row corresponds to a different variable (e.g. R dataframe plots)

Is there a general term for multipanel scatterplots where each row corresponds to a different variable, as when calling R's plot function with a data frame as the argument? This image provides an ...
• 683
306 views

### How to use a scatter plot to detect non-linear co-dependence between two variables?

A scatter plot matrix of 3 time series (financial returns data) are shown below. It is a multivariate representation of a scatter plot, with the individual pairs shown in the off-diagonals. The ...
• 3,047
1 vote
246 views

### Relationship between Histogram , Scatter plot , Normality , Linearity

I have the following doubt: suppose you have a categorical variable called 'neighborhood' with 20 categorical levels/values ("vila madalena", "mooca", etc). and I want to check ...
17 views

### Inferring r2 and pvalues in a scatterplot between observed and modelled values

I have a dataframe, consisting of modelled and MODIS observed data. The values represent mean GPP for the year 2000,2001,2002,2003 .. till 2010. ...
36 views

### Inferring $R^2$ from scatterplot visualization

I have two dataframes (modelled and observed) each representing values of mean NPP for the years 2000,2001,2002....till 2010 ...
1 vote
150 views

### Meaning? In logistic regression, testing "linearly related to log odds" results in a perfect 45 deg line, not a scatter plot

Running glm(Cond1 ~ Level, data = Data1, family="binomial") , I'm testing the assumption that B is linearly related to the log odds. I'm getting a ...
• 273
48 views

### Deducing information from a scatterplot

I have two tiff files in R (one modelled and one observed). Both tiffs show the spatial maps of gross primary productivity from 2000-2010. The study area is HinduKush Himalaya (http://rds.icimod.org/...
104 views

### Data Visualization - how to display error of a color scale?

I've been turning this around in my head and I think the answer is to ultimately tabulate the data, but it's an interesting question so I'll still post it. I have three sets of data of equal length. ...
• 101
29 views

### How to interpret the outcome of the scatterplot

I wanted to see what is the relation between two variables using scatterplot in r. The outcome can be seen as below. My question is how to interpret this plot. Yes, the two variables are highly ...
• 111
30 views

### Explaination behind the relation between the correlataion coefficient and distance of a typical point from the standard deviation line

I am reading a textbook on statists by Freedman, Pisani, and Purves. In one of the chapters about correlation between two variables, it is given that the vertical distance of a typical point from the ...
407 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 ...
• 23
1 vote
264 views

### Is it possible to detect outliers in two related columns [duplicate]

I have pandas data frame which has some related columns, like let's say I have a column that showing housing sale prices and other column shows total area of that house. If I look for outliers alone ...
• 43