# Questions tagged [weighted]

The use of this tag is discouraged. Please use more specific "weighted-data", "weighted-sampling", "survey-weights", "weighted-regression" instead.

31 questions
Filter by
Sorted by
Tagged with
9 views

### Poisson regression - using offset AND weights

I have seen several posts on using offset VS using weights, however I cannot locate anything about using both of those features. The problem is as follows: I model the number of occurred events (k). ...
40 views

### Applying weights instead of matching

I want to conduct a Difference-in-Differences (DiD) design study. I have two groups (which you can see in the sector_eu_without variable) that I want to keep equal regarding certain variables: sex, ...
1 vote
33 views

### Variable weighted PCA

I have seen a lot of "weighted PCA" but they are really all on "observations". For example Weighted principal components analysis if you have K variables, N observations, the ...
70 views

### Quantile regression with sampling weights in R

I am trying to implement quantile regression with sampling weights in R for my analysis. I know in lm() and glm() in R, standard ...
• 51
17 views

### weighted random forest with train/test datasets

I have a dataset where the sample distribution does not match the population distribution, but I have weights that can be applied to address that issue. I have randomly partitioned the original ...
36 views

### Concentration bound for weighted sum of Bernoullis

$\{X_i\}_{i=1,\ldots,n}$ are i.i.d. Bernoulli random variables with parameter $p$. Define $$Y = \sum_{i=1}^n a_iX_i$$ where $a_i>0$ are known(non-random) constants. I want an upper bound on the ...
1 vote
97 views

### rjags - implementing a weighted multivariate normal distribution [closed]

I am trying to implement a weighted multivariate normal distribution in JAGS 4.3.0 Here is the code I used: ...
• 11
1 vote
53 views

### Why is my Weighted Average = Simple Average

Problem is as follows: I have a dataset as follows: #. Category Value Item A, 1 Item B, 2 Item B, 2 If I do a simple average of value, it is 1.67. If I do a weighted Average as follows, then ...
• 11
1 vote
124 views

### Guidelines in selecting weight in weighted squared error loss function [duplicate]

I am new to loss functions in Bayesian analysis and from what I understand are: Squared error loss function - the estimator will be the posterior mean. Absolute error loss function - the estimator ...
• 362
257 views

### Different Number of Judges Scoring and how to Rank

I have looked everywhere and I am struggling to find a solution. Granted, I am no statistician but I do have some knowledge of basic statistics. Any help is truly appreciated! There are a number of ...
• 21
181 views

### Weighing Maximum Likelihood Estimations

I'm trying to arrive at a time series of optimized parameter values $Z_t$ that maximizes the likelihood of occurrence of a specific time series $Y_t$. There is a subsample within the sample that ...
1 vote
150 views

### Possible pitfalls/accuracy issues using a weighted average of a median

I am trying to aggregate data for testing for multiple data sets. It is unrealistic to load the entire data set (which is composed of multiple subsets of varying length) into memory to calculate a ...
64 views

### Quartic From Gaussian Expectation

$x$ is $d$-dimensional vector, Gaussian distributed with mean $\mu$ and covariance $\Sigma$. I want to simplify the same expression attached below but replacing $x$ with $x^2$ in the beginning of the ...
659 views

### How to decide if I need to use weights in regressions in R

I have a dataset which is a combination of some survey results and some demographics. All survey results are normalized by population density. Now I want to design a model to see the relationship ...
• 11
275 views

• 249
2k views

### weighted kappa for intra/inter-rater reliability in SPSS

I am working with ordinal scales for cerebral atrophy (ratings 0 to 4) and vascular burden (ratings 0 to 3) assessed by two raters. I have installed the extension bundle for weighted kappa from SPSS ...
• 61
1 vote
161 views

### How to use weighted data in linear modeling?

I have data from studies where each study has the means for that sub sample and the sample size is n, so the n is a frequency. There is one categorical predictor. The dependent variable is a % (the % ...
• 151
1 vote