Plotting in MLwiN

Extensive plotting facilities are available. The basic plot specification window is as follows:

graph1

We can change the configuration of any graph in terms of colour, symbols, lines etc. We can superimpose graphs, lay them out in patterns (such as trellis plots), label them, identify points or lines on them in terms of data units and copy and paste them to other applications.

If we have a model with pupils within schools; we may specify the prediction:

predictions

This will create a prediction line for each school and stack the predicted values in the variable sch_pred.

A plot of the predicted line for each school can be specified:

predicted line plot

and pressing apply produces

graph display

Edit this page