Publications by R - datawookie

Updates to the Big Book of R

25.06.2024

The Big Book of R provides a comprehensive and ever-growing overview of a broad selection of R programming books. It was created and is maintained by Oscar Baruffa. The collection began with approximately 100 books and, with the help of contributions from the R community, has subsequently expanded to over 400. The books are grouped into topics such...

5571 sym 2 img

Creating Email Threads

21.06.2024

The ability to specify a message ID in emails sent from the {emayili} package makes it possible to create email threads. Create a Server First set up the SMTP server details. Credentials are stored in environment variables. library(emayili) GMAIL_USERNAME = Sys.getenv("GMAIL_USERNAME") GMAIL_PASSWORD = Sys.getenv("GMAIL_PASSWORD") smtp <- gmail( ...

1728 sym R (1802 sym/8 pcs) 2 img

{emayili} Support for Mailtrap

22.04.2024

The {emayili} package has adapters which make it simple to send email via a variety of services. For example, it caters specifically for ZeptoMail, MailerSend, Mailfence and Sendinblue. The latest version of {emayili}, 0.8.0 published on 23 April 2024, adds an an adapter for Mailtrap. Account Setup Before you can send emails via Mailtrap you will n...

2009 sym R (542 sym/4 pcs) 4 img

Asset Allocation

18.04.2024

The Two-Fund Separation Theorem introduced by James Tobin, a Nobel Prize-winning economist, is a fundamental concept in investment theory. It addresses how investors can optimally allocate their assets. In an efficient market an optimal portfolio is a combination of a risk-free asset and a market portfolio. Asset Allocation Let’s build a portfoli...

1712 sym R (270 sym/3 pcs) 2 img

Parameter Constraints & Significance

15.04.2024

Setting the values of one or more parameters for a GARCH model or applying constraints to the range of permissible values can be useful. The art of the econometrician consists in finding the set of assumptions which are both sufficiently specific and sufficiently realistic to allow him to take the best possible advantage of the data available to h...

3058 sym R (2618 sym/8 pcs)

Leverage Effect

11.04.2024

The models we have been looking at do not differentiate between positive and negative residuals: both errors are treated the same. However, this does not align with reality, where the volatility resulting from a large negative return is higher than that for the corresponding positive return. The reason for this is that a large negative return produ...

4159 sym R (1959 sym/6 pcs) 10 img

Loading Financial Time Series

07.04.2024

I’m going to be writing a series of posts which will look at some applications of R (and perhaps Python) to financial modelling. We’ll start here by pulling some stock data into R, calculating the daily returns and then looking at correlations and simple volatility estimates. Data I was looking for a chunky set of stock data, preferably someth...

5214 sym Python (3118 sym/14 pcs) 8 img

Weekly Digest — 2023/12/01

30.11.2023

Some things that got my attention this week: Titan Image Generator in AWS Bedrock AWS Transcribe Supports 100+ Languages Cron Jobs in Vercel R v4.3.2 Spark v3.4.2 Keras v3.0.0 and Oceanography Gift. Titan Image Generator in AWS Bedrock — AWS Bedrock now includes the Titan Image Generator, which will rapidly create and refine studio-quality,...

2780 sym 6 img

Weekly Digest — 2023/11/24

23.11.2023

My information highlights for the week: CodeWhisperer on the Command Line Jobs with Higher Income and Fewer Hours and httr2 v1.0.0. CodeWhisperer on the Command Line — CodeWhisperer is a general purpose code generator powered by Machine Learning. It provides real time code recommendations as you code. You’re most likely to have encountere...

1806 sym 2 img

{pagedown} Page Size & Margins

21.10.2022

At Fathom Data we have been doing a lot of automated documentation and automated reporting. Although many of these documents are rendered to HTML, there’s an increasing demand for PDF documents. So we’ve had to raise out game in that department. The {pagedown} package has become invaluable. This is a short note showing how we tweak the page s...

3314 sym R (1376 sym/7 pcs) 4 img