# Questions tagged [weighted-least-squares]

The tag has no usage guidance.

34 questions
0answers
12 views

### Baseball: How are data sets with differing number of occurrences compared?

I have two data sets, each showing batting statistics for batters hitting against a specific pitcher. These tables show lifetime batting statistics of batters hitting against pitchers, therefore the ...
0answers
23 views

0answers
51 views

### Weighted Least Squares - Categorical Data vs. Numerical Data

Over on Stackoverflow, I am trying calculate the Weighted Least Squares (WLS) of a data set in a python library called Numpy as compared to using a library called Statsmodels. However, I noticed ...
0answers
34 views

### Minimizing a multivariable function with different vector length?

Assume that I want to minimize a function to a measured vector. $$V_{min} = \sum_{n = 0, k = 0}^{N, K}{|T_n - f(t_n, p_n, r_k)|}$$ Where $T_n, t_n, p_n$ has the same vector length $N$, but not $r_k$ ...
2answers
167 views

1answer
228 views

### Understanding Galerkin method of weighted residuals

I have a puzzlement regarding the Galerkin method of weighted residuals. The following is taken from the book A Finite Element Primer for Beginners, from chapter 1.1. If I have a one dimensional ...
1answer
261 views

### Weighted Least Squares Without Intercept

I am studying the WLS model for $y=\beta x+\epsilon$, where $\beta$ and $x$ are vectors and $\epsilon$ is the error term. This is a multiple regression model without an intercept. How would I find the ...
1answer
46 views

### polynomial least squares derivation: normal equations

Suppose we have the problem $$\min_{q \in \mathcal{P}_n} \|f - q\|_{L^2(w)}^2$$ where $\mathcal{P}_n$ is the space of polynomials of degree $n$, $w$ is some weight function (measure with continuous ...
1answer
115 views

### Weighted Least Squares for Parabola Coefficients Estimation

I am in trouble to find where I am making a mistake... I have to estimate the parameters a and b of the curve modeled by: $y = a x^2 + bx$ I have to do that from K measures of the curve, each ...
2answers
484 views

### Linear Fit when Data has Uncertainty

I am attempting to find the slope and y-intercept (along with their uncertainty) from a set of data. In this case, I am graphing Gamma Energy (MeV) vs. Peak Centroid (Channel). Here is my data: Gamma ...
1answer
26 views

### what is the meaning of weighting in mathematics?

What is the mathematical meaning of weighted by a Gaussian for numbers or vectors or Weighting by bilinear and weighted vectors? Regards and thanks in advance!
0answers
27 views

### Assign automatic weightage for set of negative numbers

I have set of negative numbers e.g. [-0.189, -3.55, -19.90, -0.0001] now I have to convert this set to percentage such that largest number will have highest ...
1answer
216 views

2answers
258 views

### Weighted least squares with nuclear norm minimization

Nuclear norm minimization is very popularization and formulation is least squares term with nuclear norm term as following, \min\limits_{X} \frac{1}{2}\|X_{3\times3}-Y_{3\times3}\|_F^2+\lambda\|X_{...