make.variance {CollocInfer} | R Documentation |

## Variance Functions

### Description

Returns a list of functions that calculate a (possibly state and parameter dependent) variance.

### Usage

```
make.cvar()
make.var.SEIR()
```

### Details

`make.cvar`

requires the specification of further elements in the list. In particular
the element `more`

should be a list containing

### Value

A list of functions that calculate a variance function and its derivatives, in a form compatible with the collocation inference functions.

`make.cvar` |
returns a variance that is constant but may depend on parameters |

`make.var.SEIR` |
returns a state-dependent transition covariance matrix calculated for the SEIR equations. |

### See Also

### Examples

```
# Multivariate normal observation of the state vector.
lik = make.multinorm()
lik$more = c(make.id(),make.cvar())
```

[Package

*CollocInfer*version 1.0.4 Index]