Main Analyses
Selection effects
Hormonal Contraception
Simple Model
model = lm.synds(as.numeric(contraception_hormonal) ~
age + net_income + relationship_duration_factor,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Complex Model
model = lm.synds(as.numeric(contraception_hormonal) ~
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Congruent Use of Hormonal Contraception
Simple Model
model = lm.synds(as.numeric(congruent_contraception) ~
age + net_income + relationship_duration_factor,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Complex Model
model = lm.synds(as.numeric(congruent_contraception) ~
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Effects of Hormonal Contraception
Attractiveness of Partner
Uncontrolled
model = lm.synds(attractiveness_partner ~ contraception_hormonal,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(attractiveness_partner ~ contraception_hormonal +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Relationship Satisfaction
Uncontrolled
model = lm.synds(relationship_satisfaction ~ contraception_hormonal,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(relationship_satisfaction ~ contraception_hormonal +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Sexual Satisfaction
Uncontrolled
model = lm.synds(satisfaction_sexual_intercourse ~ contraception_hormonal,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(satisfaction_sexual_intercourse ~ contraception_hormonal +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Libido
Uncontrolled
model = lm.synds(diary_libido_mean ~ contraception_hormonal,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(diary_libido_mean ~ contraception_hormonal +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Sexual Frequency
Uncontrolled
model = glm.synds(diary_sex_active_sex_sum ~ offset(log(number_of_days)) +
contraception_hormonal,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = glm.synds(diary_sex_active_sex_sum ~ offset(log(number_of_days)) +
contraception_hormonal +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Masturbation Frequency
Uncontrolled
model = glm.synds(diary_masturbation_sum ~ offset(log(number_of_days)) +
contraception_hormonal,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = glm.synds(diary_masturbation_sum ~ offset(log(number_of_days)) +
contraception_hormonal +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
HC, Congruent Use of HC and Their Interaction
Attractiveness of Partner
Uncontrolled
model = lm.synds(attractiveness_partner ~ contraception_hormonal * congruent_contraception,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(attractiveness_partner ~ contraception_hormonal * congruent_contraception +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Relationship Satisfaction
Uncontrolled
model = lm.synds(relationship_satisfaction ~ contraception_hormonal * congruent_contraception,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(relationship_satisfaction ~ contraception_hormonal * congruent_contraception +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Sexual Satisfaction
Uncontrolled
model = lm.synds(satisfaction_sexual_intercourse ~ contraception_hormonal * congruent_contraception,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(satisfaction_sexual_intercourse ~ contraception_hormonal * congruent_contraception +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Libido
Uncontrolled
model = lm.synds(diary_libido_mean ~ contraception_hormonal * congruent_contraception,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = lm.synds(diary_libido_mean ~ contraception_hormonal * congruent_contraception +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim)
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Sexual Frequency
Uncontrolled
model = glm.synds(diary_sex_active_sex_sum ~ offset(log(number_of_days)) +
contraception_hormonal * congruent_contraception,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = glm.synds(diary_sex_active_sex_sum ~ offset(log(number_of_days)) +
contraception_hormonal * congruent_contraception +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Masturbation Frequency
Uncontrolled
model = glm.synds(diary_masturbation_sum ~ offset(log(number_of_days)) +
contraception_hormonal * congruent_contraception,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()
Controlled
model = glm.synds(diary_masturbation_sum ~ offset(log(number_of_days)) +
contraception_hormonal * congruent_contraception +
age + net_income + relationship_duration_factor +
education_years +
bfi_extra + bfi_neuro + bfi_agree + bfi_consc + bfi_open +
religiosity,
data = example_sim, family = "poisson")
t_test_com <- compare(
model, # Results from the synthetic linear model
data, # The original dataset
lwd = 1.5, # The type of line in the plot
lty = 1, # The width of line in the plot
point.size = 4, # The size of the symbols used in the plot
lcol = c("#62B6CB", "#1B4965") # Set the colours
)
t_test_com$ci.plot +
ggtitle("") +
apatheme +
theme(text = element_text(size=10)) +
background_grid()