161
Probability and Statistics Chapter 7: Introduction to Statistical Inference K Van Steen 120

Probability and Statistics Chapter 7: Introduction to ...kvansteen/MATH0008-2... · Probability and Statistics Chapter 7: Introduction to Statistical Inference

  • Upload
    ngocong

  • View
    229

  • Download
    2

Embed Size (px)

Citation preview

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 120

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 121

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 122

What can we do with hypothesis testing?

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 123

4.3 Assumptions about hypothesis tests

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 124

Assumptions about the population

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 125

Assumptions about the population

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 126

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 127

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 128

Assumptions about residuals (see also Chapter 8)

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 129

Assumptions about the nature of the sample

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 130

Assumptions about variables, measurements and models

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 131

4.4Examples

Coca-cola example

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 132

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 133

More coca-cola

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 134

Ethnic example

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 135

Politics example

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 136

Decision making

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 137

4.5 Use and abuse of tests

Causes about significance tests

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 138

Practical significance

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 139

Don’t ignore lack of significance

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 140

Interpreting effect size: it is all about context

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 141

The power of a test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 142

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 143

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 144

Factors affecting power: size of the effect

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 145

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 146

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 147

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 148

Relation between power, effect size, sample size and significance level

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 149

Don’t panic: There exist alternatives when I cannot get more samples

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 150

Type I and Type II errors

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 151

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 152

4.6 Multiple testing

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 153

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 154

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 155

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 156

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 157

5 Inference for distributions

5.1 Inference for the mean of a population

Introduction

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 158

When σ is unknown

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 159

Standard deviation s – standard error

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 160

The t-distribution

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 161

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 162

Standardizing data before using Table D

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 163

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 164

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 165

The one-sample t-confidence interval

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 166

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 167

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 168

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 169

The one-sample t-test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 170

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 171

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 172

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 173

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 174

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 175

Matched pairs t-procedures

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 176

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 177

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 178

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 179

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 180

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 181

Robustness

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 182

Power of the t-test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 183

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 184

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 185

Inference for non-normal distributions

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 186

Transforming data

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 187

Non-parametric method: the sign test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 188

5.2 Comparing two means

Comparing two samples

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 189

Two-sample z-statistic

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 190

Two independent samples t-distribution

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 191

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 192

Two-sample t-significance test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 193

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 194

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 195

Two-sample t-confidence interval

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 196

Common mistake

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 197

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 198

Robustness

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 199

Details of the two sample t procedures

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 200

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 201

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 202

Pooled two-sample procedures

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 203

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 204

Which type of test? One sample, two samples, paired samples?

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 205

5.3 Optional topics in comparing distributions

Inference for population spread

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 206

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 207

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 208

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 209

Power of two-sample t-test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 210

Power calculations using a non-central t-distribution

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 211

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 212

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 213

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 214

6 Inference for proportions

6.1 inference for a single proportion

Sampling distribution of a sample proportion

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 215

Conditions for inference on p

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 216

Large-sample confidence interval for p

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 217

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 218

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 219

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 220

“Plus four” confidence interval for p

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 221

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 222

Significance test for p

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 223

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 224

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 225

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 226

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 227

Interpretation: magnitude versus reliability of effects

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 228

Sample size for a desired margin of error

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 229

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 230

6.2 Comparing two proportions

Comparing two independent samples

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 231

Large-sample confidence interval for two proportions

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 232

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 233

“Plus four” confidence interval for two proportions

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 234

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 235

Test of significance

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 236

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 237

Relative risk

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 238

7 Analysis of two-way tables

7.1 Inference for two-way tables

Hypothesis: no association

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 239

Expected cell count

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 240

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 241

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 242

The chi-square test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 243

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 244

When is it safe to use a chi-square test?

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 245

Chi-square test versus z-test for two proportions

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 246

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 247

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 248

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 249

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 250

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 251

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 252

7.2 Formulas and models for two-way tables and Goodness-of-fit

Computations for two-way tables

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 253

Computing conditional distribution

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 254

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 255

Computing expected counts

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 256

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 257

Computing the chi-square statistic

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 258

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 259

Finding the p-value with Table F

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 260

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 261

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 262

Interpreting the chi-square output

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 263

Models for two-way tables

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 264

Comparing several populations

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 265

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 266

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 267

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 268

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 269

Testing for independence

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 270

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 271

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 272

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 273

Testing for Goodness-of-fit

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 274

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 275

The chi-square goodness-of-fit test

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 276

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 277

Cautionary note about software

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 278

8 How to select the appropriate test?

(http://www.graphpad.com/www/book/choose.htm)

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 279

Probability and Statistics Chapter 7: Introduction to Statistical Inference

K Van Steen 280

References:

• Mood

• Freeman IPS slides 4