Markus J. Ankenbrand
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Data Dojo Würzburg 35 ## DataDojo@Lunch - live ## October 2025 - **When:** Wednesday, **September 17<sup>th</sup>**, 2025 at 11:00am until 12:30pm (90 minutes) - **Where:** [CCTB](https://www.google.de/maps/place/Center+for+Computational+and+Theoretical+Biology+(CCTB),+University+of+W%C3%BCrzburg/@49.7850742,9.9723819,19z/data=!3m1!4b1!4m5!3m4!1s0x47a28fc802e5e8d9:0x6b62d2cbd2e6f094!8m2!3d49.7851122!4d9.9730135) or online (ask for hybrid setup and link) - **Info:** [DataDojo Website](https://ddojo.github.io/), [Repo](https://github.com/ddojo/ddojo.github.io) ## Towards DataDojo 2.0 In the CCTB general assembly in April 2025, we decided to make some changes to the DataDojo to make it more valuable and fun. This is what we currently try: - everyone reads the announced two-page [Points of Significance](https://www.nature.com/collections/qghhqm/pointsofsignificance) paper before the event - we meet at 11 in the large seminar room (regular seminar time) and discuss the content of the paper for roughly 15 minutes - then we split into pairs - each pair works together on one machine to reproduce one of the figures for roughly 60 minutes - I will provide the required data - then we meet again and every pair shares their result and lessons learned. This takes another 15 minutes So, as before, it will be hands-on and 90 minutes, so feel free to bring your lunch. But it will be more focused and with smaller groups. ## Assign pairs Currently a dumb version (does not take experience level and language preferences into account). ```uiua "Vinzenz Sebastian Felix Jannis Magdalena Isabella" ⍉⬚""↯⊟2⌈÷2⊸⧻°⍆⊜□⊸≠@ ``` <iframe src="https://uiua.org/embed?src=0_14_0-rc_3__" style="width:100%; height: 300px" ></iframe> ## Dataset **PoS - Significance, P values and t-tests** Please read [Significance, P values and t-tests](https://www.nature.com/articles/nmeth.2698) before the dojo. ### Comprehension Questions - True or false: - the P value reported by tests is a biological significance - the P value is the probability that the null hypothesis (H0) is true - a small P value tells us that an improbable event has occurred in the context of the assumption that H0 was true and that x was drawn from H0 - statistical significance suggests but does not imply biological significance - regardless of whether the sample mean is representative of the null distribution, we assume that its spread is [representative of the null distribution] - the shape of the sampling distribution (of the test statistic $t=\frac{m-\mu}{s/\sqrt{n}}$) is close to, but not exactly, normal - the departure in distribution shape is due to the fact that for most samples, the sample variance, $s^2$, is an underestimate of the variance of the null distribution - `mean(replicate(10000, sd(rnorm(5)))) ≈ 1` ```uiua # BoxMuller from https://github.com/Omnikar/uiua-math BoxMuller ← ∩×⤙⊓°∠∘×τ:√ׯ2°ₑ¬ μ ← ÷⊃⧻(/+) σ ← √÷-1⊃⧻(/+)×.-⊸μ 𝒩 ← ◌ BoxMuller°⊟ gen :⚂⊟2 # Draw 10k normal samples of size n=5 ≡𝒩 ⍥5 10000 # Calculate the mean of the standard deviations μ≡σ ``` ### Tasks #### Task 1 - why not use z for t? - or the difference between s and σ **go.uniwue.de/ddojo-pad** Reproduce Supplementary Figure 4 ![image](https://hackmd.io/_uploads/By7GrU3qex.png) 1. Simulate **r**=10_000 samples of size **n**=5 from a standard normal distribution (**μ**=0, **σ**=1). For each sample: 2. Calculate the sample mean **m** 3. Calculate the test statistic **t** using the sample standard deviation **s**: $$ t = \frac{m}{s/\sqrt{n}} $$ 4. Calculate the test statistic **z** using the *population* standard deviation **σ** = 1 $$ z = \frac{m}{\sigma/\sqrt{n}} $$ 5. Plot the distribution of **t** and **z** values 6. (Optional) Plot lines for the standard normal distribution and the Student's t distribution (with df=**n**-1=4) 7. (Optional) What happens if you change **n**, **r**, **σ**, or **μ**? #### Task 2 - does it matter for the p-value? 1. As above, simulate **r**=10_000 samples of size **n**=5 from a standard normal distribution (**μ**=0, **σ**=1). For each sample: 2. Calculate the **t** test statistic as above 3. Calculate the p-value ($p_n$) as the probability to draw a more extreme value than |**t**| from a standard normal distribution 4. Calculate the p-value ($p_t$) as the probability to draw a more extreme value than |**t**| from a Student's t distribution (with df=**n**-1=4) 5. Compare the fraction of $p_n$ and $p_t$ values that are below a certain threshold (e.g. 0.05) 6. Repeat the above steps with different values for **n**(≥2) Questions: - What do you expect the proportion of $p_n \le 0.05$ to be? What is it? - What do you expect the proportion of $p_t \le 0.05$ to be? What is it? - How does the difference between $p_n$ and $p_t$ change with increasing **n**? (Feel free to plot it) ### Getting started Code to sample from a standard normal distribution and calculate sample means (**m**) and sample standard deviations (**s**): ```R # R samples <- replicate(10000, rnorm(5)) m <- apply(samples, 2, mean) s <- apply(samples, 2, sd) ``` ```python # python import numpy as np samples = np.random.normal(size=(5, 10000)) m = samples.mean(axis=0) s = samples.std(axis=0, ddof=1) ``` ```julia # julia using Random, Distributions samples = rand(Normal(), (5, 10000)); m = mean(eachcol(samples)); s = std(eachcol(samples)) ``` ### Further ideas - reproduce any of the other figures - make your figures interactive - add explanatory text ## Collaborative Tools and Workflow Use your own device or [CoCalc](https://cocalc.com). Free choice of programming language, libraries, and tools. ## Future Suggestions > Feel free to add suggestions to the list. ### Points of Significance Go through the papers of the [Points of Significance](https://www.nature.com/collections/qghhqm/pointsofsignificance) series. ### Points of View Go through the papers of the [Points of View](https://communities.springernature.com/posts/data-visualization-a-view-of-every-points-of-view-column) series. ### Medical Statistics The [Medical Statistics](https://www.biomedcentral.com/collections/cc-medical) series consists of 14 reviews in the journal BMC Critical Care ### Book club Go through chapters of one of these books - [Statistical Rethinking](https://xcelab.net/rm/) - [Regression and Other Stories](https://avehtari.github.io/ROS-Examples/) - [R for Data Science 2e](https://r4ds.hadley.nz/) ### Coding Dojo Katas With a stronger focus on coding rather than data analysis, there is [a nice collection of Katas](https://codingdojo.org/kata/) ## Cross Links - [previous pad](https://ddojo.github.io/pad_archive/34_datadojo) - [next pad](https://ddojo.github.io/pad_archive/36_datadojo)

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully