Skip to contents

Fit and tune local models

LHWR is the unpenalized foundation; LHWPR adds focal regularization.

LHWL LHWL-package
LHWL Package
lhwr()
Fit a Lorentz Hyperbolic Weighted Regression Model
bw.lhwr()
Select LHWR Bandwidth
lhwpr() print(<lhwpr>) summary(<lhwpr>) print(<summary.lhwpr>) coef(<lhwpr>) fitted(<lhwpr>) residuals(<lhwpr>) predict(<lhwpr>) plot(<lhwpr>)
Lorentz-Hyperbolic Weighted Penalized Regression
tune.lhwpr() print(<tune.lhwpr>)
Joint Bandwidth and Regularization Tuning for LHWPR
lhwpr_control()
LHWPR Solver Controls
plot(<tune.lhwpr>)
Plot an LHWPR Tuning Object

Coordinates and geometry

check_lhwr_Z() make_lhwr_Z_features() make_lhwr_Z_network() make_lhwr_Z() check_lorentz_Z() make_lorentz_Z_features() make_lorentz_Z_network() make_lorentz_Z()
Construct Lorentz Hyperboloid Coordinates for LHWR
prepare_lorentz_coordinates()
Prepare Coordinates for LHWR
simulate_H2()
Simulate Points on the Two-Dimensional Hyperboloid
lorentz_inner()
Lorentz Inner Product
lorentz_norm()
Lorentz Norm
hyperbolic_distance()
Hyperbolic Distance on the Lorentz Hyperboloid
hyperbolic_distance_matrix()
Hyperbolic Distance Matrix
lorentz_knn()
Lorentz Hyperbolic k-Nearest Neighbors
check_hyperboloid()
Check Hyperboloid Constraints
normalize_to_H2()
Normalize a Vector to the Lorentz Hyperboloid
project_to_H2()
Project Spatial Coordinates to the Lorentz Hyperboloid
poincare_to_lorentz()
Convert Poincare Disk Coordinates to Lorentz Coordinates
extrinsic_lorentz_mean()
Extrinsic Mean Projected to the Lorentz Hyperboloid
lorentz_log_map()
Lorentz Logarithmic Map
tangent_coordinates()
Tangent-Space Coordinates
tangent_distance_matrix()
Tangent-Space Distance Matrix

Extractors, diagnostics and graphics

fitted(<lhwr>) residuals(<lhwr>) coef(<lhwr>) predict(<lhwr>) fitted(<hgwr>) residuals(<hgwr>) coef(<hgwr>) predict(<hgwr>)
Extract and Predict from LHWR Models
summary(<lhwr>) summary(<hgwr>)
Summarize an LHWR Model
RSS.lhwr() RSS.hgwr()
LHWR Residual Sum of Squares
CV.lhwr() CV.hgwr()
LHWR Cross-Validation Score
AICc.lhwr() AICc.hgwr()
LHWR AICc
lhwr_report()
Professional LHWR Model Report
local_collinearity()
Local Multicollinearity Diagnostics for LHWR
local_inference() local_inference.hgwr()
Local Inference for LHWR Coefficient Surfaces
diagnostic_tests()
LHWR Diagnostic F-Tests
moran.lhwr() moran.hgwr()
Lorentz-Hyperbolic Moran's I Diagnostic for LHWR Residuals
local_moran.lhwr() local_moran.hgwr()
Lorentz-Hyperbolic LISA Diagnostic (LH-LISA) for LHWR Residuals
lhwr_plotting_grammar
LHWR Plotting Grammar
lhwr_plot_control()
LHWR Plot Control
plot_lhwr_diagnostics()
Plot LHWR Diagnostics
plot_lhwr_embedding()
Plot an LHWR Embedding
plot_lhwr_geometry()
Plot Lorentz Geometry
plot_lhwr_hyperboloid()
Plot Lorentz Coordinates on the Hyperboloid
plot_lhwr_inference()
Plot LHWR Local Inference
plot_lhwr_model()
Plot LHWR Model Surfaces
plot_lhwr_network_map()
Plot an LHWR Network Map
plot_lhwr_poincare_map()
Plot Lorentz Coordinates in the Poincare Disk
plot_lhwpr_surface()
Plot an LHWPR Coefficient or Focal-Selection Surface
plot(<lhwr>)
Plot LHWR Objects
plot(<hgwr_local_moran>)
Plot Lorentz-Hyperbolic LISA Diagnostics (LH-LISA)
caption_lhwr_map()
Create a Caption for a Poincare Disk Map
summary(<lhwr_poincare_map>)
Summarize a Poincare Disk Map

Data, kernels and compatibility interfaces

wdi_lhwr
World Bank WDI panel prepared for LHWR examples
hgwr.basic()
Deprecated HGWR model-fitting alias
hgwr.fit()
Fit the Low-Level LHWR Model
hgwr.fit.knn()
Fit the Low-Level LHWR Model from Lorentz kNN Neighborhoods
hgwr_bisquare()
Bisquare HGWR Kernel
hgwr_boxcar()
Boxcar HGWR Kernel
hgwr_exponential()
Exponential HGWR Kernel
hgwr_gaussian()
Gaussian HGWR Kernel
hgwr_kernel()
HGWR Kernel Interface
hgwr_tricube()
Tricube HGWR Kernel
bw.hgwr()
Deprecated LHWR bandwidth-selection alias
weighted_cor()
Weighted Correlation Matrix
weighted_r2()
Weighted R-squared
safe_condition_number()
Safe Condition Number