Skip to main content

Questions tagged [sample-weighting]

The tag has no usage guidance.

0 votes
1 answer
22 views

Issues calculating SMDs after applying IPTW weights

I get the exact same standardized mean differences (SMDs) before and after applying inverse probability of treatment (IPTW) and stabilized IPTW weights to my data. I reproduced this below using the ...
gweny17's user avatar
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 ...
MHx01's user avatar
  • 33
2 votes
1 answer
39 views

How to compare initial means between weighted cases?

I want to check if the mean value of a certain personality trait differs between young adults in organization X and young adults outside of the organization, who are identical in terms of education ...
MHx01's user avatar
  • 33
1 vote
0 answers
48 views

How to cope with pre-trend violations in a stacked DiD?

I want to analyze several events using a difference-in-difference approach. Since the events occurred at different times, a staggered or stacked DiD approach would be suitable. In my case, I have many ...
NaN's user avatar
  • 121
0 votes
0 answers
26 views

How can I decrease the size of a particular group of an independent nominal variable within a sample without compromising the integrity of the sample?

Our team conducted an online survey to discover citizens' attitude on a particular topic. The total number of responses collected is 900. It's apparent that this is a non-probability sample of ...
Aneta's user avatar
  • 1
4 votes
1 answer
100 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 ...
mb1994's user avatar
  • 41
1 vote
0 answers
61 views

Multilevel Regression and Poststratification (MRP) weighting in the opposite direction to Poststratification alone

We are using MRP to derive test norms for an IQ test (Culture Fair Test, CFT) based on the TwinLife data. We adjust for age, sex, education, and migration background. Although a probability sample, ...
balout's user avatar
  • 11
0 votes
0 answers
30 views

Complex survey design with multiple waves

The organization I work for has collected data from individuals in multiple waves. Their goal was to collect 333 individuals in 6 different groups (genderXgroup). If the first Wave did not reach 333 ...
StatsAreHard's user avatar
0 votes
0 answers
23 views

What is the correct way to incorporate sampling weights into a spatial regression?

I want to know what the proper procedure is for incorporating sampling weights into a regression. I am running a spatial regression using survey data in R. I'm using the function ...
mirrror's user avatar
  • 43
1 vote
0 answers
11 views

Suggested methods for generalizing survey results from one population to another, with individual level data for both

I have two datasets. The first dataset includes my variables of interest, as well as a large set of respondent characteristics. My second dataset includes matching respondent characteristics for a set ...
EvKohl's user avatar
  • 1,200
0 votes
0 answers
84 views

When do numerical transforms need sample-weighting before applying linear regression

Just wondering if anyone knows of any good resources for sample-weighting in numerical transformations. That is with the intent of using the transformed data in a linear regression model I work with ...
Arran Duff's user avatar
0 votes
1 answer
1k views

How do scale_pos_weight and sample_weight interact in XGBoost?

Question: How do scale_pos_weight and sample_weight interact in XGBoost when used at the same time during training? Are they multiplied, added or something else? Example when added: Example when ...
Glue's user avatar
  • 485
0 votes
1 answer
407 views

How to perform log-rank test correctly on IPTW weighted groups?

Thank you very much for your attetion! I am working on an observation study with time-to-event data. The data has multiple covariates say V1-V5. I want to evaluate the treatment effect, so I used IPTW ...
Ptyoth's user avatar
  • 1
0 votes
0 answers
84 views

Weighting linear / logistic regression data points by explanatory variable sample size

[EDIT: had fundamental misunderstanding, rephrasing question - thanks to @whuber for catching that] I have some pretty simple regressions (linear & logistic) predicting a rate (continuous response ...
TY Lim's user avatar
  • 171
1 vote
1 answer
411 views

Paired sign and Wilcoxon tests with weighting

In R, I am using the survey package (inverse probability weighting) to conduct these tests on paired data: Weighted Wilcoxon Signed Rank test Weighted Sign test However, I am struggling in doing ...
Matteo's user avatar
  • 63

15 30 50 per page