Professional Documents
Culture Documents
Point Estimation and Interval Estimation: Learning Objectives
Point Estimation and Interval Estimation: Learning Objectives
Point Estimation and Interval Estimation: Learning Objectives
learning objectives: to understand the relationship between point estimation and interval estimation to calculate and interpret the confidence interval
Statistical estimation
Every member of the population has the same chance of being selected in the sample
Population
Parameters estimation
Random sample
Statistics
Statistical estimation
Estimate
Point estimate
sample mean sample proportion
Interval estimate
confidence interval for mean confidence interval for proportion
Interval estimation
Confidence interval (CI)
provide us with a range of values that we belive, with a given level of confidence, containes a true value CI for the poipulation means
5% C 5 I 5% C 5 I SM E
= .9 S M x 59 E
= .5 S M x 55 E S D = n
Interval estimation
Confidence interval (CI)
2%
14% -1.0
-1.96
34%
34%
14% 1.0
1.96
2% 2.0 3.0 z
2.58
-3.0 -2.0
-2.58
0.0
Interval estimation
Confidence interval (CI), interpretation and example
50
40 Frequency
30
20
10 0 22.5 27.5 32.5 37.5 42.5 47.5 52.5 57.5 25.0 30.0 35.0 40.0 45.0 50.0 55.0 60.0 Age in years
x= 41.0, SD= 8.7, SEM=0.46, 95% CI (40.0, 42), 99%CI (39.7, 42.1)
Testing of hypotheses
learning objectives: to understand the role of significance test to distinguish the null and alternative hypotheses to interpret p-value, type I and II errors
S R e a s o n
c i e a
t i f i c
k n
l e b
d s
n E d m i n p t i u r i i ct i ao l n o
Formulate hypotheses
Formulate hypotheses
CHANCE
Accept hypothesis Reject hypothesis
Testing of hypotheses
Significance test
Subjects: random sample of 352 nurses from HUS surgical hospitals Mean age of the nurses (based on sample): 41.0 Another random sample gave mean value: 42.0.
Question:
Is it possible that the true age of nurses from HUS surgical hospitals was 41 years and observed mean ages differed just because of sampling error?
Testing of hypotheses
Null hypothesis H0 Alternative hypothesis HA there is no difference question explored by the investigator
Testing of hypotheses
Example
The purpose of the study: to assess the effect of the lactation nurse on attitudes towards breast feeding among women
Research question:
Does the lactation nurse have an effect on attitudes towards breast feeding ? The lactation nurse has an effect on attitudes towards breast feeding. The lactation nurse has no effect on attitudes towards breast feeding.
HA : H0 :
Testing of hypotheses
Definition of p-value.
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 .5 5 5 .5 5 5 .5 5 5 .5 5 5.5 5 5.5 5 9 .9 9 5 .5 5
2.5%
95%
2.5%
AGE
If our observed age value lies outside the green lines, the probability of getting a value as extreme as this if the null hypothesis is true is < 5%
Testing of hypotheses
Definition of p-value.
p-value = probability of observing a value more extreme that actual value observed, if the null hypothesis is true The smaller the p-value, the more unlikely the null hypothesis seems an explanation for the data Interpretation for the example If results falls outside green lines, p<0.05, if it falls inside green lines, p>0.05
Testing of hypotheses
Type I and Type II Errors
No study is perfect, there is always the chance for error
H5 true / HA false H5false / HA true OK p=5 Type I error ( ) p= Type II error ( ) p= OK p=5 -
- level of significance
Testing of hypotheses
Type I and Type II Errors
=0.05
there is only 5 chance in 100 that the result termed "significant" could occur by chance alone
The probability of making a Type I () can be decreased by altering the level of significance. it will be more difficult to find a significant result the power of the test will be decreased the risk of a Type II error will be increased
Testing of hypotheses
Type I and Type II Errors
The probability of making a Type II () can be decreased by increasing the level of significance. it will increase the chance of a Type I error
Testing of hypotheses
Type I and Type II Errors. Example
Suppose there is a test for a particular disease. If the disease really exists and is diagnosed early, it can be successfully treated If it is not diagnosed and treated, the person will become severely disabled If a person is erroneously diagnosed as having the disease and treated, no physical damage is done.
Testing of hypotheses
Type I and Type II Errors. Example.
Decision Not diagnosed Diagnosed No disease OK Type I error Disease Type II error OK
Testing of hypotheses
Confidence interval and significance test
Null hypothesis is accepted A value for null hypothesis within the 95% CI p-value > 0.05 Null hypothesis is rejected A value for null hypothesis outside of 95% CI p-value < 0.05
Which of the basic characteristics of a distribution are more sensitive to the sample size ?
central tendency (mean, median, mode) variability (standard deviation, range, IQR) skewness kurtosis mean standard deviation skewness kurtosis
5 5 = ( f oi f ei ) f ei
2
fe4= 5; fo4= 1;
= 14.2, df=3
2
Frc
then
2
5 = ( fr fc ) N
df = (fr-1) (fc-1)
5 5 = ( f ij Fij ) j F ij
Sex Cardiac Cath No Yes Column total male 5 5 5 5 9 9 female 9 9 5 5 5 5 Row total 5 5 9 9 55 5
Sex Cardiac Cath No Yes Column total male 5.5 5 5.5 5 9 9 female 9. 9 9 9. 9 9 5 5 Row total 5 5 9 9 55 5
= 2.52, df=1
2
(2-1) (2-1)
p > 0.05 Null hypothesis is accepted at 5% level Conclusion: Recommendation for cardiac catheterization
For N x N design and very small sample size Fisher's exact test should be applied McNemar test can be used with two dichotomous measures on the same subjects (repeated measurements). It is used to measure change
Wilcoxon matched-pairs signed rank test: used to compare two related groups
Based on the ranks of the absolute values of the differences between the two variables.
MN m rs c e a te t s C i s u re h qa te t s
Research question: Whether the groups statistically significantly differ in mean serum consentration? Test of significance: Pooled t-test
Research question: Whether the groups statistically significantly differ in mean serum consentration? Test of significance: Separate t-test
Selected parametric tests k unrelated group, one -way ANOVA test. Example
Comparison of means from k unrelated groups Study of the effects of two different drugs (A and B) on weight reduction. Study design: Samples: group of patients treated with drug A (n=32) group of patientstreated with drug B (n=35) control group (n=40) Outcome measure: weight reduction Research question: Whether the groups statistically significantly differ in mean weight reduction? Test of significance: one-way ANOVA test
Selected parametric tests k unrelated group, one -way ANOVA test. Example
The group means compared with the overall mean of the sample Visual examination of the individual group means may yield no clear answer about which of the means are different Additionally post-hoc tests can be used (Scheffe or Bonferroni)
Selected parametric tests k related group, two -way ANOVA test. Example
Comparison of means for k related variables Study of the effects of drugs A on weight reduction. Study design: Samples: group of patients treated with drug A (n=35) control group (n=40) Outcome measure: weight in Time 1 (before using drug) and Time 2 (after using drug)
Selected parametric tests k related group, two -way ANOVA test. Example
Research questions: Whether the weight of the persons statistically significantly changed over time? Time effect Whether the weight of the persons Group difference statistically significantly differ between the groups? Whether the weight of the persons used drug A statistically significantly redused compare to control group? Drug effect
MNmr c e a s te t s C i s u re h qa te t s
A O Aw N V ith r p ae eetd ma u e e ts e s r mn
Beskrivning av samplet
Samplet bestod av 1028 lrare frn grundskolan och gymnasiet. Av lrarna var n=775 (75%) kvinnor och n=125 (25%) mn. Lrarna frdelade sig p de olika skolniverna enligt fljande: n=330 (%) undervisade p lgstadiet; n= 303 (%) p hgstadiet och n= 288 (%) i gymnasiet. En liten grupp lrare n= 81 (%) undervisade p bde p hg- och lgstadiet eller bde p hgstadiet och gymnasiet eller p alla niver. Denna grupp benmndes i analyserna fr den kombinerade gruppen.
Faktoranalysen
Fljande saker br beskrivas: det ursprungliga instrumentet (ex K&T) med de 17 variablerna och den teoretiska grupperingen av variablerna. Kaisers Kriterium och Cattells Scree Test fr det potentiella antalet faktorer att finna Kommunaliteten fr variablerna Metoden fr faktoranalys Rotationsmetoden Faktorernas frklaringsgrad uttryckt i % Kriteriet fr att laddning skall anses signifikant Den slutliga roterade faktormatrisen Summavariabler och deras reliabilitet dvs Chronbacks alpha
Dtaanlysmetoder
Data analyserades kvantitativt. Fr beskrivning av variabler anvndes frekvenser, procenter, medelvrdet, medianen, standardavvikelsen och minimum och maximum vrden. Alla variablerna testades betrffande frdelningens form med Kolmogorov-Smirnov Testet. Hypotestestningen betrffande skillnader mellan grupperna gllande bakgrundsvariablerna har utfrts med Mann-Whitney Test och d gruppernas antal > 2 med Kruskall-Wallis Testet. Sambandet mellan variablerna har testats med Pearsons korrelationskoefficient. Valideringen av mtinstrumentet har utfrts med faktoranalys som beskrivits ingende i avsnitt xx. Reliabiliteten fr summavariablerna har testats med Chronbachs alpha. Statistisk signifikans har accepterats om p<0.05 och datat anlyserades med programmet SPSS 11.5.