The Stan Forums
Survey weighted regression
Modeling
stijn
October 1, 2017, 12:54am
9
Try
for(i in 1:N){ target += normal_lpdf(y[i] | yHat[i], sigma) * weights[i]; }
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Struggles with Survey weighting and Regression Modeling
General
6
559
March 24, 2020
Survey weights in brms/stan - Simulation based on design effect, feedback sought!
Modeling
techniques
12
2283
September 9, 2022
Sampling weights in Stan
General
3
1962
April 16, 2019
MRP for average predictive comparisons?
rstanarm
surveys
6
777
December 15, 2020
Data for Bayesian hierarchical weighting adjustment and survey inference
General
14
1874
February 24, 2024