sequentialFitBiasDistribution {EvidenceSynthesis} | R Documentation |

## Fit Bias Distribution Sequentially or in Groups

### Description

Learn empirical bias distributions sequentially or in groups; for each sequential step or analysis group, bias distributions is learned by by simultaneously analyzing a large set of negative control outcomes by a Bayesian hierarchical model through MCMC.

### Usage

```
sequentialFitBiasDistribution(LikelihoodProfileList, ...)
```

### Arguments

`LikelihoodProfileList` |
A list of lists, each of which is a set of grid profile likelihoods regarding negative controls, indexed by analysis period ID for sequential analyses or group ID for group analyses. |

`...` |
Arguments passed to the |

### Value

A (long) dataframe with four columns.
Column `mean`

includes MCMC samples for the average bias,
`scale`

for the sd/scale parameter,
`bias`

for predictive samples of the bias, and
`Id`

for the period ID or group ID.

### See Also

fitBiasDistribution, computeBayesianMetaAnalysis

### Examples

```
# load example data
data("ncLikelihoods")
# fit bias distributions over analysis periods
# NOT RUN
# biasDistributions = sequentialFitBiasDistribution(ncLikelihoods, seed = 42)
```

[Package

*EvidenceSynthesis*version 0.5.0 Index]