Giter VIP home page Giter VIP logo

abcs_of_m-estimation's Introduction

ABC's of M-estimation

Materials for the SER 2023 "ABC's of M-estimation" workshop with support for SAS, R, and Python.

Materials and workshop created by: Paul Zivich, Rachael Ross, Stephen Cole

DOI


Before the workshop

Copy the files from this repository to your computer that will be used during the session. This can be done directly using your GitHub account. Alternatively, you can click the <> Code button on the top of this repository, navigate to the Local tab, and click Download ZIP to manually download.

In the code/ folder, find the file corresponding to your preferred software program and open it in your preferred editor. Then follow the directions below to ensure your computer is properly set up for the workshop:

SAS

  • Open mean.sas and run the entire script.

Output should:

  • Generate output in the Results Viewer that consists of a data set with the columns B, SANDWICH, SE, lcl, and ucl. The values should be 8, 13.6, 3.68782, 0.77188, and 15.2281, respectively.
  • No errors should be produced in the log file.

R

  • Install the following libraries:
    • tidyverse, numDeriv, rootSolve, geex
  • Open mean.R and run the entire script

Output should:

Estimated mean
Closed-form: 8.000
Root-finder: 8.000
95% CI: [ 0.772 15.228]
Geex:    [8.000]
95% CI:  [ 0.772 15.228]
  • No errors should be produced.

Python

  • Install the following libraries:
    • NumPy, SciPy, pandas, statsmodels, delicatessen
    • The version of SciPy must be at least 1.9.0 for the provided code to function properly
  • Open mean.py (or mean.ipynb) and run the entire script

Output should be:

Closed-form: 8.0
Root-finder: 8.0
95% CI: [ 0.772 15.228]
Deli:    [8.]
95% CI:  [[ 0.772 15.228]]
  • No errors should be produced.

If you have problems or encounter errors, please open an issue on the GitHub page or email me at [email protected]

Schedule

1:00 - 1:15 Introductions and start-up

1:15 - 2:15 Introduction to M-estimation

2:15 - 2:30 Break

2:30 - 3:45 Applications

3:45 - 4:00 Break

4:00 - 5:00 Concluding discussion

abcs_of_m-estimation's People

Contributors

pzivich avatar rachael-k-ross avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.