A Guide to R Package Validation in Pharma

October 15, 2024 | Gift Kenneth

Picture this: a crucial clinical trial is underway, and every data point matters. The pharma industry is increasingly turning to open-source tools like R to handle complex data analysis, drawn by their flexibility, innovation, added value and cost-effectiveness. But with these benefits come new challenges — particularly when it comes to ...
[Read more...]

PowerQuery Puzzle solved with R

October 15, 2024 | Numbers around us

#225–226PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #225Sometimes we have nice tables with so called tidy data, where each observation mean one row. But this ...
[Read more...]

R Solution for Excel Puzzles

October 14, 2024 | Numbers around us

Puzzles no. 559–563PuzzlesAuthor: ExcelBIAll files (xlsx with puzzle and R with solution) for each and every puzzle are available on my Github. Enjoy.Puzzle #559Sometimes we need to make work on columns. It technically just like working on lists, and l...
[Read more...]

Authenticate with Alpaca API

October 12, 2024 | R - datawookie

The {alpacar} package for R is a wrapper around the Alpaca API. API documentation can be found here. In this introductory post I show how to install and load the package, then authenticate with the API and retrieve account information. [Read more...]

Halloween Data Cleaning

October 12, 2024 | R on kieranhealy.org

This week in Modern Plain Text Computing we put together some of the things we’ve been learning about cleaning and tidying data. Here’s a somewhat sobering example using data from the Fatality Analysis Reporting System, which is how the NTSA tracks information about road accidents in the United ... [Read more...]

Calculating an LOOCV MSE by hand

October 11, 2024 | arthur charpentier

Last week, we had an “mid-term” exam, for our introduction to statistical learning course.  The question is simple: consider three points, , here Consider here some linear models, estimated using least square techniques, what would be the leave-one-out cross-validation MSE ? I like this exercise since we can compute everything easily, by ...
[Read more...]
1 2 3 2,140