John Hill's Avatar

John Hill

@johnghill.bsky.social

Interested in social science methods, labour econ, social policy, longitudinal data and survival analysis. Promiscuous user of R, Stata, Quarto, Logseq, Manjaro Linux. Irish in Britain. sciences.social/@john github.com/johnghill twitter.com/johnhill

253 Followers  |  959 Following  |  20 Posts  |  Joined: 19.09.2023  |  2.0779

Latest posts by johnghill.bsky.social on Bluesky

Preview
GitHub - mcanouil/quarto-wizard: Quarto Wizard is a Visual Studio Code extension that assists you in managing Quarto projects. Quarto Wizard is a Visual Studio Code extension that assists you in managing Quarto projects. - mcanouil/quarto-wizard

Streamline Your #Quarto Projects with Quarto Wizard! πŸ§™β€β™‚οΈπŸͺ„βœ¨

Easily manage your Quarto projects with this Visual Studio Code extension. Browse, select, and install Quarto extensions seamlessly from the Quarto Extensions listing repository. Enhance your development experience.
github.com/mcanouil/qua...

18.11.2024 23:31 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 3    πŸ“Œ 0
Checks for Various Computing Environments A collection of lightweight functions that can be used to determine the computing environment in which your code is running. This includes operating systems, continuous integration (CI) environments, ...

{ami} helps your #rstats code detect and adapt to its environment. Version 0.2.1 is now in CRAN with support for detecting Positron, #python venvs, and more. briandconnelly.github.io/ami/

20.11.2024 16:13 β€” πŸ‘ 3    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

Types of Econ Papers by @maximananyev.bsky.social
#econsky #xkcd

17.11.2024 19:09 β€” πŸ‘ 171    πŸ” 47    πŸ’¬ 5    πŸ“Œ 11
website:
  page-footer:
    right: 
      - text: "{{< iconify simple-icons bluesky >}}"
        href: https://bsky.app/profile/ivelasq3.bsky.social

website: page-footer: right: - text: "{{< iconify simple-icons bluesky >}}" href: https://bsky.app/profile/ivelasq3.bsky.social

Want to add a Bluesky icon to your #Quarto site? πŸ¦‹

β€’ Install quarto-iconify: github.com/mcanouil/qua...
β€’ Add as 'text'

- text: "{{< iconify simple-icons bluesky >}}"
href: bsky.app/profile/ivel...

Example code: github.com/ivelasq/pipe...
Related GH link: github.com/quarto-dev/q...

01.11.2024 23:15 β€” πŸ‘ 130    πŸ” 42    πŸ’¬ 6    πŸ“Œ 3
Preview
GitHub - r-wasm/quarto-drop: Drop down an interactive R or Python console, code editor, and plotting window from the top of your Quarto slides. Drop down an interactive R or Python console, code editor, and plotting window from the top of your Quarto slides. - r-wasm/quarto-drop

Have you ever given a presentation and wished you had an #RStats or #Python console right there in your slides?

@gwstagg.bsky.social shared: Quarto Drop is a #Quarto extension that adds an interactive console into a Quarto reveal.js presentation.

Learn more: github.com/r-wasm/quart...

17.09.2024 14:14 β€” πŸ‘ 37    πŸ” 14    πŸ’¬ 2    πŸ“Œ 0

A tour of garden centres

05.10.2024 14:39 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If the alphanumeric Library of Congress catalogue has any merits over Dewey decimal classification please let me know what they are!

24.09.2024 13:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Teaching | main

Since COVID, I recorded a ton of introductory lectures on data science, and data cleaning/visualization on Excel and R on Youtube. Finally managed to curate the most useful ones for beginners/newcomers and put them up on my website: akinunver.org/teaching

15.09.2024 11:31 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Did you know?
gabors-data-analysis.com/getting-star...

Slides
gabors-data-analysis.com/chapter-deta...

Github
github.com/gabors-data-...

#EconSky πŸ“ˆπŸ“‰

01.09.2024 13:47 β€” πŸ‘ 19    πŸ” 10    πŸ’¬ 0    πŸ“Œ 1

library(conflicted)

02.05.2024 06:31 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
quarto-webr rendered code box nested in tabset

quarto-webr rendered code box nested in tabset

quarto-webr rendered solution box nested in tabset

quarto-webr rendered solution box nested in tabset

21.02.2024 19:05 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Another useful tip is to use quarto's `panel-tabset` to present a code window and solution in a pair of tabs. Students can evaluate their code, check the solution if necessary, and return to repair their own work. I usually structure their code box with comments/headings/tips to keep them moving.

21.02.2024 18:58 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Not a full quants module, but I’m using quarto-webR for labs in labour economics and it’s been a joy. All the benefits of RStudio Cloud with zero costs, simple UI, perfect for combining live code cells and explanatory text/exercises in quarto pages, host on GitHub pages: github.com/coatless/qua...

21.02.2024 17:16 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Title and abstract of the paper: 

Pearl before economists: the book of why and empirical economics

Structural Causal Modeling (SCM) is an approach to causal inference closely associated with Judea Pearl and given an accessible instroduction in [Pearl, J., & Mackenzie, D. (2018). The book of why: The new science of cause and effect. Basic Books]. It is highly popular outside of economics, but has seen relatively little application within it. This paper briefly introduces the main concepts of SCM through the lens of whether applied economists are likely to find marginal benefit in these methods beyond standard economic approaches to causal inference. The most promising areas are those where SCM's causal diagrams alone offer significant value: covariate selection, the development of placebo tests, causal discovery, and identification in complex models.

Title and abstract of the paper: Pearl before economists: the book of why and empirical economics Structural Causal Modeling (SCM) is an approach to causal inference closely associated with Judea Pearl and given an accessible instroduction in [Pearl, J., & Mackenzie, D. (2018). The book of why: The new science of cause and effect. Basic Books]. It is highly popular outside of economics, but has seen relatively little application within it. This paper briefly introduces the main concepts of SCM through the lens of whether applied economists are likely to find marginal benefit in these methods beyond standard economic approaches to causal inference. The most promising areas are those where SCM's causal diagrams alone offer significant value: covariate selection, the development of placebo tests, causal discovery, and identification in complex models.

This paper by @nickchk.bsky.social (doi.org/10.1080/1350... ) is the best, most accessible introduction and explanation of how DAGs can be useful for causal inference for people more familiar with potential outcomes and econometrics-style approaches

statsky polisky econsky episky

21.02.2024 16:08 β€” πŸ‘ 74    πŸ” 30    πŸ’¬ 4    πŸ“Œ 1

Worthwhile discussion of the varieties of representation in western democracies, between David Runciman and Lea Ypi
podcasts.apple.com/gb/podcast/p...

24.10.2023 12:32 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Check out deck.blue for a tweetdeck experience. Generate an app password here: bsky.app/settings/app...

21.10.2023 19:38 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

Thanks. I hadn’t noticed that the app menu changes depending on whether I am already subbed to a feed.

21.10.2023 10:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

What is the difference between favouriting, pinning and importing a feed?

21.10.2023 08:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

A long overdue reckoning is underway. I'll check on progress in 5 years time -- where, out of power, I expect The Spectator (and the Tories) will have re-discovered the benefits of the single market long before Labour gets there.

07.10.2023 20:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

* Redwood was characteristically bitter despite having won, and his appeals to conspiracy are tiresome;
* Grant was calm and well informed -- which drew more stunned silence than rebuttal;
* Villiers has never been of this world so I won't waste my 300 characters.

07.10.2023 20:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I'll reply to myself.
* The pitch of Elliott's voice rose in proportion to the desperation of his claims;
* Cavendish made reasonable arguments but any appeal to sympathy for FoM for arts/culture is, ironically, misplaced as the UK prepares to enter another culture war election;

07.10.2023 20:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

This is going be a hoot, isn’t it. Spectator tries introspection…

07.10.2023 18:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Looking forward to reading @kjhealy.bsky.social advice on `targets` and `renv`, both of which I already use. Often wrestle with `targets` but it does force you to explicitly consider project arrangement from day 1.

mptc.io/content/05-c...

07.10.2023 17:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Better late than never: latest Stata update speeds up reshape.

06.10.2023 18:03 β€” πŸ‘ 33    πŸ” 15    πŸ’¬ 2    πŸ“Œ 4

Who would like me to post on academic workflows using #Logseq ?

Hit πŸ’™ or reply with requests…

logseq.com

07.10.2023 10:26 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Screenshot showing a list of Zotero add-ons: Better BibTeX, MDnotes, scite, Zotfile, Zutilo

Screenshot showing a list of Zotero add-ons: Better BibTeX, MDnotes, scite, Zotfile, Zutilo

Long time user of #zotero, here. There are my add-ins:

* BetterBibTex to set citation key format
`authAuthEa.lower+"."+year` and manage exports
* Zotfile to rename attachments where `%b` uses citation key; can also watch a folder

1/5

07.10.2023 08:51 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

CrossRef's SimpleTextQuery can append DOIs to formatted citations (right-click items > Generate Bib) but not without some grunt work. Python and regex can help. apps.crossref.org/SimpleTextQu...

5/5

07.10.2023 08:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

DOIs are increasing important for literature mapping but Zotero does not provide DOI field for books. Can manually store `DOI:` in `Extra` field but it won't be detected by Scite (bug reported).

4/5

07.10.2023 08:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Pros:
* Reliable, cross-platform;
* Two-way sync to Zotero app on iPad

Cons:
* Collections are silos;
* No reminder if item appears in >1 collection. Would prefer dynamic collections;
* Tag feature is basic;
* Fulltext search is basic. Recoll (Linux/Win) provides un/ordered proximity searches.

3/5

07.10.2023 08:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@johnghill is following 20 prominent accounts