Multivariate response model poisson offset

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
meganyates
Posts: 3
Joined: Tue Jul 21, 2015 1:47 pm

Multivariate response model poisson offset

Post by meganyates »

Hi

I'm trying to run a multiple response Poisson model, with 3 responses and 3 levels.

I'm having difficulty creating the 'long' offset variable in order to incorporate it into each model.
I've tried to join the three offset variables together, but the long response variables created by MLwiN are sorted in a different order to this.

eg. the response variable is ordered as
response 1,1
response 2,1
response 3,1
response 1,2
response 2,2
...
response 1,N
response 2,N
response 3,N

where as the variable I created using the Join function in the Data Manipulation menu is ordered as:
offset 1,1
offset 1,2
...
offset 1,N
offset 2,1
...
offset 2,N
offset 3,1
...
offset 3,N


Any help would be greatly appreciated!!

Thanks,
Megan
ChrisCharlton
Posts: 1384
Joined: Mon Oct 19, 2009 10:34 am

Re: Multivariate response model poisson offset

Post by ChrisCharlton »

If you add the short version of the offset to the specification of each response (i.e. by clicking the π.. symbol in the equations window or using the DOFF <response number> <offset column> command) then MLwiN should automatically combine them into a longer version that matches the expanded response variable. Is this not working for you?
meganyates
Posts: 3
Joined: Tue Jul 21, 2015 1:47 pm

Re: Multivariate response model poisson offset

Post by meganyates »

Chris, THANK YOU SO MUCH!!

I've only ever had the offset added in by labelling it 'offs', I didn't know that you could get it through the π.
Post Reply