> For the complete documentation index, see [llms.txt](https://mey.istad.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mey.istad.co/statistical-techniques-in-business-and-economics/chapter-9-estimation-and-confidence-intervals/9.1-introduction.md).

# 9.1 Introduction

**Exercise:**

1. A survey of 35 randomly selected “iPhone” owners showed that the purchase price has a mean of $520 with a sample standard deviation of $110.

   a. Compute the standard error of sample mean.

   b. Compute 95 percent confidence interval for mean.

   c. How large of sample size is need to estimate population mean within margin of error $20?

<mark style="color:purple;">**Solution:**</mark>

Let see the formula

<figure><img src="https://1664307983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4ft0AbtTKwMPEcUcdTy%2Fuploads%2FmhMzdWShecQ6jHTSUbuT%2Fimage.png?alt=media&amp;token=67886858-22f4-417c-b224-715137d27785" alt="" width="217"><figcaption><p>Formula of standard error of sample mean</p></figcaption></figure>

Based on what we have in the topics:

* s = 110
* n = 35

<mark style="color:purple;">**💡**</mark> a. So, SE = 110/√35 = 18.61

<mark style="color:purple;">**💡**</mark> b. Compute 95 percent confidence interval for mean

&#x20;      ![](https://1664307983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4ft0AbtTKwMPEcUcdTy%2Fuploads%2F5BDFn181yCG9cea9QSCG%2Fimage.png?alt=media\&token=3d0ee3e5-1be4-44d7-9799-4b764df0ce1d)

**Note:** This is formula has been used when we know the standard deviation of population, but now we only know sample standard deviation: 110$, then the formula we used:

<figure><img src="https://1664307983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4ft0AbtTKwMPEcUcdTy%2Fuploads%2FzyTfyFZE3VhWjJKgjv27%2Fimage.png?alt=media&amp;token=c5ad52ed-2d12-4b07-92f6-7b282e3fec69" alt=""><figcaption></figcaption></figure>

**What about t value?**

let take a look of student's t distribution, when degree of freedom is 34, ( n -1 )

t = 2.032 ==>  CI = 520 +-2.032 \* 18.6

<mark style="color:purple;">**💡**</mark>c. Compute sample size when margin of error is $20

<figure><img src="https://1664307983-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4ft0AbtTKwMPEcUcdTy%2Fuploads%2FSNnFROkF0th9ZfixZzyi%2Fimage.png?alt=media&amp;token=51ee9711-2ce8-4058-a14b-4115472942de" alt=""><figcaption></figcaption></figure>
