A histogram is a graphical representation of the frequencies of a continuous variable. The variable is divided into bins and a bar is drawn for each bin, proportional to its frequency in the data.

learn more… | top users | synonyms

0
votes
0answers
20 views

Plotting more than three variables in matlab

I am here to seek opinion on how should i represent my data that i have collected. I am to create a presentation focusing on environment. I was told that a simple bar chart and a line graph is a bad ...
1
vote
0answers
92 views

Mulitple line plots in one graph in R [migrated]

I am new to R. I would like to create a plot in R by combining all the data in one graph with colour curves and legends. My data file is in zipped format: http://www.datafilehost.com/d/e115550e As I ...
0
votes
0answers
41 views

HOG Feature Implementation with SVM in MATLAB

I would like to do classification based on HOG Features using SVM. I understand that HOG features is the combination of all the histograms in every cell (i.e. it becomes one aggregate histogram). ...
0
votes
0answers
22 views

Analyzing the shape of distribution on a histogram [duplicate]

I have three different histograms which are generated from one sample. In each of the histograms, both variables are the same. Although binwidths for each histogram is different. By looking at each of ...
4
votes
2answers
101 views

Is there a better way than side-by-side barplots to compare binned data from different series

I have a number histogram from a data source. I want to compare their distribution. For example series 2 is more to the right than series 1. Is there any good way to contrast besides plotting the ...
0
votes
1answer
32 views

Normalize histogram with different bin width?

I know how to normalize histogram (so that the area =1) with the same bin width, but how to do it when the histogram has different bin width? Any idea?
0
votes
0answers
19 views

Compute mean from discrete normally distributed data [duplicate]

I am looking for an estimator of the mean of normally distributed data (with known variance) in the regime where the sampling grid is much coarser than the variance. I.e. in the worst case consider ...
1
vote
0answers
30 views

Compare Frequencies

I have a continuous predictor variable that I have divided into bins (at 0%, 0 to 25%, ...). For each of these bins, I have shown you the histogram below of Number of Companies that are in that range ...
1
vote
1answer
33 views

Frequency Distribution Test Vs. Chi Square Goodness of FIt

I need to prove that the higher frequency of an occurrence within a particular range is statistically significant. Let me explain this with an example: X-axis has ages and Y-axis has the ...
0
votes
0answers
138 views

Mutual information with outliers

I am using Mutual Information on a data set with some outliers. The univariate variables don't have a known distribution, so I cannot remove them automatically with any neat method, like Grubbs or ...
1
vote
1answer
106 views

Normally distributed errors - Why not use the observed residual histogram?

In the context of the classical linear regression model (with all standard assumptions), we know that when the error term is normally distributed, least squares is minimum variance among all linear ...
2
votes
0answers
188 views

How to get Bhattacharyya Distance in Excel (or Matlab, or R)

I have several histograms which I would like to compare to one reference histogram to see which one is the most similar to the reference in terms of the shape of the distribution. Kologorov-Smirnov ...
5
votes
0answers
70 views

Is this a normal distribution?

I have done some processing to my original data. Before the processing I had a nice histogram with a bell shape. Now it still looks like a bell shape to me if I would slice off the first half and ...
1
vote
1answer
187 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 ...
0
votes
0answers
23 views

Quantify agreement of histograms filled with autocorrelated data

I'm having an issue quantifying the agreement/disagreement of histograms that were filled with autocorrelated data. The context: I'm working with gps-data on velocities, that were recorded with 1Hz. ...
0
votes
0answers
21 views

Empirical Conditional Intensity Function

I'm trying to compute the empirical conditional intensity function in my data. I have two types of events, event Type1 and event Type2, that can occur in a time interval of, say, 1 day (events don't ...
2
votes
1answer
83 views

Kernel density estimation - application

What is the validity of using a kernel-density-estimation to compare model x observed data? In other words, if the KDE curve for the observed data looks like the KDE for the model forecast, can I use ...
1
vote
4answers
615 views

Comparing histograms

The data I have are the ages male or female won an award (79 data points, ages, for each gender). When constructing a freq table I used to find the number of classes, $$ n = 79 $$ $$ ...
2
votes
1answer
72 views

Accuracy of computing moments from an histogram

Let's say I have an histogram of some continuous data with unknown and arbitrary pdf. I don't have access to the original raw data. So I don't know that 3 of my data points are 21, 25 and 27, all I ...
0
votes
0answers
14 views

Minima between modes at different time points

I have measurements for a number of different discrete groups (e.g., Group A, Group B, . . . Group Z). I believe that the measurements for Groups A and B are smaller than those for groups C through Z. ...
5
votes
2answers
240 views

How to smear a histogram

I was asked to perform a Gaussian smearing on the bins of an histogram. What does this mean?
1
vote
0answers
111 views

Histogram PDF Fitting - bin Variance Poisson or not

So my basic query is just because you've binned and counted the data into a histogram are the error bars on the bins necessarily the Poisson $\sqrt{N}$? Longer explanation: I have an image of pixel ...
2
votes
2answers
225 views

Different histograms for same data in R and Oracle Crystal Ball

I am analysing small sample size data: >dput(dat.demand2050.unique) c(79, 56, 69, 61, 53, 73, 72, 86, 75, 68, 74.2, 80, 65.6, 60, 54) for which the ...
1
vote
0answers
56 views

Bhattacharyya distance for three histograms

There is a paper “Auto White Balance Based on the Similarity of Chromaticity Histograms” mention about automatic white balance. One of the key point of this algorithm is how to measure the similarity ...
1
vote
3answers
236 views

What is the proper way to compute the r-squared between a binned distribution of observed values and a continuous probability density function?

I have circular data -- observations each of which falls between -180 degrees and +180 degrees -- divided into a 15-bin histogram. I'd like to see how well a continuous PDF -- specifically a mixture ...
5
votes
1answer
160 views

Why so many large p-values when I repeat an experiment?

I have a quick question: In using a t.test for multiple experiments, I got one p-value for each experiment. When I plot the histogram of these p-values, I find the distribution looks like a ...
0
votes
0answers
119 views
3
votes
2answers
133 views

Can I use kernel density estimation when I only have histogram data, not the raw values?

I'm using R, but the density function requires the actual samples, but I only have the histogram data. Can I still use kernel density estimation, or is there a better tool for this?
11
votes
3answers
482 views

Benefits of using QQ-plots over histograms

In this comment, Nick Cox wrote: Binning into classes is an ancient method. While histograms can be useful, modern statistical software makes it easy as well as advisable to fit distributions to ...
2
votes
1answer
189 views

Label on the y-axis in a normalised histogram

If you have a histogram with frequency on the y-axis and bins for different ranges of values on the x-axis, then it is reasonable that the label on the y-axis should be frequency. But if these ...
0
votes
1answer
155 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 ...
5
votes
1answer
1k views

I log transformed my dependent variable, can I use GLM normal distribution with LOG link function?

First of all, thank you for the great forum! I have a question concerning Generalized Linear Models (GLM). My dependent variable (DV) is continuous and not normal. So I log transformed it (still not ...
1
vote
1answer
139 views

How to test a histogram against a specific distribution?

Prerequisites If I have given a histogram $y_1, \ldots, y_m$, as a hypothesis for the underlying distribution some discrete iid random variables $X_1, \ldots, X_n$ supported in $\mathbb Z$ where ...
2
votes
1answer
177 views

Mallows distance hypothesis test: p-value =?

I am using Mallow's Distance (normalized Earth Mover's Distance) to characterize the similarity between two histograms. This is working very well, but I would like to identify a specific cut-off where ...
4
votes
1answer
179 views

How to test for normality of growth disturbances in chemo treatment?

I'm a med student, conducting a retrospective analysis of weight/growth disturbances during chemo treatment. I wonder, if I should: assume, that growth is a variable normally distributed across the ...
2
votes
2answers
346 views

Does this histogram of residuals indicate that the residuals are effectively random?

I am studying a univariate and discrete time series. I know that residuals should be effectively random and have a good fit, and should have a bell shape. Does the plot below suggest that the ...
4
votes
1answer
175 views

Estimation of mean, variance and mean squared error of a histogram that poorly models real distribution

I'm having a basic statistics problem. I'm running an experiment using a photon counting detector to measure a diffraction pattern. I want to calculate the centroid of each diffraction spot and the ...
1
vote
1answer
239 views

Plotting 0 in a log scaled axis

I have a very large and sparse dataset of spam twitter accounts and it requires me to scale the x axis in order to be able to visualise the distribution (histogram, kde etc) and cdf of the various ...
1
vote
2answers
392 views

Should the predictor variables be normally distributed for Poisson glm?

This is probably a really basic question, but it's the first time I've created a model that defines Poisson as its error family. In setting up my variables to make the model, should I be concerned ...
3
votes
1answer
104 views

How to translate a histogram to natural language?

Assume we have a set of histograms, let's say they describe age distribution of some people. We want to translate this: x x x x x x x x x to: mostly young; ...
6
votes
1answer
609 views

Histogram with uniform vs non-uniform Bins

This question describes the basic difference between a uniform and a nonuniform histogram. And this question discusses the rule of thumb for picking the number of bins of a uniform histogram that ...
2
votes
0answers
78 views

Confusion related to histogram density estimation

I have some confusion related to how the density is estimated from the histogram. I have attached the screenshot of the paper as well. Any insights I didn't get why you divide it into cubes and why ...
4
votes
2answers
554 views

Doane's formula for histogram binning

I'm implementing various algorithms to estimated the best number of bins to use for histograms. Most of the ones I am implementing are described on the wikipedia page: ...
0
votes
1answer
235 views

R: Density estimation vs Histogram Estimation

To draw random samples from a custom distribution, I recall reading that KDE's are better than histograms. (See hadley's comment here.) When I experimented in R, I am finding that the KDE method ...
12
votes
4answers
1k 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 ...
3
votes
1answer
181 views

QQ plot is consistent with normality when subgroups are non-normal

I have read that for a one way ANOVA, you should check that the model residuals are normally distributed. If the variance of each group is homogeneous then this implies that the residuals with each ...
2
votes
0answers
96 views

How to pick a good threshold for multimodal histograms

I am trying to do multi-modal detection in a vote map (histogram) however, side lobes obviously cause some false peaks. So using mean shift will not do as it will find all of the local maxima. So I ...
7
votes
4answers
6k views

R - QQPlot: how to see whether data are normally distributed

I have plotted this after I did a Shapiro-Wilk normality test. The test showed that it is likely that the population is normally distributed. However, how to see this "behaviour" on this plot? ...
6
votes
2answers
1k views

QQ plot does not match histogram

I have a histogram, kernel density and a fitted normal distribution of financial log returns, which are transformed into losses (signs are changed), and a normal QQ plot of these data: The QQ plot ...
0
votes
0answers
435 views

Freedman-Diaconis Rule

The Freedman-Diaconis Rule says that the optimal bin size of a histogram is $$ \text{Bin Size} = 2 \cdot \text{IQR}(x) n^{-1/3}$$ where $x$ is the data and $n$ is the number of observations in the ...