# Tagged Questions

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

47 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 ...
8 views

### R - color scatterplot points by z value with legend [migrated]

I have a scatterplot and wish to color the points by a z value assigned to each point. Then I want to get the legend on the right hand side of the plot to show what ...
76 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 ...
79 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 ...
40 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, ...
375 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 ...
47 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) ...
127 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 ...
156 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. ...
103 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) ...
14 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 ...
126 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: ...
45 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. ...
220 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 ...
124 views

### Choosing regression model

How can I choose between these two regression models? R outputs: Regression 1 ...
41 views

### How to compare variable dimensions with fixed slicing for scatter plot?

My data: refArea, measureX, measureY CA, 1, 2 CA, 1, 4 CH, 2, 3 CH, 2, 4 DE, 2, 1 I'm not sure how to handle overlapping values for the x-axis (i.e., measureX ...
120 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 ...
62 views

### Statistics problem travel distance [closed]

I've tried to solve this but I have no idea; I tried it several times but I still didn't manage to get a correct solution. For a sample of 10 students, the following bivariate data represents the ...
97 views

### how to plot lines in a matrix scatter plot

apologizes if the question is too silly. I have followed these instructions for plotting the iris dataset. Now I want to plot lines on that plot. I have a series of four-dimensional points that I ...
70 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 ...
2k 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. ...
279 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 ...
197 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 ...
80 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 ...
595 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 ...
1k 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 ...
898 views

### How do I create a categorical scatterplot in R like boxplots? [closed]

Does anyone know how to create a scatterplot in R to create plots like these in PRISM's graphpad: ...
144 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? ...
928 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 ...
698 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 ...
5k 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 ...
4k 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 ...
491 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 ...
3k views

### How to do a pretty scatter plot in R?

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 ...
3k views

### How to draw neat polygons around scatterplot regions in ggplot2

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 ...
107 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 ...
2k 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: ...
384 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 ...
956 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", something like ...
643 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 ...
4k views

### How do I avoid overlapping labels in an R plot?

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 ...
2k 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 ...
451 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 ...
321 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 ...