Questions tagged [weighted-mean]
A weighted mean (or weighted average) is like an ordinary mean, but the observations don't contribute equally - more emphasis is placed on some data values than others; they are weighted by a bigger or smaller amount than 1/n.
244
questions
2
votes
1
answer
21
views
Why can the standard error of the weighted mean be smaller than the standard errors of the individual measurements?
I am combining two independent measurements with their respective standard errors using a weighted mean. The measurements are:
It seems counterintuitive to me that the standard error of the weighted ...
0
votes
0
answers
11
views
What is the error on the weighted mean?
I am combining bins in the histogram. I have some code that uses this formula to calculate the error on the weighted mean:
$$\sigma = \frac{\sqrt{\sum \frac{w_{i}(w_{i}\sigma_{i}^{2}+x_{i}^{2})}{\sum ...
0
votes
0
answers
10
views
What test should I use for Weighted Mean Proportions?
I want to know if the "weighted mean proportion" of a racial group in the organization (overall) is significantly different from the "weighted mean proportion" of the group within ...
0
votes
2
answers
24
views
Weighted mean of percentages on percentages
I have a question about weighted means.
Usually, when you calculate a weighted mean, you multiply values by weights that usually are quantities, e.g., the number of children with blue eyes in a class.
...
1
vote
0
answers
24
views
How to access weighted group means and standard errors after using mice and WeightIt? [closed]
Some background: I imputed and weighted data from two groups of people, one group in a certain organization and one outside of it. Ultimately, I want to compare how they develop psychological trait X ...
0
votes
0
answers
8
views
How to do average percentage based on two samples of three variables?
I have data like this
case
total_paths
prev_val
new_val
1
14
0
14
2
20
0
9
I need to calculate the percentage increment in the new value in average based on these two cases. For example, for case ...
0
votes
0
answers
15
views
How to compute a weighted mean as a measure of central tendency?
Imagine I have data points in triplicates, as follows
$$
L=\begin{pmatrix}
p_{11} & p_{12} & p_{13}\\
p_{21} & p_{22} & p_{23}\\
& \vdots &\\
p_{n1} & p_{n2} & p_{n3}
\...
0
votes
0
answers
24
views
How do I calculate the weighted average of a 2D data set for a 3D structure?
I have a 2D data array indicating a chemical percentage content (PC) in a chemical droplet.
I am trying to calculate the average PC in the droplet.
The image of one of these arrays is shown below (the ...
4
votes
1
answer
101
views
Are there coventions on reporting weighted sample sizes?
Suppose I analyze survey data and calculate weighted means. Should I report the sample size if it differs from the unweighted sample size, as would be the case with non-normalized weights? It seems ...
0
votes
0
answers
8
views
Estimating Exponential Decay Base
Suppose I have time series of noisy observations $\hat{Y_t}$, with the true underlying but not observable $Y_t$ ~ $N(\hat{Y_t},\sigma)$.
I want to estimate $Y_t$ with the basic model
$Y = mean(\hat{Y}...
0
votes
0
answers
38
views
How to calculate weighted mean when your sample is unweighted, but you know your population
Lets say I have the following sample data.
...
0
votes
0
answers
57
views
Lower bounding weighted sample variance
Let us assume that we draw a sample $\{X_i\}_{i=1}^N$ from a random variable $X$ and we have a discrete probability distribution $q_{ij}$, i.e. $0 \leq q_{ij}\leq 1$ and $\sum_{ij} q_{ij} =1$ (the $...
0
votes
0
answers
30
views
Central tendency of survey results and geometric mean
I recently conducted a survey asking users about their music listening habits at different times of day. Here are the results from 6am in the morning:
Taking a weighted average, 32.14% seems quite ...
0
votes
2
answers
101
views
Calculating proportion
I have a dataset of 10 people who share the cost of a service at the end of each month. The cost of the service is constant. Is there a fair way to split the cost of the service such that the ...
1
vote
0
answers
61
views
Weighted average of covariance matrixes
My issue is as follows:
In my model there are 4 different states, which each have a calculated probability of happening. I also have calculated covariance matrixes for my variables in each of these ...