I have a dataset of observations and want to test whether any of these observations is significantly different from the remaining observations. I could do this by performing a t-test on the mean of these remaining observations and test whether that is different from the one observation being trialled.
However, Not all observations should have the same weight. It's quite straight forward to use weights when calculating the mean, but how to do that for the standard error, and does this have consequences for the t-test that will be performed?
Any good suggestions will be highly appreciated.