Hello!
I am wondering if it is necessary to create a function for the theoretical power for the t-test.
This is used in 1b and 1c but is not much code.
Based on your reccomendation in class (i.e. consider making a function when there are three or more lines of repeated code), I would think that it is not necessary in this case but I wanted to confirm.
Thank you!
Louise