% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{california_housing}
\alias{california_housing}
\title{California Housing Dataset}
\format{
A data frame with 20,433 rows and 9 variables.
}
\source{
Pace, R.K. and Barry, R. (1997) Sparse spatial autoregressions. Statistics & Probability Letters, 33, 291-297.
}
\usage{
data(california_housing)
}
\description{
Median house values and demographic/geographic predictors for 20,433 California
block groups, derived from the 1990 US Census. Classic regression benchmark.
Originally released by Pace & Barry (1997); this version drops the categorical
`ocean_proximity` column (to keep the bundled schema all-numeric, matching the
rest of the package's datasets) and removes rows with missing `total_bedrooms`.
The regression target, `median_house_value`, is the last column.
}
\details{
\describe{
  \item{longitude}{Longitude of the block group (degrees, negative = west).}
  \item{latitude}{Latitude of the block group (degrees).}
  \item{housing_median_age}{Median age of houses in the block group (years).}
  \item{total_rooms}{Total number of rooms.}
  \item{total_bedrooms}{Total number of bedrooms.}
  \item{population}{Block group population.}
  \item{households}{Number of households.}
  \item{median_income}{Median household income (tens of thousands of USD).}
  \item{median_house_value}{Regression target: median house value (USD).}
}
}
\keyword{datasets}
