Giter VIP home page Giter VIP logo

confidence_interval_matlab's Introduction

Confidence Interval MATLAB

Project 3 - Confidence Interval
CISC 820 Quantitative Foundations:

Running the code

The codes can be found in the project_codes directory. Set this directory as the current working directory before running the code.

Running the tests for all 10 functions

>>> test_ci(1:10)

Running the test for any specific function or set of functions

% Test For function 2
>>> test_ci(2) 
% Test For function 3, 6 and 7
>>> test_ci([3 6 7]) 

Optional parameters

Optional parameters for testing like values of data-sizes Ns and confidence levels alphas can be passed as lists.

Example:

>>> test_ci(1:10, 'Ns', [10 100 1000], 'alphas', [0.25 0.1 0.05])

The default values used are:

Ns = [10 100 1000 10000]
alphas = [0.25 0.1 0.05 0.01]

Report and Slides

The report and slides can be found in the docs/ directory.

Input data distribution

The input data distributions used are:

  • Bernoulli distribution with theta = 0.5 (True mean = 0.5)
  • Uniform distribution with a = 0, b = 1 (True mean = 0.5)
  • Uniform distribution with a = 0, b = 0.05 (True mean = 0.025)
  • Beta distribution with a = 1, b = 3 (True mean = 0.25)

The distribution parameters can be changed in the file test_ci.m

confidence_interval_matlab's People

Contributors

ayushkumarshah avatar

Watchers

 avatar  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.