Crashing when sorting
Posted: Tue Jul 21, 2015 2:36 pm
Hi everyone
I'm relatively new to MLwiN, but hopefully this isn't a silly problem. I've asked a few colleagues, but haven't been able to get to the solution yet.
I have a dataset with 2.7million cases. They are counts of deaths aggregated by age group, year of death, and area of death.
I have four levels:
Country (1,2) (l)
Area (1, ... 25,253) (k)
Year (1990 - 2010) (j)
ID (sequential ID number for each count of deaths for 15 age groups; 1, ... 2.7million) (i)
I've set up a Poisson model, with an area population size offset.
I've included all of the relevant fixed terms (14 variables + constant + offset) into the model, however, the area level measurements have all four subscripts, rather than just k and l as expected. This has happened to me before, and I needed to sort the data to fix it. However, when I try sort the data in MLwiN (using the four variables as sort keys, and applying the sort to all variables in the dataset), the program goes to "Not Responding", and then eventually crashes.
Further information:
- The Hierarchy Viewer is blank (completely empty, no variables at all) if that could offer any explanation? (see https://www.dropbox.com/s/255xabupktgu6 ... r.JPG?dl=0)
- The area variable was originally alpha-numeric (eg '00AAFA' or 'G12 8RZ'). I have converted this so that each area code is now a unique number (ranging 1-25,253). We had hoped that this was the problem, but it hasn't helped.
- I'm running MLwiN 2.34
Any ideas and suggestions would be greatly appreciated!
Thanks,
Megan
I'm relatively new to MLwiN, but hopefully this isn't a silly problem. I've asked a few colleagues, but haven't been able to get to the solution yet.
I have a dataset with 2.7million cases. They are counts of deaths aggregated by age group, year of death, and area of death.
I have four levels:
Country (1,2) (l)
Area (1, ... 25,253) (k)
Year (1990 - 2010) (j)
ID (sequential ID number for each count of deaths for 15 age groups; 1, ... 2.7million) (i)
I've set up a Poisson model, with an area population size offset.
I've included all of the relevant fixed terms (14 variables + constant + offset) into the model, however, the area level measurements have all four subscripts, rather than just k and l as expected. This has happened to me before, and I needed to sort the data to fix it. However, when I try sort the data in MLwiN (using the four variables as sort keys, and applying the sort to all variables in the dataset), the program goes to "Not Responding", and then eventually crashes.
Further information:
- The Hierarchy Viewer is blank (completely empty, no variables at all) if that could offer any explanation? (see https://www.dropbox.com/s/255xabupktgu6 ... r.JPG?dl=0)
- The area variable was originally alpha-numeric (eg '00AAFA' or 'G12 8RZ'). I have converted this so that each area code is now a unique number (ranging 1-25,253). We had hoped that this was the problem, but it hasn't helped.
- I'm running MLwiN 2.34
Any ideas and suggestions would be greatly appreciated!
Thanks,
Megan