Simulate Auto Regressive Data from Precision Matrices

Q.AR1 | Precision matrix for an AR1 process |

Q.iid | Precision matrix for a IID process |

Q.lCAR | Precision matrix for a pCAR process |

Q.mBYM | Modified Precision matrix for a BYM process |

Q.pCAR | Precision matrix for a pCAR process |

sim.AR | Simulate correlated data from a precision matrix. |

US.df | Spatial Polygons Data Frame of Counties for Several States |

US.graph | Matrix of Shared Boundaries Between US.df Counties |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.