rtutorials - Interactive R And Statistics Tutorials In German #807
luk-brue
started this conversation in
Show and tell
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
For the German Speaking Audience, there is a template tutorial (GitHub) which demonstrates our basic use of CSS and some very general Markdown and Learnr Exercise Rules, such as chained setup chunks etc. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Wahoo! This look great! I can only acknowledge this amount of efforts put in there! I will share these tutorials within my research group and hopefully bring you some feedback! Best, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Finally, the time has come to show off what we have been working on in the past two years :)
As a team of three, we have been writing rtutorials (GitHub), which is an introductory course to R and statistics in German, directed at people who have never programmed before. We wrote it to accompany a lecture in basic statistics for environmental and civil engineers during their bachelor, but it could work stand-alone as well. Our wish is to share this with fellow statistics departments in German-speaking countries as an open educational resource.
We have produced a total of 17 tutorials, starting with the basics and ending with simple linear regression. Some topics are illustrated by interactive Shiny Apps, for example on quantiles, sampling distributions and fitting a regression line (see below for some images).
1a_intro
1b_funktionen
1c_prozess
2a_vektoren
2b_indizierung
2c_dataframes
3a_import
3b_skalen
3c_zentraletendenz
4a_dispersion
ggplot2
4b_vis
4c_pipe
4d_datawrangling
5a_sampling
5b_ttest
6a_korrelationen
6b_regression
The package has gotten quite huge due to many used images and takes a while to download. Install instructions and how to deal with errors can be found in the README on GitHub.
Some Shiny Illustrations:
A great thing about learnr tutorials is that they can contain shiny apps. So with interactive quizzes, executable code chunks and shiny apps, directly at your fingertips in an RStudio panel, learnr is still a really good choice for writing educational resources in my opinion. Thanks to all the developers and maintainers who make this possible! 🎉
Getting your score at the end
We have implemented a very basic evaluation of the quiz questions answered throughout the tutorial, using
learnr:::get_tutorial_state()
. The score is more of a little gadget than an actual evaluation, because all questions have retry enabled. For example, in the image it says: "4 out of 4 question answered throughout the whole tuorial have been answered correctly" after user clicked "Auswertung!" (Evaluate).Guessind the mean
This is a simple app that should help understand that the positive and negative deviations of the mean should always cancel out. The user has to drag the slider to find the mean. Then a new set of numbers can be spawned and user can find the new mean.
It is using a kinda brute force
while()
loop to sample integers that also have an integer mean, so no fractional numbers appear and everything remains intuitive. (I am sure there is a beautiful algorithm for that but it is good enough for small sets).Quantiles
This app showcases an empirical distribution function and quantiles.
A very simple demonstration of variance...
Fitting a regression line
There are also a lot of carefullly crafted quiz questions that aim to give informative feedback on every answer option.
Disclaimer
Nobody of us is a statistics professor. Even though we all study or studied psychology, and therefore learned a lot of statistics, there can be errors. We took great care when writing this and had a review process in our little team of three for each tutorial, but it was never reviewed officially by the outside world. Hopefully this will change now! Feedback, questions and pull requests are very welcome! So please, read and fact check youself.
Contributors (until now)
@marie-kamp, leading the project
@gesagraf
@luk-brue
and from the outside world:
@jeffreyohene with some pull requests
Beta Was this translation helpful? Give feedback.
All reactions