RSA: A Resampling-based Stochastic Approximation Method for...

Description Usage Arguments Value Author(s) References Examples

View source: R/RSA.R

Description

Performs parameter estimation using a resampling-based Stochastic Approximation (RSA) method. It is a stochatic approximation method. At every iteration, only a subset of the data is drawn and used to update the estimation of the parameters. The data are assumed to have a powered exponential correlation structure.

Usage

1
RSA(Data, N_subset, Stepscale, Total_Iteration, Warm)

Arguments

Data

a Matrix. The first two column of the matrix consists of x1 and x2, where x1 and x2 provide the 2D location for each obsevation. The third column of the matrix gives the y value, which is the response value. Extra covariates can be included in Column 4 and beyond.

N_subset

an integer. It specifies the size of the subset drawn from the data.

Stepscale

a positive number. It controls the gain factor. It specifies the number of iterations when the gain factor begins to shrink. For example, one can be set it equal to 2 times the burn-in steps.

Total_Iteration

an interger. It gives the total number of iterations for stochatic approximation.

Warm

an integer. It is the number of burn-in iterations.

Value

beta

gives the coefficient estimates of the mean effect. It is a vector of lenght equal to the number of coefficients plus 1.

phi

gives the shape estimate in the powered exponential correlation matrix.

sigmasq

gives the estimate of error variance.

tausq

gives the estimate of nugget variance.

Author(s)

Yichen Cheng, Faming Liang

References

Liang, F., Cheng, Y., Song, Q., Park, J., and Yang, P. (2013) A Resampling-based Stochastic Approximation Method for Analysis of Large Geostatistical Data. J. Amer. Statist. Assoc., 108, 325-339.

Examples

1
2
3
4
5
data(gdata)
## This is an illustration of the function. 
## In practice, Total_Iteration is recommended to be set to 2500 or higher.
## N_subset is recommemded to be set to 300 or higher.
RSA(gdata,N_subset=50,Stepscale=40,Total_Iteration=100,Warm=20)

RSAgeo documentation built on May 30, 2017, 8:10 a.m.

Related to RSA in RSAgeo...