# HG changeset patch # User Steve Losh # Date 1694543027 14400 # Node ID 807ec4e46c32ee215f671bbf6b270689de778f65 # Parent 9300b4cc6abcdb8f2025b0d28c5717dae1c80c1c Update diff -r 9300b4cc6abc -r 807ec4e46c32 README.markdown --- a/README.markdown Tue Sep 12 13:21:20 2023 -0400 +++ b/README.markdown Tue Sep 12 14:23:47 2023 -0400 @@ -1282,3 +1282,48 @@ Met with PIBS peer mentor. HG545 second paper was posted, need to do an initial read of that tonight. + +## 2023-09-12 + +BS521 again. Mostly basic linear regression stuff, but got a few interesting +tidbits out of it, mostly about the coefficient of determination, also called +`R²` or `r²`. This is the square of the correlation coefficient `r`, and it is +said to mean "the fraction of the variability in the data that is explained by +the linear model". So an `r²` of `0.7` would mean "70% of the variation in the +data is explained by the model". + +*Intuitively* what this means would be to look at the total variability in the +data, i.e.: + + (- (reduce #'max y) (reduce #'min y)) + +Then convert the data to residuals by subtracting out the model: + + (mapcar #'- (mapcar #'model x) y) + +and look at home much variability remains: + + (- (reduce #'max residuals) (reduce #'min residuals)) + +Compare the two to see the fraction that remains after accounting for the model. + +Looked into some "R for actual programmers" resources so maybe I can feel like +I'm flailing less: + +* +* +* +* +* +* + +Lunch at a place called Maizie's. Was actually pretty good! + +Doing Yet Another Round of Paperwork for the VA. So much red tape. Did what +I could here, but there's a bunch I can't do until I get home after class today. + +See lab notebook. + +So far I'm loving the look of the stumpwm config changes I made the other day. +Shouldn't have waited this long to clean things up. TODO: use +`select-from-menu` to implement a better screen-switching shortcut in stump.