4.5

4.5 | 4 ratings Rate this file 81 Downloads (last 30 days) File Size: 9.38 KB File ID: #11749
image thumbnail

cauchy

by Peder Axensten

 

20 Jul 2006 (Updated 07 Aug 2006)

Cauchy cdf, pdf, inverse cdf, parameter fit, and random generator.

| Watch this File

File Information
Description

Cauchy cdf, pdf, inverse cdf, parameter fit, and random generator.

Implementation package of the Cauchy distribution.

cauchycdf: Cauchy cumulative distribution function (cdf).
cauchyfit: Parameter estimation for Cauchy data.
cauchyinv: Inverse of the Cauchy cumulative distribution function (cdf).
cauchypdf: Cauchy probability density function (pdf).
cauchyrnd: Generate random numbers from the Cauchy distribution.

If you find any errors, please let me know (peder at axensten dot se).

NOTE: I'd like to know about the math for calculating the parameters confidence interval in cauchyfit. Any help appreciated.

Should work on almost any version of Matlab.

Copyright (C) Peder Axensten <peder at axensten dot se>

HISTORY
Version 1.0, 2006-07-10.
Version 1.1, 2006-07-26.
- Added cauchyfit to the cauchy package.
Version 1.2, 2006-08-06:
- cauchyinv(0, ...) returned a large negative number but should be -Inf.
- Can now estimate one parameter when the other is given.
- Size comparison in argument check didn't work.
- Various other improvements to check list.
- The arrangement of arguments now follows the ways of Statistics Toolbox.
- Put the actual mle in a separate file.

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements Probably works on almost any version of Matlab.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
26 Mar 2007 Il Park

Just what I needed. MLE parameter estimater.

15 Apr 2007 zhenguo tu

pretty useful toolbox, albeit short.....

18 Oct 2008 Jae Hyung Kim  
13 Jul 2010 Ahmed Fasih  
Please login to add a comment or rating.
Updates
28 Jul 2006

- Added cauchyfit to the cauchy package.

07 Aug 2006

- cauchyinv(0, ...) returned a large negative number but should be -Inf.
- Can now estimate one parameter when the other is given.
- The arrangement of arguments now follows the ways of Statistics Toolbox.

Tag Activity for this File
Tag Applied By Date/Time
statistics Peder Axensten 22 Oct 2008 08:33:15
probability Peder Axensten 22 Oct 2008 08:33:15
cauchy distribution Peder Axensten 22 Oct 2008 08:33:15
random numbers Peder Axensten 22 Oct 2008 08:33:15
parameter estimation Peder Axensten 22 Oct 2008 08:33:15
random numbers David 26 Aug 2009 22:34:33
cauchy distribution Val' Valo 10 Oct 2010 08:34:46
cauchy distribution nuclph nuclph 21 Oct 2010 16:08:06

Contact us at files@mathworks.com