BiologicalRecordsCentre / BRCindicators

An R package for creating indicators from trends data
4 stars 11 forks source link

Add new mean method that uses all interations #11

Closed AugustT closed 4 weeks ago

AugustT commented 6 years ago

Add in @GPowney work on mean estimations using all iterations

drnickisaac commented 6 years ago

We discussed this together, There are basically two variants: 1) a geomean(occupancy) and 2) exp(mean(logit(occ))), i.e. geomean(odds). The first option is what @CharlieOuthwaite is using for her PhD "big paper analysis", the latter is what Gary is using for the 2018 pollinator indicator.

Both share a couple of features

@GPowney to document this in the vignette. @CharlieOuthwaite to test option 1 against he own code.

GPowney commented 6 years ago

I've added a function into BRCindicators, CompositeTrends. @CharlieOuthwaite can you test this against your code, do you get the same results?!

CharlieOuthwaite commented 6 years ago

Just ran the "geometric_raw_occ" version on ants, the indicator values are the same. The CIs are slightly different but I think that might be due to how things have been rescaled as mine start at 100 in year 1.

GPowney commented 4 weeks ago

These methods have been added and documented in TrendSummaries. See here.