View source: R/inla.climate.mu.R
inla.climate.mu | R Documentation |
Computes Bayesian inference about temperature response of forcing
given parameter information contained in result
obtained from Monte Carlo simulations generated by sampling from the posterior marginal distributions obtained by INLA.
inla.climate.mu(result, forcing, quick=FALSE, T0.corr = NULL, nsamples = 100000, seed = 1234, print.progress = FALSE, model="fgn")
result |
An |
forcing |
The forcing for which the temperature response will be obtained. |
quick |
Boolean variable. If |
T0.corr |
The temperature dataset analysed with INLA is shifted by |
nsamples |
The number of Monte Carlo simulations used in obtaining transient climate response inference. |
seed |
Seed used for random number generator. |
print.progress |
Prints progression if |
model |
String which determines which model to be used when computing the temperature response. "fgn" and "arfima" produces a long-range dependent response, whilst "ar1" computes it as a sum of exponentials. |
Returns a list of class inla.climate.mu
which contains the following objects:
|
The mean value of the temperature response due to forcing. |
|
The standard deviation of the temperature response due to forcing. |
|
The 2.5% quantile value of the temperature response due to forcing. |
|
The 50% quantile of the temperature response due to forcing. |
|
The 97.5% quantile of the temperature response due to forcing. |
|
List containing the Monte Carlo simulations of the TCR and all hyperparameters. |
|
The time spent doing the Monte Carlo simulations. |
Eirik Myrvoll-Nilsen eirik.myrvoll-nilsen@uit.no
inla.climate
if(require("INLA",quietly=TRUE)){ data(GISS_E2_R) result.climate <- inla.climate(data=GISS_E2_R$Temperature,forcing=GISS_E2_R$Forcing) result.mu <- inla.climate.mu(result.climate,forcing = GISS_E2_R$Forcing,quick = FALSE) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.