# Questions tagged [scatterplot]

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

243 questions
Filter by
Sorted by
Tagged with
633 views

### Techniques for plotting PCA projections in more than three dimensions

After running PCA on my data set, I noticed that using the three first eigenvectors, a separation between two different classes is still achievable (doing PCA on data from two classes). Unfortunately, ...
71 views

### Interpreting scatterplots

I am working with an agricultural data with the aim to establishing bean-lines that are resistant to bruchid infestation. I want to find the relationship between some variables (mostly number of holes ...
130 views

### What does this scatter plot imply? How to model it?

The data is from Udacity DAND Project 3. I finished this project but I am still wondering about some interesting discoveries. I got the scatterplot below and there must be something over there. ...
1k views

### What statistical test should I use if the relationship between two variables is neither linear nor monotonic?

I am confused. My scatterplot says that the relationship between the two variables is not linear, so I can't use Pearson's correlation and neither is it monotonic, so I can't use Spearman's ...
5k views

### Fit regression model from a fan-shaped relation, in R

I get a fan-shaped scatter plot of the relation between two different quantitative variables: I am trying to fit a linear model for this relation. I think I should apply some kind of transformation ...
2k views

### Interpreting linearity in residual vs. fitted plot

I am working on a linear regression model and I am not sure how to interpret the following residual vs fitted values plot. For all I know residuals are supposed to fluctuate randomly around 0 which ...
147 views

### Scatter Plot Assistance

I am comparing two group test scores with a scatterplot but I do not understand the scatter plot. What is the relationship between X & Y and is the test reliable? It looks almost like a short ...
72 views

### Which plot do I need to use to show my data?

I've checked for which X and Y we get which binary value of another variable. I want to plot these X and Y as axes and show the boundary - a line under which the binary value is 0, above it it's 1. I ...
34 views

### Diagram for spotting distributions, like “contradicting” results

Let's say we have two results that are related to each other: Result 1 was a questionnaire about food and had two options "I dislike Cake" and "I like Cake". The result is displayed as a ratio: "1:3"...
245 views

### Make 2D color histogram with uniform distribution (Likert scale)

UPDATE: I've been told that I cannot specifically ask for help in regards to the programming (MatLab and PR Tools), but instead should seek help for general techniques. So that's what I'm doing. Long ...
1k views

### Plot eigenvectors on scatter plot

I have a problem and need some assistance. I have a scatter plot of two variables $x, y$, and I want to plot the eigenvectors on it. I tried one methods plotting each eigenvector as a line equation ...
143 views

### interpret scatter plot if there is anything to interpret from it

I have an x variable and a y variables. I have done a simple scatter plot. I however don't really know how to interpret (if there is anything to interpret) the plot. I can't find any other similar ...
699 views

### How can I see sample autocorrelation from time series plot?

Lets say I am given time series plot. How can I estimate $r_1$ and $r_2$ which are sample correlation? I don't understand how to see correlation from data plot. I know how to get and use ACF and ...
57 views

### Scatterplot with two different categories of data [duplicate]

I have a text document containing three columns. One column is "sex", and each value is either "M" or "F". The other two columns contain numerical data (my explanatory variable and response variable)...
980 views

### Visualizing variability from graph

It is written in the book Applied Logistic Regression, Second Edition. By David W. Hosmer and Stanley Lemeshow , p.2 that a problem with the above graph is that the ...
203 views

### Understanding some interesting patterns in a scatterplot

I made a scatterplot for some random variables and they turned out to be interesting patterns. I checked google to learn how to interpret patterns in scatterplots but I failed to find things that ...
6k views

### How to extract information from a scatterplot matrix when you have large N, discrete data, & many variables?

I'm playing around with the breast cancer dataset and created a scatterplot of all attributes to get an idea for which ones have the most effect on predicting the class ...
1k views

### Weird fitted values/residuals plot

I am doing some regressions on real earnings as a function of some different variables and this came out: Is this because earnings cannot be negative?
33k views

### What does an Added Variable Plot (Partial Regression Plot) explain in a multiple regression?

I have a model of Movies dataset and I used the regression: ...
167k views

### How to determine which variable goes on the X & Y axes in a scatterplot?

I am trying to do a scatterplot to see the relationship between literacy and baby mortality. How do I know if literacy is my X axis and baby mortality is my Y axis, or the reverse? How do I ...
2k views

### What is the correct method to calculate the Z score for the mean of a variable between two groups

I have two groups, 23 Patients and 27 controls with a list for their age and the head circumference measurements. I want to do scatter plot for the Z score of age by the Z score of head circumference. ...
1k views

### How to visualize cluster data in a scatter way

Having a clustered dataset, I want to visualize a scatter plot for two fields so every cluster is shown on the plane by its mean value (also good to have a radius equal to std). How does one do this ...
461 views

### Density Plot, scatter plot or Regression if not both best way to visualize

I am working with a data set that has information of users and their contributions. Each user has expert level and contribute to multiple section of the project. Here is a sample data set: ...
1k views

### How to discuss a scatterplot with multiple emerging lines?

We have measured two variables, and the scatterplot seems to suggest multiple "linear" models. Is there a way to try to distill those models? Identifying other independent variables has turned out to ...
757 views

### Bivariate Kernel Density plot

Suppose that I have two variables, $X$ and $Y$ that I want to correlate, i.e. in the manner of a scatterplot of $(X_i,Y_i)$. But I also want to show the density of each variable. A scatterplot ...
542 views

### Difference between lowess and regression plot

Why there is difference between lowess smoother plot and regression plot in the following plot? I run packages: "datasets" "utils" "graphics" "stats" "methods" in RStudio.
5k views

### Scatter plots in ggplot2 with non linear trend line [closed]

I'm trying to create a scatter plot using ggplot. The x value goes roughly from 0-20, and the y value goes from 0-~50. The data is raw so it's not nice and neat and I need to plot a curved line ...
5k views

### What is the relationship between $Y$ and $X$ in this plot?

What is the relationship between $Y$ and $X$ in the following plot? In my view there is negative linear relationship, But because we have a lot of outliers, the relationship is very weak. Am I right? ...
677 views

### What is the effect of having skewed dependent variable on scatterplot result

The histogram of my dependent variable is as following: I draw the scatter plot of my dependent variable and independent variable, and the result is as following picture? I am wondering if the ...
6k views

### Finding outliers on a scatter plot

I have a set of data points that are supposed to sit on a locus and follow a pattern, but there are some scatter points from the main locus that cause uncertainty in my final analysis. I would like to ...
1k views

### Two way scatter plot with time dimension

I am plotting GDP against exports for 134 countries. I have data for three years. For each year I can easily plot these scatter dots and see the relative country positions but I am interested in the ...
3k views

### R scatterplot matrix with nonparametric density

I normally use MATLAB, or JMP but right now am working with R. I have ~150 dimensional data with a few hundred thousand rows. Some of the columns are non-informative, they only have one value. This ...
732 views

### Plotting a “ragged array” - a list of vectors in R [closed]

I have a list of numeric vectors, not necessarily all the same length. I'd like to get a plot where each vector in the list is plotted vertically above a label for that vector on the x-axis. Is ...
1k views

### Calculating Bias from bivariate data

My data consists of one column of real temperature, and one column of calculated temperatures. I want a single number which quantifies the 'bias' in the real temperatures. Basically, if most of my ...
1k views

### How can I create a scatterplot in R using the plot function to control for covariates?

I would like to know if it is possible to create a scatterplot while controlling for covariates, such as in partial correlation. I am using R software and my code is below for the basic scatterplot. ...
2k views

### Fitting curved lines to scatterplots in R

I have created a scatterplot. I want to see the trend of how the number of fishing cat scats vary with an increase in perimeter of water body. Hence my response variable is ...
3k views

### Scatterplot correlation with covariate (partial correlation) in SPSS - how?

I'd like to make a scatterplot of a partial correlation - so a correlation with covariates. How should I do this in SPSS? If necessary, I could also do it in R. The most important thing is to show the ...
4k views

### In SPSS, how to compare two scatterplots of separate bivariate data to determine if the distributions are similar or not similar?

In SPSS, I have created scatterplots of two continuous variables (X & Y) for two separate groups (G & P). Visual inspection comparing the scatterplots from the two groups suggests that ...
3k views

### Checking model quality in linear regression

I found that in linear regression to check the model quality you can look at the plots described below (my questions are in bold). scatter plot: plot Y against each X separately scatter plot: plot ...
2k views

### How to show that there is no relationship

I have some data which I am using to show that there is no relationship between two variables. (Or only a weak one.) In a previous writeup, I included the scatterplot showing no visible relationship, ...
6k views

### Creating and interpreting Bland-Altman plot

Yesterday I heard of the Bland-Altman plot for the first time. I have to compare two methods of measuring blood pressure, and I need to produce a Bland-Altman plot. I am not sure if I get everything ...
613 views

### Correlation coefficient in longitudinal data

We are performing a longitudinal analysis over different characteristics (variables) of a single subject of analysis. Our goal is not to make any predictions, but rather analyse correlations among ...
2k views

### P-value for two variables

Let's say I have a point $P_1$ on a 2D scatter plot. The coordinates of $P_1$ are $(x_1, y_1)$. $x_1$ has a standard deviation of $\pm u_1$ and $y_1$ has a standard deviation of $\pm v_1$. I also ...
7k views

### Scatter plot in R with non numeric data

I need to represent some non numeric data of a questionnaire in a scatter plot in R. What I mean by a non numeric data is that, I have two questions answers to which are some text. For example Q1 has ...
478 views

### Which observation has the largest variance of the residual?

a) For which of the following observations (obs1, obs2, obs3) is the variance of the residual the largest? Which observation has the highest leverage? And which one the smallest? Explain why. b) Which ...
2k views

### How to calculate max/min scales on a scatter plot

I have 3 log scatter plots that I want to establish smooth maximum and minimum lines. What is the usual mathematical method to do that? (Image and Excel file links below.) The black lines on the ...
205 views

### Visually random model residuals, yet heteroskedastic? ( very small Breusch-Pagan Test P-Value)

Can anyone explain why the BP, Breusch-Pagan, test rejects homoscedasticity with such an apparently randomized plot of residuals?
615 views

### Any transformation or technique to better represent data clumped in the bottom left corner of scatter plot?

I have a scatter plot where the data are distributed very unevenly. If you can imagine the ares of the scatter plot divided into 4 quadrants, about half of the data (i.e., half of the data points) ...