inf.beta: Infers Beta from maximized covariance pars.

Description Usage Arguments Details Value Author(s)

Description

Computes estimates of regression coefficients from covariance estimates.

Usage

1
2
inf.beta(pars, X, coords, reg.ind, y, cov.model = NULL, Sig = NULL,
  useSTpackage = TRUE)

Arguments

pars

Log covariance parameters

X

kriging covariates

coords

Coordinates

reg.ind

Vector of region indicators

y

outcome variable

cov.model

Covariance model specifications. Not required if Sig provided.

Sig

block-diagonal covariance matrix. Default value is NULL, and the matrix is computed by a call to block.Sig. If it is already computed, providing it can speed up code.

useSTpackage

See Details.

Details

This computes (X'SinvX)^(-1)(X'Sinv*y). Takes advantage of functions in SpatioTemporal package if available.

Value

A vector of the regression parameters.

Author(s)

Paul Sampson, Casey Olives, Joshua Keller


jpkeller/ruk documentation built on May 7, 2019, 4:40 p.m.