Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiginbotham committed Apr 3, 2016
1 parent 5a75234 commit b8b8ba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Power-Series/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ source ('macluarin.R')

The file will read selected *.dat file (an ascii file with data in an x y dy format) and using stepwise linear regressionwill pick the order of the Maclaurin sereis to fit the data using the [Akaiki Information Criterion](https://en.wikipedia.org/wiki/Akaike_information_criterion).

To avoid issues with the different types of sum of squares regression (commonly called Type I, II and III sum of squares), we recommend sorting the data (e.g. see [ge-lowQ2.dat](data/ge-lowQ2.dat)). NOTE: A magnet's hysterisis curve would be an example of data where order of the points is critially important.
To avoid issues with the different types of sum of squares regression (commonly called Type I, II and III sum of squares), we recommend sorting the data. NOTE: A magnet's hysterisis curve would be an example of data where order of the points is critially important.

### Example Results

As an example of the power of the technique, we use the data from Bevington and Robinson page 120 [Bevington.dat](data/Bevington.dat) to show how the code correctly determines the correct order polynominal to use to discribe the data.

The [ge-lowQ2.dat](data/ge-lowQ2.dat) and [ge-mainz14.dat](data/ge-mainz14.dat) files are the files used in the determination of the proton radius.


0 comments on commit b8b8ba8

Please sign in to comment.