## #22 closed enhancement (fixed)

# Implement class AveragerPairWeighted

Reported by: | Peter | Owned by: | Peter |
---|---|---|---|

Priority: | minor | Milestone: | |

Component: | statistics | Version: | trunk |

Keywords: | Cc: |

### Description

Functions should fulfill the following: 1) all weights equal to unity yiels same as Averager 2) Rescaling all weights yields no difference 3) adding a data point with weight zero yields no difference 4) Additivity add(w)+add(w)=add(2w).

These conditions should be tested in test program. Peter realized that all conditions can not be met, so some thinking must be done (skip either 2 or 4).

### Change History (3)

### comment:1 Changed 17 years ago by

Milestone: | Regression redesign → weighted statistics |
---|

### comment:2 Changed 17 years ago by

Resolution: | → fixed |
---|---|

Status: | new → closed |

### comment:3 Changed 16 years ago by

Milestone: | weighted statistics |
---|

Milestone weighted statistics deleted

**Note:**See TracTickets for help on using tickets.

Class fulfilling: 1) all weights equal to unity yiels same as Averager 2) Rescaling all weights yields no difference 3) adding a data point with weight zero yields no difference