Questions tagged [median]
The median is the value below which half the data or probability distribution lies - when the sample size is odd, the median is the 'middle' value of an ordered sample.
761
questions
0
votes
0
answers
9
views
5 vs 3 measurments of one parameter
Hellow, smart people of the internet,
I have a question: We are doing a study of 170 people- where 20 parameters will be measured 3 times over 2years and the median of every parameter will be compared ...
4
votes
2
answers
297
views
What is the median of the minimum or maximum of multiple samples?
Suppose I have a variable with a known distribution, and suppose I sample that variable k times and record the minimum. If I repeat this many times, will the median of the minimum converge to a ...
0
votes
0
answers
28
views
Generate weighted median from activity per timespan
I have a set of data where I have a number of observations over the course of a year per individual. Generally speaking, I want to know the average activeness of the individuals that participated in ...
6
votes
2
answers
327
views
Calculate mu and sigma of a log normal distribution from p50 and p99 in javascript
I'd like to generate realistic sample data in javascript for monetary donations. I've chosen to model them as following the log normal distribution.
I think a fairly intuitive way for a lay person to ...
2
votes
1
answer
58
views
mean of medians consistently differs from median
Disclaimer: my first question here.
Background of the problem:
I want to compare two distributions (n1 ~ 500 and n2 ~ 700), not normal and with different variances, but roughly unimodal. I decided to ...
2
votes
0
answers
43
views
Are there known bounds for the median of a negative binomial distribution based on its parameters?
This seems like an innocent enough question to me, but I could not find a satisfactory answer when I did some digging. The binomial distribution has a closed form median and the Poisson distribution ...
3
votes
2
answers
188
views
Distribution of medians of triplicate samples taken from Gaussian distribution
My Monte Carlo simulation seems to show that the standard deviation of the medians of triplicate samples taken from the Gaussian distribution approaches 2/3 of the SD of the original distribution. ...
0
votes
0
answers
12
views
Mean Index of deprivation score
I've created a python function which can return a subset of the 2019 Index of Multiple Deprivation scores representing the LSOA areas within a defined radius of a certain latitude and longitude.
Here'...
2
votes
3
answers
83
views
Does sample size affect the value of median?
I have two groups of A and B. Group A consists of 11 people and group B of 35 people. The results of one behavioral outcome measure is higher for the group B while logically it should be the other way ...
9
votes
3
answers
409
views
When does positive skew imply median<mean?
For a random variable $X$, the skew is defined as $S(X):={\frac {E\overline{X}^3}{(E\overline{X}^2)^{3/2}}}$, where $\overline{X}=X-EX$. It is often claimed that positive (resp. negative) skew implies ...
2
votes
0
answers
62
views
Decision theory when distributions don't have a first moment? [closed]
Lets say that we are presented with two gambling opportunities and would like to decide between them in a decision-theoretic framework.
For gamble 1, the cost is $1$ and the payoff is $X_1$ where $X_1 ...
1
vote
1
answer
35
views
How to calculate the median from a set of data where some of the data is sampled over unequal intervals of time?
Suppose you are measuring how much money you spend each calendar week (Monday to Sunday) over the course of March 2024 and the results are as follows:
Date range
Money spent ($)
03/01 to 03/03
0
03/...
11
votes
1
answer
961
views
Deviation between Mean and Median
If I have a mean of 15 and median of 10, is there a term for the difference between these?
Can you use this difference of 5 for anything valuable statistically?
8
votes
3
answers
1k
views
Median of a set with even number of elements
Consider the following sample of numbers:
9,18,11,14,15,17,10,69,11,13
Since there are 10 elements, the median of the set would be (13+14)/2 = 13.5
However, is it wrong to say that median is one of 13 ...
4
votes
1
answer
109
views
Probability mass function of sample median (Bootstrap)
Consider a sample $X_1,X_2,...X_n\overset{\text{iid}}{\sim}F$. Let $T_n=F_n^{-1}(1/2)$ be the sample median where, $F^{-1}(x)=\inf\{t:F(t)\ge x\}$ and $F_n(y)=\frac{1}{n}\sum_{i=1}^n\mathbb{I}(X_i\le ...