# 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.

563 questions
Filter by
Sorted by
Tagged with
20 views

### How to model pixel shot noise

I'm interested in modelling the effect of shot noise on images. When taking a picture with a camera, the number of photons incident upon each pixel during the exposure time is (I believe) a ...
• 121
88 views

### Intro to Stats- professor's mistake in an exercise on types of diagrams?

The Question Parking at a university has become a problem. University administrators are interested in determining the average time it takes students to find a parking spot. An administrator ...
• 133
43 views

### How should I visualise uncertainty in a histogram from survey sampling?

I have a numeric variable $\{x_i\}$, which corresponding weights $\{w_i\}$, where the weights are survey weights from a corresponding complex survey design. I want to visualise a weighted histogram of ...
• 2,551
919 views

### Are these valid histograms?

My friend asked me about histograms and sent me some examples given by their teachers and in the textbook. It is not like the histograms that I've learned at all. I was taught that the quantity ...
• 113
1k views

### Why does re-scaling my density plot using counts change the y-axis so much?

When I make a histogram I get the actual distribution of my samples, with the appropriate counts, but when I try making a density plot the scales go up to 800, and when I try using ...
563 views

### Gaps in a histogram in sampling distribution

This histogram shows the sampling distribution of 5000 sample proportions each based on 50 persons. Why are there gaps between the bars in the histogram?
22 views

### How to interpret Chi-squared test results for these datasets?

I have two discrete distributions (histograms) A_i and B_i and antoher one C_i, and I'd like to compare first two with the third one in R using chisq.test. This is a combination of histogram A with C. ...
• 101
39 views

### Confirming my calculation of mean, standard deviation and median for a histogram

Average travel time* for men = 27.2 minutes, women = 23.6 minutes My calculations are the followings: The problem is my calculated mean is 28.4 but chart says 27.2 I calculate the mean with this ...
• 21
122 views

### I am confused about the histogram distribution and confidence interval

I have a dataset of 12627 records (value and sd) and want to get the sum and overall uncertainty of the sum. I ran Monte Carlo analysis with 10000 simulations. I got the statistical result as below. ...
• 261
1 vote
71 views

### Does taking the ratio of Empirical Distributions (histogram bins) show their differences?

Background I have two Empirical distributions, both derived from social media data. The first represents a broad sample of ~4.8 million posts and the number of followers each post author has. The ...
• 655
43 views

### How to interpret error histogram and scatter plot?

I'm new to machine learning and I'm having a hard time interpreting how good my model is performing. I have run my model on a dataset of wine attributes trying to predict alcohol content based on the ...
• 193
245 views

### Does this type of distribution have a name?

I have some integer data, produced by slightly convoluted numerical procedure, which is distributed between $0$ and $300$, with the most probable values being $0$ and $300$, and the least probable ...
• 477
430 views

### Histograms and R squared correlation

I have two sets of predictions. One prediction has an R2 = 0.57, the other R2 = 0.51 . Plotting histograms of the predictions shows that the set with R2 = 0.51 looks more accurate as compared to the ...
1 vote
113 views

### How Minitab calculate optimize number of bins of a normal distribution histogram

I used minitab to draw a normal distribution histogram and saw that the number of bins in that graph doesn't follow any rules to calculate bin size that I know of (sturge, square-root, rice, freedman-...
74 views

### What is the effect of treating the samples of a non stationary process as stationary and plotting their distribution

Say I have a non stationary process. Let's say I take one realization of this process given by finite number of random variables $X_1$, $X_2$,...$X_n$. Now I plot them on a histogram. Can this ...
• 111
824 views

### Explanation of what a density plot is [duplicate]

I have been working with histograms so far. I understand what they show. I am trying to understand what density plots are. In this tutorial it says The curve (of the density plot)represents the ...
• 247
309 views

### Plots to judge data that is a bit asymmetric

I have data that goes from negative to positive. When plotted in an histogram it looks like this The data is the "error". If I have another set of data I want to learn how to judge which ...
• 247
1 vote
60 views

### Histograms and other plots to judge and analyze data

I have a variable that changes over time. Let's call this variable "the error". I use a histogram to graph how many of intervals of error has occurred. For example Here you can see that a ...
• 247
103 views

### Jensen-Shannon Distance - Estimating the discrete probability distribution

In my current research, I am working with a comprehensive dataset that captures human mobility patterns across different locations. My specific focus is on quantifying the similarity between these ...
695 views

### I have applied many statistical tests to my data, but still cannot determine normality

I have run multiple tests to determine normality on my dataset, but I am unsure which one to adhere to, especially since my histograms, density plots, and QQ plots leave much to be desired in terms of ...
• 53
49 views

### What are differences, or relationships, among "relative probability", "relative frequency", "probability density" and "probability"? [duplicate]

ORIGINAL QUESTION What are the differences, or relationships, among "relative probability", "relative frequency", "probability density" and "probability"? A ...
• 280
73 views

### Histogram normalisation: a question about the correct terminology

Given a histogram and the following quantities ...
• 280
76 views

### Does the number of bins influence the "measures of similarity" among histograms?

I have calculated several "measures of similarity" among histograms and discrete probability distributions (such as Cosine similarity, Kullback-Leibler divergence, Jensen-Shannon distance, ...
• 280
53 views

### What are some typical questions we can ask about the result of two university exams with a third final one yet to come?

I'm trying to understand the performance of students on an on-going university course. I built a histogram of grades of two exams of the same course. Here's the first exam. It seems to me that ...
70 views

### One or two tailed probability?

A rare bird recently turned up in the UK. The length of the bird's beak was measured (41.9mm). I want to check that the bird is likely to derive from the North American population of the species. To ...
• 14.5k
120 views

### Convergence of histograms

Good morning, I'm interested in the convergence of empirical distribution functions. In particular, let us suppose to have a population with unknown distribution function $F(x)$ and that I can ...
54 views

### Does this need to be transformed? If, yes, how?

My data is collecting deposition of particles from the atmosphere once a month for 11 months at two sites. I am testing to see if my two sites' data are normally distributed so I can determine what T-...
93 views

### What metrics could I use to compare multiple 2-dimensional histograms/sinograms?

I have a set of two-dimensional shapes, each represented by one or more closed paths, which enclose one continuous area. My objective is to establish a measure of similarity between these shapes. I do ...
• 101
175 views

### Analytical form of a Histogram of $1-\cos(X)$, $X\sim U(0, 2\pi)$

If I generate a uniform distribution of $X$ ranging from $0$ to $2\pi$ (so $X\sim U(0, 2\pi)$), then the probability distribution of $1-\cos(X)$ appears to be this function: Is this an analytical ...
1 vote
119 views

### How to transform histogram to kernel density?

I have data aggregated as a histogram $$(m_1, c_1), (m_2, c_2), \dots, (m_k, c_k)$$ where $m_1 < m_2 < \dots < m_k$ are the midpoints of the histogram bins and $c_i$ are the counts that sum ...
• 140k
411 views

### What distribution do I get when I square numbers from a normal distribution and add them together?

I have 60 numbers drawn from a normal distribution with mean 0 and standard deviation of 1. 1 realization: I then take the sum of the 60 values. I do this 1000 times and plot a histogram of the ...
• 1,233
57 views

### How are these simulated sample means created/plotted in R?

I had a student point out this image in Learning Statistics with Jamovi that is also in Learning Statistics with R (Page 294 in the latter). I was going to send her a reply when I noticed something in ...
• 15.9k
80 views

### Skewness and log transformation and meta analysis

I am using 3 papers for a mini meta analysis using data (mean and SD) of both the experimental and control groups. Using the means I have made 2 histograms displaying distribution. Only one of them ...
• 31
13 views

### How to tell if data can be used as a predictor in a classification or clustering model?

I'm currently studying a data science handbook in preparation for job interviews, and I came across a question that I think should be simple, but honestly has me stumped. Here's a screenshot of the ...
• 167
19 views

### How should I interpret the random variables in this histogram?

I'm currently trying to eyeball the type of distribution of this histogram to properly specify the family of distribution to use for a generalised linear model in python. I'm pretty sure it's a gamma ...
54 views

### Measuring distance between two continuous distributions using their discrete approximations

I need to compute the distance between two continuous distributions. However, I have no idea as to what kind of distributions they are. I have a discrete approximation of the distributions. That is, ...
111 views

### Compare 2 binned non-parametric histograms with hypothesis test

According to this guy here: https://towardsdatascience.com/how-to-compare-two-distributions-in-practice-8c676904a285 and the following papers he mentions inside his article, and more specifically the ...
• 157
482 views

### Is there a name for a distribution where I can take log of its histogram and get back the same histogram?

I am imagining some data distribution where taking the log over and over again yields a distribution that has the exact same shape.
29 views

### Create statistic to judge moisture distribution 'quality'

I am working with an agricultural dryer that gradually dries grain. During each drying run, many data are taken, including information about the moisture content distribution. The moisture content ...
• 123
441 views

### Two approaches for Fitting Beta-distribution to Histogram of Survey Response. Which one is better?

We have data from a survey in which participants are asked about the probability that an event takes place. The question is probabilistic and asks the respondents to assign probabilities to pre-...
460 views

### Is my data normally distributed? (QQ plot and histogram analysis) [duplicate]

I am trying to create a regression model for prediction. I need to generate prediction/confidence intervals for my model. I am trying to decide whether to use a quantile regression or linear ...
• 205
248 views

### How to analyse a right skewed dataset

I am trying to analyse several heavily right skewed datasets in order to determine their mode. The story behind the sets is that they are calculations of performance data from marketing posts. The ...
• 103
30 views

### How limited is my dataset?

So I have multiple datasets which are all histograms and cannot be linked. The topic of the data is quite complex so for example imagine I was surveying different qualities between men and women. The ...
963 views

### Outlier/anomaly detection on histograms

So, the idea is that I have many histograms, each one representing results for something. So, I have histogram_1 for object_1, histogram_2 for object_2,...,histogram_20 for object_20. How can throw ...
• 157
164 views

### Mean squared error in 2D, divide by pixel area or not?

I am comparing 2D histograms using mean squared error (MSE, mean of the squared differences). These histograms have varying pixel or bin sizes. I want to compare the MSE results across these different ...
331 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 ...
• 51
479 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 (...
• 193
36 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…). ...