Generates estimates of the lower and upper bound along with their 95% confidence intervals for a given set of uniformly distributed data. |
||
Syntax |
Llim, Ulim, MeanCof, StdCof = UnifFit(Data) |
|
Argument |
Name |
Description |
Data |
A vector of data. |
|
Outputs |
Name |
Description |
Llim |
Estimation of the lower bound. |
|
Ulim |
Estimation of the upper bound. |
|
MeanCof |
95% confidence interval of the estimate of the lower bound. A two element column vector with the first and the second being the lower and upper bound of the confidence interval, respectively. |
|
StdCof |
95% confidence interval of the estimate of the upper bound. A two element column vector with the first and the second being the lower and upper bound of the confidence interval, respectively. |
|
Example |
For a given dataset (stored in vector data), find the lower bound, upper bound, and their confidence intervals assuming uniform distribution: |
|
Syntax |
||
a, b, acof, bcof = UnifFit(data) |
||
Result |
||
a and b contain estimates of the lower and upper bound, respectively. acof is a 2x1 vector with acof(1) being the lower and acof(2) being the upper interval of the 95% confidence interval of the lower bound of the distribution. bcof is a 2x1 vector with bcof(1) being the lower and bcof(2) being the upper interval of the 95% confidence interval of the upper bound of the distribution. |
||
See Also: |