Search found 12 matches

by yransome
Thu Sep 13, 2018 3:03 pm
Forum: runmlwin user forum
Topic: Change prior terms for fixed effects
Replies: 1
Views: 1712

Change prior terms for fixed effects

Hello community, I'm running a spatial CAR model and wondered it was possible to change the prior term for the fixed effect from the default which is dflat to dnorm (0, 0.0001)? I know there is an option in the syntax to add informative priors, but in this case, I have 13 covariates including the co...
by yransome
Tue May 29, 2018 1:44 pm
Forum: runmlwin user forum
Topic: Can runmlwin handle CAR models at two levels?
Replies: 3
Views: 756

Re: Can runmlwin handle CAR models at two levels?

Hello Billy, Thank you for the reply. A follow-up question, so at best with the current program, we can specify random intercepts at levels 2 and 3. Although it's not the same as what i was trying to accomplish with the model, would it be possible then to treat "year" as a level, and poly ID nested ...
by yransome
Fri May 18, 2018 7:51 pm
Forum: runmlwin user forum
Topic: Can runmlwin handle CAR models at two levels?
Replies: 3
Views: 756

Can runmlwin handle CAR models at two levels?

Dear runmlwin community, I am trying to fit a spatiotemporal model using with the following code runmlwin outcome cons year covariate1, /// level3(POLY_ID: year cons, carids(mmid1-mmid10) carweights(carweight1-carweight10)) /// level2(POLY_ID: cons) /// level1(POLY_ID: ) /// discrete(distribution(po...
by yransome
Tue May 15, 2018 5:53 pm
Forum: runmlwin user forum
Topic: error while obeying the batch file while trying to save winbugs code
Replies: 7
Views: 1078

Re: error while obeying the batch file while trying to save winbugs code

Dear Dr. Chartlon, Thank you for helping troubleshoot. The model worked when I changed "zipcode" to POLY_ID, because that variable contained the identifiers for the mmids and carids. When I used geobougs to generate the spatial weights matrix, I used the POLY_ID that was within the shapefile. I can ...
by yransome
Tue May 01, 2018 10:05 pm
Forum: runmlwin user forum
Topic: error while obeying the batch file while trying to save winbugs code
Replies: 7
Views: 1078

Re: error while obeying the batch file while trying to save winbugs code

Thank you for the clarification! Yes, several mmids have zero and mmid10 starts with zero. So when you say renumbering, you are suggesting change from 0 to something like 0.1? These IDs are based on an adjacency matrix from Geobugs, and an R-function you wrote previously to create the variables in t...
by yransome
Tue May 01, 2018 3:20 pm
Forum: runmlwin user forum
Topic: error while obeying the batch file while trying to save winbugs code
Replies: 7
Views: 1078

Re: error while obeying the batch file while trying to save winbugs code

Hi Chris,
The ID is an integer and so does not start with zero.
Thanks for offering a suggestion!
by yransome
Thu Apr 26, 2018 6:00 pm
Forum: runmlwin user forum
Topic: error while obeying the batch file while trying to save winbugs code
Replies: 7
Views: 1078

error while obeying the batch file while trying to save winbugs code

Hi all, I am running the following code, which works fine until i enter the savewinbugs syntax. Even when I pause the analysis and manually try to save the winbugs output, I get the same error: MCMC Error 0243: The 1th neighbouring unit for area 1 is not a known area runmlwin alcohol cons year stdva...
by yransome
Tue Apr 24, 2018 7:50 pm
Forum: runmlwin user forum
Topic: Spatio-temporal models in runmlwin
Replies: 0
Views: 2456

Spatio-temporal models in runmlwin

Has anyone estimated a spatio-temporal model using the runmlwin platform? I have 6 years of data across areas, and i am wondering how/where to specify the space * time correlation? And how would one print/predict the relative risks for the areas over time to map? If anyone has syntax and willing to ...
by yransome
Wed Aug 24, 2016 10:36 am
Forum: runmlwin user forum
Topic: How to create the adjacency weights file required to perform CAR spatial
Replies: 3
Views: 693

Re: How to create the adjacency weights file required to perform CAR spatial

Dear Chris,

Thank you very much for your extended effort in providing the syntax and data. I will be sure to acknowledge your contribution in any resulting publication.

Warm regards,
Yusuf
by yransome
Sat Aug 13, 2016 12:02 am
Forum: runmlwin user forum
Topic: How to create the adjacency weights file required to perform CAR spatial
Replies: 3
Views: 693

How to create the adjacency weights file required to perform CAR spatial

Dear colleagues, I have read examples of how to perform a spatial model In runmlwin and all examples have a data set with the weights already included. For example in the Scottish Lip Cancer example, the required variables are ( neigh1-neigh11) (weights1-weights11) and (wcar1-war11). ##My question i...