Oscar Kjell's Avatar

Oscar Kjell

@oscarkjell.bsky.social

Assessing Psychological Constructs Using NLP and Machine Learning Developer of R-packages: #r-text, #r-topics and #r-talk Precision Mental health Well-being and Harmony Research Based at Lund University and Stony Brook University

2,674 Followers  |  281 Following  |  46 Posts  |  Joined: 26.09.2023  |  1.7717

Latest posts by oscarkjell.bsky.social on Bluesky

Post image

1/5 Did you ever wish to make a visualization of language data? πŸ€”

We made an R-based tutorial for social scientists on how to turn language data into visual insights βœ…

Preprint: doi.org/10.31234/osf...

28.07.2025 10:42 β€” πŸ‘ 5    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

the R-packages text 1.6 and topics .6 are now on CRAN

topics includes visualisation improvements

text is now easier to install, it checks for dependencies and instructs how to install them

hope to get more user feedback to improve installation further

www.r-text.org
#rtext #rtopics #LLM #AI

23.07.2025 05:51 β€” πŸ‘ 10    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

hi again, please note that text 1.6 and topics 0.6 is now on CRAN.... and this version of text does not require the user to download JAVA. The installation is now made easier by explicitly checking and providing instructions regarding system dependencies. (again, thanks for the feedback)

23.07.2025 05:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
HiTOP Teaching Hub Information about HiTOP self-report measures, including HiTOP-PRO, the harmful substance use module, and B-HiTOP

We’ve just launched the HiTOP Teaching Hubβ€”a space to collect and share materials for teaching dimensional models.

If you have anything you're willing to share, please contact @kathleenwreardon.bsky.social or @miriforbes.bsky.social

Here's what we have so far: www.hitop-system.org/hitop-teachi...

18.06.2025 12:14 β€” πŸ‘ 44    πŸ” 22    πŸ’¬ 0    πŸ“Œ 2

The LEADING reporting guideline is now published in Comprehensive Psychiatry πŸ₯³

See www.sciencedirect.com/science/arti...

Or read the previous summary πŸ‘‡

16.06.2025 11:05 β€” πŸ‘ 9    πŸ” 6    πŸ’¬ 0    πŸ“Œ 1
Erroneous version of the chart with a significant share of cancer deaths being from lymphatic and blood cancers, across all ages.

Erroneous version of the chart with a significant share of cancer deaths being from lymphatic and blood cancers, across all ages.

Fixed version of the chart with a much smaller share of cancer deaths being from lymphatic and blood cancers, especially smaller during childhood.

Fixed version of the chart with a much smaller share of cancer deaths being from lymphatic and blood cancers, especially smaller during childhood.

1/ Correction! 🚨 I found and fixed an important coding error in a chart I made.

Specifically, the peach category 'lymphatic and blood cancers' in this chart wrongly included both lymphoid and blood cancers (C81-C96) plus some of its subcategories, meaning some were double-counted.

Before & after:

15.05.2025 13:56 β€” πŸ‘ 57    πŸ” 5    πŸ’¬ 4    πŸ“Œ 2

1. which text version are you using? have you installed the latest version from CRAN 1.5?
2. when you try this, can you please first always remove the embeddings that are automatically saved in your working directory (called something like textPredict_694....RDS).

12.05.2025 06:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

i'm not able to reproduce this (some colleagues have tried too). if you run it in a standard R script, do u get some more info? (every time you try, pls use different texts input so u make a new embeddings every time). im also happy to schedule an online meeting next week to try n sort this out :)

10.05.2025 17:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I’m thrilled about this special issue β€” please submit your abstract!

09.05.2025 04:13 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Today’s reading exercise.

08.05.2025 10:27 β€” πŸ‘ 7647    πŸ” 1122    πŸ’¬ 366    πŸ“Œ 134

if that does not work, can you please try running this:

res <- textAssess(
model_info = "valence_facebook_mxbai23_eijsbroek2024",
texts = "test one")

08.05.2025 11:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

in the console it says you are loading some embedings called textPredict_..... These are created automatically when running textPredict() with a new text. Now these embeddings are named differently; so try setting dim_name = FALSE within textPredict call.

08.05.2025 11:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Thanks for your patience. Do u already have a word embeddings for this text in your working directory?
Can u pls 1) try with a different text, or 2) delete any word embeddings created from textPredict() in ur working directory.
(i should add improve the warning!).

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

yes, thanks for letting me know. i've been thinking about this too. there are a few functions that i would prefer not having in both packaged to simplify maintenance. but, i will look into a solution so that the text-package installation does not require rJava. ill keep you posted.

08.05.2025 07:35 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

have you tried to first downloading java from www.java.com/en/download/.

08.05.2025 06:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Extended Installation Guide

hmm what is the error? Have you tried installing rJava first?
here you can see more details about installing the text package (r-text.org/articles/hug...)
im happy to get feedback if it does not work.

06.05.2025 16:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
The Language-Based Assessment Model (L-BAM) Library

Version 1.5 of the #r-text package is now available from #CRAN.

This version improves the application of pre-trained language assessments from the #LBAM-library (r-text.org/articles/LBA...).

#mlsky #PsychSciSky #Statistics #PsychSciSky #StatsSky #NLP

04.05.2025 06:25 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Preview
Differentiating balance and harmony through natural language analysis: a cross-national exploration of two understudied wellbeing-related concepts Although the concepts of balance and harmony are increasingly appreciated as important in research on wellbeing, their precise meaning is often vague or unclear. This paper aims to elucidate these ...

1/8
Balance βš–οΈ vs. Harmony ☯️: Two emerging well-being constructs often sloppily used interchangeably.
But they’re distinct.

Balance = broad life domains βš–οΈ
Harmony = relationships🧘

We asked 15,275 people across 154 nations to show it.

www.tandfonline.com/doi/full/10....

20.02.2025 09:35 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Thanks for tagging me πŸ™Œ looks really interesting? Would you like to present this to our research lab in an online meeting?

20.02.2025 08:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
At least one Doctoral student in Psychology The Department of Psychology is now looking for a doctoral student in any field of study in the subject and based on their own proposed project plan. Regarding the doctoral programme The doctoral prog

our department at Lund University has a position for a PhD student.

feel free to reach out if you are interested in applying.

lu.varbi.com/en/what:job/...

30.01.2025 08:42 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
tidymodels Internship for 2025 - Tidyverse The tidymodels team is sponsoring a summer internship in 2025.

The tidymodels group has an #rstats summer internship position this year.

The focus is on feature selection tools. All of the information is in the blog post below.

We look forward to seeing your applications!

www.tidyverse.org/blog/2025/01...

14.01.2025 18:00 β€” πŸ‘ 54    πŸ” 30    πŸ’¬ 2    πŸ“Œ 3

Thanks for the info! I will check it out!

30.12.2024 16:35 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I really wish I discovered the {S7} and {cli} package before -- it would have really streamlined so much package development

100% recommend these tools for any package developers.

#rstats

30.12.2024 01:50 β€” πŸ‘ 20    πŸ” 2    πŸ’¬ 2    πŸ“Œ 1

How come? Any advice on where to start learning more? 😁

30.12.2024 12:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
A NASA photo of NGC 2264- a cosmic tree that has been named the Christmas Tree Cluster which lives in our galaxy about 2,500 light-years from Earth. It contains baby stars that are between 1 and 5 million years old πŸ₯Ί

A NASA photo of NGC 2264- a cosmic tree that has been named the Christmas Tree Cluster which lives in our galaxy about 2,500 light-years from Earth. It contains baby stars that are between 1 and 5 million years old πŸ₯Ί

when the star on the tree is an actual star lol

A NASA photo of the Christmas Tree Cluster πŸŽ„

24.12.2024 19:08 β€” πŸ‘ 16536    πŸ” 2403    πŸ’¬ 180    πŸ“Œ 117
Christmas card of a small tree, wrapped gifts and a cat.

Christmas card of a small tree, wrapped gifts and a cat.

We received this beautiful handcrafted Christmas card from a student from Germany who visited us earlier this year... she did an amazing job capturing our cat! πŸŽ„β­

Merry Christmas, everyone!

23.12.2024 10:17 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
The Language-Based Assessment Model (L-BAM) Library

Version 1.3 of the #r-text package is now available from #CRAN.

This new version makes it easier to apply pre-trained language assessments from the #LBAM-library (r-text.org/articles/LBA...).

#mlsky #PsychSciSky #Statistics #PsychSciSky #StatsSky #NLP

22.12.2024 08:48 β€” πŸ‘ 9    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Preview
Create searchable Bluesky bookmarks with R How to save and search all the Bluesky posts you’ve liked with the atrrr R package and use NotebookLM to ask natural language questions about those likes.

Better than bookmarks? Use R to save all your Bluesky likes in a searchable table!
Bonus if you use generative AI: Upload them to a free service like Google NotebookLM and ask natural language questions to find that post you remember.

www.infoworld.com/article/3623...

#Rstats #R #GenAI #Bluesky

19.12.2024 16:12 β€” πŸ‘ 45    πŸ” 10    πŸ’¬ 3    πŸ“Œ 2
A hex logo with 'lintr' written in light blue stitch. The angled white band behind this lettering appears to be "wiped on" by a lint roller at the right end of the hex. The rest of the hex is a Nordic knit sweater pattern in various shades of blue.

A hex logo with 'lintr' written in light blue stitch. The angled white band behind this lettering appears to be "wiped on" by a lint roller at the right end of the hex. The rest of the hex is a Nordic knit sweater pattern in various shades of blue.

#rstats {lintr} finally got a hex logo! Thanks to @gregswinehart.bsky.social! And of course @hadley.nz for the initiative.

20.12.2024 06:26 β€” πŸ‘ 45    πŸ” 11    πŸ’¬ 1    πŸ“Œ 1
Preview
(PDF) Tell Us What You Really Think: A Think Aloud Protocol Analysis of the Verbal Cognitive Reflect... PDF | The standard interpretation of cognitive reflection tests assumes that correct responses are reflective and lured responses are unreflective.... | Find, read and cite all the research you need o...

πŸ‘‹ I’m Nick.

I study how we can make better decisions.

Some examples:
- Bounded Reflectivism & Epistemic Identity: researchgate.net/publication/356615873
- Great Minds Do Not Think Alike: researchgate.net/publication/359114933
- Tell Us What You Really Think: researchgate.net/publication/370193206

09.09.2023 11:32 β€” πŸ‘ 22    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

@oscarkjell is following 20 prominent accounts