Search found 3 matches

by tetroupploy
Tue May 21, 2024 3:15 am
Forum: MLwiN user forum
Topic: Finding multilevel model level three residuals
Replies: 2
Views: 46145

Finding multilevel model level three residuals

Dear all,

Thank you for reading my conundrum. For my PhD research, I am computing variables using the ecometric technique (Raudenbusch & Sampson, 1999). This requires fitting a three-level multilevel item response model (items nested in subjects nested in neighborhoods) and extracting the level 3 ...
by tetroupploy
Thu Jan 25, 2024 1:12 am
Forum: MLwiN user forum
Topic: Weighting in pooled survey analysis - 3 levels
Replies: 1
Views: 49368

Re: Weighting in pooled survey analysis - 3 levels

The third level of weight calculation may be performed once the samples have been aligned. Gather the first two levels' weights and combine them to get the total survey weight moto x3m. The next step is to make proportionate weight adjustments such that the third level reference population is ...
by tetroupploy
Tue Jan 23, 2024 2:21 am
Forum: R2MLwiN user forum
Topic: mlwinfitMCMC object fitted values (propensity scores) storage
Replies: 1
Views: 46287

mlwinfitMCMC object fitted values (propensity scores) storage

I fitted a 2-level binomial model using mcmc. I want to apply predisposition score matching with calculated probability.
How can I convert mlwinfitMCMC fitted propensity scores (the predicted prob of Y for all obs) to numeric objects?

Base R commands are simple: p < model$fitted.values