Calculate p-values for scan-test for scan circles ranging


Problem

Using R and the data set below, please assist. Please show R code for both questions as well.

In this problem set, we will use scan statistics to determine whether there are significant hotspots or clusters in the Redwood seedlings point pattern. This point pattern is included in the spatstat package and can be loaded with:

library(spatstat)
data(redwoodfull)
plot(redwoodfull)

Task

i. Use the scan.test function in spatstat to perform a Spatial Scan Test for clustering in the redwoodfull point pattern. Set the radius of your scan circle to be equal to 5% of the study region width (i.e., use r=0.05 in scan.test, because the size of the study region is 1 unit). Can you reject a null hypothesis of CSR for a significance level of ?? = 0.05?

ii. Does your answer to question i depend on the radius of the scan circle? Calculate the p-values for scan.test for scan circles ranging from 1% to 10% of the study region width, at intervals of 1%. For what scan circle sizes do you reject (or fail to reject) a null hypothesis of CSR at a significant level of ?? = 0.05?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Calculate p-values for scan-test for scan circles ranging
Reference No:- TGS03332390

Expected delivery within 24 Hours