|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.spatialstatisticstools.GeographicallyWeightedRegression
public class GeographicallyWeightedRegression
Performs GWR, a local form of linear regression used to model spatially varying relationships.
The Geographically Weighted Regression tool is contained in the Spatial Statistics Tools tool box.
Learn more about how Geographically Weighted regression works
Software restrictions: none

| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
GeographicallyWeightedRegression()
Creates the Geographically Weighted Regression tool with defaults. |
|
GeographicallyWeightedRegression(Object inFeatures,
Object dependentField,
Object explanatoryField,
Object outFeatureclass,
String kernelType,
String bandwidthMethod)
Creates the Geographically Weighted Regression tool with the required parameters. |
|
| Method Summary | |
|---|---|
String |
getBandwidthMethod()
Returns the Bandwidth method parameter of this tool . |
Object |
getCellSize()
Returns the Output cell size parameter of this tool . |
Object |
getCoefficientRasterWorkspace()
Returns the Coefficient raster workspace parameter of this tool . |
Object |
getDependentField()
Returns the Dependent variable parameter of this tool . |
double |
getDistance()
Returns the Distance parameter of this tool . |
Object |
getExplanatoryField()
Returns the Explanatory variable(s) parameter of this tool . |
Object |
getInFeatures()
Returns the Input feature class parameter of this tool . |
Object |
getInPredictionLocations()
Returns the Prediction locations parameter of this tool . |
String |
getKernelType()
Returns the Kernel type parameter of this tool . |
int |
getNumberOfNeighbors()
Returns the Number of neighbors parameter of this tool . |
Object |
getOutFeatureclass()
Returns the Output feature class parameter of this tool . |
Object |
getOutPredictionFeatureclass()
Returns the Output prediction feature class parameter of this tool . |
Object |
getOutRegressionRasters()
Returns the Output regression rasters parameter of this tool (Read only). |
Object |
getOutTable()
Returns the Output table parameter of this tool (Read only). |
Object |
getPredictionExplanatoryField()
Returns the Prediction explanatory variable(s) parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
Object |
getWeightField()
Returns the Weights parameter of this tool . |
void |
setBandwidthMethod(String bandwidthMethod)
Sets the Bandwidth method parameter of this tool . |
void |
setCellSize(Object cellSize)
Sets the Output cell size parameter of this tool . |
void |
setCoefficientRasterWorkspace(Object coefficientRasterWorkspace)
Sets the Coefficient raster workspace parameter of this tool . |
void |
setDependentField(Object dependentField)
Sets the Dependent variable parameter of this tool . |
void |
setDistance(double distance)
Sets the Distance parameter of this tool . |
void |
setExplanatoryField(Object explanatoryField)
Sets the Explanatory variable(s) parameter of this tool . |
void |
setInFeatures(Object inFeatures)
Sets the Input feature class parameter of this tool . |
void |
setInPredictionLocations(Object inPredictionLocations)
Sets the Prediction locations parameter of this tool . |
void |
setKernelType(String kernelType)
Sets the Kernel type parameter of this tool . |
void |
setNumberOfNeighbors(int numberOfNeighbors)
Sets the Number of neighbors parameter of this tool . |
void |
setOutFeatureclass(Object outFeatureclass)
Sets the Output feature class parameter of this tool . |
void |
setOutPredictionFeatureclass(Object outPredictionFeatureclass)
Sets the Output prediction feature class parameter of this tool . |
void |
setPredictionExplanatoryField(Object predictionExplanatoryField)
Sets the Prediction explanatory variable(s) parameter of this tool . |
void |
setWeightField(Object weightField)
Sets the Weights parameter of this tool . |
| Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
getParameterValues, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeographicallyWeightedRegression()
Initializes the array of tool parameters with the default values specified when the tool was created.
public GeographicallyWeightedRegression(Object inFeatures,
Object dependentField,
Object explanatoryField,
Object outFeatureclass,
String kernelType,
String bandwidthMethod)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inFeatures - Feature Layer, the feature class containing the dependent and independent variables.dependentField - Field, the numeric field containing values for what you are trying to model.explanatoryField - Field, a list of fields representing independent explanatory variables in your regression model.outFeatureclass - Feature Class, the output feature class to receive dependent variable estimates and residuals.kernelType - String, specifies if the kernal is always fixed or if it is allowed to vary in extent as a function of feature density.bandwidthMethod - null| Method Detail |
|---|
public Object getInFeatures()
public void setInFeatures(Object inFeatures)
inFeatures - Feature Layer, the feature class containing the dependent and independent variables.public Object getDependentField()
public void setDependentField(Object dependentField)
dependentField - Field, the numeric field containing values for what you are trying to model.public Object getExplanatoryField()
public void setExplanatoryField(Object explanatoryField)
explanatoryField - Field, a list of fields representing independent explanatory variables in your regression model.public Object getOutFeatureclass()
public void setOutFeatureclass(Object outFeatureclass)
outFeatureclass - Feature Class, the output feature class to receive dependent variable estimates and residuals.public String getKernelType()
public void setKernelType(String kernelType)
kernelType - String, specifies if the kernal is always fixed or if it is allowed to vary in extent as a function of feature density.public String getBandwidthMethod()
public void setBandwidthMethod(String bandwidthMethod)
bandwidthMethod - nullpublic double getDistance()
public void setDistance(double distance)
distance - nullpublic int getNumberOfNeighbors()
public void setNumberOfNeighbors(int numberOfNeighbors)
numberOfNeighbors - Integer, an integer reflecting the exact number of neighbors to include in the local bandwidth of the Gaussian kernel in cases where the user selects ADAPTIVE for kernel type and BANDWIDTH PARAMETER for Bandwidth method.public Object getWeightField()
public void setWeightField(Object weightField)
weightField - Field, the numeric field containing a spatial weighting for individual features. Primarily useful when the number of samples taken at different locations varies, values for the dependent and independent variables are averaged, and places with more samples are more reliable (should be weighted higher).public Object getCoefficientRasterWorkspace()
public void setCoefficientRasterWorkspace(Object coefficientRasterWorkspace)
coefficientRasterWorkspace - nullpublic Object getCellSize()
public void setCellSize(Object cellSize)
cellSize - Analysis Cell Size, the default cell size is the shortest of the width or height of the extent specified in the Environment output coordinate system, divided by 250.public Object getInPredictionLocations()
public void setInPredictionLocations(Object inPredictionLocations)
inPredictionLocations - Feature Layer, a feature class containing features representing locations where estimates should be computed. Each feature in this dataset should contain values for all of the explanatory variables specified; the dependent variable for these features will be estimated using the model calibrated for the input feature class data.public Object getPredictionExplanatoryField()
public void setPredictionExplanatoryField(Object predictionExplanatoryField)
predictionExplanatoryField - Field, a list of fields representing explanatory variables in the Prediction Locations feature class. These field names should be provided in the same order (a one to one correspondance) as those listed for the input feature class Explanatory variables parameter. If no prediction explanatory variables are given, the output prediction feature class will only contain computed coefficient values for each prediction location.public Object getOutPredictionFeatureclass()
public void setOutPredictionFeatureclass(Object outPredictionFeatureclass)
outPredictionFeatureclass - nullpublic Object getOutTable()
public Object getOutRegressionRasters()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||