# Adult Social Behavior Questionnaire (ASBQ); self-report, excluding 'sensory stimulation and motor stereotypes'
reduced_contact <- c(
"i do not take the initiative in contacts with other people",
"i have little or no interest in socializing with others",
"i ignore invitations from others to do something with them",
"i avoid people who try to make contact with me",
"the only contact i have with others is when i have to buy something or arrange something, for example with people in a shop or in a government office",
"i am a loner, even in a group i hold myself apart",
"i do not enjoy doing things with other people, for example, doing a chore together or going somewhere together"
)
reduced_empathy <- c(
"i find it difficult to put myself in someone else’s shoes, for example, i can not see why someone is angry",
"i am unaware of other people’s emotional needs, for example, i do not encourage other people or reassure them",
"i find it hard to sense what someone else will like or think is nice",
"i am not really bothered by someone else in pain",
"i do not notice when someone is upset or has problems",
"the reason why i would contact others is to get things done rather than because i am interested in them",
"i do not show sympathy when others hurt themselves or are unhappy"
)
reduced_interpersonal_insight <- c(
"i do not get jokes",
"i take everything literally, for example, i do not understand certain expressions",
"i am very naïve; i believe everything i am told",
"it is easy to take advantage of me or get me to do other people’s dirty work",
"i do not notice when others make fun of me",
"i find it hard to follow the gist of a conversation—i miss the point",
"i need an explanation before i understand the meaning behind someone’s words",
"i give answers that are not relevant because i have not really understood the question"
)
violations_of_social_conventions <- c(
"i do not differentiate between friends and strangers, for example, i do not care who i am with",
"i seek contact with anyone and everyone; i show no reserve",
"i touch people when it is not suitable, for example, i hug virtual strangers",
"the questions i ask are too personal, or i tell others things that are too personal",
"i behave the same wherever i am; it makes no difference to me whether i am at home or somewhere else (visiting others, at work, in the streets)",
"i ask strangers for things i need, for example for food or drink if i am hungry or thirsty"
)
insistence_on_sameness <- c(
"i panic when things turn out differently than i am used to",
"i resist change; if it were left up to me, everything would stay the same",
"i want to do certain things in exactly the same way every time",
"i do not like surprises, for example, unexpected visitors",
"i do not like a lot of things happening at once",
"i really need fixed routines and things to be predictable",
"i hate it when plans are changed at the last moment",
"it takes me ages to get used to somewhere new"
)
#~~~~~~~~~~~~~~~~~~~~~~~~# Negated Versions
reduced_contact_neg <- c(
"i take the initiative in contacts with other people",
"i have lots of interest in socializing with others",
"i do not ignore invitations from others to do something with them",
"i do not avoid people who try to make contact with me",
"i have contact with others all the time, not just when i have to buy something or arrange something, or with people in a shop or in a government office",
"i am not a loner, in a group i do not hold myself apart",
"i enjoy doing things with other people, for example, doing a chore together or going somewhere together"
)
reduced_empathy_neg <- c(
"i do not find it difficult to put myself in someone else’s shoes, for example, i can see why someone is angry",
"i am aware of other people’s emotional needs, for example, i encourage other people or reassure them",
"i do not find it hard to sense what someone else will like or think is nice",
"i really bothered by someone else in pain",
"i notice when someone is upset or has problems",
"the reason why i would contact others is because i am interested in them rather than to get things done",
"i show sympathy when others hurt themselves or are unhappy"
)
reduced_interpersonal_insight_neg <- c(
"i get jokes",
"i do not take everything literally, for example, i understand expressions",
"i am not very naïve; i do not believe everything i am told",
"it is not easy to take advantage of me or get me to do other people’s dirty work",
"i notice when others make fun of me",
"i do not find it hard to follow the gist of a conversation—i do not miss the point",
"i do not need an explanation before i understand the meaning behind someone’s words",
"i give answers that are relevant because i have really understood the question"
)
violations_of_social_conventions_neg <- c(
"i differentiate between friends and strangers, for example, i care who i am with",
"i do not seek contact with anyone and everyone; i show reserve",
"i do not touch people when it is not suitable, for example, i do not hug virtual strangers",
"the questions i ask are not too personal; i do not tell others things that are too personal",
"i do not behave the same wherever i am; it makes a difference to me whether i am at home or somewhere else (visiting others, at work, in the streets)",
"i do not ask strangers for things i need, for example for food or drink if i am hungry or thirsty"
)
insistence_on_sameness_neg <- c(
"i do not panic when things turn out differently than i am used to",
"i do not resist change; if it were left up to me, nothing would stay the same",
"i do not want to do things in exactly the same way every time",
"i like surprises, for example, unexpected visitors",
"i like a lot of things happening at once",
"i do not really need fixed routines or things to be predictable",
"i do not hate it when plans are changed at the last moment",
"it does not take me ages to get used to somewhere new"
)
#~~~~~~~~~~~~~~~~~~~~~~~~# Generate Embeddings
# Mean embeddings of each subscale and its negation
reduced_contact <- textEmbed(reduced_contact)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
reduced_empathy <- textEmbed(reduced_empathy)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
reduced_interpersonal_insight <- textEmbed(reduced_interpersonal_insight)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
violations_of_social_conventions <- textEmbed(violations_of_social_conventions)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
insistence_on_sameness <- textEmbed(insistence_on_sameness)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
reduced_contact_neg <- textEmbed(reduced_contact_neg)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
reduced_empathy_neg <- textEmbed(reduced_empathy_neg)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
reduced_interpersonal_insight_neg <- textEmbed(reduced_interpersonal_insight_neg)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
violations_of_social_conventions_neg <- textEmbed(violations_of_social_conventions_neg)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
insistence_on_sameness_neg <- textEmbed(insistence_on_sameness_neg)$texts[[1]] %>%
summarise(across(Dim1_texts:Dim768_texts, mean)) %>%
unlist(use.names=FALSE)
# Neutralized Questionnaire - Initial - mean(Initial, Negated)
reduced_contact_neutralized <- reduced_contact - (reduced_contact + reduced_contact_neg)/2
reduced_empathy_neutralized <- reduced_empathy - (reduced_empathy + reduced_empathy_neg)/2
reduced_interpersonal_insight_neutralized <- reduced_interpersonal_insight - (reduced_interpersonal_insight + reduced_interpersonal_insight_neg)/2
violations_of_social_conventions_neutralized <- violations_of_social_conventions - (violations_of_social_conventions + violations_of_social_conventions_neg)/2
insistence_on_sameness_neutralized <- insistence_on_sameness - (insistence_on_sameness + insistence_on_sameness_neg)/2