One way of understanding real data is to build a probability model to simulate data and check if the broad properties of the simulated and the real data are the same. In this sense the probability model is a generative model.
The random variables and in the model represent water level and wave height measured from their respective averages. Physics suggests that water level affects wave height, rather than vice versa. A possible starting point is to suppose that the level , which has mean . Further suppose that for which . If then the expected height increases linearly with level.
The figure illustrates a random sample of ‘observations’ generated from the above model for ‘level’ and ‘height’, with .
Unnumbered Figure: First link, Second Link
Realisations of jointly distributed random variables may be obtained by simulation from or from the marginal and the conditional (This will be explained in detail later in this chapter). Here we use the latter method.
The final commands give means of and and standard deviations of and . The standard deviation of is bigger than that of .