GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bm777/bootstrap-method-for-error-estimation: Bootstrap method to estimate error like standard error or confident interval

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
README.md
README.md
 
 
estimator.py
estimator.py
 
 

Repository files navigation

bootstrap-method-for-error-estimation

Tools used:

Python 3 on Ubuntu 18.04 and Core i7-9750 (CPU @2.60GHz x 12).

Type of data

The main dataset is made up by IQ. list of 40 sample and each between 30 and 170.

Result of computing

alt alt

How to use the Class

Tasks you have TO DO.

  • Step [1] : DATASET GENERATION
estim = Estimator(default=40) # 40 is the default lenght of the set
counter = 0         # important for the next step
maximum = 10000     # you have to set your max number for iteration
  • Step [5] : REPEAT STEP 2 though 4 10000 times (start of loop)
while counter < maximum
    # step [2,3] := RANDOM PICK UP FOR ALL SAMPLES(default=40)
    estim.pick()
    # step [4] := CAULCULATE our SAMPLE STATISTIC(mean and median)
    estim.mean_median[0].append(estim.calculate_mean(estim.pick()))
    estim.mean_median[1].append(estim.calculate_median(estim.pick()))
  • Step [6] := CAULCULATE STANDARD DEVIATION of distribution of the 10,000 means and medians
estim.calculate_SD(estim.mean_median[0]) # SD of mean
estim.calculate_SD(estim.mean_median[1]) # SD of median
  • Step [7] := CAULCULATE 2.5th and 97.5th centiles of the 10,000 means and medians
mean_of_mean = estim.calculate_mean(estim.mean_median[0])
mean_of_median = estim.calculate_mean(estim.mean_median[1])
sd_of_mean = estim.calculate_SD(estim.mean_median[0])
sd_of_median = estim.calculate_SD(estim.mean_median[1])

estim.small_centile([mean_of_mean, sd_of_mean])       # 2.5th centile of 10000 means
estim.big_centile([mean_of_mean, sd_of_mean])         # 97.5th centile of 10000 means
estim.small_centile([mean_of_median , sd_of_median])  # 2.5th centile of 10000 medians
estim.big_centile([mean_of_median , sd_of_median])    # 97.5th centile of 10000 medians

Credit to this.

This LINK help me to understand the fundamental notion of bootstrap method.

About

Bootstrap method to estimate error like standard error or confident interval

Topics

error-estimationerror-estimatorsstandard

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.