SuperLearner and LTMLE Solutions

Introduction SuperLearner and LTMLE # Install packages if (!require(“pacman”)) install.packages(“pacman”) pacman::p_load(# Tidyverse packages including dplyr and ggplot2 tidyverse, set.seed(44) SuperLearner, tidymodels, For our final lab, we will be looking at the SuperLearner library, as well as the Targeted Maximum Likelihood Estimation (TMLE) framework, with an extension to longitudinal data structures. This lab brings together a …

SuperLearner and LTMLE Solutions Read More »

RU01 R 5

6-7: Sensitivity Analysis and Bounds – Solutions April 18, 2024 Sensitivity Analysis Rationale So far in our explorations of observational studies we have considered various methods of accounting for measured confounders W as well as some cases in which we can account for unmeasured confounders U (e.g. if we have measured a suitable instrumental variable). …

RU01 R 5 Read More »

DiD and Synthetic Control Solutions

## Loading required package: pacman 6-6 DiD and Synthetic Control April 03, 2024 he ‘rlang’ pac # Install packages if (!require(“pacman”)) install.packages(“pacman”) # We are using a package (augsynth) that is not on CRAN, R packages on CRAN have to pass # some formal tests. Always proceed with caution if a packages is not on …

DiD and Synthetic Control Solutions Read More »

R Refresher

R Refresher: Notebooks, Notation and Visualization UC Berkeley Social 273M: Computational Social Science, Part B Spring 2021 Learning Objectives 2 Basic R Commands 2 Importing and Manipulating Data 5 A note on data.table vs data.frame and dplyr 9 Generating Random Numbers 9 ggplot 11 R Markdown 14 TheHeader…………………………………………. 14 Basics……………………………………………. 14 Making PDFs using R …

R Refresher Read More »

COM4521 COM6521 GPU Assignment

COM4521/COM6521 Parallel Computing with Graphical Processing Units (GPUs) COM4521/COM6521 Parallel Computing with Graphical Processing Units (GPUs) Assignment (80% of module mark) Deadline: 5pm Friday 17th May (Week 12) Starting Code: Download Here Document Changes Any corrections or changes to this document will be noted here and an update will be sent out via the course’s …

COM4521 COM6521 GPU Assignment Read More »

COMP26020 Lab 5 Solidity

COMP26020: Programming Languages and Paradigms Lab 5 – Solidity Joseph Razavi and Richard Banach 1 Introduction This lab exercise is about learning a programming language with unusual aspects from its documentation. We focus on the Solidity programming language, in particular Solidity version 6, which you can read about https://docs.soliditylang.org/en/v0.6.0/ Solidity is a language designed to …

COMP26020 Lab 5 Solidity Read More »

CMT313 individual portfolio

Cardiff School of Computer Science and Informatics Coursework Assessment Pro-forma Module Code: CMT313 Module Title: Software Engineering Lecturer: Usashi Chatterjee, Matthew Moloughney, Annelies Gibson Assessment Title: Individual portfolio Assessment Number: 3 of 3 Submission Date and Time: Spring Week-11, May 2nd, 2024 Feedback return date: 31st May, 2024 If you have been granted an extension …

CMT313 individual portfolio Read More »

CSCI561 HW3 2024

CSCI-561 – Spring 2024 – Foundations of Artificial Intelligence Homework 3 Due Monday April 15, 2024, 23:59:59 PST 1. Assignment Overview In this homework assignment, you will implement a multi-layer perceptron (MLP) and use it to solve a classification task on real-world data from the New York housing market. Your algorithm will be implemented from …

CSCI561 HW3 2024 Read More »