DesignedRegress
DesignedRegress[matrix,vector]
finds a least–squares fit given the design matrix matrix and response vector vector.
DesignedRegress[svd,vector]
finds a fit given the singular value decomposition svd of a design matrix.
Details and Options
- To use DesignedRegress, you first need to load the Linear Regression Package using Needs["LinearRegression`"].
- A design matrix is a list containing the basis functions evaluated at the observed values of the independent variables, as returned by DesignMatrix.
- DesignedRegress returns a list of rules for results and diagnostics specified by the option RegressionReport.
- The argument svd is of the same form as that returned by SingularValueDecomposition.
- Exact numbers given as input to DesignedRegress are converted to approximate numbers with machine precision.
- The following options can be given:
-
RegressionReport SummaryReport results to be included in output BasisNames Automatic names of basis elements for table headings Weights Automatic weights for each data point Method Automatic method used to compute singular values Tolerance Automatic tolerance to use in computing singular values ConfidenceLevel 0.95 confidence level used for confidence intervals
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Options (5)Common values & functionality for each option
RegressionReport (1)
BasisNames (1)
Weights (2)

https://wolfram.com/xid/0doyoimi5pq7czywctu4m-k1nru
Weighted regression with explicit weights for each data element:

https://wolfram.com/xid/0doyoimi5pq7czywctu4m-c6zfy3


https://wolfram.com/xid/0doyoimi5pq7czywctu4m-hh6ecm
Weighted regression with weights equal to the squares of the measured responses:

https://wolfram.com/xid/0doyoimi5pq7czywctu4m-bopk88

Wolfram Research (2007), DesignedRegress, Wolfram Language function, https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html.
Text
Wolfram Research (2007), DesignedRegress, Wolfram Language function, https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html.
Wolfram Research (2007), DesignedRegress, Wolfram Language function, https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html.
CMS
Wolfram Language. 2007. "DesignedRegress." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html.
Wolfram Language. 2007. "DesignedRegress." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html.
APA
Wolfram Language. (2007). DesignedRegress. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html
Wolfram Language. (2007). DesignedRegress. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html
BibTeX
@misc{reference.wolfram_2025_designedregress, author="Wolfram Research", title="{DesignedRegress}", year="2007", howpublished="\url{https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html}", note=[Accessed: 27-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_designedregress, organization={Wolfram Research}, title={DesignedRegress}, year={2007}, url={https://reference.wolfram.com/language/LinearRegression/ref/DesignedRegress.html}, note=[Accessed: 27-March-2025
]}