Search found 17 matches

by andrewjdbell
Tue Aug 18, 2015 12:30 pm
Forum: MLwiN user forum
Topic: MlWin gives different results to Stata/R
Replies: 3
Views: 12631

Re: MlWin gives different results to Stata/R

Hello Katrijn, Interesting. I don't have a simple answer I'm afraid, but a few things to check: Have you centred the variables consistently across the model - might make a difference when the interactions go in if what zero means is different. The exact zero on the education*age interaction is suspi...
by andrewjdbell
Wed Jul 08, 2015 9:59 am
Forum: runmlwin user forum
Topic: Non-convergence of runmlwin model
Replies: 6
Views: 7075

Re: Non-convergence of runmlwin model

Hi Chris - I've found a solution: It seems that mean-centring my variables solves the problem (which works for me as I probably should have done that anyway!)
Doesn't explain why MLwiN and runmlwin were doing different things, but does solve my immediate problem :)
Thanks for your help,
Andy
by andrewjdbell
Tue Jul 07, 2015 3:03 pm
Forum: runmlwin user forum
Topic: Non-convergence of runmlwin model
Replies: 6
Views: 7075

Re: Non-convergence of runmlwin model

No problem: so this is the script from the model with the variables that converged: ECHO 0 NOTE *********************************************************************** NOTE MLwiN macro created by runmlwin Stata command: 7 Jul 2015, 15:54:56 NOTE See: http://www.bristol.ac.uk/cmm/runmlwin for help NO...
by andrewjdbell
Tue Jul 07, 2015 1:37 pm
Forum: runmlwin user forum
Topic: Non-convergence of runmlwin model
Replies: 6
Views: 7075

Re: Non-convergence of runmlwin model

Hi Chris,

1) no, doesn't converge pressing start;

2) They are the same orders of magnitude and same direction, so not way off/exploding, but the differences aren't negligible (eg a coefficient of 0.14 coming out as 0.20). (also it seems to be stuck oscillating between two values).

Cheers,
Andy
by andrewjdbell
Tue Jul 07, 2015 11:58 am
Forum: runmlwin user forum
Topic: Non-convergence of runmlwin model
Replies: 6
Views: 7075

Non-convergence of runmlwin model

I have a model which I can make converge in MLwiN, but cannot make converge in runmlwin. Specifically, I have a 2-level negative binomial model with quite a few predictor variables. when I don't include a variable (lets call it X1) from my model, the model doesn't converge when run from Stata (even ...
by andrewjdbell
Fri Jul 12, 2013 2:33 pm
Forum: runmlwin user forum
Topic: Getting MCMC residuals and their chains from RS model
Replies: 1
Views: 3935

Getting MCMC residuals and their chains from RS model

Hi, I am running a model with 8 level 2 variances (a diagonal matrix with 8 coefficients allowed to vary), on a sample of 20 level 2 units (countries), in MCMC with MLwiN. I want to output the residuals' chains (so that I can calculate things like coverage intervals around beta0+u0j). I tried to do ...
by andrewjdbell
Mon Jun 03, 2013 3:25 pm
Forum: MLwiN user forum
Topic: Age-Period-Cohort Mixed Models
Replies: 2
Views: 9041

Re: Age-Period-Cohort Mixed Models

To follow up on this, see this paper that Kelvyn and I have written and is currently in review, which uses simulations to assess the HAPC model via simulations.

http://www.mendeley.com/download/public ... 41c/dl.pdf