Posts

Showing posts from September, 2025

Mount Google Drive to Google Colab

We often need to read some data files into R, and it is a bit tricky with google colab as it doesn't have access to the files saved in your local drive.  The solution is to upload the date files to your google drive. I highly recommend you open a new google account designated for this class only (or your other school work) so that they don't get mixed up with your personal stuff.  We still need to take a few extra steps, but fortunately I believe that you only need to do this once, or once a while.  Here is the tricky part. Although we only want to use R, we need to run some Python code first to mount google drive. First make sure that you change the runtime to Python 3, then run the code below,  from google.colab import drive drive.mount( '/content/drive' ) A new browser window will pop up and ask you for permission to access google drive. C lick on the top box to  gives google colab the full access.  Then run the line below, also under the python load_e...

Lecture 1

 Lecture 1, Sept 29, 2025  Advice on learning statistics Reasoning >> Procedures.  Do not memorize a recipe but find the spirit in that recipes so that you can improvise when necessary "Any fool can know. The point is to understand" - Albert Einstein Common sense before Math, Math is the formalization of common sense Computers are VERY useful tools  Simulation is powerful in evaluate statistical procedures Simple computational procedures can replace mathematical approaches Advice on learning R Don’t be afraid to ask people around you  Don’t be afraid to ask the internet or strangers on internet (https://stackoverflow.com) Don’t be afraid to test-run your code  Don't be afraid to ask AI, but they have to earn your trust Try to figure out the cryptic error messages  Try to read R documentation (help function)  Some Online Source of Learning R Online Resource at Einstein  https://einsteinmed.edu/centers/ictr/biostatistics-epidemiology-rese...

Syllabus

Image
   qsbrii2025.blogspot.com Policy on video recording or remote access 1. All lectures are in-person. Students are strongly encouraged to attend, especially for R-sessions.  2. The video recordings of the lectures will NOT be available for any personal or professional reasons. However, all lecture notes and homework are available online, and the students are encouraged to schedule (remote or in-person) office hours with me.  3. Remote access by zoom will be available. However, all attendees will be muted but you can communicate through chat . I expect that you will join zoom from a private and quiet environment.  Canvas vs blogspot.com 1. ALL lecture notes, homework assignments, and other teaching material are only available on qsbrii2025.blogspot.com. 2. Canvas will be used for class announcement ONLY.   Time and Location  MW 1:20-2:40 F 1:20-3:00 Foch 3rd floor Lecture Hall  or ED Center lower floor (10/1, 10/17) GOAL:  Build ...