Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [histogram]

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.

0
votes
0answers
23 views

Histogram equalization

I'm trying to equalize the following histogram: I tried histogram equalization, but that didn't seem to work the way I wanted. I got something likes this: Which is equally distributed everywhere. ...
0
votes
0answers
11 views

problems in plotting decimal value distribution with bin width normalization in r using hist()

I am plotting data distribuiton. I get the expected plot with data which are only integer numbers. But I didn't get appropriate plot for decimal data sets. The code with integer numbers data as ...
2
votes
0answers
14 views

Can I draw a histogram of the mean sample distribution (n=30) sampling from my dataset (n=200)?

I would like to test whether my data reasonably satisfies the normality assumption necessary to apply a t-test. My understanding is that, to apply a t-test, the distribution itself does not need to ...
0
votes
0answers
30 views

differentially private release of histograms (non-negative valued queries)

Two practical questions arise when releasing differentially private histograms/counts via addition of Laplace/Gaussian noise: 1) Is the result of noise addition truncated/rounded (since we know that ...
2
votes
2answers
150 views

Visualization of the number of transitions between states [closed]

I am currently developing a Markov model for ordinal data. In order to proceed with the modeling, I would like to check the distribution of the number of transitions per individual in my data set. ...
0
votes
0answers
11 views

Binomial Distribution - further tests

I have a fairly large sample size of tenants and their average length of stay. When I try to put the data into a histogram, I don't seem to get a normally distributed data set because there is a large ...
1
vote
1answer
42 views

downsampling a kde / combining kde and histogram

I'm calculating a KDE of one parameter (y, particle density) in bins of another parameter (x, distance from the origin). At ...
1
vote
0answers
10 views

Constructing an appropriate null hypothesis?

I have a collection of 20 2D surfaces embedded in 3D. The mean curvature of each surface has been sampled. The number of samples per surface varies from ~700,000 to ~20,000,000. The choice of ...
1
vote
2answers
62 views

Why use histogram to illustrated probability distribution

Forgive me I am a newbie of random variables. I saw a lot of course which introduce the Discrete Random Variables which always be illustrated with a histogram or ...
3
votes
1answer
41 views

How to quantify the agreement between the same parameter from two different data sets

I am looking at Arctic ice thickness from two different Earth-orbiting satellites A and B. I'm interested in quantifying how well these two datasets agree, but I'm struggling over what parameters to ...
0
votes
0answers
15 views

Histogram of Subtraction of Underlying Values

I have histograms produced from two sets of data recording. One of background noise of values $X$ and another $Z$ with a signal of values $Y$ present such that $Z = X + Y$. How can I estimate a ...
2
votes
0answers
25 views

Sparkline type visualisation of demographics in papers (introducing new 'non-standard' visuals)

It seems typical to include only basic statistics on subject demographics within papers (i.e. mean, max and min). It seems to me that having a knowledge of the actual distribution would be provide ...
0
votes
0answers
12 views

how to calculate the difference between multiple distribution(or frequency list)

Here is the scenario: I have a dataset, which contains list of data points, each point has F features(i.e. float numbers) and a category(there are C categories). I want to compare the difference of ...
1
vote
1answer
39 views

What does a p value histogram that is “normally” distributed mean?

Let's say I performed 100 tests and and want to correct for multiple comparisons. Before I do so, I plot the unaltered p values in a histogram to see what the distribution looks like. If the null ...
1
vote
2answers
57 views

How to approximate histogram(f(x)) from histogram(x)?

I have a histogram of a variable x, and I would like to get the histogram of f(x). Let's just say the transformation function is ...
1
vote
0answers
221 views

K-Nearest-Neighbor classification with only distance/similarity matrices, is it possible?

I want to classify histograms/distributions using K-Nearest-Neighbor. I can measure distances/dissimilarities between the distributions (using euclidean distance, kullback-leibler divergence...), thus ...
1
vote
3answers
90 views

How long is a distribution considered normal?

I have a dataset of metric distances ($n=5800$) and plotted those as a histogram. My initial thought was that this distribution looks normal. But after performing a Shapiro Wilk test and plotting the ...
1
vote
1answer
191 views

Histogram and probability mass function

I have a dataset of a discrete random variable. My question is: Is the normed histogram(I divide the frequencies by the total number of samples) and the PMF is the same quantity? It seems they are. Is ...
0
votes
0answers
21 views

Tukey’s rule for outlier analysis: What does it mean when the HIGH is below the mean?

Hi as you know the upper boundary of Tukey's rule is Upper Range = Q3 + (1.5 * IQR) however recently I came across something that does not make sense to me. ...
1
vote
1answer
171 views

Scott's and Freedman–Diaconis rules of the thumb for selecting bin width - disatvantages

Scott's and Freedman–Diaconis rules of the thumb are based on the following formula: In the article here it is stated that: While these appear to be useful estimates for unimodal densities ...
0
votes
0answers
41 views

Averaging Histograms

I am currently running experiments which include measuring concentrations throughout an environment, producing a histogram as such: Which shows the percentage of positions which have oxygen ...
2
votes
0answers
44 views

How to aggregate histograms for density estimation

Within a very large sensor network, each node does take measurements derived from a fixed number of samples taken at a high frequency from an instrument. The number of measurements send to an ...
0
votes
0answers
46 views

How to estimate a histogram for two correlated input parameters when the resulting histogram is known?

Let's assume there are two (slightly correlated) parameters (A and B). Both parameters are rated with discrete values (range: 1-5). The sum of the two parameter-ratings gives the cumulative-rating (A+...
3
votes
1answer
94 views

Why is “using counts of a frequency table as data” for a histogram a “mistake”?

The textbook, The Practice of Statistics, states the following as a "common mistake" when making histograms: Don't use counts (in a frequency table) or percents (in a relative frequency table) as ...
1
vote
1answer
45 views

y-axis ticks of distribution plot

Can I know what are the ticks at y axis mean? I created a distribution plot of titanic['Age'] data from.Kaggle Titanic Data How to learn more about distribution of age column from the dataset from ...
2
votes
3answers
325 views

A question about Histogram-to-distribution transformation

I have done a simulation with 1 million runs on Matlab. I have got a histogram for this. Using Matlab command hist(X), (where X is the 1 million samples as results ...
1
vote
0answers
14 views

Why do we subtract the $cdf_{min}$ in this step of histogram equalisation?

In my question I am referring to histogram equalisation as it is described in the wikipedia article in this example here. Given an grey image $I$ of size $M \times N$, in histogram equalisation one ...
0
votes
0answers
19 views

Can I use PCA to correlate the brightess of an object with some other attribute?

I'm trying to correlate the color of a blood sample with how high the glucose is in that sample. My original intuition was to look at a histogram of each color channel (RGB) to see where they peak, ...
2
votes
2answers
159 views

Choosing center of histogram bins for fitting

I have a bimodal distribution, and if plotted with Mathematica it looks like this: Now, the lowest value from the actual data is 8196 and 690720, but as seen in the plot, Mathematica lets the data ...
1
vote
0answers
20 views

Relative frequency question

I am a new user here, and I need some help getting started with the following question: The textbook answers are a. $19$ and b. $20$. How do I begin this question? I am a beginner in statistics. :) ...
1
vote
0answers
147 views

95% confidence interval error bars of normalized histogram

I have observational data from a satellite and I am studying a certain phenomenon. I have locational data of these phenomena (let's call this data set A). I have divided the data into histogram bins ...
2
votes
1answer
230 views

SVM classification on distance matrix

How can I do an SVM classification when I only have a distance matrix (pairwise matrix)? Edited: I want to classify my data in two groups: healthy and sick. My original data are histograms (which are ...
1
vote
0answers
26 views

How to analyze size frequency data from over 70 sites

When I started my PhD, I had virtually no prep-time. My advisor needed me in the field and told me to go grab samples. As such, my planning wasn't the best, so sorry if this is a completely terrible ...
0
votes
0answers
74 views

For a histogram, is there any standard rule about how large the min and max bin should be (underflow bin and overflow bin)?

Working with several large datasets in excel, about N=900. I would like to divide the data into a number of categories corresponding to low, med, high etc. for this biological variable. Histograms ...
2
votes
1answer
62 views

What is a “Nominal Type Histogram” and “Shuffling Invariant Property”?

I'm reading this paper about comparing histograms ["Comprehensive Survey on Distance/Similarity Measures between Probability Density Functions" by Sung-Hyuk Cha] that writes in the introduction: ...
3
votes
1answer
265 views

What is histogram classifier and how to use it? [closed]

This question is about the assignment on my ML course.. I have been given two continuous data in a normal distribution and predict the values of both for class labels(m/f) in 2 steps: build a ...
2
votes
1answer
708 views

Outlier detection for skewed data

I have a dataset as below: 4.8856 4.8914 4.9125 4.9338 4.9563 4.993 4.9947 4.9947 4.995 5.2932 4.981 4.981 4.981 4.982 4.982 4.982 4.982 4.983 4.983 4.984 4.984 ...
1
vote
0answers
68 views

How to divide the data to analyze [Histograms in R]

I am working on the data of a contest, of 85 days duration, where all the participants could choose to participate or not every day. The distribution seen through a histogram is: [Histogram with the ...
0
votes
1answer
160 views

How to standardize histogram?

I have known quadrature points (X_q) for q = 1, ..., Q and known frequency (A_q) at each point. I want to rescale X_q and A_q, so that I have the new X_q_new and <...
0
votes
0answers
140 views

Shouldn't fitdist(data,'Lognormal') give the same result and plot as fitdist(log(data),'Normal') in Matlab?

I am trying to fit a distribution curve to the histogram of some data. (I have used some model data here instead because it is difficult to upload the actual data. I have included the complete code ...
0
votes
0answers
35 views

Selecting the Number of Bins in a Histogram: A Decision Theoretic Approach

I am attending a course about Python and as supplementary readings for the lesson about plotting histograms the Professor suggested the following article: Selecting the Number of Bins in a Histogram: ...
0
votes
0answers
9 views

Is there a systematic behaviour/change?

don't know how to call the title so please excuse the rather general naming. I've a lot devices and each has it's own specific voltage which I've histogrammed. After the same treatment (meaning, each ...
0
votes
0answers
902 views

Histograms and box-plot match

Can you please explain why they match? I am really confused about the uniform distribution.
8
votes
1answer
177 views

Why is the $x$ axis for a histogram labeled “bin”?

When talking about histograms, why do we refer to the x-axis as "bin"?
0
votes
0answers
82 views

Distance Between 1-D Histograms and Binning

In order to calculate the distance between two 1-D histograms, they must have the same number of bins. I'm wondering if it's preferable to have more or fewer bins for such calculation. For example, ...
7
votes
3answers
374 views

Can the 'bin size' in a histogram be thought of as a regularity constraint?

When thinking about a histogram as an estimate of the density function, is it reasonable to think of the bin size as a parameter that constrains the local structure of that function? Also, is there a ...
0
votes
1answer
89 views

Convert a beta distribution to Poisson distribution

I need a Poisson distribution in an application, but in that application the only available functions for generating distributions are Beta, Uniform, and Normal functions. Now, I am thinking is there ...
2
votes
0answers
153 views

What is the correct way to modify the bin-counts given a threshold for a chi-squared test?

When performing a chi-square test, one inputs the expected counts (via integrating probability distribution over respective bin bounds) and observed counts into the chi-square formula (denoted below). ...
1
vote
0answers
288 views

Why do these two logarithmic binning methods give different results? (in R)

Problem I am working on a problem involving logarithmic binning. I have a dataset consisting of individuals that have a size value and a production value. I am using an algorithm to logarithmically ...
0
votes
0answers
23 views

fitting boxcox transformation to hourly wind speed

Hey, I am trying to transform and standardize my hourly wind speed dataset to make it make it gaussian shaped. I am doing this to observe the seasonal/periodic variations within my dataset. However ...