Boyie ChenInstall and Run GPT4All on Raspberry Pi 4Running LLM locally is fascinating because we can deploy applications and do not need to worry about data privacy issues by using 3rd party…3 min read·Nov 4, 2023--1--1
Boyie Chen`etable` in `fixest` package — how to make an AER-like paper regression table in RCommon Used package in R4 min read·Aug 2, 2022----
Boyie ChenTricks for using group_by() and summarize() with list columns in R dplyr有時候我們會想要分組計算一些統計量,所以會使用 group_by(GROUP_LABEL) 並結合 summarize(STAT = FUN(VARIABLE)) 來得到想要的分組後的統計量。例如這個 minimal example8 min read·Jul 31, 2022----
Boyie ChenSimulating Bertrand’s Paradox with R — what does a “random chord” mean?Simulating Bertrand’s Paradox with R7 min read·Apr 22, 2022----
Boyie ChenJupyterLab 配置 XeLaTeX -- 建立本機上的 Overleaf 吧!LaTeX 是相當優秀的排版語言,而寫論文、數學式時經常需要用到 TeX 語言來讓排版簡潔有力。可是 TeX 語言的環境問題經常是一大困擾,所以不少人選擇使用線上的 overleaf 來作為主力的排版環境。我也相當喜歡使用…3 min read·Jan 28, 2022----
Boyie ChenSolving Monty Hall Problem with Monte Carlo Simulation in RMonty Hall Problem 是許多第一次接觸機率論或初統的同學會很容易卡住的問題。同學們常常會思索著 information inflow 跟 update 條件機率必不太直觀,因此也不容易接受 Monty Hall Problem 的結論。以下我們嘗試在 R…8 min read·Jan 16, 2022----