Comparing weighted means in two sets of data

  • Thread starter Thread starter bottles
  • Start date Start date
  • Tags Tags
    Data Means Sets
Click For Summary
SUMMARY

This discussion focuses on comparing weighted means from two sets of measurements, specifically addressing the statistical significance of their differences. The user is attempting to apply various statistical tests, including t-tests and z-tests, to determine if the weighted average of N measurements significantly differs from that of the first n measurements (N-2). Key equations discussed include the calculation of weighted averages and standard deviations, as well as the appropriate use of t-tests based on known and unknown variances.

PREREQUISITES
  • Understanding of weighted averages and their calculations
  • Familiarity with t-tests and z-tests in statistics
  • Knowledge of standard deviations and their role in statistical analysis
  • Basic grasp of confidence intervals and their interpretation
NEXT STEPS
  • Learn how to perform a t-test for independent samples with unequal variances
  • Study the concept of confidence intervals and how they relate to hypothesis testing
  • Explore the implications of using weighted means in statistical analysis
  • Review resources on the application of statistical tests in physics-related data analysis
USEFUL FOR

Students in physics or statistics, researchers analyzing experimental data, and anyone interested in understanding the application of statistical tests for comparing means in datasets.

bottles
Messages
1
Reaction score
0

Homework Statement



For simplicity, I'm leaving out extraneous details (like actual numbers). Also, apologies for my formatting; I don't know how to use Latex, but I tried to make this as readable as possible. I have a set of N measurements for τ which each have their own standard deviations, and I need to determine whether the weighted average of the N measurements is significantly different from the weighted average of the first n (= N-2) of the measurements.



Homework Equations



I've read a bunch on t-tests, but I'm confused and not sure how to use one. Part of the problem is that I don't know exactly what true means/variances refer to (so I don't know if they're known or unknown in this case). I considered using a paired test somehow, but I don't think that will work since the sample sizes are different. This is for a physics assignment, but I'm trying to answer a question asking me to discuss the difference in the two means, and I don't know how to do that other than with testing for statistical significance (and I don't know how to do that in this case... things were so much more clear back in Intro to Statistics).

I'm getting most of my information about this from https://controls.engin.umich.edu/wiki/index.php/Comparisons_of_two_means. These are the four tests that wiki lists:
  • σ = the known standard deviation of the population
  • s = the standard deviation of the data set
  • |a| = average of a

I. unknown true means; sample standard deviations approx. equal:
t = [(|x1|-|x2|)/Spooled]*√[Nn/(N+n)]
Spooled = √{[s21(N-1) + s22(n-1)]/(N+n-2)}

II. unknown true means; known, true, unequal standard deviations:
z = (|x1|-|x2|)/√[σ21/N + σ22/n]

III. unknown true means; unknown true standard deviations:
t = (|x1|-|x2|)/√[s21/N + s22/n]​

IV. paired data:
t = |d|/(sd/√N)
|d| = the mean of the differences for a sample of the two measurements
sd = the standard deviation of the sampled differences
N = the number of measurements in the sample​



The Attempt at a Solution



I've done this so far:

weighted averages:
μN = Ʃ(xi2i)/Ʃ(1/σ2i)
μn = Ʃ(xi2i)/Ʃ(1/σ2i)

standard deviations in the weighted means:
σN = √[1/Ʃ(1/σ2i)]
σn = √[1/Ʃ(1/σ2i)]

difference in the means:
Δτ = |μNn| ± √[σ2N + σ2n]

The first four are equations given by the professor for other parts of the assignment. They're supposed to give a 68.3% chance of the true value lying within μ ± σ and a 95.5% of the true value lying within μ ± 2σ. I want to believe that 95.5% means I have a 95.5% confidence interval, but that seems off to me. Also, I don't know whether the σ in these equations is the same as the σ in the equations I found for the t-test.



Any help would be much appreciated.
 
Physics news on Phys.org
Last edited by a moderator:

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
20
Views
3K
  • · Replies 42 ·
2
Replies
42
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K