Metoda nejmenších čtverců

>

In1801,ItalianastronomerGiuseppePiazzidiscoveredthefirstasteroidCeres.After40daysoftracking,PiazzilostthepositionofCeresbecauseCeresmovedtothebackofthesun.ThenscientistsallovertheworldusedPiazzi'sobservationaldatatostartsearchingforCeres,butsearchingforCeresbasedontheresultsofmostpeople'scalculationshasnoresults.TheorbitofCerescalculatedbyGauss,whowasonly24yearsold,wasconfirmedbytheobservationsoftheAustrianastronomerHeinrichAlbers,allowingtheastronomicalcommunitytopredicttheprecisepositionofCeres.ThesamemethodalsoproducedmanyastronomicalresultssuchasHalley'sComet.ThemethodusedbyGaussistheleastsquaresmethod,whichwaspublishedinhisbook"OntheMovementofCelestialBodies"in1809.Infact,theFrenchscientistLegendreindependentlyinventedthe"leastsquaresmethod"in1806,butitwasunknownbecauseitwasunknowntotheworld.

In1829,Gaussprovidedproofthattheoptimizationeffectoftheleastsquaresmethodisstrongerthanothermethods.

Definice

Theleastsquaremethod(alsoknownastheleastsquaremethod)isamathematicaloptimizationtechnique.Itfindsthebestfunctionmatchofthedatabyminimizingthesumofsquaresoftheerror.Theleastsquaresmethodcanbeusedtoeasilyobtainunknowndataandminimizethesumofsquarederrorsbetweentheobtaineddataandtheactualdata.

Theleastsquaremethodcanalsobeusedforcurvefitting,andsomeotheroptimizationproblemscanalsobeexpressedbytheleastsquaremethodbyminimizingenergyormaximizingentropy.

Základní myšlenka

Theleastsquaremethodisthemostcommonlyusedmethodtosolvecurvefittingproblems.Thebasicideais:Let

Amongthem,isasetoflinearlyindependentfunctionsselectedinadvance,

istheundeterminedcoefficient,andthefittingcriterionistominimizethesumofsquaresofthedistancebetweenand,Calledtheleastsquarescriterion.

Základní princip

Předpokládejme, že (x, y) je pár pozorování a splňuje následující teoretické funkce:

Least squares method

kde je parametr určen.

Inordertofindtheoptimalestimatedvalueoftheparameterofthefunction,foragivengroup(usuallysection>)Observationdata,solvetheobjectivefunction

Taketheminimumparameter.Thistypeofproblemtobesolvediscalledaleastsquaresproblem,andthegeometriclanguageofthemethodtosolvethisproblemiscalledleastsquaresfitting.

Forunconstrainedoptimizationproblems,thegeneralformoftheleastsquaresmethodis:

where

Calledtheresidualfunction.Whenisalinearfunctionof,itiscalledalinearleastsquaresproblem,otherwiseitiscalledanonlinearleastsquaresproblem.

Problém s optimalizací nejmenších čtverců

Inunconstrainedoptimizationproblems,therearesomeimportantspecialcases,suchastheobjectivefunctionconsistingofthesumofthesquaresofseveralfunctions.ThistypeoffunctioncangenerallybeWrittenas:

Mezi nimi obvykle vyžaduje m≥n. Minimalizujeme problém tohoto typu funkce:

Itiscalledtheleastsquaresoptimizationproblem.Leastsquaresoptimizationisaspecialkindofoptimizationproblem.

Charakteristiky odhadu nejmenších čtverců

Accordingtothesampledata,theleastsquaresestimatorcanbeusedtoobtaintheestimatorofthesimplelinearregressionmodelparameters.Buthowclosetheestimatorparameteristotheoveralltrueparameter?Whetherthereareotherbetterestimationformulas?Thisinvolvestheleastsquaresestimationformulaortheminimumvariance(orbest)(Best)oftheestimator,linearity(Linear)Andunbiased(Unbiased),referredtoasBLUcharacteristics.Thisisthemainreasonforthewidespreaduseofordinaryleastsquarestoestimateeconometricmodels.Thefollowingprovesthattheordinaryleastsquaresestimatorhastheabovethreecharacteristics.

1.Linearchakteristika

Theso-calledlinearcharacteristicmeansthattheestimatoristhelinearfunctionofthesampleobservationvalue,thatis,thelinearcombinationoftheestimatorandtheobservationvalue.

2. Nezaujatost

Unbiasednessmeansthattheexpectedvalues​​ofparameterestimatorsareequaltotheoveralltrueparameters.

3.Vlastnost minimální odchylky

Theso-calledminimumvariancepropertyreferstotheminimumvarianceoftheestimatorcomparedwiththeestimatorobtainedbyothermethods,thatis,thebest.Theminimumvarianceisalsocalledeffectiveness.ThispropertyisthefamousGauss-Markov(Gauss-Markov)theorem.Thistheoremstatesthattheordinaryleastsquaresestimatoristhebestcomparedwithanylinearunbiasedestimatorobtainedbyothermethods.

Související články
HORNÍ