Skip to contents

Generate Coefficient Matrix for MA Process

Usage

MA_coef_all(value, size = 3)

Arguments

value

Value to be added surounding

size

Size of the matrix

Value

Numeric matrix with size rows and size columns

Examples

MA_coef_all(0.5)
#>      [,1] [,2] [,3]
#> [1,]  0.5  0.5  0.5
#> [2,]  0.5  1.0  0.5
#> [3,]  0.5  0.5  0.5