Questions tagged [scatterplot]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
136 views

Find trendline for minimum (not mean) values in distribution

I would like to perform something like a linear regression on my distribution of data, but I'm interested in a trendline that estimates the minimum, not mean, value for each time bin. I'd like to do ...
3
votes
2answers
2k views

R - show movement of points

Suppose I have data of the following form t1 = data.frame(a=c(2,3,3,1,5),b=c(6,4,5,2,1)) t2 = data.frame(a=c(3,4,4,1,8),b=c(5,5,5,3,3)) If you consider ...
3
votes
1answer
801 views

How to detect discernible structure in scatter plots?

If I have a large number of relationships I want to check that may or may not be linear (as in the bottom row of image below), is there a method that will reject the hypothesis the scatter plot is ...
1
vote
2answers
77 views

Plotting data from several files on one plot

I have more than one file of data from different experiments. For the sake of the argument here, let's say I have three files E1.txt, ...
13
votes
2answers
772 views

Is there any statistical reason for diagonal lines in scatterplot on a log scale? [duplicate]

I'm perplexed by some vertical lines that show up in these scatter plots on a log scale. Population is on the y-axis and the proportion of the neighborhood with the attribute mentioned in the panel ...
1
vote
1answer
855 views

Mathematics behind how the normal to the plane is derived from a linear model when plotting with planes3d

I've been experimenting with the rgl library to draw 3d plots of some linear models. The package works really nicely, but I have a question on the math behind how one draws a plane (using planes3d) ...
5
votes
2answers
2k views

Interpreting 3D scatter plot

I'm reading a book on data-analysis and in my book I have the following picture of 3-dimensional data and its scatter plot: Could anyone help me understand how is the scatter plot interpreted? It ...
0
votes
1answer
4k views

Partial correlation plot, split by groups SPSS

Is it possible to illustrate partial correlation scatter plots for 2 subgroups on the same graph? e.g. I want to make scatter plots of data controlled for age, differentiated by males or females. I'...
2
votes
0answers
881 views

Scatter plots of p-value distribution of gene expression data in R

How do I distinctly represent two data sets on the same scatter plot , to compare the p-value distributions of the genes using R packages? The gene expression values and p-values (obtained by ANOVA) ...
1
vote
0answers
22 views

Determine significant transitions in data values

I don't have much experience with statistics and suspect this is a common problem with a common solution. Normally I would just eye-ball the data and call it a day, but at some point you ought to ...
4
votes
3answers
901 views

Comparing scatterplots with lots of points

I have two sets of data of protein-protein interactions in a matrices entitled: s1m and s2m. Each DB and AD pair make an interaction and the one matrix looks like: ...
1
vote
1answer
86 views

Comparing weights versus time graphically with error bars

I have a group of 200 children who came to clinic at months 0, 1, 2, 3, 6, 9, and 12 this year. At each clinic visit the children were weighed. ...
10
votes
2answers
7k views

Exploring a scatter-plot matrix for many variables

I am analyzing a dataset with many parameters (say, 50-200) and I am interested in looking at relations between variables (e.g. in terms of 2-variable scatter plots or 2d histograms). However, for ...
2
votes
5answers
420 views

Choosing regression model

How can I choose between these two regression models? R outputs: Regression 1 ...
0
votes
1answer
964 views

Scatter plot or 2D histogram for mixture of Gaussian fitting?

I am ust a little bit confused about whether I should use a scatter plot or a 2D histogram to fit a mixture of Gaussians. The problem is I have intensities from one image with 2 channels. For example,...
-2
votes
1answer
105 views

Calculating the linear model with R

I need to calculate the linear model in R, i did the following: summary(model) But what if I wanted to calculate only the first point? A bit stuck with this one... Many thanks! Here is the code ...
51
votes
7answers
52k views

Graph for relationship between two ordinal variables

What is an appropriate graph to illustrate the relationship between two ordinal variables? A few options I can think of: Scatter plot with added random jitter to stop points hiding each other. ...
3
votes
3answers
2k views

Using scatter plots to understand multiple values of Y for a given X

As I understand it, a scatter plot can contain multiple data points with the same independent variable value, and different values for the dependent variable. For example, if the horizontal axis ...
1
vote
0answers
743 views

How to interpret a scatter plot for the whole model in a linear multiple regression analysis?

I am writing a very basic report on ability of three predictors (two dichotomous and one continuous) to predict the criterion. I created a scatter plot for the whole model, and all I have to do is ...
1
vote
1answer
111 views

illustrate interaction without ANOVA, other methods?

I am wondering whether there are acceptable ways to illustrate the presence of an interaction besides using an ANOVA. I can't use an ANOVA because I have unequal sample sizes, and due to the nature ...
1
vote
2answers
4k views

Problems plotting GLM data of binomial proportional data

This might be a question for the programmers, but I thought I would ask here first. Im comparing browsing pressure on plants between sites. Ive a value to indicate Browsing Pressure and count data ...
11
votes
1answer
9k views

Getting different results when plotting 95% CI ellipses with ggplot or the ellipse package

I want to visualize the results of a clustering (produced with protoclust{protoclust}) by creating scater plots for each pair of variables used for classifying my ...
0
votes
2answers
200 views

Given a set of data, how can I calculate the equation of the mean line that passes through the data?

I have a set of data that I gathered doing some tests. I plotted it and created a scatter chart. I would like to find the equation of the mean line that goes through these points. How can I do this? ...
14
votes
1answer
20k views

Assumptions of generalised linear model

I have made a generalised linear model with a single response variable (continuous/normally distributed) and 4 explanatory variables (3 of which are factors and the fourth is an integer). I have used ...
2
votes
3answers
6k views

Correlation plots with missing values

I have 9 vectors of numeric data. I want to make correlation plots for these 9 vectors. However some vectors are of a different length to others - some have up to 240 observations while others have ...
23
votes
2answers
57k views

Scatterplot with contour/heat overlay

I saw this plot in the supplement of a recent paper and I'd love to be able to reproduce it using R. It's a scatterplot, but to fix the overplotting there are contour lines that are "heat" colored ...
30
votes
3answers
80k views

What's a good way to use R to make a scatterplot that separates the data by treatment?

I'm very new with R and stats in general, but I need to make a scatterplot that I think might be beyond its native capacities. I have a couple of vectors of observations and I want to make a ...
3
votes
1answer
903 views

Generating volcano scatterplot

This might look a very silly question to many of you but please answer. I am interested in generating a volcano plot for my dataset, which has four columns and all values are in log2. column 1 has ...
5
votes
3answers
9k views

How to do a pretty scatter plot in R? [closed]

I am trying hard to do the following and have already spent a few hours in vain: I wanted to do the scatter plot. But given the high dispersion on those dots, I would like to bin the x-axis and then ...
32
votes
3answers
34k views

How to draw neat polygons around scatterplot regions in ggplot2 [closed]

How do I add a neat polygon around a group of points on a scatterplot? I am using ggplot2 but am disappointed with the results of geom_polygon. The dataset is over ...
1
vote
2answers
248 views

Find degradation rate on a scatterplot

I work for a commercial printing company, and am collecting data regarding the quality of our printing over time (density and dot gains). Essentially, for every job I have a date, a density, and a ...
5
votes
3answers
13k views

How can I draw a boxplot without boxes in R?

Using R, I'd like to plot two boxplots without the boxes—just the points. Creating clean boxplots in R is trivial: ...
-1
votes
2answers
2k views

How to present several ANCOVA findings

I have six scatterplots (such as the one below) that show an insignificant interaction of the factor (X2) (e.g. gender, age, education etc.) with the predictor (X1) on Y. (X1 is significant.) The ...
6
votes
3answers
3k views

Creating univariable smoothed scatterplot on logit scale using R

I am learning logistic regression modeling from the book Applied Logistic Regression by Hosmer. I need to create a plot named "create univariable smoothed scatterplot on logit scale", ...
4
votes
3answers
6k views

What are alternatives to scatterplots when studying the relationship between two numeric variables?

I have questions about a study I was reading. In this study about children and money, the relationship between the age of the children and their weekly pocket money was assessed. The researchers ...
45
votes
6answers
81k views

How do I avoid overlapping labels in an R plot? [closed]

I'm trying to label a pretty simple scatterplot in R. This is what I use: plot(SI, TI) text(SI, TI, Name, pos=4, cex=0.7) The result is mediocre, as you can see (...
8
votes
3answers
8k views

Automating plotting CSV files quickly and with some level of artistic control

Suppose my CSV file has time and various columns of data vs time. I want to be able to automate plotting. To a file at least; multiple formats or to the screen as well is a plus. There will be lots ...
22
votes
2answers
652 views

Good online resource with tips on graphing association between two numeric variables under various conditions

Context: Over the while I've acquired a set of heuristics on how to effectively plot the association between two numeric variables. I imagine most people who work with data would have a similar set ...
8
votes
1answer
2k views

Plotting a discriminant as line on scatterplot

Given a data scatterplot I can plot the data's principal components on it, as axes tiled with points which are principal components scores. You can see an example plot with the cloud (consisting of 2 ...
9
votes
3answers
4k views

How can I remove the z-order bias of a coloured scatter plot?

I'm currently working on a plot engine for my project. This engine should be robust for a wide range of inputs. In order to analyse the data, I'm plotting a series of graphs utilising python/...
2
votes
1answer
2k views

Selectively tweaking pairs() axes?

Question on pairs() I'd like to use pairs() to choose a functional form for modeling a set of data. I know that several of my independent and dependent variables ...

1 2 3 4
5