Search found 157 matches

by billb
Wed May 22, 2024 3:52 pm
Forum: R2MLwiN user forum
Topic: Binary outcome Multiple membership model
Replies: 11
Views: 5274

Re: Binary outcome Multiple membership model

Hi, I think the fact level 2 is nested within level 3 is fine here as for MCMC nested is simply a special case of the more general cross classified model - just need to make sure that your IDs are unique i.e. if you have a reader 1 that this is the same person throughout and if say you have a reader...
by billb
Fri Jun 30, 2023 6:52 pm
Forum: MLwiN user forum
Topic: Non-linear repeated measures 3-level (Or maybe 2-level!) modelling
Replies: 7
Views: 7294

Re: Non-linear repeated measures 3-level (Or maybe 2-level!) modelling

Hi John, Thanks for the clarification. I'd therefore call the measures age 4 and age 5 rather than baseline and follow up. Then 3-levels might make more sense and you could include age as a predictor to control for age related differences perhaps with age related interactions which would pretty much...
by billb
Fri Jun 30, 2023 4:44 pm
Forum: MLwiN user forum
Topic: Non-linear repeated measures 3-level (Or maybe 2-level!) modelling
Replies: 7
Views: 7294

Re: Non-linear repeated measures 3-level (Or maybe 2-level!) modelling

Hi John, Presumably when you talk about a quadratic relationship you are talking globally as having only 2 measures per child would not allow anything more than a linear relationship at the child level. When someone uses terms like baseline and follow-up it suggests something happens in between thou...
by billb
Tue Jun 27, 2023 6:14 pm
Forum: MLwiN user forum
Topic: About creating pseudo-levels
Replies: 4
Views: 6934

Re: About creating pseudo-levels

Hi Cesarroga,
I can recommend my paper on this https://rss.onlinelibrary.wiley.com/doi ... 04.00365.x which looks at partitioning variation in a logistic model with overdispersion and has a similar example of counts for different categories.
Best wishes,
Bill.
by billb
Tue Jun 27, 2023 1:12 pm
Forum: MLwiN user forum
Topic: About creating pseudo-levels
Replies: 4
Views: 6934

Re: About creating pseudo-levels

Hi Cesarroga, You should be able to code logistic regression examples where the denominator is not 1 so that you can then model the 6 proportions as 6 couplets (y,n) one per row in the dataset and nest these within small areas. In MLwiN you would have as you say the same levels as level 1 and level ...
by billb
Mon Apr 17, 2023 4:40 pm
Forum: MLwiN user forum
Topic: Nested covariates and implication for ML model structure
Replies: 2
Views: 6024

Re: Nested covariates and implication for ML model structure

Hi John, With only 6 faculties you would be hard pressed to estimate random effects - I guess you may get enough departments to treat as random. If you decide to fit them as fixed effects then simply putting in department effects will saturate the model at that level and you will not be able to add ...
by billb
Thu Feb 02, 2023 10:17 am
Forum: MLwiN user forum
Topic: Multiple Membership Weights
Replies: 2
Views: 10168

Re: Multiple Membership Weights

Hi, So there are various schools of thought here. Many people use weights that sum to 1 and I think in my MMMC paper (Browne, Goldstein and Rasbash, 2001) we did that. We have also argued (Tranmer, Steele and Browne, 2014) that it might make sense to make the squares of the weights sum to 1 as then ...
by billb
Wed Oct 12, 2022 2:07 pm
Forum: MLwiN user forum
Topic: manage "time" in longitudinal dyadic MCMC model
Replies: 3
Views: 17191

Re: manage "time" in longitudinal dyadic MCMC model

Hi JeanSebastien,
This seems more of a concept question rather than an MLwiN question. I think if you give more information about your data then it might be easier to answer and I am assuming the question is related to the earlier one you sent.
Best wishes,
Bill.
by billb
Wed Oct 12, 2022 2:05 pm
Forum: MLwiN user forum
Topic: Format dyadic data for MCMC model
Replies: 1
Views: 13485

Re: Format dyadic data for MCMC model

Hi JS, You may need to give more details here as to what type of multilevel model you are fitting. Generally one would expect one row per response so it would depend on what level of data the responses were measured on - if this is dyads then you might have a multiple membership structure with dyads...
by billb
Tue Aug 09, 2022 12:38 pm
Forum: MLwiN user forum
Topic: repeated measurement multilevel modeling: research design
Replies: 3
Views: 13254

Re: repeated measurement multilevel modeling: research design

Hi Hakimeh, Not sure I fully follow your research but I'll try and answer - your diagrams are a bit weird as I would have just put parent1, parent 2 etc. and then you would use whether they are addicted or not as a covariate - otherwise it looks like you only have 2 parents. I was unclear of what th...