/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Problem 39 Suppose we take a random sample ... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Suppose we take a random sample of size \(n\) from a continuous distribution having median 0 so that the probability of any one observation being positive is .5. We now disregard the signs of the observations, rank them from smallest to largest in absolute value, and then let \(W=\) the sum of the ranks of the observations having positive signs. For example, if the observations are \(-.3,+.7\), \(+2.1\), and \(-2.5\), then the ranks of positive observations are 2 and 3, so \(W=5\). In Chapter \(14, W\) will be called Wilcoxon's signed-rank statistic. W can be represented as follows: $$ \begin{aligned} W &=1 \cdot Y_{1}+2 \cdot Y_{2}+3 \cdot Y_{3}+\cdots+n \cdot Y_{n} \\ &=\sum_{i=1}^{n} i \cdot Y_{i} \end{aligned} $$ where the \(Y_{i}^{\prime}\) s are independent Bernoulli rv's, each with \(p=.5\left(Y_{i}=1\right.\) corresponds to the observation with rank \(i\) being positive). Compute the following: a. \(E\left(Y_{i}\right)\) and then \(E(W)\) using the equation for \(W\) [Hint: The first \(n\) positive integers sum to \(n(n+1) / 2 .]\) b. \(V\left(Y_{i}\right)\) and then \(V(W)\) [Hint: The sum of the squares of the first \(n\) positive integers is \(n(n+1)(2 n+1) / 6 .]\)

Short Answer

Expert verified
\(E(W) = \frac{n(n+1)}{4}, V(W) = \frac{n(n+1)(2n+1)}{24}\).

Step by step solution

01

Compute E(Y_i)

Since each observation being positive is a Bernoulli random variable with probability \( p = 0.5 \), the expectation (mean) for each \( Y_i \) is given by the formula: \( E(Y_i) = p = 0.5 \).
02

Compute E(W)

Using the equation \( W = \sum_{i=1}^{n} i \cdot Y_{i} \), we apply the linearity of expectation to find \( E(W) \). This becomes \( E(W) = \sum_{i=1}^{n} i \cdot E(Y_i) = \sum_{i=1}^{n} i \cdot 0.5 \). The sum \( \sum_{i=1}^{n} i \) is the sum of the first \( n \) positive integers, which is \( n(n+1)/2 \). Thus, \( E(W) = 0.5 \times n(n+1)/2 = n(n+1)/4 \).
03

Compute V(Y_i)

For a Bernoulli random variable, the variance is given by \( V(Y_i) = p(1-p) = 0.5 \times 0.5 = 0.25 \).
04

Compute V(W)

For \( V(W) \), we use the formula for the variance of a weighted sum of independent random variables: \( V(W) = \sum_{i=1}^{n} i^2 \cdot V(Y_i) = \sum_{i=1}^{n} i^2 \cdot 0.25 \). The sum \( \sum_{i=1}^{n} i^2 \) is the sum of the squares of the first \( n \) positive integers, which is \( n(n+1)(2n+1)/6 \). Therefore, \( V(W) = 0.25 \times n(n+1)(2n+1)/6 = n(n+1)(2n+1)/24 \).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

Key Concepts

These are the key concepts you need to understand to accurately answer the question.

Bernoulli Random Variables
Bernoulli random variables are the simplest type of random variable in probability theory, only taking the values 0 and 1. They are named after Swiss mathematician Jacob Bernoulli. When we talk about a Bernoulli random variable, we often denote it as a variable that represents the outcome of a single trial of an experiment. This trial can only have two outcomes, commonly referred to as "success" and "failure."
  • The probability of success is usually denoted by \( p \).
  • The probability of failure is \( 1-p \).
When we consider them in the context of ranks, like in the Wilcoxon signed-rank test, each observation's rank is treated as a Bernoulli trial regarding whether that observation is positive or not. So, each \( Y_i \) is a Bernoulli random variable representing whether an observation has a positive sign, with \( p = 0.5 \) in our given exercise.
Understanding Bernoulli random variables is crucial when working with the Wilcoxon signed-rank test, as it helps in defining how we compute expectations and variances, given their trial-like nature.
Expectation and Variance
Expectation and variance are fundamental concepts in statistics and probability that help us understand the behavior of random variables. Let’s break these down further to see how they relate to our problem:
  • The **expectation** (or expected value) of a random variable gives us a measure of the center of its distribution. For a Bernoulli random variable \( Y_i \), the expectation \( E(Y_i) \) is simply the probability \( p \). In our example, since the probability that an observation is positive is \( 0.5 \), it follows that \( E(Y_i) = 0.5 \).

  • The **variance**, on the other hand, measures the spread of the distribution around its mean. For Bernoulli random variables, the variance \( V(Y_i) \) is given by \( p(1-p) \). Thus, for our Bernoulli variable where \( p = 0.5 \), the variance becomes \( 0.5 imes 0.5 = 0.25 \).
Now, moving to our sum of ranks, \( W \), it’s a combination of these Bernoulli variables weighed by their ranks. Therefore, the expectation \( E(W) \) is calculated through the formula \( E(W) = \sum_{i=1}^{n} i \cdot E(Y_i) \), ultimately resulting in \( n(n+1)/4 \). Similarly, the variance \( V(W) \) is calculated as \( V(W) = \sum_{i=1}^{n} i^2 \cdot V(Y_i) \), yielding \( n(n+1)(2n+1)/24 \).
These calculations are vital for understanding how likely different outcomes of \( W \) are, especially in hypothesis testing scenarios.
Rank Statistics
Rank statistics play an important role in non-parametric statistics, which particularly shines in the situation where data do not necessarily follow a normal distribution. Ranking is one approach to handling such data efficiently. Instead of considering the actual measured values, rank statistics focuses on their ordinal positions when sorted.
In the context of the Wilcoxon Signed-Rank Test, each observation is ranked based on its absolute magnitude, regardless of its sign. For example, if you have a set of data points, both negative and positive, you ignore their signs, rank them by their size, and then restore the signs to their ranks when reconstructing \( W \).
  • When we compute \( W \), we sum up the ranks corresponding to the observations that are positive, effectively incorporating both the magnitude and sign.
  • Rank sum statistics like \( W \) are robust against outliers since ranks do not get disproportionately influenced by extreme values.
Understanding rank statistics is crucial because it allows us to use data effectively even when assumptions concerning their distribution are violated. This makes the Wilcoxon Signed-Rank Test particularly powerful as it uses rank statistics to assess differences in median values among paired measurements.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

The first assignment in a statistical computing class involves running a short program. If past experience indicates that \(40 \%\) of all students will make no programming errors, compute the (approximate) probability that in a class of 50 students a. At least 25 will make no errors [Hint: Normal approximation to the binomial] b. Between 15 and 25 (inclusive) will make no errors

Show that \(F_{p, v_{1}, v_{2}}=1 / F_{1-p, v_{2}, v_{1}}\).

A professor has three errands to take care of in the Administration Building. Let \(X_{i}=\) the time that it takes for the \(i\) th errand \((i=1,2,3)\), and let \(X_{4}=\) the total time in minutes that she spends walking to and from the building and between each errand. Suppose the \(X_{i}\) 's are independent, normally distributed, with the following means and standard deviations: \(\mu_{1}=15, \quad \sigma_{1}=4\), \(\mu_{2}=5, \quad \sigma_{2}=1, \quad \mu_{3}=8, \quad \sigma_{3}=2, \quad \mu_{4}=12\), \(\sigma_{4}=3 .\) She plans to leave her office at precisely \(10=00\) a.m. and wishes to post a note on her door that reads, "I will return by \(t\) a.m." What time \(t\) should she write down if she wants the probability of her arriving after \(t\) to be \(.01\) ?

Let \(X_{1}, \ldots, X_{n}\) be independent rv's with mean values \(\mu_{1}, \ldots, \mu_{n}\) and variances \(\sigma_{1}^{2}, \ldots, \sigma_{n}^{2}\). Consider a function \(h\left(x_{1}, \ldots, x_{n}\right)\), and use it to define a new rv \(Y=h\left(X_{1}, \ldots, X_{n}\right)\). Under rather general conditions on the \(h\) function, if the \(\sigma_{i}\) 's are all small relative to the corresponding \(\mu_{i}\) 's, it can be shown that \(E(Y) \approx h\left(\mu_{1}, \ldots, \mu_{n}\right)\) and $$ V(Y) \approx\left(\frac{\partial h}{\partial x_{1}}\right)^{2} \cdot \sigma_{1}^{2}+\cdots+\left(\frac{\partial h}{\partial x_{n}}\right)^{2} \cdot \sigma_{n}^{2} $$ where each partial derivative is evaluated at \(\left(x_{1},\right.\), \(\left.\ldots . x_{n}\right)=\left(\mu_{1}, \ldots, \mu_{n}\right) .\) Suppose three resistors with resistances \(X_{1}, X_{2}, X_{3}\) are connected in parallel across a battery with voltage \(X_{4}\). Then by Ohm's law, the current is $$ Y=X_{4}\left(\frac{1}{X_{1}}+\frac{1}{X_{2}}+\frac{1}{X_{3}}\right) $$ Let \(\mu_{1}=10 \mathrm{ohms}, \sigma_{1}=1.0 \mathrm{ohms}, \mu_{2}=15 \mathrm{ohms}\), \(\sigma_{2}=1.0 \mathrm{ohms}, \mu_{3}=20 \mathrm{ohms}, \sigma_{3}=1.5 \mathrm{ohms}\), \(\mu_{4}=120 \mathrm{~V}, \sigma_{4}=4.0 \mathrm{~V}\). Calculate the approximate expected value and standard deviation of the current (suggested by "Random Samplings," CHEMTECH, 1984: 696-697).

In an area having sandy soil, 50 small trees of a certain type were planted, and another 50 trees were planted in an area having clay soil. Let \(X=\) the number of trees planted in sandy soil that survive 1 year and \(Y=\) the number of trees planted in clay soil that survive I year. If the probability that a tree planted in sandy soil will survive l year is. 7 and the probability of 1 -year survival in clay soil is \(.6\), compute \(P(-5 \leq X-Y \leq 5)\) (use an approximation, but do not bother with the continuity correction).

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.