Presenting results in graphical form; for example, histogram, scatterplot, or boxplot.

learn more… | top users | synonyms (6)

10
votes
5answers
331 views

Removing extraneous points near the centre of a QQ-plot

I'm trying to plot a QQ-plot with two data sets of about 1.2 million points, in R (using qqplot, and feeding the data into ggplot2). The calculation is easy enough, but the resulting graph is ...
-1
votes
1answer
65 views

Joining results from different laboratories

I've done a large number of tests (100). I also have access to a thesis where it is reported the same type of tests on the same type of material. The mean and COV values are reported, along with the ...
2
votes
3answers
244 views

Suggestions on how to visualize survey data

I have some survey data, where the first question is something like, "rate how you are feeling on a scale of 1 - 5". The next group of questions are something like, "do you smoke?" or "how much ...
8
votes
2answers
207 views

What are some good exploratory analysis and diagnostic plots for count data?

Does anyone know of good reference material on exploratory analysis and diagnostic plots for count data?
2
votes
1answer
462 views
4
votes
2answers
517 views

Pie charts vs. dot plots

I understand the critiques of pie charts as referenced here: Problems with pie charts However, the above response (and the R manual) always cite dot plots from Cleveland as an alternative. My ...
1
vote
1answer
220 views

Graphs type for likert scaled questionnaire?

My questionnaire is on Likert Scale and is divided into 7 sections say A, B, C, D, E, F, and G. In each section there are a number of questions which the respondent has to fill in accordance with the ...
2
votes
0answers
104 views

Compare conservation rates of a variable in two-factor experiment

This is probably a very simple question for anyone using R, but I am fairly new to it (and stats in general) and I can't figure this simple computation out. I have 3 varieties of plants (A, B, C) ...
0
votes
0answers
283 views

How do you create a stacked bar graph in SPSS? [closed]

I had a questionnaire (survey form) which has Likert Scale. Now I want to generate some stacked graphs through SPSS. Can any one help me how to do that?
-1
votes
1answer
1k views

How to plot ROC curve with TP, FP and FN alone with different thresholds?

I want to plot a ROC for my detection algorithm which is used to detect features in image. I had obtained true positive, false positive and false negative from the algorithm. There is no true ...
5
votes
2answers
185 views

Temporal trend visualizations for regions

I try to reproduce a plot which I found in a publication (Mayor-Fernández et al 2012) showing unemployment rates across time for several regions. It combines a heatmap (?), a time series plot (lower ...
4
votes
0answers
108 views

Does anyone know how this visualization was made? [closed]

I've been tasked with implementing a visualization something like this one from the New York Times: ...
0
votes
0answers
159 views

How to display predicted probability for lmer objects with cubic splines?

I have fitted the following model: fitmixed2 <-lmer(Type~rcs(Pt.Age,3)+rcs(Time.min,3)+Pt.Gender+ASA+School+(1|provider.id)) and thought I could use the ...
4
votes
0answers
216 views

Calculating and comparing histograms of complex numbers

If I have a 1D sequence of complex numbers with real and imaginary parts, how can I compute the histogram of this sequence? Do I separately compute the histogram of both the real and imaginary parts? ...
0
votes
0answers
50 views

Trending in a non-uniform dataset

I have a set of sports data with a date and corresponding fitness result. Dates are not uniformly separated. What would be the best way to determine current athlete's progress? I was thinking ...
0
votes
0answers
1k views

How do you make forest plot with difference in means and CI?

I have to prepare forest plot for anti-hypertensive drugs. So far, I have seen forest plots that used odds ratios. I have difference in mean change in blood pressure in 2 groups along with 95% ...
10
votes
2answers
1k views

What test can I use to compare slopes from two or more regression models?

I would like to test the difference in response of two variables to one predictor. Here is a minimal reproducible example. ...
0
votes
0answers
282 views

Multivariate Multilevel regression using lmer function in R?

I am trying to run a multilevel regression with multiple responses (multiple outcome measures) using lmer in R. Or at least that is what I think I want to be doing. My key resource is this article by ...
4
votes
2answers
617 views

How to include an interaction term in GAM?

The following code evaluates the similarity between two time series: ...
17
votes
2answers
691 views

How to visualize an enormous sparse contingency table?

I have two variables: Drug Name (DN) and corresponding Adverse Events (AE), which stand in a many-to-many relation. There are 33,556 drug names and 9,516 adverse events. The sample size is about 5.8 ...
7
votes
2answers
328 views

How can I generate a plot similar to that produced by plot.bugs and plot.jags from an mcmc.list?

R seems to be able to output nice summary plots from the bugs and jags objects generated by the functions R2WinBUGS::bugs and ...
0
votes
0answers
104 views

Show events on a trend plot

I am working on an algorithm to minimize a function by iterative improvement, and I am plotting the function's value for each iteration (pretty straightforward plot). I am feeding GnuPlot or PgfPlots ...
3
votes
4answers
532 views

How to visualize two bar charts with very different scales without looking redundant

More an aesthetics question to do with presentation of statistical data, say you have 2 sets of data, speed weight a 2.2 500 b 4.7 222 c 7.3 999 d 3.1 ...
2
votes
3answers
550 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 ...
3
votes
3answers
154 views

How to graphically reveal data structures?

I have a dataframe with 8 columns (variables, X1 to X8) . Each column represents a different model parameter. Each row of the dataframe represents a modelling scenario. All the modelling scenarios ...
5
votes
1answer
1k views

How to draw mean, median and mode lines in R that end at density?

I have drawn a skewed distribution, using these commands: ...
4
votes
1answer
1k views

Checking Poisson distribution plot using mean and variance relationship?

Im new to Stack exchange, and a student of statistics. Thus I have a question for you guys.... So my questions is asking if it is possible to check the distribution of a random sample comes from a ...
4
votes
1answer
151 views

Evidence on red-purple-blue graphs

For some reason I have seen a preponderance of graphs whose color schemes (to represent a continuous variable) transition from red through purple to blue. Here is but one example (from a blog post, ...
1
vote
1answer
240 views

How to best represent median proportions using stacked bar charts?

I have a large dataset with several responses about an organization's labour costs. I would like to represent this data graphically. Typically what we do is provide a stacked bar chart (using R) of ...
5
votes
3answers
428 views

Are there references for plotting binary time series?

Does anyone know of recommendations/references for plotting binary time series data? Or categorical time series data? I'm looking at win/loss records, and it seems like there should be plots that ...
2
votes
1answer
400 views

Is it possible to visualize my data set in Excel?

My data set consists of columns containing universities in the Boston area, and rows containing zip codes. For each university and zip code, there are two data points: number of students in campus ...
1
vote
0answers
126 views

Exploring and visualizing survey data collected on small sample

I'm doing some analysis on survey data. Unfortunately the survey isn't as well set out as a data specialist would like and as a result I'm trying to find some innovative ways to examine and visualize ...
0
votes
1answer
59 views

Evaluate/Compare multiple numerical dataset for consensus or difference in R

I have a couple of stacked histograms which I need to compare/evaluate for similarity or difference. I believe rather than evaluating histograms is will be east to work with dataset used to plot ...
11
votes
1answer
2k 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 ...
4
votes
1answer
580 views

Graphing a Probability Curve for a Logit Model With Multiple Predictors

I have the following probability function: $$\text{Prob} = \frac{1}{1 + e^{-z}}$$ where $$z = B_0 + B_1X_1 + \dots + B_nX_n.$$ My model looks like $$\Pr(Y=1) = \frac{1}{1 + \exp\left(-[-3.92 + ...
2
votes
1answer
202 views

How to display my data in a visually pleasing way?

I have some funky data that I'd like to put into a final presentation form and I was hoping to get some creative ideas on how to do it. My data compares measurements of different lengths, so for ...
1
vote
2answers
483 views

Plotting gam model output - not component smooth functions

I aim to model the temperature variations in two locations in America, example below: ...
1
vote
0answers
88 views

Find most likely fit for subgroup size and average density from product and supergroup size

I need to find the most likely sets of group subset percent and frequency for a given result having the super group size. Let me illustrate with an example. Assume I have the following: ...
3
votes
1answer
112 views

Using Bayesian model diagrams to present both model description and results (posteriors)?

The model diagrams in "Doing Bayesian Data Analysis", John Kruschke creates diagrams like this: To represent The following BUGS/JAGS code: He discusses this representation in his related blog ...
1
vote
0answers
69 views

What is a lift chart? [duplicate]

Possible Duplicate: Lift measure in data mining What exactly is a lift chart? I am still not sure what the purpose of this chart is. Is it basically to compare a baseline model to a ...
-1
votes
1answer
439 views

plot data on a map [closed]

I’ve a data set contains three variables: longitude, latitude, population (in USA). I need to plot this data on a map. I use the following R code (it works fine): map("state", xlim = range(lon), ylim ...
9
votes
2answers
3k views

How to produce a pretty plot of the results of k-means cluster analysis?

I'm using R to do K-means clustering. I'm using 14 variables to run K-means What is a pretty way to plot the results of K-means? Are there any existing implementations? Does having 14 variables ...
8
votes
1answer
1k views

How would one graph the results of subjective rank order?

I'm looking for way to visualize subjective rankings, separate from my non-parametric tests. I've asked 12 participants to rank 8 different items according to different subjective criterion (separate ...
6
votes
4answers
6k views

How to add non-linear trend line to a scatter plot in R?

I have a scatter plot. How can I add non-linear trend line?
6
votes
1answer
165 views

What's the simplest way to create a beanplot in matlab?

What is the simplest script for generating a beanplot (see article published in the Journal of Statistical Software) in Matlab?
2
votes
3answers
399 views

Are tree map diagrams effective at conveying information?

I have been looking at Treemapping as a potential data visualisation technique. Ref: Wikipedia article on Treemapping While popular in many visualisations, they don't seem to me to be effective at ...
5
votes
2answers
317 views

Is there a quantitative way to compare the distribution shape of different samples?

I am conducting some research which involves visually/graphically observing the differences between the shapes of the distributions of different samples. I would like to automate this process (at ...
6
votes
2answers
185 views

Making boxplots of hourly data in R

I have air temperature measurements from two fixed locations measured at hourly intervals. The code below is a random set of numbers used to represent the format of my data: ...
13
votes
3answers
2k 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 ...
2
votes
1answer
76 views

Correspondence analysis on a table of means

I have a table of the following kind: Cat1 cat2 cat3 ... Var1 6.3 5.3 8.3 Var2 5.2 5.7 6.1 Var3 2.2 3.9 7.6 . . . It is a table of means for ...

1 3 4 5 6 7 13