이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
May I ask how I can get the 95% confidence intervals for the true mean data?
조회 수: 1 (최근 30일)
이전 댓글 표시
Chris
2022년 10월 22일
"A" is data with 700*1 matrix.
I want to have the 95% confidence intervals for the true mean of A.
What codes do I have to use?
Thanks
댓글 수: 13
John D'Errico
2022년 10월 22일
편집: John D'Errico
2022년 10월 22일
How is this a question about MATLAB? Anyway, read here:
William Rose
2022년 10월 23일
The wording of your question, "...get the 95% confidence intervals for the true mean...", is thought-provoking. A strict interpretation of the p% confidence interval (X1,X2) is :
IF the true mean μ and true variance are what we estimate them to be ( and ), and if the variable has the distribution we think it has (and those are significant ifs), THEN, if we redo the sampling experiment many times, the sample mean, , will be between X1 and X2, p% of the time.
The corrollary, which is simpler to state and understand, is
There is a p% chance that the true mean lies within (X1,X2).
Some quibble a bit with the statement above, because the C.I. (X1,X2), which we estimated from a set of observations, either does (100%) or does not (0%) include the true mean - we just don't know if it does or doesn't. In this view, it is more correct to say
Confidence intervals constructed this way include the true mean p% of the time.
dpb
2022년 10월 23일
"Confidence intervals constructed this way include the true mean p% of the time."
Again note the implied but left out for brevity is that the above is specifically true IFF the assumption of normality is also true.
BUT, the sample mean is also a statistic and by central limit theorem, a random sample of the means of estimates of the mean of any distribution will approach normality so the above is still liable to be ok even for at least moderately skewed distributions. But, if sample sizes are small (<=30 is a commonly used size), one should use the sample-size correction of substituting the t-distribution limits for normal z-points.
A page I just happened across does a pretty nice job here...<confidence_interval_of_a_mean_normal_approximation_method-principles-properties-assumptions>
the cyclist
2022년 10월 23일
편집: the cyclist
2022년 10월 23일
All of the above also assumes that the vector of 700 is a sample of a population, and we are trying to estimate the population mean.
:-)
I'll see myself out.
William Rose
2022년 10월 23일
@dpb,
"I thought of going there, too, but for once was less wordy... :)"
Ha ha! I know you and @John D'Errico know all that CI stuff better than me - I just couldn't resist, I guess.
@Chris, you're welcome.
dpb
2022년 10월 23일
It's probably time for @Chris to find the uni stastical consulting guru or his advisor and get more informed advice on his real problem. The basic rules are possible to be given, but to really know about applying to a specific problem one needs to know what the problem actually is.
John D'Errico
2022년 10월 23일
At the very least, ask questions about statistics on a statistics forum.
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
아시아 태평양
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)