spatial_markov
Compute a Markov chain on spatial panel data from a shapefile to analyze regional transitions over time and spatial dependence.
Instructions
Run giddy Spatial Markov on a panel (n regions x t periods) from a shapefile.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shapefile_path": "<shapefile_path>",
"value_columns": "<value_columns>"
},
"name": "spatial_markov"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shapefile_path | Yes | ||
| value_columns | Yes | ||
| target_crs | No | EPSG:4326 | |
| weights_method | No | queen | |
| distance_threshold | No | ||
| k | No | ||
| m | No | ||
| fixed | No | ||
| permutations | No | ||
| relative | No | ||
| drop_na | No | ||
| fill_empty_classes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||