-
Notifications
You must be signed in to change notification settings - Fork 26
/
radiant-tutorial-series.html
900 lines (809 loc) · 29.4 KB
/
radiant-tutorial-series.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<title>Radiant Tutorial Series</title>
<script src="libs/header-attrs-2.28/header-attrs.js"></script>
<script src="libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
<script src="libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script src="libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
<script src="libs/bootstrap-3.3.5/shim/respond.min.js"></script>
<style>h1 {font-size: 34px;}
h1.title {font-size: 38px;}
h2 {font-size: 30px;}
h3 {font-size: 24px;}
h4 {font-size: 18px;}
h5 {font-size: 16px;}
h6 {font-size: 12px;}
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
pre:not([class]) { background-color: white }</style>
<script src="libs/navigation-1.1/tabsets.js"></script>
<style type="text/css">
/* padding for bootstrap navbar */
body {
padding-top: 50px;
padding-bottom: 40px;
}
/* offset scroll position for anchor links (for fixed navbar) */
.section h2 {
padding-top: 55px;
margin-top: -55px;
}
.section h3 {
padding-top: 55px;
margin-top: -55px;
}
/* don't use link color in navbar */
.dropdown-menu>li>a {
display: inline;
color: black;
padding-top: 0;
padding-bottom: 0;
}
.dropdown-menu .divider {
margin-top: 2px;
margin-bottom: 2px;
}
img {
max-width: 85% !important;
}
/*
img.center {
display: block;
margin: 0 auto;
}
*/
</style>
<link rel="stylesheet" href="libs/font-awesome-4.1.0/css/font-awesome.min.css"/>
<link rel="shortcut icon" type="image/png" href="/docs/images/icon.png"/>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>
<style type = "text/css">
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
img {
max-width:100%;
}
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
summary {
display: list-item;
}
details > summary > p:only-child {
display: inline;
}
pre code {
padding: 0;
}
</style>
<!-- tabsets -->
<style type="text/css">
.tabset-dropdown > .nav-tabs {
display: inline-table;
max-height: 500px;
min-height: 44px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 4px;
}
.tabset-dropdown > .nav-tabs > li.active:before, .tabset-dropdown > .nav-tabs.nav-tabs-open:before {
content: "\e259";
font-family: 'Glyphicons Halflings';
display: inline-block;
padding: 10px;
border-right: 1px solid #ddd;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
content: "\e258";
font-family: 'Glyphicons Halflings';
border: none;
}
.tabset-dropdown > .nav-tabs > li.active {
display: block;
}
.tabset-dropdown > .nav-tabs > li > a,
.tabset-dropdown > .nav-tabs > li > a:focus,
.tabset-dropdown > .nav-tabs > li > a:hover {
border: none;
display: inline-block;
border-radius: 4px;
background-color: transparent;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
display: block;
float: none;
}
.tabset-dropdown > .nav-tabs > li {
display: none;
}
</style>
<!-- code folding -->
</head>
<body>
<div class="container-fluid main-container">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://github.com/radiant-rstats/docs">Radiant</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/docs/index.html">Home</a></li>
<li><a href="/docs/news.html">News</a></li>
<li><a href="/docs/install.html">Install</a></li>
<li class="dropdown">
<a href="/docs/data/" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-expanded="false">Data<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="/docs/data/manage.html">Manage</a></li>
<li><a href="/docs/data/view.html">View</a></li>
<li><a href="/docs/data/visualize.html">Visualize</a></li>
<li><a href="/docs/data/pivotr.html">Pivot</a></li>
<li><a href="/docs/data/explore.html">Explore</a></li>
<li><a href="/docs/data/transform.html">Transform</a></li>
<li><a href="/docs/data/combine.html">Combine</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/docs/design/" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-expanded="false">Design<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li class="dropdown-header">DOE</li>
<li><a href="/docs/design/doe.html">Design of Experiments (DOE)</a></li>
<li class="divider"></li>
<li class="dropdown-header">Sample</li>
<li><a href="/docs/design/sampling.html">Random sampling</a></li>
<li><a href="/docs/design/randomizer.html">Random assignment</a></li>
<li><a href="/docs/design/sample_size.html">Sample size (single)</a></li>
<li><a href="/docs/design/sample_size_comp.html">Sample size (compare)</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/docs/basics/" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-expanded="false">Basics<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li class="dropdown-header">Probability</li>
<li><a href="/docs/basics/prob_calc.html">Probability calculator</a></li>
<li><a href="/docs/basics/clt.html">Central Limit Theorem</a></li>
<li class="divider"></li>
<li class="dropdown-header">Means</li>
<li><a href="/docs/basics/single_mean.html">Single mean</a></li>
<li><a href="/docs/basics/compare_means.html">Compare means</a></li>
<li class="divider"></li>
<li class="dropdown-header">Proportions</li>
<li><a href="/docs/basics/single_prop.html">Single proportion</a></li>
<li><a href="/docs/basics/compare_props.html">Compare proportions</a></li>
<li class="divider"></li>
<li class="dropdown-header">Tables</li>
<li><a href="/docs/basics/goodness.html">Goodness of fit</a></li>
<li><a href="/docs/basics/cross_tabs.html">Cross-tabs</a></li>
<li><a href="/docs/basics/correlation.html">Correlation</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/docs/model/" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-expanded="false">Model<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li class="dropdown-header">Estimate</li>
<li><a href="/docs/model/regress.html">Linear regression (OLS)</a></li>
<li><a href="/docs/model/logistic.html">Logistic regression (GLM)</a></li>
<li><a href="/docs/model/mnl.html">Multinomial logistic regression (MNL)</a></li>
<li><a href="/docs/model/nn.html">Neural Network</a></li>
<li><a href="/docs/model/nb.html">Naive Bayes</a></li>
<li class="divider"></li>
<li class="dropdown-header">Trees</li>
<li><a href="/docs/model/crtree.html">Classification and regression trees</a></li>
<li><a href="/docs/model/rforest.html">Random Forest</a></li>
<li><a href="/docs/model/gbt.html">Gradient Boosted Trees</a></li>
<li class="divider"></li>
<li class="dropdown-header">Evaluate</li>
<li><a href="/docs/model/evalreg.html">Evaluate regression</a></li>
<li><a href="/docs/model/evalbin.html">Evaluate classification</a></li>
<li class="divider"></li>
<li class="dropdown-header">Recommend</li>
<li><a href="/docs/model/crs.html">Collaborative Filtering</a></li>
<li class="divider"></li>
<li class="dropdown-header">Decide</li>
<li><a href="/docs/model/dtree.html">Decision analysis</a></li>
<li><a href="/docs/model/simulater.html">Simulate</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/docs/multivariate/" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-expanded="false">Multivariate<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li class="dropdown-header">Maps</li>
<li><a href="/docs/multivariate/mds.html">(Dis)similarity</a></li>
<li><a href="/docs/multivariate/prmap.html">Attributes</a></li>
<li class="divider"></li>
<li class="dropdown-header">Factor</li>
<li><a href="/docs/multivariate/pre_factor.html">Pre-factor</a></li>
<li><a href="/docs/multivariate/full_factor.html">Factor</a></li>
<li class="divider"></li>
<li class="dropdown-header">Cluster</li>
<li><a href="/docs/multivariate/hclus.html">Hierarchical</a></li>
<li><a href="/docs/multivariate/kclus.html">K-clustering</a></li>
<li class="divider"></li>
<li class="dropdown-header">Conjoint</li>
<li><a href="/docs/multivariate/conjoint.html">Conjoint</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/docs/R/" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">R<span
class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="/docs/data/report_rmd.html">Report > Rmd</a></li>
<li><a href="/docs/data/report_r.html">Report > R</a></li>
<li><a href="/docs/programming.html">Programming</a></li>
<li><a href="/docs/resources.html">Resources</a></li>
</ul>
</li>
<li class="dropdown">
<a href="/docs/tutorials/" class="dropdown-toggle" data-toggle="dropdown" role="button"
aria-expanded="false">Tutorials<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="/docs/tutorials.html">Introduction to Radiant</a></li>
<li><a href="/docs/radiant-tutorial-series.html">Radiant Tutorial Series</a></li>
</ul>
</li>
<li><a href="/docs/about.html">About</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container -->
</div>
<!--/.navbar -->
<style>
.btn,
.form-control,
pre,
code,
pre code {
border-radius: 4px;
}
.table {
width: auto;
}
ul,
ol {
padding-left: 18px;
}
code,
pre,
pre code {
overflow: auto;
white-space: pre;
word-wrap: normal;
}
code {
color: #c7254e;
background-color: #f9f2f4;
}
pre {
background-color: #ffffff;
}
</style>
<div id="header">
<h1 class="title toc-ignore">Radiant Tutorial Series</h1>
</div>
<div id="TOC">
<ul>
<li><a href="#decision-analysis" id="toc-decision-analysis">Decision
Analysis</a></li>
<li><a href="#probability-calculator"
id="toc-probability-calculator">Probability Calculator</a></li>
<li><a href="#hypothesis-testing" id="toc-hypothesis-testing">Hypothesis
Testing</a></li>
<li><a href="#linear-regression" id="toc-linear-regression">Linear
Regression</a></li>
<li><a href="#simulation" id="toc-simulation">Simulation</a></li>
</ul>
</div>
<p>This page provides an overview of the available videos in the Radiant
Tutorial Series. For each of the modules below, it is useful to leverage
RStudio Projects to set up the environment to more easily access data
and models from Radiant. Open RStudio and cut/paste the given command +
URL into the console. This will download the assignment and supporting
files and subsequently open a new RStudio project. You will know it is
working if you look at the top right-hand corner of RStudio and see the
module name (e.g., “decision_tree”) and see the relevant module files in
the bottom right pane. From here, you will simply need to click on
“Addins” on the top menu and then “Start radiant” to follow along with
the tutorial.</p>
<p>In additional to the links below, you can access the
<a href="https://www.youtube.com/playlist?list=PLNhtaetb48EdKRIY7MewCyvb_1x7dV3xw" target="_blank">tutorial
playlist</a> on Youtube.</p>
<div id="decision-analysis" class="section level2">
<h2>Decision Analysis</h2>
<p>Copy-and-paste the full command below into the RStudio console (i.e.,
the bottom-left window) and press return to gain access to all materials
used in the decision tree module:</p>
<pre><span style="font-size: 12pt;"><strong>usethis::use_course("https://www.dropbox.com/sh/bit4p1ffbkb2dgh/AACm1RVy2BxBDiVbjoLiN5_Ea?dl=1")</strong></span></pre>
<ul>
<li><a href="https://youtu.be/plSeVJ7c-Iw" target="_blank">Introduction
to Decision Analysis (#1)</a>
<ul>
<li>This video walks you through the required steps to construct and
solve a basic decision tree by hand</li>
<li>Topics List:
<ul>
<li>Chance nodes vs. decision nodes</li>
<li>Folding back the tree (i.e., start from the right-most nodes and
work backwards to the left-most nodes)</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/plSeVJ7c-Iw" target="_blank">Introduction
to Decision Analysis (#1)</a>
<ul>
<li>This video walks you through the required steps to construct and
solve a basic decision tree by hand</li>
<li>Topics List:
<ul>
<li>Chance nodes vs. decision nodes</li>
<li>Folding back the tree (i.e., start from the right-most nodes and
work backwards to the left-most nodes)</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/dBySH3z2Paw" target="_blank">Using Radiant
to Construct a Decision Tree (#2)</a>
<ul>
<li>This video demonstrates how to construct a basic decision tree in
Radiant</li>
<li>Topics List:
<ul>
<li>Rename a tree file</li>
<li>Construct a tree (following the rules for decision tree input)</li>
<li>Interpret the results (initial tree vs final tree)</li>
<li>Save the decision tree input .yaml file</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/NlvWCU8UhTc" target="_blank">How to Write
Decision Tree Results into a Report (#3)</a>
<ul>
<li>This video demonstrates how to construct a basic decision tree in
Radiant and add the generated R-code to report</li>
<li>Topics List:
<ul>
<li>Construct a decision tree and define variables in the decision
tree</li>
<li>Add multiple trees to a report</li>
<li>Demo some useful keyboard shortcuts</li>
<li>Save the Radiant state file and the report</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/c_pCCCn6FEw" target="_blank">Sensitivity
Analysis of Decision Tree (#4)</a>
<ul>
<li>This video shows two ways to conduct sensitivity analysis of a
decision tree in Radiant</li>
<li>Topics List:
<ul>
<li>Quick review of writing decision tree results to a report</li>
<li>Method 1: manually update the value</li>
<li>Method 2: use “variables”</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/oiwv15bbjzs" target="_blank">How to Debug
Decision Tree Input (#5)</a>
<ul>
<li>This video demonstrates how to debug decision tree input if you see
an error message</li>
<li>Topics List:
<ul>
<li>Colon missing</li>
<li>Indent issue</li>
<li>Probabilities don’t sum to 1</li>
<li>Value missing</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/xuv9zgAcvCQ" target="_blank">Decision
Trees with Imperfect Information (#6)</a>
<ul>
<li>This video shows how to determine the appropriate (conditional)
probabilities to use in a decision tree when the available information
is imperfect</li>
<li>Topics List:
<ul>
<li>Imperfect information</li>
<li>Test</li>
<li>Conditional probabilities</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/cVrYFFX3xN0" target="_blank">Solving a
Decision Tree with Imperfect Information (#7)</a>
<ul>
<li>This video shows how to use Radiant to construct and solve a
decision tree when the available information is imperfect</li>
<li>Topics List:
<ul>
<li>Specify variables</li>
<li>Build a tree with imperfect information</li>
<li>Check the tree</li>
<li>Interpret the decision tree result</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/Mi-eZEoU9TE" target="_blank">Writing
Decision Tree with Sub-trees in Radiant (#8)</a>
<ul>
<li>This video shows how to construct a decision tree with sub-trees in
radiant</li>
<li>Topics List:
<ul>
<li>Create a main tree that references a sub-tree</li>
<li>Specify a sub-tree that references the main tree in the variables
section</li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="probability-calculator" class="section level2">
<h2>Probability Calculator</h2>
<p>Copy-and-paste the full command below into the RStudio console (i.e.,
the bottom-left window) and press return to gain access to all materials
used in the probability calculator module:</p>
<pre><span style="font-size: 12pt;"><strong>usethis::use_course("https://www.dropbox.com/sh/zw1yuiw8hvs47uc/AABPo1BncYv_i2eZfHQ7dgwCa?dl=1")</strong></span></pre>
<ul>
<li><a href="https://youtu.be/UPL_8ujAXpww" target="_blank">Describing
the Distribution of a Discrete Random Variable (#1)</a>
<ul>
<li>This video shows how to summarize information about a discrete
random variable using the probability calculator in Radiant</li>
<li>Topics List:
<ul>
<li>Calculate the mean and variance for a discrete random variable by
hand</li>
<li>Calculate the mean, variance, and select probabilities for a
discrete random variable in Radiant</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/30YsxCTbDTc" target="_blank">Describing
Normal and Binomial Distributions in Radiant(#2)</a>
<ul>
<li>This video shows how to summarize information about Normal and
Binomial distributions using the probability calculator in Radiant</li>
<li>Topics List:
<ul>
<li>Calculate probabilities of a random variable following a Normal
distribution in Radiant</li>
<li>Calculate probabilities of a random variable following a Binomial
distribution by hand</li>
<li>Calculate probabilities of a random variable following a Binomial
distribution in Radiant</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/LbwUpEwTJ_Q" target="_blank">Describing
Uniform and Binomial Distributions in Radiant(#3)</a>
<ul>
<li>This video shows how to summarize information about Uniform and
Binomial distributions using the probability calculator in Radiant</li>
<li>Topics List:
<ul>
<li>Calculate probabilities of a random variable following a Uniform
distribution in Radiant</li>
<li>Calculate probabilities of a random variable following a Binomial
distribution in Radiant</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/XC2yN5BY8jg" target="_blank">Providing
Probability Bounds(#4)</a>
<ul>
<li>This video demonstrates how to provide probability bounds in
Radiant</li>
<li>Topics List:
<ul>
<li>Use probabilities as input type</li>
<li>Round up the cutoff value</li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="hypothesis-testing" class="section level2">
<h2>Hypothesis Testing</h2>
<p>Copy-and-paste the full command below into the RStudio console (i.e.,
the bottom-left window) and press return to gain access to all materials
used in the hypothesis testing module:</p>
<pre><span style="font-size: 12pt;"><strong>usethis::use_course("https://www.dropbox.com/sh/0xvhyolgcvox685/AADSppNSIocrJS-BqZXhD1Kna?dl=1")</strong></span></pre>
<ul>
<li><a href="https://youtu.be/QV1qA5RPzlY" target="_blank">Single Mean
Hypothesis Test (#1)</a>
<ul>
<li>This video shows how to test a hypothesis about a single sample mean
versus a population mean</li>
<li>Topics List:
<ul>
<li>Calculate summary statistics for a sample</li>
<li>Setup a hypothesis test for a single mean in Radiant</li>
<li>Use the p.value, confidence interval, or critical value to evaluate
the hypothesis test</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/tTYvBUCaR3w" target="_blank">Single
Proportion Hypothesis Test (#2)</a>
<ul>
<li>This video shows how to test a hypothesis about a single sample
proportion versus a population proportion</li>
<li>Topics List:
<ul>
<li>Setup a hypothesis test for a single proportion in Radiant</li>
<li>Use the p.value, confidence interval, or critical value to evaluate
the hypothesis test</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/cTWk0JADnVg" target="_blank">Compare Means
Hypothesis Test (#3)</a>
<ul>
<li>This video shows how to conduct a compare means hypothesis test</li>
<li>Topics List:
<ul>
<li>Calculate summary statistics by groups</li>
<li>Setup a hypothesis test for compare means in Radiant</li>
<li>Use the p.value and confidence interval to evaluate the hypothesis
test</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/ICqSRs4UfLM" target="_blank">Compare
Proportions Hypothesis Test (#4)</a>
<ul>
<li>This video shows how to conduct a compare proportions hypothesis
test</li>
<li>Topics List:
<ul>
<li>Setup a hypothesis test for compare means in Radiant</li>
<li>Use the p.value and confidence interval to evaluate the hypothesis
test</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/MEt8vO5FNYQ" target="_blank">Cross-tabs
Hypothesis Test (#5)</a>
<ul>
<li>This video demonstrates how to investigate associations between two
categorical variables by a cross-tabs hypothesis test</li>
<li>Topics List:
<ul>
<li>Setup a hypothesis test for cross-tabs in Radiant</li>
<li>Explain how observed, expected and contribution to chi-squared
tables are constructed</li>
<li>Use the p.value and critical value to evaluate the hypothesis
test</li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="linear-regression" class="section level2">
<h2>Linear Regression</h2>
<p>Copy-and-paste the full command below into the RStudio console (i.e.,
the bottom-left window) and press return to gain access to all materials
used in the linear regression module:</p>
<pre><span style="font-size: 12pt;"><strong>usethis::use_course("https://www.dropbox.com/sh/s70cb6i0fin7qq4/AACje2BAivEKDx7WrLrPr5m9a?dl=1")</strong></span></pre>
<ul>
<li><p><a href="https://youtu.be/xw4pxIcveh4" target="_blank">Data
Exploration and Pre-check of Regression (#1)</a></p>
<ul>
<li>This video shows how to use Radiant to explore and visualize data
before running a linear regression</li>
<li>Topics List:
<ul>
<li>View data</li>
<li>Visualize data</li>
</ul></li>
</ul></li>
<li><p><a href="https://youtu.be/MepD4N02UO8" target="_blank">Interpretation
of Regression Results and Prediction (#2)</a></p>
<ul>
<li>This video explains how to interpret the regression results and
calculate the predicted value from a linear regression model</li>
<li>Topics List:
<ul>
<li>Interpret coefficients (numeric and categorical variables)</li>
<li>Interpret R-squared and adjusted R-squared</li>
<li>Interpret F-test result</li>
<li>Predict from a regression model</li>
</ul></li>
</ul></li>
<li><p><a href="https://youtube.com/watch?v=P7SdRlZkGIM" target="_blank">Dealing
with Categorical Variables (#3)</a></p>
<ul>
<li>This video shows how to deal with categorical variables in a linear
regression model</li>
<li>Topics List:
<ul>
<li>Check the baseline category in Radiant</li>
<li>Change the baseline category</li>
</ul></li>
</ul></li>
<li><p><a href="https://youtu.be/JymPztY9jrc" target="_blank">Adding New
Variables into a Regression Model (#4)</a></p>
<ul>
<li>This video demonstrates how to test if adding new variables will
lead to a better model with significantly higher explanatory power</li>
<li>Topics List:
<ul>
<li>Set up a hypothesis test for adding new variables in Radiant</li>
<li>Interpret the F-test results</li>
<li>Compare this F-test to the default F-test in regression summary</li>
</ul></li>
</ul></li>
<li><p><a href="https://youtu.be/nLZx84v1PkI" target="_blank">Linear
Regression Validation (#5)</a></p>
<ul>
<li>This video demonstrates how to validate a linear regression
model</li>
<li>Topics List:
<ul>
<li>Linearity (scatter plots, same as the one in the pre-check)</li>
<li>Normality Check (Normal Q-Q plot)</li>
<li>Multicollinearity (VIF)</li>
<li>Heteroscedasticity</li>
</ul></li>
</ul></li>
<li><p><a href="https://youtu.be/byP2YJNqtRc" target="_blank">Log-log
Regression (#6)</a></p>
<ul>
<li>This video demonstrates when and how to run a log-log
regression</li>
<li>Topics List:
<ul>
<li>Transform data with skewed distributions by natural log
function</li>
<li>Interpret the coefficients in a log-log regression</li>
</ul></li>
</ul></li>
</ul>
</div>
<div id="simulation" class="section level2">
<h2>Simulation</h2>
<p>Copy-and-paste the full command below into the RStudio console (i.e.,
the bottom-left window) and press return to gain access to all materials
used in the simulation module:</p>
<pre><span style="font-size: 12pt;"><strong>usethis::use_course("https://www.dropbox.com/sh/72kpk88ty4p1uh5/AABWcfhrycLzCuCvI6FRu0zia?dl=1")</strong></span></pre>
<ul>
<li><a href="https://youtu.be/kYaRVbStwwI" target="_blank">Setting Up a
Simulation in Radiant (#1)</a>
<ul>
<li>This video demonstrates how to use Radiant to set up a
simulation</li>
<li>Topics List:
<ul>
<li>Brief introduction to the Poisson distribution</li>
<li>Specifying a simulation</li>
<li>Interpretation of the simulation summary</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/9r61AAks7sc" target="_blank">Setting Up a
Repeated Simulation in Radiant (#2)</a>
<ul>
<li>This video shows how to use Radiant to set up a repeated
simulation</li>
<li>Topics List:
<ul>
<li>Specifying a repeated simulation</li>
<li>Interpretation of the repeated simulation summary</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/0RDGddKTgtI" target="_blank">Using
simulation to solve probability questions (#3)</a>
<ul>
<li>This video demonstrates how to use simulation to solve probability
questions in Radiant</li>
<li>Topics List:
<ul>
<li>Review of setting up a (repeated) simulation</li>
<li>Interpretation of the simulation summary</li>
<li>Intuition of how repeated simulations work</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/gxzrVtAefoo" target="_blank">Simulation
Formula Tips (#4)</a>
<ul>
<li>This video discusses some helpful functions that are commonly used
in simulation formulas</li>
<li>Topics List:
<ul>
<li>Use <code>ifelse</code> to specify a simulation formula</li>
<li>Use <code>pmax</code> to specify a simulation formula</li>
</ul></li>
</ul></li>
<li><a href="https://youtu.be/GSghSOyJ1Ws" target="_blank">Using Grid
Search in Simulation (#5)</a>
<ul>
<li>This video demonstrates how to use grid search in simulation</li>
<li>Topics List:
<ul>
<li>Find an optimal value by sorting simulated data or creating a
plot</li>
<li>Find an optimal value by using <code>find_max</code> function</li>
</ul></li>
</ul></li>
</ul>
</div>
© Vincent Nijs (2024) <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">
<im2024t="Creative Commons License" style="border-width: 0" src="/docs/images/by-nc-sa.png" />
</a>
<!-- some extra javascript for older browsers -->
<script type="text/javascript" src="libs/polyfill.js"></script>
<!-- mathjax -->
<!-- <script type='text/javascript' src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> -->
<script>
// manage active state of menu based on current page
$(document).ready(function () {
// active menu
href = window.location.pathname
href = href.substr(href.lastIndexOf('/') + 1)
$('a[href="' + href + '"]').parent().addClass('active');
// manage active menu header
if (href.startsWith('authoring_'))
$('a[href="' + 'authoring' + '"]').parent().addClass('active');
else if (href.endsWith('_format.html'))
$('a[href="' + 'formats' + '"]').parent().addClass('active');
else if (href.startsWith('developer_'))
$('a[href="' + 'developer' + '"]').parent().addClass('active');
});
// Google analytics
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-61296577-2', 'auto');
ga('send', 'pageview');
</script>
</div>
<script>
// add bootstrap table styles to pandoc tables
function bootstrapStylePandocTables() {
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
}
$(document).ready(function () {
bootstrapStylePandocTables();
});
</script>
<!-- tabsets -->
<script>
$(document).ready(function () {
window.buildTabsets("TOC");
});
$(document).ready(function () {
$('.tabset-dropdown > .nav-tabs > li').click(function () {
$(this).parent().toggleClass('nav-tabs-open');
});
});
</script>
<!-- code folding -->
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>
</html>