Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Least squares
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Example== Consider a simple example drawn from physics. A spring should obey [[Hooke's law]] which states that the extension of a spring {{mvar|y}} is proportional to the force, ''F'', applied to it. <math display="block">y = f(F,k) = k F</math> constitutes the model, where ''F'' is the independent variable. In order to estimate the [[force constant]], ''k'', we conduct a series of ''n'' measurements with different forces to produce a set of data, <math>(F_i, y_i),\ i=1,\dots,n\!</math>, where ''y<sub>i</sub>'' is a measured spring extension.<ref>{{Cite book | title = Mechanics of Materials | last1 = Gere | first1 = James M. | date = 2013 | publisher = Cengage Learning | last2 = Goodno | first2 = Barry J. | isbn = 978-1-111-57773-5 |edition = 8th | location = Stamford, Conn. | oclc = 741541348}}</ref> Each experimental observation will contain some error, <math>\varepsilon</math>, and so we may specify an empirical model for our observations, <math display="block"> y_i = kF_i + \varepsilon_i. </math> There are many methods we might use to estimate the unknown parameter ''k''. Since the ''n'' equations in the ''m'' variables in our data comprise an [[overdetermined system]] with one unknown and ''n'' equations, we estimate ''k'' using least squares. The sum of squares to be minimized is<ref name=":1" /> <math display="block"> S = \sum_{i=1}^n \left(y_i - k F_i\right)^2. </math> The least squares estimate of the force constant, ''k'', is given by <math display="block">\hat k = \frac{\sum_i F_i y_i}{\sum_i F_i^2}.</math> We assume that applying force '''''causes''''' the spring to expand. After having derived the force constant by least squares fitting, we predict the extension from Hooke's law.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Least squares
(section)
Add topic