summariseAlpha {telefit}R Documentation

Summarize alphas

Description

This function computes approximate normal intervals, etc. for fitted alphas.

Usage

summariseAlpha(alpha, prob = 0.95, coords.s, coords.r)

Arguments

alpha

structure containing posterior inference for remote coefficients

prob

confidence level for confidence intervals and significance

coords.s

matrix with coordinates where responses were observed (lon, lat)

coords.r

matrix with coordinates where remote covariates were observed (lon, lat)

Examples

## Not run: 
data("coprecip")
data("coprecip.fit")
attach(coprecip)

# sample posterior predictive distributions AND estimate teleconnection effects
coprecip.precict = stPredict(stFit = coprecip.fit, stData = coprecip, 
                             stDataNew = coprecip, burn = 90, 
                             returnFullAlphas = TRUE)

alpha.90 = summariseAlpha(alpha = coprecip.precict$alpha, prob = .9, 
                          coords.s = coords.s, coords.r = coords.r)

## End(Not run)

[Package telefit version 1.0.3 Index]