The median tag has no wiki summary.
2
votes
0answers
15 views
Generalizing the mode and mean like the quantile
The mode, median, and means of a series of number ($x_1,x_2,...,x_N$) can be roughly thought of as the points that minimize the $p$-norm of the sequence for $p\in \{0,1,2\}$. The median is ...
1
vote
1answer
24 views
How to calculate the median of a continuous random variable
$X$ is a continuous random variable with
probability density function $f(x)= \dfrac{2x}{15}$ where $1≤x≤4$.
What is the median of X?
1
vote
1answer
35 views
Compute number of comparisons in quicksort pivoting on median or third
With a few friends we read the Algorithm Design Manual from Skiena. One of his (chapter 4) exercises asks for the number of comparisons that the quicksort algorithm does (comparing an element to the ...
0
votes
1answer
22 views
question on five number summary & quantile.
i know that in five number summary :
25% of a data set lies between Min & 1st quartile.
50% of a data set lies between Min & 2nd quartile, that is, Median.
75% of a data set lies between ...
0
votes
1answer
29 views
Find the bases of a Non Isosceles Trapezoid by the median and diagonal [closed]
One of the diagonals of a non-isosceles trapezoid splits its median into two parts of $3$, $5$ and $2$ cm. Find the length of the trapezoid's bases.
0
votes
0answers
21 views
How to generate a random number including mathematical dispersion?
I need to generate not completely random number that would be influenced by functional dependency.
Current solution I was looking was to give an algorithm value of statistical dispersion or spread ...
1
vote
1answer
63 views
Algorithm to separate an array of numbers into “low”, “medium” and “high” ranges
this is my first post on Math-Exchange. I'm a programmer, and I work with object-oriented algorithms, but when things gets too "algebraic" I get stuck. So I thought I'd ask over here.
I need to ...
0
votes
1answer
147 views
Finding the median value on a probability density function
Quick question here that I cannot find in my textbook or online.
I have a probability density function as follows:
$$0.04x \space 0 \le x < 5$$
$$ 0.4 - 0.04x \space 5 \le x < 10 $$
$$ 0 ...
0
votes
1answer
41 views
Fractional part of Median always .5 or .0
If we find the mid value of two integer number,it's decimal part would always contain .5 or .0 exactly
For Example:
(5+10)/2=7 .5
(6+2)/2=4 .0
But,in some coding challenge they asked to calculate ...
-1
votes
1answer
104 views
Find the median of the exponential random variable with parameter λ
The median of a random variable X is a number µ that satisfies
Find the median of the exponential random variable with parameter λ.
2
votes
2answers
53 views
Given a mean, median and sum how to find how many elements more than mean?
Given a mean, median and total sum, how can you calculate how many elements in the collection will be more than a mean value? Here is an example; I have a stack of poles. The total hight of all the ...
1
vote
1answer
58 views
Calculate Statistics (Check if the answers are correct)
Calculate the statistics below using the following data on a sample of the variable $X$:
Data ($X$ sample) = $\{9, -1, 7, 0, -2, 5, 4, 9, 5 \}$
Using the sample data, calculate: Mean; Median; ...
0
votes
1answer
270 views
median of a uniform distribution [0,1]
I need to find the distribution of the median from the given distribution, where n is known to be odd.
The formula given in class for this is:
$n=2m+1$ where $m\in\mathbb{N}$
...
0
votes
1answer
198 views
Find median of 2 sorted arrays with different lengths
I'm trying to solve the below problem for my assignment but I have no clue how to find the time algorithm. If I have two arrays of same even length then I get, $T(n) = T(n/2) + \theta(n)$
but what ...
0
votes
1answer
53 views
Sample-based median calculation
Is there any technique to find the median of a large data set using sampling (or maybe randomized algorithms)?
2
votes
4answers
240 views
what's the name of the theorem:median of right-triangle hypotenuse is always half of it
This question is related to one of my previous questions.
The answer to that question included a theorem: "The median on the hypotenuse of a right triangle equals one-half the hypotenuse".
When I ...
0
votes
0answers
50 views
How to treat a cumulative relative frequency plot as the Cumulative Probability Distribution
An homework question gives 40 values, between 104 and 152, and ask us to divide them into classes and draw a relative frequency plot in the form of an ogive. I did this on paper.
Then it asks:
...
1
vote
1answer
503 views
Median of medians algorithm
I am referring to the algorithm presented here used to find a good pivot: http://en.wikipedia.org/wiki/Selection_algorithm#Linear_general_selection_algorithm_-_Median_of_Medians_algorithm
My ...
0
votes
1answer
152 views
Calculate average angle after crossing 360 degrees
For a piece of code I am writing to smooth out movements I need to calculate the average angle over the past 5 recorded angles given (used to give directionality to an object)
This can be achieved ...
1
vote
1answer
105 views
How to compute ideal investment leverage ratio based upon volatility? [closed]
I want to compute the ideal investment leverage ratio based upon an investment's volatility.
For example, if I had an investment that with 50% likelihood quadruples your investment on a given day ...
4
votes
0answers
223 views
median of the F-distribution
Is the median of the F-distribution with m and n degrees of freedom decreasing in n, for any m?
From experiments it looks like it might be, but I have been unable to prove it.
2
votes
2answers
45 views
Find factor of sample elements given the median
I have a sample $S(x)$ containing $n$ elements:
$$S(x)=\{ s_1 x, s_2 x, \ldots, s_n x \},\qquad s_i \in \mathbb{R}, x\in \mathbb{R^{+}}$$
Every element in the sample is multiplied by $x$. Now ...


