Description Usage Arguments Author(s) Examples

`errorcorr`

is an additional function in the bdynsys package. It calls functions `preprocess_data`

. It computes the errors in the models (differential equations) and the covariances of the errors. It then uses the covarinaces to re-estimate the Betas of the models. The covarinace matrix is printed and the re-estimated Betas saved in a file. It requires the package `MASS`

1 | ```
errorcorr(dataset, indnr, x, y, f, xterms, yterms, nrterms, z, zterms, v, vterms)
``` |

`dataset` |
a |

`indnr` |
an integer number indicating number of indicators, to be included in the modeling procedure |

`x` |
a reference to variable from the paneldata to be included as indicator 1 in the modeling procedure. |

`y` |
a reference to variable from the paneldata to be included as indicator 2 in the modeling procedure. |

`f` |
a function that contains the models of the indicators. |

`xterms` |
a vector that contains the terms from the model dx/dt. |

`yterms` |
a vector that contains the terms from the model dy/dt. |

`nrterms` |
total number of in all equations, e.g. sum of terms in equation for dx/dt and terms in equation for dy/dt, if the number of variables is two. |

`z` |
a reference to variable from the paneldata to be included as indicator 3 in the modeling procedure. |

`zterms` |
a vector that contains the terms from the model dz/dt. |

`v` |
a reference to variable from the paneldata to be included as indicator 4 in the modeling procedure. |

`vterms` |
a vector that contains the terms from the model dv/dt. |

Viktoria Spaiser: [email protected]

1 2 3 4 5 |

bdynsys documentation built on May 30, 2017, 1:05 a.m.

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.