Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

27
Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011

Transcript of Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Page 1: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Quantitative analysis

Sonia WilliamsNorthern College of Acupuncture

19th February 2011

Page 2: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Numbers, numbers……

Measureable values

• Height, weight, age

• Can calculate:

• Average/mean

• Median

• Mode

Page 3: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Parametric statistics

Continuous variables– height, weight, age expressed in exact terms– e.g. 1.67m; 71.5Kg; 25.5years.

Non-continuous variables– height, weight, age expressed in groupings– e.g. 1.5-1.7m; 70-75Kg; 20<25yrs.

Page 4: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Distribution curve: height, weight, IQ, etc.Continuous variable

Page 5: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Comparing 2 groups

E.g. shoe sizes men/women?

Is there a statistically significant difference between them?

Parametric stats.

e.g. t-testsComparing means

And standard deviations

Page 6: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Other uses of numbers in quantitative data……

Categorical data

• E.g. gender

• Yes/no answers

Page 7: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Presenting categorical data

• 4 categories• Visually presented

Page 8: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Comparing categorical data

Sample size = 100Comparing…….• 40 males & 60 females• 40 had received acupuncture

while 60 had not.• Was there a significant

difference in the proportion of males & females receiving acupuncture?

• Chi squared test used• ANSWER=? Ask SPSS

30 10 40male

30 30 60female

60Apuc-

40Acup+

100total

Page 9: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Probability values (P)

• Probability of heads OR tails = 1 in 2 or 50% (or 0.5)

• Probability of 2 consecutive heads = 1 in 2 AND 1 in 2 = 1 in 4 or 25% (or 0.25)

Page 10: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Probability values (P)

• How many times would you need to get consecutive tails to reach a probability value less than 0.05?

Page 11: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Probability values (P)

• P<0.05 becomes biologically important.

• There is only a 5% chance that this result occurred by chance

• or 1 in 20

• P<0.01 is 1% or 1 in 100

• P<0.001 is 0.1% or 1 in 1000

Page 12: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Sources of error in statistics

• Assuming that an association is the same as causation.

• The link may be spurious

• There may be a confounding variable

Page 13: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Sources of error in statisticswhich one will be true?

Page 14: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Sources of error in statisticswhich one will be true?

• Type 1 error. The one you thought was true was not

Page 15: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Sources of error in statisticswhich one will be true?

• Type 2 error:

• The one you thought would not be true was

Page 16: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Data entry: hardware?

Page 17: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Punch card machine

Page 18: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Data analysis

Page 19: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Life is easier now & less noisy!

• SPSS

• Comprehensive set of flexible tools that can be used to accomplish a wide variety of data analysis tasks.

• Data collection instrument

• Data analysis

• Graphic presentations

• Statistical analysis

Page 20: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Creating datasets

• What experimental design?• Which variables?• What values do these variables assume?• How can the data be coded to make data

entry easier?• Devise a code book to help you• Make sure you ‘clean’ the data, as errors

in data entry can occur (10% check + frequency check)

Page 21: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Choose appropriate scales & measures

Questionnaires• Closed questions: easy to code: inflexible• Semi-structured questions: harder to code: more

flexible• May need to add to dataset as ‘unexpected

answers’ become apparent• Open-ended questions: bit of a nightmare: need

to go through & document all possible answers before devising suitable coding system

Page 22: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Questionnaires: try to avoid…

• Long complex questions• Double negatives• Double-barrelled questions• Jargon or abbreviations• Culture-specific terms• Words with double meanings• Leading questions• Emotionally loaded words

Page 23: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Developing a codebook

• Decide how you will go about:– Defining and labelling each of the variables– Assigning numbers to each of the possible

responses– Each question or section of a question must

have a variable name which:• Must be unique, begin with a letter, cannot include

punctuation

Page 24: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Data entry: issues to consider

Variables:

• Categorical

• Continuous/discrete

Whether you are dealing with how to deal with multiple responses (where more than one response may be given to a single question)

Page 25: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.
Page 26: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.
Page 27: Quantitative analysis Sonia Williams Northern College of Acupuncture 19 th February 2011.

Outcomes?

• Frequencies?

• Cross tabulations?

• Visual display?

• Statistical analysis?

• Is amenable to enter into Word, if necessary