The following poems were create by Math 141 students.


The following poem was inspired by Shakespeare Sonnet 18:

Shall I compare thee to a diff’rent mean?
The control group’s points art lower than thine
From the preliminary graph I’ve seen.
Do the means differ or in fact align?

First I will find the right parameter.
Data on the sample I will collect.
Which method to use I can’t yet be sure,
Til the assumptions are thoroughly checked.

The appropriate test statistic found,
Thy humble knave compute the value p
And conclude whether the diff’rence profound.
Look at the alpha and then thou will see.

Then the confidence interval will tell
The upper bound and the lower as well.
– Cristina Gonzales


The confidence intervals were born from the bootstrap
and if you pay attention you can deduce that
they’re a range of values that are plausible
and that they’re also kind of adorable.
The lower endpoint waves and says “Hello”
the upper endpoint smiles and says “Hey, bro!”
If you make the confidence level small
these two companions can have a ball.
And if you increase the confidence level today
the intervals will spread farther away.
But despite them sometimes feeling alone
they have friends who they’ve never out-grown.

Their loyal neighbor the null distribution
can also alleviate some mathematical confusion.
She likes to shuffle things around a bit
usually 1000 times she’ll admit.
When negative values are possible she’s centered round zero
when it comes to H o she’s a hero.
By assuming that the null is true
she represents a certain view
that these are the values we would expect
if it was just random chance and there was no effect.

But there is someone who can make explicit
the importance of the null when they come to visit.
We meet the traveller the test statistic
who helps determine if results are significant.
If the test stat lies upon
the values on the null, c’mon
we will then start to have more confidence
that there is evidence for our hypothesis.

So even if they are far from each other,
the intervals are happy they have friends to share together.
– Ruby McShane


Twinkle Twinkle Little R

Twinkle, twinkle, little star,
I wonder how to do hypothesis tests with R
First, we must specify
Any variables we want to identify
Don’t forget to hypothesize for the null
Before everything gets too dull
Then we generate bootstraps samples
Of about 1000 for example
Next we calculate
The test statistic we state
Finally visualize
How the p-value applies
– anonymous


Statistics in Four Phases

I.
Time to go to stats
I can’t wait to make some graphs
Oh my, that was fun

II.
Back to stats again
Today we wrangle data
This is much harder

III.
Time to code in R
A syntax error again
Now I want to cry

IV.
I don’t get this
I’ll go to office hours
Thank you everyone!
– anonymous


Statistical Variations on a Statistical Haiku

####The Haiku The central limit
theorem requires a large
and random sample

####A permutation of The Haiku theorem requires a large
The central limit
and random sample

####A single bootstrap of The Haiku theorem requires a large
theorem requires a large
and random sample
– anonymous


The humble p-value might seem awfully mundane,
But the truth? It heinously serves to constrain.
It’s a significance measure
That gives laypeople pleasure
But gives field professionals migraines.
– Nathan Senters


a collection of haikus about my favorite things

loading libraries
access to past genius bits
they begins it all

shape it to your need
play me though i can not sing
violin music

a new palette picked
all the sudden i’m not just
salmon and turquoise

what really matters
shhh whispers select fear not
i grab the columns

zero connection
nothing is anywhere now
null hypothesis

add the last comma
before much code has past by
knit what you have spun
– Emma Thoron


####Ballad of the Hypothesis Test

From data you seek to deduce
By the testing of some hypothesis
Ensure checking what you assume
If that result’s to have prominence

Say you generate the null
In persuit of the truth
Simulations are discrete
But theoreticals are smooth

Locate the test statistic
Its quantile tells you
The extremity of your value
How likely H naught is true

Set alpha to proceed
Counting errors of type one
Which if your p-value exceeds
Then exclaim I reject the null!
– Ali Taqi


Linear Regression Limerick!

She began to learn linear regression
To cope with her crippling depression
With a line of best fit
That just wouldn’t quit
She mapped her numerical obsession

An x equal to 1 or 0
(the dummy is really a hero)
Confusing at first
She thought “this is the worst!”
With a frown like Robert De Niro

But then she began to get it
Her hard work, she didn’t regret it
y quantitative
A graph innovative
Her linear model, she fit it
– Emma Dillon


Reeses for Creative Process

My keyboard types
Package of ggplots
Geom boxplot
Please visualize

Looking at initial graphing
Data needs wrangling
Select that are compelling
Old variable relabelling

Error hits
Up on mutate
You nitwit
Extra bracket

Questioning Existence
Interval of confidence
Looking for substance
Need some patience

Technicalities matter
Corrected the error
Already feels better
Good work loser

Observed stats generates
Difference in mean dataset
These Numbers permutes
Null distribution graph set

The null distribution is symmetric
Zero P-Val synthesizes
Get ready for Ha symbol latexes
Reject null hypothesis

2 hour passes
No code messes
File knits flawless
Time for some Reeses
– Sung Bum(Simon) Ahn


Error

Though I may not find something new,
Should I make an err of Type II.
Oft in Type I a worse fate lies.
For if further research another supplies,
I would rather my flaw no one knew.
– anonymous


Gotta Kill This Final Man

Took my time took too much
Worked on music sleep and growth
Changing my major, my motivation’s toast
I’ll let other people say “Math is Fun,” got a hunch

Well I still gotta complete this class
No I’m not gone fishing bass, aye
Raised catholic now I’m at Reed no mass
My grade’s a D but I ain’t no donkey

Gotta kill this final man
Start prep 2 weeks early, I got a plan
Gonna kill this test then start making bands
No bands just ubering while I’m generating fans

Gotta kill this final man
I’m headed elsewhere
Back home got more space to think at least
I just wish I understood it better I swear
– Marc Rettino


A New Language

Since I can no longer communicate with humans due to the pandemic,
Today I am learning a new language to speak to the academics.

Code is now a la mode,

Where the probability of success is skewed in favor of error,
and the odds of successful coding are never in your favor.

Remember, if your variable is undefined,
you will be in a bind.

And if your adjusted R 2 is stunted, you should be disgusted,
since that linear regression just sent me into an exponential depression.

Luckily, I am 95% confident that I am never certain in statistics,
as this math is mystical and artistic.
– anonymous


Inference

According to Twain
the third kind of lie
is imagining
a drop of water
may teach us of the ocean

but if this linkage is a construct, are we not confined
in myopic visions, floating endlessly without prediction?

Parameters remain elusive,
masked by a hat in our models—
two strokes of the pen that say, “I am
aware of my fallibility. I have accepted
my human lot.”

Statistics reveal the chaotic underbelly, reveal
the tessellating uncertainties, reveal
our deepest truths hiding behind confidence levels

they may excite, and comfort or depress
but these are projections of a different kind
the ocean unknowable, we continue to guess
always with vested interest
while statistics complete their task: describe.
And when our numbers and hearts dis-align,
we wish,
and then, perhaps,
we lie.
– Asher Smith


Saying Good-bye to Code

Very quietly I type each word
As quietly as I check;
Quietly I pray to lord
For no warning message as I run the chunk.

The attendees yawned or not yawned
Is the explanatory variable in analyses;
Their effects on how participants respond
Build up the null and the alternative hypotheses.

The z-scores emerging in mind
Determines what the subsequent test be;
In the table with all tests outlined,
I check the assumptions for z.

Before I see the results of these lines,
My eyes are filled with tears;
I have yawned a million times
Since the word “yawn” appears!

Results?
The probability model approximates and speaks
That no evidence supports contagiousness;
The experiment need some tweaks;
Participants have been recruited without randomness.

The p-value is out of range,
Confidence interval is also ambiguous.
But my belief will never change
That yawning is absolutely contagious!

Very quietly I type each word
As quietly as I yawn;
Gently I close my computer,
Not even a line of code did I remember to save.
– anonymous

Original Poem (English Translation):

Saying Good-bye to Cambridge Again

Very quietly I take my leave
As quietly as I came here;
Quietly I wave good-bye
To the rosy clouds in the western sky.

The golden willows by the riverside
Are young brides in the setting sun;
Their reflections on the shimmering waves
Always linger in the depth of my heart.

The floating heart growing the sludge
Sways leisurely under the water;
In the gentle waves of Cambridge
I would be a water plant!

That pool under the shade of elm trees
Holds not water but the rainbow from the sky;
Shattered to pieces among the duck weeds
Is the sediment of a rainbow-like dream?

To seek a dream?
Just to pole a boat upstream
To where the green grass is more verdant
Or to have the boat fully loaded with starlight
And sing aloud in the splendor of starlight.

But I can’t sing aloud
Quietness is my farewell music;
Even summer insects heap silence for me
Silent is Cambridge tonight!

Very quietly I left
As quietly as I came here;
Gently I flick my sleeves
Not even a wisp of cloud will I bring away
– Xu Zhimo