# Tagged Questions

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

12 views

### What is exactly code vector and quantization vector of self organizing map?

I am trying to understand code vector in self organizing map. Could anybody explain me intuitively what it is exactly?
63 views
+50

### Pairwise comparisons for a regression with sandwich estimates (in R)

The question in short I run a robust regression in R and made a boxplot with only one of the predictor variable grouping the response variable. On this boxplot I'd like to add some information about ...
76 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 ...
311 views

### How to get forestplot to accept an expression in row label?

I'm struggling getting a greater than sign (>=) into a forestplot. The expression should embedded in some kind of matrix. This should be simple and straight forward but I just can't find the right ...
26 views

### graphical and statistical approach to evaluate the skewness and kurtosis of a data set

In practice, we may always be asked to check the skewness and kurtosis of a data set. I have two questions. Given a probability distribution, how can we determine/evaluate the skewness and kurtosis ...
9 views

### Plotting a function in R [migrated]

so I'm doing QDA on some data and I need to plot a decision boundary in r ,or MATLAB, which looks like the function below. 0.651 - 0.728(x_1) - 0.552(x_2) - 0.006(x_1 * x_2) - 0.071(x_1)^2 +.170 ...
64 views

### A gallery of charts, diagrams, and plot types

What would you recommend as a comprehensive gallery of data presentation techniques? A source that could be used to refer to while you're thinking about better ways of presenting your data? I've ...
27 views

### Reduce the number of data points to a minimum in a series

I have maximum 8 series with datapoints. Sometimes the amount of this datapoints of a series is over 500. In worst case i have around 8*90.000 datapoints. I don't need to draw so much because you ...
17 views

### Chosing the reference group in a regression with a non-ordinal predictor

When running a model with a categorical predictor, the output contains n-1 p.values where n is the number of levels in the factor. One level is taken to be the reference group. For example: I ...
179 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 ...
73 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?
61 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 ...
29 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 ...
52 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 ...
428 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 ...
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 ...
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 ...
76 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 ...
78 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 ...
60 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 ...
168 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 ...
23 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 ...
32 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 ...
801 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 ...
19 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? ...