Hi there, was hoping someone could help,

Im quite new to Rstudio, using it for help to formulate hypothesis. And im just going around in circles trying to do a regression model with R

I'm using a dataset about election results and one variable is called dem_economist and its ordinal data type with two types of democracy, 0 and 1. and the outcome variable is ratio about levels of confidence. And I've formulated a hypothesis that goes something like "Countries with type 0 democracy have a higher level of confidence than type 1" all good there but when i come to do a regression model, surely if i were to use the standard

world <- subset(world, !is.na(confidence))

model.1 <- lm(confidence~dem_economisteasy, data=world)

summary(model.1)

it wouldn't explain one type of democracy over the other, rather it would talk about the statistical significance of any type when compared to levels of confidence.

im breaking my brain trying to think of solutions. if anyone could suggest anything that would be great, do i code it as a multivariate regression but technically type of democracy isnt two variables just two categories under one variable