# Tagged Questions

Presenting results in graphical form; for example, histograms, scatterplots, or boxplots.

170 views

### Interpretting LASSO variable trace plots

I am new to the glmnet package, and I am still unsure of how to interpret the results. Could anyone please help me read the following trace plot? The graph was ...
64 views

### How to interpret the lasso selection plot [duplicate]

I did lasso selection using lars::lars(), then I got this plot. I have no idea how to interpret it: Could anyone provide a brief explanation? Why does it plot ...
248 views

### Visually plotting multi dimensional cluster data

I have a data set with 16 variables, and after clustering by kmeans, I wish to plot the two groups. What plots do you suggest to visually represent the two clusters?
60 views

### How to make linear regression model while 'control' confounding variables?

I have data from survey, and Trying to build a linear regression model using R like A~ B however, want to control C, D, E, F, G. like Age, Sex, and other confounding variables. I tried to make some ...
27 views

### Compute the inverse of function [on hold]

I want to compute and plot the inverse of given function f. I have the following code in R : ...
22 views

### Visually inspecting normality of variables

I'm using R to plot some graphs for visually inspecting the normality of variables that will go into a linear regression model. Except for a histogram and a QQ plot, what other graphics could I use?
45 views

### Plot data with small differences but large scales

Suppose you have some measurement series with quite different variances, see e.g., figure below. The problem is that the differences between a, b, and d are barely recognizable, because the y-scale ...
2k views

### Alternative graphics to “handle bar” plots

In my area of research, a popular way of displaying data is to use a combination of a bar chart with "handle-bars". For example, The "handle-bars" alternate between standard errors and standard ...
51 views

### Interpreting Shannon entropy

From a computer simulation I have built a histogram of the results and normalized it so that the probability of finding a point $X$ in bin $b_j$ is $\sum_j P(X \in b_j) =1$. From this I have ...
33 views

### Clustering data for occurrence

I have a set of data representing nodes and how often they have been involved with each other. I've processed this into a table containing the nodes on X and Y with the data being the number of ...
35 views

### What is the proper way to summarize my info?

A friend's assignment question is "Does class attendance affect GPA?" She has 3 survey questions "How many courses do you have a week" "How many classes did you miss a week" "What is your GPA?" She ...
29 views

### What is the standard format of the equation that represents the production of this daughter isotope?

I have an idea about producing a genetic algorithm. But it involves using a relationship which believe could be defined as a horizontal Asymptote. I have found an image that depicts the type of ...
30 views

### How to visualize price distribution in marketplaces?

I am working in a hobby project, and I'd like some help with the following problem: I'm pulling pricing information from an internet marketplace, so if I provide a keyword (say, iphone cases) I'm ...
427 views

### How to visualize Bayesian goodness of fit for logistic regression

For a Bayesian logistic regression problem, I have created a posterior predictive distribution. I sample from the predictive distribution and receive thousands of samples of (0,1) for each observation ...
75 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 ...
109 views

### Displaying fine variation across multiple orders of magnitude

I have a sequence of numbers that grows super-exponentially: 0.993, 0.999, 1.037, 1.054, 1.195, 1.55, 2.953, 15.369, 815.687, 26492.118 I'd like to be able to ...
74 views

### Graphical representation of variance

I'm learning statistics and I can imagine pretty well what the standard deviation looks like (image here). But, knowing that the standard deviation is the square root of the variance, I just can't ...
51 views

### How do I correctly produce a prior/posterior plot from MCMC chains in Bayesian hierarchical models?

I'm a beginner at hierarchical modeling and statistics in general and this is confusing me. Question: If I draw a histogram of a posterior distribution from an MCMC chain, do I draw the prior as a ...
75 views

### (Standalone) Software for plotting graphs of large amounts of data and allowing you to scroll/zoom

I've got some temporal data taken from a data logger that I'm trying to plot in a graphical form (as a line graph). Because it's a large amount of data, plotting it one one big graph (e.g. in Excel) ...
44 views

### Weighing probabilities into a polygon

I have a collection of 4-member probability vectors (essentially proportions over 4 mutually exclusive categories). Is there a method to represent this data as a cloud of points inside a square? If ...
3k views

### How do I vertically stack two graphs with the same x scale, but a different y scale in R?

Greetings, Currently I'm doing the following in R: ...
80 views

### What is an adaptive copula?

My basic question is: What is an adaptive copula? I have slides from a presentation (unfortunately, I cannot ask the author of the slides) about adaptive copulae and I am not getting, what this means ...
59 views

### Visualising a linear model using effects package in R

I have ran this model in R: model <- lm(mpg ~ hp + drat + disp, data=mtcars) And I have visualised this model using ...
5 views

### Plotting a ROC curve from a random forest classification [migrated]

I'm trying to plot ROC curve of a random forest classification. Plotting works, but I think I'm plotting the wrong data since the resulting plot only has one point (the accuracy). This is the code I ...
269 views

### How can I produce a plot showing the directional angles of my points? [closed]

I want to be able to compare the angles of neighbours in a herd of hippos. I have data for the x and y coordinates and the angles that they are facing (using imageJ, angles are between -180 and 180 ...
63 views

### Visualizing longitudinal data with binary outcome

For longitudinal data with a numeric outcome, I can use spaghetti plots to visualize the data. For example something like this (taken from the UCLA Stats site): ...
54 views

### Plot 3 density plots in the same graph, showing also standard deviation limits in each one

I have obtained from a paper next results: Variable 1: Mean=165, sd=15 Variable 2: Mean=149, sd=18 Variable 3: Mean=134, sd=25 I have simulated normal distributions using rnorm. This is the way ...
165 views

### Plot normal probability for effect estimates in factorial design in R

I have 2 level Design (DOE) with 4 factors (A,B,C,D). I've already calculated the estimates for each main effect and all the interaction effects. How can I construct the normal probability plot to ...
22 views

### How to visualize concurrent function blocks in a tree

I am developing a online interactive tool using d3.js and I am trying to visualize runtimes of functions as rectangular blocks and their calls to other functions in a tree structure. I am able to ...
5 views

### Is it possible to do a common plot in parallel (with foreach)? [migrated]

The problem in short: I have to visualise an optimisation process on a plot. On a pre-plotted device the new solutions (as points(x,y)) should appear as they are available. I have working sequential ...
31 views

### How to visualize multi-dimensional array?

Can somebody tell me how to visualize multidimension array? Regarding two dimensional array, I don't have any trouble. But, when it comes to case of 3-D or many, then I start having problem. I tried ...
278 views

### Evaluating clusters of first-order Markov chains

I clustered my dataset of several thousand first-order Markov chains into about 10 clusters. Is there some recommended way how I can evaluate these clusters and find out what the items in the ...
1k views

### Software for easy-yet-robust data exploration

In my attempts to fight spreadsheet mayhem, I am often evangelical in pushing for more robust tools such as true statistics software (R, Stata, and the like). Recently, I was challenged on this view ...
48 views

### Clustering cloud fitting inverse functions

I have a cloud of points that can be clustered so that each set of points in the cluster can be fitted with an inverse function : $f(x) = cte / x$. What would be an approach for clustering my dataset ...
48 views

### Three-dimensional phylogenetic tree “anchored” in a scatter plot

I have done a simple clustering (protoclust) using error-containing data. To determine distances, I used a simple "pseudo-d" distance, in which the absolute value of the difference between two points ...
70 views

### Problem plotting GLM data of binomial proportional data 2

I am trying to plot the predicting line for a GLM with proportional data. After having troubles with the example from "Crawley" I found this link: Problems plotting GLM data of binomial proportional ...
791 views

### Is it appropriate to plot the mean in a histogram?

Is it "okay" to add a vertical line to a histogram to visualize the mean value? It seems okay to me, but I've never seen this in textbooks and the likes, so I'm wondering if there's some sort of ...
35 views

### Visualizing/explaining multilevel model (dichotomous IV)

I am using multilevel modeling (xtmixed in Stata) to predict a quasi-continuous level-3 DV using a dichotomous IV (sex). My results are markedly different from what the basic difference between men ...
18 views

### Why are calculated Theta scores different than what is displayed in item characteristic curves?

I am looking at item characteristic curves using a partial credit model. Items are 5-point Likert scales. When I look at the expected response curve for a particular item, a Theta of 0 corresponds to ...
58 views

### Neighborhood analysis in Matlab using a dot plot

I have points in a 2D graph (coordinates: X,Y property: Z). I would like to find for every point the closest, for example, 5 points and save their properties. What would be the easiest approach? ...
242 views

### How to best visualize one-sample test?

We are currently writing a paper with several one-sample Wilcoxon tests. While visualizing two-sample tests is easy via boxplots, I was wondering whether there is any good way to visualize one-sample ...
180 views

### Plot a linear discriminant analysis

Is there a package in R that can do this plot on LDA data graph plot: original question: How does linear discriminant analysis reduce the dimensions?
37 views

### Does JMP aggregate data in graph-building?

I am using JMP to find a relationship between drought index values and yearly corn yields for a 30 year period. I have drought data for seven different indeces and each index ranges from -6 (severe ...
33 views

### Plotting variables in transformed space

Suppose $A = X_1/X_2$ and $B = X_3/X_4$. Why would one plot the data in $(\log A, \log B)$ space as opposed to $(A,B)$ space?
85 views

### Overlapping time series: is there any better way to visualize them?

I have this time series dataset: The graph shows trend lines for 7 stock prices. They are very close and overlapping, but you will be able to get an idea that trend lines are layered (i.e. brown ...
181 views

### Why is standard error sometimes used for “error bands” in plots?

It seems that often what someone really wants to plot is a confidence interval of some kind, but using SE for this purpose I think only ends up comprising something like a 68% confidence band. ...
255 views

### How to visualize multi-linear regression?

I am currently writing a paper with several multi-linear regression analyses. While visualizing univariate linear regression is easy via scatter plots, I was wondering whether there is any good way to ...
582 views

### Looking for 2D artificial data to demonstrate properties of clustering algorithms

I am looking for datasets of 2 dimensional datapoints (each datapoint is a vector of two values (x,y)) following different distributions and forms. Code to generate such data would also be helpful. I ...
Consider this standard linear regression model: $Y = \beta_0+\beta_1X_1+\cdots+\beta_pX_p+\epsilon$ I've loaded such a dataset into Stata 12.0, so I have some variables $y,x_1,x_2,\dots,x_p$. How do ...