-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path56-App-Answers.Rmd
More file actions
7438 lines (5721 loc) · 202 KB
/
56-App-Answers.Rmd
File metadata and controls
7438 lines (5721 loc) · 202 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Answers to odd-numbered exercises {#Answers .unnumbered .unlisted}
```{r evenAnswers, message=FALSE, warning=FALSE, include=TRUE}
includeEvenAnswers <- FALSE
includeGraphsTables <- FALSE
```
<!-- Define colours as appropriate -->
```{r, child = if (knitr::is_html_output()) {'./children/coloursHTML.Rmd'} else {'./children/coloursLaTeX.Rmd'}}
```
<!-- Since font size reduces, make caption font size smaller -->
`r if( knitr::is_latex_output() ) "\\captionsetup{font=footnotesize}"`
<!-- This Appendix contains answers to *most* (not all) exercises. -->
<!-- Some are fully worked, and some are only brief solutions. -->
<!-- * Answers to Chap.\ \@ref(Intro) (Introduction): Sect.\ \@ref(IntroAnswer). -->
<!-- * Answers to Chap.\ \@ref(RQs) (Research questions): Sect.\ \@ref(RQsAnswer). -->
<!-- * Answers to Chap.\ \@ref(ResearchDesign) (Research design): Sect.\ \@ref(ResearchDesignAnswer). -->
<!-- * Answers to Chap.\ \@ref(Ethics) (Ethics): Sect.\ \@ref(EthicsAnswer). -->
<!-- * Answers to Chap.\ \@ref(Sampling) (Sampling): Sect.\ \@ref(SamplingAnswer). -->
<!-- * Answers to Chap.\ \@ref(ResearchDesignOverview) (Factors that influence the response variable): Sect.\ \@ref(ResearchDesignOverviewAnswer). -->
<!-- * Answers to Chap.\ \@ref(DesignExperiment) (Designing experiments): Sect.\ \@ref(DesigningExperimentsAnswer). -->
<!-- * Answers to Chap.\ \@ref(DesignObservational) (Designing observational studies): Sect.\ \@ref(DesigningObservationalAnswer). -->
<!-- * Answers to Chap.\ \@ref(Interpretation) (Interpretation): Sect.\ \@ref(InterpretationAnswer). -->
<!-- * Answers to Chap.\ \@ref(CollectingDataProcedures) (Collecting data): Sect.\ \@ref(CollectionAnswer). -->
<!-- * Answers to Chap.\ \@ref(DescribingVars) (Describing variables): Sect.\ \@ref(DescribeAnswer). -->
<!-- * Answers to Chap.\ \@ref(Graphs) (Graphs): Sect.\ \@ref(GraphsAnswer). -->
<!-- * Answers to Chap.\ \@ref(NumericalQuant) (Numerical summaries for quantitative data): Sect.\ \@ref(NumericalQuantAnswer). -->
<!-- * Answers to Chap.\ \@ref(NumericalQual) (Numerical summaries for qualitative data): Sect.\ \@ref(NumericalQualAnswer). -->
<!-- * Answers to Chap.\ \@ref(MakingDecisions) (Making decisions): Sect.\ \@ref(MakingDecisionsAnswer) -->
<!-- * Answers to Chap.\ \@ref(Probability) (Probability): Sect.\ \@ref(ProbabilityAnswer). -->
<!-- * Answers to Chap.\ \@ref(SamplingDistributions) (Sampling distributions): Sect.\ \@ref(SamplingDistributionsAnswer). -->
<!-- * Answers to Chap.\ \@ref(SamplingVariation) (Sampling variation): Sect.\ \@ref(SamplingVariationExercisesAnswer). -->
<!-- * Answers to Chap.\ \@ref(CIOneProportion) (CIs for one proportion): Sect.\ \@ref(CIOneProportionAnswer). -->
<!-- * Answers to Chap.\ \@ref(AboutCIs) (More about forming CIs): Sect.\ \@ref(AboutCIsAnswer). -->
<!-- * Answers to Chap.\ \@ref(OneMeanConfInterval) (CIs for one mean): Sect.\ \@ref(OneMeanConfIntervalAnswer). -->
<!-- * Answers to Chap.\ \@ref(PairedCI) (CIs for paired data): Sect.\ \@ref(PairedCIExercisesAnswer). -->
<!-- * Answers to Chap.\ \@ref(CITwoMeans) (CIs for two independent means): Sect.\ \@ref(MeansIndSamplesAnswer). -->
<!-- * Answers to Chap.\ \@ref(OddsRatiosCI) (CIs for odds ratios): Sect.\ \@ref(OddsRatiosCIAnswer). -->
<!-- * Answers to Chap.\ \@ref(EstimatingSampleSize) (Sample size estimation): Sect.\ \@ref(EstimatingSampleSizeAnswer) -->
<!-- * Answers to Chap.\ \@ref(TestOneProportion) (Tests for one proportion): Sect.\ \@ref(TestOneProportionAnswer). -->
<!-- * Answers to Chap.\ \@ref(TestOneMean) (Tests for one mean): Sect.\ \@ref(TestOneMeanAnswer). -->
<!-- * Answers to Chap.\ \@ref(MoreAboutTests) (More about hypothesis tests): Sect.\ \@ref(MoreAboutTestsAnswer). -->
<!-- * Answers to Chap.\ \@ref(TestPairedMeans) (Tests for paired mean): Sect.\ \@ref(TestPairedMeansAnswer). -->
<!-- * Answers to Chap.\ \@ref(TestTwoMeans) (Tests for two independent mean): Sect.\ \@ref(TestTwoMeansAnswer). -->
<!-- * Answers to Chap.\ \@ref(TestsOddsRatio) (Tests for odds ratios): Sect.\ \@ref(TestsOddsRatioAnswer). -->
<!-- * Answers to Chap.\ \@ref(TwoQuant) (Relationships between two quantitative variables): Sect.\ \@ref(TwoQuantAnswer). -->
<!-- * Answers to Chap.\ \@ref(Correlation) (Correlation): Sect.\ \@ref(CorrelationAnswer). -->
<!-- * Answers to Chap.\ \@ref(Regression) (Regression): Sect.\ \@ref(RegressionAnswer). -->
<!-- * Answers to Chap.\ \@ref(Reading) (Reading research): Sect.\ \@ref(ReadAnswer). -->
<!-- * Answers to Chap.\ \@ref(WritingResearch) (Writing research): Sect.\ \@ref(WriteAnswer). -->
### Chap.\ \@ref(Intro): Research an introduction {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypeTourniquet).**
**1.** From many people: type of tourniquet; time to apply.
**2.** **Quant**itative.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypeMangroves).**
**1.** For many people: reason(s).
**2.** **Qual**itative.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypeSideEffects).**
**1.** For many Egyptians: whether side effects experienced after medication.
**2.** **Quant**itative.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypeSolarPanels).**
**1.** For many homes: number of solar panels.
**2.** **Quant**itative.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypeGreenery).**
**Qual**itative
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypeGreenHydrogen).**
Mixed methods: interview and workshops qualitative; survey: quantitative.
:::
`r if( !includeEvenAnswers) "-->"`
::::::
### Chap.\ \@ref(RQs): Research questions {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsOutcomeResponse1).**
**1.** *Percentage* of vehicles that crash.
**2.** *Average* jump height.
**3.** *Average* number of tomatoes per plant.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsOutcomeResponse2).**
**1.** *Percentage* people who own a car.
**2.** *Average* time for seedlings to sprout.
**3.** *Average* amount of caffeine in soft drinks.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsComparisonExplanatory1).**
**1.** Whether diet is vegan.
**2.** Whether coffee is caffeinated
**3.** Num. iron tablets/day.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsComparisonExplanatory2).**
**1.** Whether the vegetables frozen or fresh.
**2.** Type of fuel.
**3.** Size of city.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsComparisonVsPaired1).**
**1.** *Between*-individuals.
Outcome: percentage wearing hats.
**2.** *Between*-intervals.
Outcome: average yield (in kg/plant, tomatoes/plant, etc.).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsComparisonVsPaired2).**
**1.** *Within*-individuals.
Outcome: average balance times.
**2.** *Within*-individuals comparison.
Outcome: average cholesterol levels.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsDogs).**
**1.** Correlational.
**2.** Neither variable is explanatory, response.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypingCor).**
**1.** Correlational.
**2.** Age probably impacts typing speed; age: explanatory; typing speed: response.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsBloodPressure).**
**1.** P: Danish Uni students; O: *average* resting diastolic blood pressure; C: between students who regularly drive, ride their bicycles to uni.
**2.** No intervention.
**3.** Relational.
**4.** Decision-making.
**5.** *Conceptual*: 'regularly'; 'university student' (on-campus? undergraduate?). *Operational*: how 'resting diastolic blood pressure' measured.
**6.** Resting diastolic blood pressure; whether they regularly drive, ride to uni.
**7.** Both: Danish uni students.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsNutrition).**
**1.** Some elements not well defined; perhaps: P: Children aged under\ $3$ in a Peruvian peri-urban community; O: proportion of children with diarrhoea; C: nutritional status; no intervention.
**2.** Perhaps: 'In children aged under\ $3$ in a Peruvian peri-urban community, is there a relationship between diarrhoea status and nutritional status?'.
**3.** 'Nutritional status' not well defined:amount intake per day? Then, correlational probably.
**4.** Decision-making.
**5.** 'Diarrhoea status'; 'nutritional status'; probably others.
**6.** Response: diarrhoea status; explanatory: nutritional status.
**7.** Both: the children.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsWalkingSpeed).**
**1.** Probably relational.
**2.** Two-tailed.
**3.** Probably not, but possible.
**4.** How *individual* people using phones ('Talking'; 'texting').
**5.** Walking speed.
**6.** *Average* walking speed.
**7.** Observation: person.
Analysis: individuals not in a group, as people in group may not walk independently of others (i.e., they keep pace with each other).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsCommonCold).**
**1.** P: Japanese adults.
O: Between those who take, do not take Vit.\ C tablets.
C: *Average* cold duration'.
**2.** Duration cold symptoms for each person.
**3.** Whether each person takes Vit.\ C tablets.
**4.** Decision-making
**5.** One-tailed.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsAnimals).**
**1.** Animal.
**2.** *Pen*: food allocated to pen.
Animals in same pen *not* independent: compete for same space, food, resources, have similar environments.
**3.** Between diets.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsBlueGum).**
False.
True.
True.
Sample size: $20$.
:::
`r if( !includeEvenAnswers) "-->"`
<!-- SEM 2 2018: Christopher WALTON; WILLIUAM LUDOWYK; LOK RAJ BHATTA-->
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ProjectRQ2).**
Ten adults is sample.
Unclear how many (or which) fonts compared.
Perhaps: 'Among Australian adults, does average time taken to read passage of text differ when Arial font used compared to Times Roman font?'
:::
<!-- SEM 2 2018: Alex Bruce; Levi Crawley; Stuart Stevens-->
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ProjectRQ3).**
Outcome: *average* lung capacity.
Perhaps: 'For students that study at (University), do M have larger *average* lung capacity than F?'
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsNoseHair).**
**1.** Analysis: person; Observation: individual nose hairs.
Each unit of analysis has $50$ units of observation.
**2.** $n = 2$.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsenvironments).**
**1.** Between environments.
**2.** *Before* and *after* for each individual.
**3.** Operational.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:POCIaccelerometer).**
**1.** P: American adults; individuals: American adults.
**2.** O: average number recorded steps.
**3.** Response: number steps recorded for individuals.
Explanatory: location of accelerometer.
**4.** *Within* individuals.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsTypesZinc).**
**1.** Descriptive; estimation.
**2.** Descriptive; decision-making.
**3.** Correlational; estimation.
**4.** Relational; decision-making.
Intervention unlikely.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:RQsComparisonConnectionCaloric).**
**1.** Relational; decision-making.
**2.** Correlational; estimation.
Intervention unlikely.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:InterventionalRQWithin).**
**1.** Relational; estimation.
**2.** Relational; decision-making.
Intervention (whether worms used).
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:WhatAreUnitsAnalysisA).**
$n = 27$; unit of analysis: emu.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:WhatAreUnitsAnalysisB).**
$n = 155$; unit of analysis: person.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:UnitsAnalysis).**
Unit of observation: tyre.
Unit of analysis: car (brand allocated to car; each car gets one brand).
Tyres on any car exposed to same day-to-day use, drivers, distances, etc.
Each unit of analysis produces four units of observations.
*Sample size*: $10$ cars ($40$ observations).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:UnitsAnalysis2).**
Analysis: $12$ subjects.
Observation: $6$ per subjects: $72$.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:UnitsAnalysisBamboo).**
**1.** Board.
**2.** $5$.
**3.** $10$.
**4.** $10$..
**5.** Within-board variation smaller (except first).
**6.** $1$.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:PoorRQs).**
**1.** Should be worded as averages.
**2.** Everyone dies; time-frame needed (i.e., within $12$\ months of amputation).
Compared to what?
**3.** No population (frozen beans? fresh butter beans? tinned kidney beans? coffee beans? can sizes?); "amount" of salt should be (e.g.) "average" amount (or concentration) of salt.
Anyway: read label (unless you wish to query those values).
**4.** Silly: elephants huge, joeys tiny; test not needed.
Also, RQ talks has 'weight', not 'mean weight'.
**5.** More specific! Perhaps: 'Is the mean reaction time different for M and\ F?'.
:::
`r if( !includeEvenAnswers) "-->"`
::::::
### Chap.\ \@ref(ResearchDesignOverview): Overview of research design {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:MineArsenic).**
**1.** Arsenic conc.
**2.** Distance of lake from mine.
**3.** No: recorded.
**4.** Yes: may be related to response, explanatory variables.
**5.** Probably confounding.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignOverviewStudy1).**
*Response*: depression or not.
*Explanatory*: diet quality.
*Extraneous*: presumably *all* listed; that is why the researchers obtained this information.
*None* can be lurking variables: researchers measure or observe them.
*Confounding* variable potentially related to *both* the response *and* explanatory variables.
Hence, all of the extraneous variables could potentially be confounding variables.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignOverviewStudy2).**
*Response*: perhaps 'whether woman develops cancer of digestive system'.
*Explanatory*: 'whether participants drank green tea at least $3$\ times per week'.
*Lurking*: 'health consciousness of participants' (appears unrecorded).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignOverviewStudy3).**
Older children more likely to be smokers, would be larger in general: age a confounder.
Age easy to record, usually *is* recorded: probably *not* a lurking variable.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignOverviewRTEC).**
**1.** Sex; number siblings.
**2.** No.
**3.** Yes.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignExpExtraneous).**
Lurking; confounding.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignFindConfounderA).**
Age of person.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignFindConfounderB).**
Farmers with orchards having few insect problems with their current fertiliser not likely to buy new, more expensive, insecticide.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignConfoundingVarA).**
**1.** Soil quality; climate; size.
Control var.: perhaps farm size (e.g., farms over certain size).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignConfoundingVarB).**
**1.** Confounder.
**2.** Related perhaps to high BP.
**3.** Irrelevant.
**4.** Perhaps confounder.
**5.** Non-confounder extraneous.
**6.** Response variable.
**7.** Maybe confounder.
Control: perhaps age.
:::
`r if( !includeEvenAnswers) "-->"`
::::::
\pagebreak <!-- MANUAL -->
### Chap.\ \@ref(ResearchDesign): Types of research studies {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:TypesOfDesignsAcuteOtitis).**
**1.** Between-individuals.
**2.** Relational.
**3.** Most likely.
**4.** Estimation.
**5.** Intervention: experiment.
Likely true experiment.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:TypesOfDesignsWorms).**
**1.** Between-individuals.
**2.** Relational, if C between individuals.
**3.** Yes.
**4.** Decision-making.
**5.** Experimental. True experiment.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignConcreteBeams).**
True experiment.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignVAP).**
**1.** Relational.
**2.** Between-individuals if relational.
**3.** Yes: program imposed.
**4.** Experimental.
Program given to paramedics in certain cities; quasi-experimental (researchers cannot tell paramedics where to work).
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignMatresses).**
Quasi-experiment.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignDietsForWeightLoss).**
**1.** Diet.
**2.** Change in body weight after $2$\ ys.
**3.** Experimental: diets *manipulated*, *imposed* by researchers.
**4.** Probably true experiment.
**5.** Individuals: diets allocated to individuals.
**6.** Individuals: those from whom the weight change is taken.
**7.** *Change* in body weight over $2$\ ys.
**8.** Type of diet.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignPetsAndHealth).**
**1.** Answers vary.
**2.** Researchers *intervene*: *give*, *not give* subjects pet.
**3.** Researchers *do not intervene*: subjects already *do*, *do not* own pet.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.exercise #ResearchDesignSeedsSprout}
**1.** Answers vary.
**2.** Researchers *intervene*: researchers *use*, *do not use* seed-raising mix.
**3.** Researchers *do not intervene*: find people *using*, *not using* seed-raising mix.
:::
`r if( !includeEvenAnswers) "-->"`
::::::
### Chap.\ \@ref(Ethics): Ethics in research {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:EthicsCougars).**
Answers vary.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:EthicsLying).**
Answers vary.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:EthicsSideEffects).**
Answers vary.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:EthicsLying).**
Answers vary.
:::
`r if( !includeEvenAnswers) "-->"`
::::::
### Chap.\ \@ref(Sampling): External validity: sampling {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingAdvantageRandom).**
c. Externally-valid study more likely.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingAdvantageLarge).**
d. Precise estimates more likely.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingOverUnderA).**
**1.** Under: practicality; intentional.
**2.** Under; deception; probably intentional.
**3.** Over; deception; intentional (cherry-picking).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingOverUnderB).**
**1.** Under; deception; probably intentional.
**2.** Probably under; accidental; probably unintentional.
**3.** Under; deception; intentional.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingSystematicProblem).**
**1.** Every $7$th day is same day of week.
**2.** Maybe select days at random over three-months.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingBooks).**
Remember: some books borrowed (not physically in library).
**1.** Simple random sample: ist of all books held by library needed.
*May* be possible; probably not for non-library staff member.
In principle: number each book, randomly select sample from that list.
**2.** Stratified: campuses as strata; random sample of all books in each location.
**3.** Cluster: each shelf as cluster; randomly select some shelves; determine number of pages in each book on selected shelves.
**4.** Convenience: finding easily accessible books in libraries.
**5.** Multi-stage: random sample of campuses; random sample of shelves in selected libraries; random shelf from each; a small number of random books from each shelf.
**6.** Multi-stage perhaps?
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingApartments).**
**1.** Multi-stage.
**2.** Stratified (floor), then convenience.
**3.** Convenience.
**4.** Part stratified (floors), then convenience.
Use first.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingShoppingCentre).**
**1.** Convenience; approach every $10$th person may be little more representative.
**2.** Convenience; approach every $5$th person, go *every day* for a week, trying to make little more representative (and better than the first)
**3.** Self-selecting.
**4.** Convenience: By going every day for $2$\ weeks, at different times, locations each week, approaching someone every $15\mins$, to make more representative.
The fourth is best, still far from 'random'.
None truly random.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingSchools).**
Random sampling (schools), then, self-selecting.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingMalaria).**
True; False; True.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SamplingForest).**
Stratified by zone; then convenience.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:BiasOnline).**
No answer (yet).
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:NotMultistageSampling).**
Stage\ $3$ selection *not* random.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:NotClusterSampling).**
Stage\ $1$ selection of schools *not* random.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:SolarSampling).**
**1.** Households in Santiago.
**2.** (c): all households in Santiago.
**3.** Voluntary response.
**4.** Multi-stage.
:::
::::::
### Chap.\ \@ref(DesignInternal): Internal validity {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignTrueFalse).**
All false.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignTrueFalse2).**
False; true; false; false; true.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignExpImproveIV).**
All but random samples (*external*).
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignExpImproveIV).**
All but random samples (*external*).
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignHawthorneEffect).**
Also possible in observational studies.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:HawthorneTeeth).**
Yes; all subjects probably brushed better than usual.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignObsPollen).**
In case hive size a confounder.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.exercise #ResearchDesignSeptic}
The control, acting as base.
Ethical.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignExpWeightLoss).**
Statements\ 1, 3, 4 and\ 8 true.
'Sex', 'Initial weight' *possible* confounders.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchSmokingAlfresco).**
**1.**. Observational.
**2.** PM~$2.5$~ concentration; number smokers.
**3.** Possibly: wind speed; amount cover.
**4.** Yes: be discreet.
**5.** No.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignSunscreen).**
**1.** Observational.
**2.** *Response*: amount sunscreen used; *explanatory*: time applying sunscreen.
**3.** Potential extraneous, confounding variables.
**4.** To determine if sex a *confounder*.
**5.** Participants, researchers blinded.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:DesignExpParamedicsPills).**
**1.** Experimental.
**2.** A group receiving pill like Treatment\ A and\ B, with no effective ingredient.
**3.** Blinding participants..
**4.** To ensure participants do not change behaviour because of the treatment.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchIcelandicGood).**
Random allocation; exclusion criteria; blinding; comparing two groups; ethical.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchBodyCameras).**
Blocking (matching); random allocation; comparing two groups.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchTanzaniaFarm).**
**1.** A: no blinding; B: double-blind.
**2.** Hawthorne effect impacting internal validity.
**3.** B; no Hawthorne effect.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchAustriaPA).**
**1.** Subjective: accelerometer.
**2.** Perceptions unreliable; Hawthorne effect.
**3.** Using accelerometer.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchTasteOfWater2).**
Randomly allocate type of water to subjects (or the *order* that subjects taste *each* drink.)
Subjects blind to water type.
Person providing water and receiving ratings blind to water type.
Random or representative sampling is good (but hard).
Use third-party if possible.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignTasteOfWater).**
Random allocation not possible (observational).
Probably infeasible to blind participants, blind researchers.
Random or representative sample good, but hard.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignFertilizer).**
Carryover effect; observer effect.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignDust).**
**1.** Random allocation; blocking; recording potential confounders.
**2.** Blinding participants, researchers.
**3.** Change in nasal congestion.
**4.** Type of cleaning.
**5.** Age; sex.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ResearchDesignFormwork).**
**1.** Floor area.
**2.** Hours labour.
**3.** Extraneous.
**4.** Analysis
**5.** F.
**6.** T.
**7.** F.
**8.** F.
:::
::::::
### Chap.\ \@ref(Interpretation): Research design limitations {.unlisted .unnumbered}
:::::: {.ChapAnswers data-latex=""}
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:ValidityLighting).**
External.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:InterpretationExerciseValidities).**
Ecological; external; internal.
:::
`r if( !includeEvenAnswers) "-->"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:InterpretationExerciseExternalValidity).**
Population is students; external validity if applies to students at UniX not wider.
:::
`r if( !includeEvenAnswers) "<!--"`
::: {.answer data-latex=""}
**Ex.\ \@ref(exr:InterpretationExerciseParachutes).**
Not *ecologically valid* (e.g., parachutes used at high altitude).
Probably not *externally valid*: voluntary (presumably convenience) sample.