Further Statistical Methods -HT05

Practical - week 3

MIM and graphical models.

  1. Start MIM
  2. Download this file from a study of housing types in Denmark and look at the file. The data is also available in MASS and described there. Four variables: type of housing (4 different types), contact with neighbours (high/low), influence on decisions (low, medium, high), and satisfaction (low, medium, high).
  3. Read the file into MIM
  4. Specify the saturated model and display its graph
  5. Which variables are ordinal?
  6. Specify these as ordinal in MIM (write eg ordinal i on command line)
  7. Test all conditional independences of any pair of variables, given the others. Both by using a standard LR test and the appropriate test which takes into account ordinality of some of the variables. Check also whether the asymptotic results seem to conform with Monte-Carlo p-values. Decompose the tests according to the values of the conditional variables (option z).
  8. Argue that, in light of the above, the graphical model with cliques chs,cis, i.e. a single conditional independence of hi given cs, is a reasonable model.
  9. MIM has different model selection procedures built in. Use global search to find the best model using AIC and BIC. Look at their graphs and give an interpretation.
  10. Make the model under 8 the base model and test the model found by BIC. Comment on the result.
  11. Try other model search methods.
  12. Study the marginal relationships between csh and cis respectively by specifying the model as csh and cis respectively and look for independencies. Remember to take into account ordinality.
  13. If time allows, study the odds-ratios in tables csh and cis for fixed value of one of the other variables. How do the odds-ratios vary from one to the other?

Back to course overview.


Last updated: Friday, 18 February 2005 09:14Steffen L. Lauritzen