aple.mc {spdep} | R Documentation

## Approximate profile-likelihood estimator (APLE) permutation test

### Description

A permutation bootstrap test for the approximate profile-likelihood estimator (APLE).

### Usage

    aple.mc(x, listw, nsim, override_similarity_check=FALSE)

### Arguments

`x` | a zero-mean detrended continuous variable
`listw` | a `listw` object from for example `nb2listw`
`nsim` | number of simulations
`override_similarity_check` | default FALSE, if TRUE - typically for row-standardised weights with asymmetric underlying general weights - similarity is not checked

### Value

A `boot` object as reurned by the `boot` function.

### Author(s)

Roger Bivand Roger.Bivand@nhh.no

### References

Li, H, Calder, C. A. and Cressie N. A. C. (2007) Beyond Moran's I: testing for spatial dependence based on the spatial autoregressive model. Geographical Analysis 39, 357-375.

### See Also

`aple`, `boot`

### Examples

    ## Not run:
    example(aple)
    boot_out <- aple.mc(scale(wheat$yield_detrend, scale=FALSE),
     nb2listw(nbr12, style="W"), nsim=500)
    plot(boot_out)
    boot_out
    ## End(Not run)

[Package spdep version 0.4-56 Index]