Variable: spatialRegression
const
spatialRegression:ExtendedTool
<ZodObject
<{datasetName
:ZodString
;dependentVariable
:ZodString
;independentVariables
:ZodArray
<ZodString
>;modelType
:ZodEnum
<["classic"
,"spatial-lag"
,"spatial-error"
]>;weightsId
:ZodOptional
<ZodString
>; },UnknownKeysParam
,ZodTypeAny
, {datasetName
:string
;dependentVariable
:string
;independentVariables
:string
[];modelType
:"classic"
|"spatial-lag"
|"spatial-error"
;weightsId
:string
; }, {datasetName
:string
;dependentVariable
:string
;independentVariables
:string
[];modelType
:"classic"
|"spatial-lag"
|"spatial-error"
;weightsId
:string
; }>, {error
:string
;result
:string
;success
:boolean
; },undefined
| {datasetName
:string
;report
:null
|LinearRegressionResult
|SpatialLagResult
|SpatialErrorResult
; },SpatialRegressionFunctionContext
>
Defined in: packages/geoda/src/regression/tool.ts:13