Uploaded by qais mustafa

R code for KPSS test

advertisement
kpss_result <- kpss.test(data_x[,2], null = "Trend")
# Extract the p-value
p_value <- kpss_result$p.value
# Print the p-value
print(p_value)
Download