arinbasu1
    • 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
    • Invite by email
      Invitee

      This note has no invitees

    • 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
    • Note Insights New
    • 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 Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
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
  • Invite by email
    Invitee

    This note has no invitees

  • 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: Part IV chance bias confounding author: Arindam Basu tags: epidemiology, hlth301, hlth214, hlth403 --- # Internal validity: chance, bias, confounding --- ## What is internal validity - Chance - Bias - Confounding --- ## Chance - is the observed association explained due to chance alone? - Study finds those with high concentrations of arsenic in water have skin diseases - Is it possible that this finding could arise by chance? - Chance is POSSIBLE, so - Rule out play of chance --- ## Null hypothesis - To rule out the play of chance - Use Null Hypothesis - Null Hypothesis is effect of NO DIFFERENCE --- ## An example of Null Hypothesis - Suppose we know that exposure to inorganic arsenic in drinking water causes skin disease - **Risk of Skin disease equal between those with and without high Arsenic exposure** - Null Hypothesis can be TRUE of FALSE - Null Hypothesis should be rejected or failed to be rejected --- ## Alpha and beta errors | Study | H0 TRUE | H0 FALSE | | ----------------- | -------------------- | -------------------- | | Reject H0 | Type I error (alpha) | :heavy_check_mark: | | Fail to Reject H0 | :heavy_check_mark: | Type II error (beta) | --- ## Before planning the study - Set a value for the Type I error (alpha error) - Usually type 1 error set at 5% - Set a value for Type II erro (beta error) - Usually set at 20% --- ## After completion of study - What is the probability of the findings, if - Null Hypothesis (H0) were true? - If that probability is LOW, - Reject the null hypothesis - That probability is "p-value" --- ## Interpretation of p-value - If H0 were true: - out of 100 iterations of the study, - We would find the findings p times --- ## How do reject the null - if p is very low - the probability is low - we rule out the chance factor --- ## Alternative approach - Construct a 95% confidence interval - If the study were to be conducted 100 times - 95 out of 100 times, the findings - Would be between the lower and upper value --- ## You rule out the play of chance - Before the study you set the values for Type I and Type II error - Decide on the effect size you want to see as "significant" - Estimate sample size --- ## Hands-on practice with sample size calculator - Visit - [http://www.openepi.com/SampleSize/SSCohort.htm](http://www.openepi.com/SampleSize/SSCohort.htm) --- ## Example --- ## Bias - Systematic error - The compared groups are unequal in different ways - These impact their outcomes --- ## Selection Bias - You want to study effect of X on Y - You will select different values of X in a way that - That will favour your conclusions --- ## Example of selecion bias - Suppose you want to study association between indoor smoking and respiratory illnesses - You know that indoor smoking is common in poor households - You also know that many elderly people in poor households suffer from respiratory illnesses - For your case control study you select - Cases from poor neighbourhoods - This will stack the results in your favour --- ## Response Bias - When the information collected is - different for different groups that - distort the direction of association --- ## Example of Response Bias - You want to study association association between indoor smoking and respiratory illnesses - In your case control study, - Cases if they know the purpose of the study could provide - More accurate information about smoking than controls - This can DISTORT relationships between smoking and lung disease --- ## Steps to eliminate bias - Objective measurement of exposure and outcome - If using subjective tools such as interviews, - Train interviewers and use checks and balances - Blinding and concealment of information from all parties - Do everything at the design stage of the study --- ## Confounding - Associated with Exposure - Associated with Outcome - Does not come in the causal pathway connecting the two --- ## Illustration of confounding ![](https://i.imgur.com/PFjqk6R.jpg) --- ## Example of confounding - You want to study association between indoor smoking exposure and heart disease - Male spouse of smokers are both at increased risk of exposure - Males are also more likely to suffer from heart disease - Yet maleness DOES NOT come in the causal pathway - Hence "gender of the spouse" is a confounder --- ## Control for confounding - Randomisation (works for randomised controlled trial) - Matching for observational studies - Stratified analysis - Multivariate modelling and analysis --- ## Summary - Chance, bias and confounding are three important factors - Chance can be ruled out with adequate sample size estimation - Bias can be eliminated with design - Confounding can controlled with several strategies - Next up: Causal inference

    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