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
Multivariate response model poisson offset
-
- Posts: 1384
- Joined: Mon Oct 19, 2009 10:34 am
Re: Multivariate response model poisson offset
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?
-
- Posts: 3
- Joined: Tue Jul 21, 2015 1:47 pm
Re: Multivariate response model poisson offset
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 π.
I've only ever had the offset added in by labelling it 'offs', I didn't know that you could get it through the π.