MaxLikelihood: MaxLikelihood

Description Usage Arguments Value Examples

View source: R/MaxLikelihood.R

Description

Maximum likelihood method for Hurst parameter estimation of multivariate data

Usage

1

Arguments

X

Coordinates

Z

Observations

Value

Returns the estimate of the Hurst parameter (a real in [0,1)) and a graph indicating the minimized maximum likelihood function with the Hurst parameter.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# Load FracKrigingR library
library(FracKrigingR)
# generate Coordinates
   p<-2; K<-20;
   X<-matrix(0,ncol=p, nrow=K)
   for(j in 1:p){
     for(i in 1:K){
       X[i,j] = rnorm(1, 0, 1)
     }
   }
   # generate fractional Brownian vector field
   H <- 0.8; m <- 3
   Z<-FracField(K,m,H,X)
  # Hurst parameter estimation
   MaxLikelihood(X,Z)

FracKrigingR documentation built on Nov. 8, 2021, 9:07 a.m.