ndcbe / data-and-computing

CBE 20258 and CBE 60258: (Advanced) Data and Computing
4 stars 28 forks source link

Chapter 11 Cleanup #44

Closed adowling2 closed 2 years ago

adowling2 commented 2 years ago

Fix headers (if not done already):

/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/11-publish/02-Standard-Normal-Distribution.ipynb:80002: WARNING: Non-consecutive header level increase; 2 to 4 [myst.header]
/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/11-publish/02-Standard-Normal-Distribution.ipynb:100002: WARNING: Non-consecutive header level increase; 2 to 4 [myst.header]
E-Ream commented 2 years ago

Chapter-11-Statistical-Inference

Things to Cleanup:

Notebooks to Cleanup:

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/01-Central-Limit-Theorem.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/02-Standard-Normal-Distribution.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/03-Confidence-Intervals.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/04-Students-t-Distribution.html

For an AR1 model, assume for process 1:

r = 0.2
sigma = 0.1
yield[i] = (1-r)*a*sin(t*b) + normal(0,sigma) + r*yield[i-1]

You can adjust a and b to get reasonable values for yield between 0 and 1

For AR1 model, assume for process 2:

r = 0.2
sigma = 0.1
yield[i] = (1-r)*0.5 + normal(0,sigma) + r*yield[i-1]
adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/05-First-Hypothesis-Testing.html#hypothesis-testing

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/06-Hypothesis-Testing-Review-and-Type-I-Type-II-Errors.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/07-Flavors-of-Hypothesis-Testing.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/08-Statistical-Power-Basics.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/09-Statistical-Power-in-Python.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/11-publish/10-Statistical-Power-Practice-Problems.html

E-Ream commented 2 years ago

Moved comments from adowling2 for Chap 12 to the Chap 12 Issue.

jkeane14 commented 2 years ago

@adowling2 Hi Prof Dowling, just wanted to confirm that I should be working on further edits for this chapter from the Chapter-11-Cleanup branch from this point on

adowling2 commented 2 years ago

Yes, just make sure you pull updates from the sender onto your local computer. Before starting, confirm the notebooks look good (e.g., contain your prior edits). Post here is you have any questions or encounter anything strange.

jkeane14 commented 2 years ago

Yes, just make sure you pull updates from the sender onto your local computer. Before starting, confirm the notebooks look good (e.g., contain your prior edits). Post here is you have any questions or encounter anything strange.

It seems that all of the chapter 11 notebooks no longer have my prior edits

adowling2 commented 2 years ago

@jkeane14 I'll investigate this more. I thought the script I ran merged them. Standby. I might not get to this until after 3 pm today.

adowling2 commented 2 years ago

Posting here mainly for my future reference:

adowling2 commented 2 years ago

@E-Ream Do not change any of the Chapter 11 notebooks (besides creating the bootstrap one). I am in the process of recovering edits from @jkeane14. I'll update here when I am done.

E-Ream commented 2 years ago

I'm tracking on that, just created the bootstrap notebook today but it shouldn't have edited any of the other notebooks.

adowling2 commented 2 years ago

Great! We also have two live branches for chapter 11 edits. Not a big issue, just something we need to be careful about.

adowling2 commented 2 years ago

@jkeane14 I recovered your notebooks and added them to this branch:

https://github.com/ndcbe/data-and-computing/tree/Chapter-11-Statistical-Inference/notebooks/11

You'll see the 11 folder is a little cluttered with notebooks. I am differencing them now. I'll report what I find.

jkeane14 commented 2 years ago

@adowling2 Great! Will I still be making edits to Chapter-11-Cleanup or will I now be working on the Chapter-11-Statistical-Inference branch?

adowling2 commented 2 years ago

Here are the results in the comparison across versions:

adowling2 commented 2 years ago

@jkeane14 Which of your changes did you not see propagated in the merge from Friday evening? After restoring the prior versions of your notebooks, I am not seeing any changes except for 04 (see prior post). I think this means the merge on Friday went okay.

Please use the Chapter-11-Statistical-Inference branch. That has the restored notebooks with -JK added to the file name. You'll need to pull from origin to see these files on your computer.

adowling2 commented 2 years ago

After you are done with the edits, let's remove the files with -JK in the name.

adowling2 commented 2 years ago

Just to be clear, @jkeane14 is using the Chapter-11-Statistical-Inference branch which is linked to PR #69. Meanwhile, @E-Ream is using the Chapter-11-Cleanup branch which is linked to PR #73. The latter adds one notebook only. These two branches should not have any conflicts.

adowling2 commented 2 years ago

I think we got this sorted out!

jkeane14 commented 2 years ago

Looks good on my end. I will finish up edits on Chapter-11-Statistical-Inference branch. Thanks for figuring this all out.