RegressionCommon`
RegressionCommon`

Weights

As of Version 7.0, Weights is part of the built-in Wolfram Language kernel.

Weights

is an option for Regress and NonlinearRegress which specifies weights for the input data.

Details and Options

  • To use Weights, you first need to load the Regression Common Functions Package. You can do this by using Needs["LinearRegression`"] or Needs["NonlinearRegression`"], which will automatically load the Regression Common Functions Package, or you can load the package directly by using Needs["RegressionCommon`"].
  • Possible settings for Weights are Automatic, a list of numbers with the same length as the data, or a pure function.
  • With the default setting Weights->Automatic, each data point is given a weight of 1.
Wolfram Research (2007), Weights, Wolfram Language function, https://reference.wolfram.com/language/RegressionCommon/ref/Weights.html.

Text

Wolfram Research (2007), Weights, Wolfram Language function, https://reference.wolfram.com/language/RegressionCommon/ref/Weights.html.

CMS

Wolfram Language. 2007. "Weights." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/RegressionCommon/ref/Weights.html.

APA

Wolfram Language. (2007). Weights. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/RegressionCommon/ref/Weights.html

BibTeX

@misc{reference.wolfram_2023_weights, author="Wolfram Research", title="{Weights}", year="2007", howpublished="\url{https://reference.wolfram.com/language/RegressionCommon/ref/Weights.html}", note=[Accessed: 18-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_weights, organization={Wolfram Research}, title={Weights}, year={2007}, url={https://reference.wolfram.com/language/RegressionCommon/ref/Weights.html}, note=[Accessed: 18-April-2024 ]}