PIR_loglik {ARPobservation} | R Documentation |

## Calculate log-likelihood

### Description

Calculates the log-likelihood of within-session PIR data

### Usage

```
PIR_loglik(param, U, c, d)
```

### Arguments

`param` |
vector of parameter values logit(prevalence), log(incidence) |

`U` |
a vector containing interval-level PIR data |

`c` |
the length of the active interval |

`d` |
the length of the recording interval The vector |

### Value

The value of the log-likelihood

### Author(s)

Daniel Swan <dswan@utexas.edu>

[Package

*ARPobservation*version 1.2.2 Index]