Giter Club home page Giter Club logo

cpt-ar's Introduction

cpt-AR (Change-point analysis with single Accumulation Rate records)


Determines zone boundaries for single influx records using the change-point analysis.

NOTE: as of February 2023, this stand-alone function has been included in the 'tapas' package. See https://github.com/wfinsinger/tapas for further details.

In summary:

The function uses records that were previously interpolated to constant temporal resolution. It determines change points in the proxy AR record (e.g. charcoal-accumulation rates (CHAR) or pollen-accumulation rates (PAR)).

Rationale:

Because proxyAR (# cm-2 yr-1) = proxyConcentration (# cm-3) * sediment-accumulation rates (cm yr-1),

the sediment-accumulation rates might strongly influence proxyAR records.

To test this, the proxy.cpt() function generates iteratively a series of random concentration records, calculates for each of those records accumulation rates (hereafter randomAR records) using the information from the depth-age model, and then looks at change points in the randomAR records.

The assumption is that if change points appear both in the original proxyAR and in the randomAR records, then the influence of the sediment-accumulation rates is probably not negligible.

-- The function requires one input file with seven columns. The input file can, for instace, be generated using the pretreatment() function (as from the paleofire package):

Column 1: CmI = top sample depth, interpolated

Column 2: AgeI = top sample age (as cal yrs BP), interpolated

Column 3: sedArI = sediment accumulation rate as from age-depth model (as cm year-1), interpolated

Column 4: countI = raw data (counts, areas, other)

Column 5: volI = sample volume, interpolated

Column 6: ConcI = concentration (as pieces cm-3), interpolated

Column 7: ArI = influx (or accumulation rate) value (as pieces cm-2 yr-1), interpolated

-- The function requires following parameters (which can be left at default values, except "Name", that needs an input text)

Name = Analysis name (can be name of the site, or that + parameters chosen)

bootstrap = if TRUE, the random concentration record is generated by random sampling with replacement from ConcI; if FALSE the random numbers (rand.i) are generated with the following constrain: min(ConcI) < rand.i < max(ConcI)

q = number of random datasets generated

n.Q = the maximum number of change points

n.screen = a change point in the random datasets is validated if it occurs in more than n.screen datasets.

By default n.screen = q * 0.025 (thus with q=1000 this equals 2.5% chance of occurrence)


Run the cpt_v12_example.r script to see an example application


Suggested citation: Finsinger W., Magyari E.K., Fevre J., Orban I., Pal I., Vincze I., Hubay K, Birks H.H., Braun M., Toth M. (2016) โ€“ Holocene fire regimes near the treeline in the Retezat Mts. (Southern Carpathians). Quaternary International. doi: 10.1016/j.quaint.2016.04.029. In press (http://dx.doi.org/10.1016/j.quaint.2016.04.029)

cpt-ar's People

Contributors

wfinsinger avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.