For a fixed dataset there is a trade-off between accuracy and confidence
Remember that when you have a fixed dataset, this give you a limited amount of information, and so you would expect that there is "no free lunch". That is, for a fixed dataset you must get a trade-off between accuracy and confidence --- if you want more accuracy then you have to settle for less confidence, and if you want more confidence you have to settle for less accuracy.
This information constraint is the reason you observe the stated relationship between the width of the confidence interval (accuracy) and the confidence level (confidence). If you increase the confidence level then you will get a wider confidence interval, making it less accurate. Conversely, if you decrease the confidence level then you will get a narrower confidence interval, making it more accurate. This is a general property of sensible confidence interval procedures that maximise use of the available information in the dataset.
It is possible to examine this relationship mathematically for a given confidence interval procedure. Usually we have a procedure that leads to a $1-\alpha$ level confidence interval of the form:
$$\text{CI}(n,\alpha) \equiv [L(n,\alpha), U(n,\alpha)],$$
where $n$ is any a positive real sample size.$^\dagger$ Letting $W(n,\alpha) \equiv U(n,\alpha) - L(n,\alpha)$ denote the width of the confidence interval, this function will typically have the monotonicity properties:
$$\frac{\partial W}{\partial \alpha}(n,\alpha) < 0
\quad \quad \quad
\frac{\partial W}{\partial n}(n,\alpha) < 0.$$
The first monotonicity property means that when you decrease the confidence level (by increasing $\alpha$) you get a more accurate (narrower) confidence interval and vice versa. The second monotonicity property means that when you get more sample data, you get a more accurate (narrower) confidence interval at each confidence level.
If you look at the relevant confidence interval formulae for a particular procedure, you will typically be able to confirm these monotonicity properties. (In the rare case that one of these monotonicity properties does not hold, it would raise questions about the rationality of the confidence interval procedure.) If you would like to see an example of analysis of monotonicity properties of a confidence interval procedure, see e.g., O'Neill (2021).
$^\dagger$ Of course, in practice the sample size is a positive integer but it is usually the case that the confidence interval formula can be extended to any positive real sample size in a natural way and then it can be examined using standard calculus methods.
a narrow confidence interval implies that there is a smaller chance of obtaining an observation within that intervalis correct . Would you please explain me where am I doing the mistake ? – user 31466 Jul 23 '15 at 04:16