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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

Why does my probability plot not agree with my histogram?

I am trying to determine the best distribution to characterize a dataset. My dataset visually looks like Cauchy distribution would be a good fit, so I used python to fit a Cauchy distribution to my ...
user avatar
  • 11
0 votes
1 answer
19 views

How to convert units of KDE into physical units

I have a sample of people's heights. If I histogram it, I would usually divide by the bin width, so that my result becomes independent of my bin width, and I would label the axis something like (...
user avatar
  • 173
0 votes
0 answers
18 views

Is it any meaningful taking the histogram of many histograms?

So I’m working on pixel-level assessment of chest x-ray images from the NIH Chest X-ray dataset. The diseases labels on the images are a set of z different categories (i.e. Pneumonia, effusion, etc…). ...
user avatar
-1 votes
0 answers
22 views

Find mean value of total N with only relative frequency and mid point histogram [duplicate]

I have the following data of number of vouchers redeemed : How can i calculate the mean value of total vouchers?
user avatar
-1 votes
1 answer
26 views

Calculate mean of sample size based on relative frequency in histogram [duplicate]

I have the following data of number of vouchers redeemed : How can i calculate the mean value of total vouchers?
user avatar
0 votes
0 answers
10 views

Comparing groups when each member provides multiple datapoints per visit

First timer - apologies for the length of the question and any incorrect use of terminology... I wish to compare two groups in a longitudinal study where there is a small 'n' (4 or 5 in each group). ...
user avatar
0 votes
0 answers
21 views

Mean squared error of 2 distributions when there are many zero values

I am comparing two (2-D) distributions using mean squared error. I take the difference between distributions, square them, average them and multiply them by the area of a pixel/bin. These ...
user avatar
3 votes
1 answer
37 views

Probability for a bin in a binned histogram

This question is very basic, but I cannot figure the error in my thinking. According to the author of the book "Pattern Recognition and Machine Learning", we can get the Probability ...
user avatar
  • 43
0 votes
0 answers
25 views

Selecting the optimal bandwidth in kernel density estimation

I have a question regarding kernel density estimation. At the moment I have a set of sample date $V$, where for each $v \in V$ I have an associated standard deviation $\sigma_v$ (some measurements ...
user avatar
0 votes
0 answers
20 views

Estimating the Probability in a statistical analysis

I am carrying out a statistical analysis where I run the simulation (Matlab) 5000 times, to get 5000 results. The objective is to estimate the probability of having a result that is less than or equal ...
user avatar
1 vote
2 answers
41 views

Histogram vs Bar Graph [closed]

I have data for number of patients used to collect the data in a hospital for each day. I want to display them as a graphical representation of number of patients used to collect the data for each ...
user avatar
  • 13
0 votes
0 answers
3 views

What metric is best fitted for comparing encodings?

I am trying to compare two distributions, that each correspond to different numerical encodings, e.g. compare fp32 encodings to various other encodings on a same set of values. However I do not know ...
user avatar
0 votes
0 answers
11 views

Detecting Mean differences on streaming data

Im taking online measurements on highly skewed real valued data of two possibly unrelated distributions. The precision is low, which means small values tend to come in duplicates, while large values ...
user avatar
1 vote
0 answers
14 views

Empirical distribution for feature binning

In paper "A simple yet effective baseline for non-attributed graph classification" (https://arxiv.org/pdf/1811.03508.pdf) authors use empirical distribution for feature binning. Precisely, ...
user avatar
  • 199
1 vote
2 answers
82 views

Histogram of a Sample with Overlay of Population Density

To familiarize myself with histograms and probability density functions, I decided to sample various distributions, plot samples' histograms and their corresponding probability distribution functions. ...
user avatar
  • 121
2 votes
1 answer
26 views

Infer (supposed) Poissonian probability from data

Suppose to count the drops of rain in a square meter in 15 seconds, producing 16 observations: 40, 20, 24, 15, 23, 12, 39, 26, 29, 33, 16, 36, 17, 32, 40, 15. What is the probability of counting 28 ...
user avatar
  • 153
1 vote
0 answers
24 views

How to adjust for the baseline difference between groups for a histogram

I have data from an experiment that tested responses to stimuli in females and males. I measured baseline for both groups prior to presenting the stimuli. The baseline for males is higher than for ...
user avatar
3 votes
1 answer
28 views

Is there a way to identify key points of change in length-frequency (histogram) data through statistical means?

I am performing a length-frequency analysis (read: histogram) of data in fishes. This is a common way in which fish biologists analyze life history data in fishes. An example of the data is as follows....
user avatar
2 votes
1 answer
267 views

How do I overlap a Poisson distribution with a histogram

I expect to get a Poisson distribution over my histogram but as I can see from the graph, I get a straight line. Would really appreciate insight.
user avatar
  • 21
0 votes
1 answer
65 views

Should histograms be normalized first before fitting them?

Assume I have some data that follow a power law and I would like to estimate the exponent $a$. An obvious way to do so is to bin the data and then fit the power law to the histogram. However I found ...
user avatar
  • 105
8 votes
2 answers
416 views

Inverse transform method, theoretical graph not matching sample

Suppose a density function is $$f_X(x)=\left\{\begin{aligned}\frac{1}{(1+x)^2} & \quad x \ge 0 \\ 0 & \quad \text{otherwise.}\end{aligned}\right.$$ I am trying to write an algorithm to ...
user avatar
  • 113
0 votes
0 answers
28 views

How do you estimate the mode of a histogram with logarithmic bin width?

For the purpose of estimating the median and other quantiles, I summarize samples in a histogram whose bins grow logarithmically in width. For example, to guarantee a 1% worst case absolute relative ...
user avatar
1 vote
2 answers
49 views

Mann-Whitney U test on "histogram-compressed" data?

I want to perform a very large number of Mann-Whitney U-tests between many groups from data that I will get in from a database. I would prefer to use a pre-implemented version of this test. I think ...
user avatar
1 vote
2 answers
58 views

Shape of a Histogram with Equally Likely Outcomes

In a large class of introductory Statistics students, the professor has each student toss a coin 16 times and calculate the proportion of his or her tosses that were heads. The students then report ...
user avatar
  • 333
0 votes
1 answer
89 views

Do my data follow normal distribution? and what does it mean if not? Can I have to peaks?

I have to understand if my graphs follow the normal distribution but I don't know. Can they have two peaks like two columns? Are they normal or not? what it means if they are not normal? The aim is to ...
user avatar
0 votes
0 answers
67 views

Approximation of a polynomial via histogram

Note: I originally tried to pose this question generally, without discussing the specific type of stochastic process. I hope that this can still be an interesting question generally. Assume that we ...
user avatar
0 votes
0 answers
17 views

How to aggregate time-bucketed values across a set

I am trying to perform some analysis over a dataset of multiple projects. This dataset has multiple months of data for every single project. Because projects occur at different times and have ...
user avatar
  • 111
1 vote
2 answers
317 views

Why are rating distributions 'smoother' when there are more players?

Consider the following rating distributions by variant/time control on lichess. The bullet, blitz and rapid rating distributions look very, well, 'smooth' (or holomorphic/analytic or harmonic or ...
user avatar
  • 2,176
0 votes
0 answers
18 views

Histogram where the bin heights take values into account

In a regular histogram the bin heights reflect the density of observations/data within them. Therefore, the areas of the bins on the chart reflect the quantity of observations they cover. They are for ...
user avatar
0 votes
0 answers
29 views

Distribution for the number of Gaussian random variables in a given bin (or interval)?

Suppose I have N Gaussian random variables (assume 1d) with mean $x_n$ and standard deviation $\sigma_{x,n}$. Suppose I then generate samples from these random variables, and bin the generated data ...
user avatar
  • 1
0 votes
1 answer
28 views

Departure from uniformity histogram

Let us consider the histogram of a random variable. It is uniform up to a certain value $\bar{x}$, while beyond it a growth is present,as shown in the figure. I would like to obtain an estimate of the ...
user avatar
0 votes
0 answers
25 views

Fit a histogram of sparse data with a monotonically decreasing function

I have a business problem where essentially we have counts across a certain metric which at times suffer from low observation counts! So essentially when you look across the bins you'll have adequate ...
user avatar
  • 21
0 votes
0 answers
50 views

Is estimating histogram bin width of already binned dataset reasonable?

as a starting point I have a 1D dataset representing population counts along the spatial dimension x. The dataset is already binned, thus representing population counts per 100 meter intervals (=bins)....
user avatar
  • 1
1 vote
0 answers
32 views

Interpretting overlapping histogram

I obtained the following histogram when performing data analysis. This histogram refers to the duration of cab trips in the NYC taxi dataset. The histogram clearly shows two overlapping populations ...
user avatar
  • 11
1 vote
0 answers
29 views

Estimate the number of ranges that overlap

I am a CS major and I am dealing with this problem about finding the join estimation for overlapping ranges. Imagine that you have two tables (sets) with ranges ex. integers ([2,10), [5, 20)) and you ...
user avatar
  • 11
2 votes
1 answer
2k views

Poisson Distribution fit with large counts (Python) [closed]

I'm trying to fit a dataset to a Poisson distribution, but have probably messed up the parameters somewhere along the way. My data consists of 112 10 minute intervals where radiation hits a detector ...
user avatar
1 vote
2 answers
43 views

How are regression lines calculated for 2D histograms?

I've been looking into how to fit a line to a 2D histogram and have come across different pieces of information which I can't quite piece together. To show what I mean, I want to achieve something ...
user avatar
0 votes
0 answers
29 views

Negative KL divergence for train_test_split in sklearn for y_train and y_val

So, I am trying to understand if I have fair split of my train and val sets using train_test_split of sklearn, so I decided to run the KL divergence and JS div tests and I get the following results. ...
user avatar
17 votes
7 answers
7k views

Could any equation have predicted the results of this simulation?

Suppose there is a coin that has a 5% chance of landing on HEADS and a 95% chance of landing on TAILS. Based on a computer simulation, I want to find out the following : The average number of flips ...
user avatar
  • 5,892
2 votes
0 answers
21 views

How to detect non-homogeneity

Below are the samples of NDVI images and belonging histograms. Quite often, there is a mixture of various patterns in the single image that might represent either multiple fields, disease or any other ...
user avatar
  • 1,303
0 votes
0 answers
22 views

How to test if one histogram bin has higher count than expected?

I'm studying the ratio $(A/B)$ of two physical constituents $A$ and $B$ that reside in each sample. It's hypothesized that $A$ and $B$ can "split" not unlike cells - if A duplicates before B ...
user avatar
  • 151
0 votes
1 answer
261 views

Mean, Mode, Median of a histogram?

Based on my understandings, I would say for the below histogram that the mode is zero, the mean is between 0 & 1 and the median is 1. I'm I right?
user avatar
  • 77
0 votes
1 answer
1k views

About histogram and shape of distribution

Suppose that it was found in a company that the distribution of reviews among reviewers is highly skewed so that a small number of reviewers do most of the reviews while a larger number of reviewers ...
user avatar
  • 77
0 votes
2 answers
42 views

Videogame market analysis

I'm looking if there is a name for what I'm trying to do. TLDR: Market contains offers to exchange currency 1 for currency 2. I want to make a histogram showing total volumes of currency1 in specific ...
user avatar
  • 3
0 votes
1 answer
62 views

Variance of 2D binned uniform density

I will start off by saying that I am aware of this post, but applying Sheppard's correction in my case would seem to lead to a negative variance; so either I don't understand that post, or I have a ...
user avatar
1 vote
0 answers
36 views

Is there a simple method to produce a histogram of the Wilson distribution? [closed]

The Wilson score for some observed binomial distribution $(\hat{p},N)$ gives you a confidence interval on $p$. However, I need a histogram over the possible values of $p$. (With a relatively low ...
user avatar
2 votes
2 answers
79 views

Can a histogram have just one value as its bin in a probability histogram?

On [this link], (http://www.henry.k12.ga.us/ugh/apstat/chapternotes/7supplement.html) there is a histogram where on the x-axis, all the sums of the two dice are there {2, 3, 4, 5, ... 12}, and on the ...
user avatar
1 vote
1 answer
69 views

Why doesn't this histogram have a "bell curve" shape?

I am looking at the following graphs (in R): n = floor(rnorm(10000, 500, 100)) t = table(n) barplot(n) barplot(t) Does ...
user avatar
  • 5,892
4 votes
2 answers
522 views

How to visualize numerical data with upper and lower bounds?

I have a dataset, containing some trees and the estimated upper and lower bounds of their ages. For example, tree #1 is 10~15 years old, and tree #2 is 13~20 years old, etc. I want to visualize the ...
user avatar
0 votes
0 answers
26 views

Confused about testing my data for normality

I am starting some quantitative analysis of a dataset. My sample size is just over 100 (approx 110) and before doing the descriptive stats I attempted some normality testing to determine if I should ...
user avatar

1
2 3 4 5
11