How did the ronin compare to the samurai?

The ronin swore an oath to protect one family, while the samurai did not.
The ronin ruled over the samurai class, while the samurai served that class.
The samurai refused to work for the daimyo, while the ronin were loyal to them.
The samurai pledged loyalty to one daimyo, while the ronin had no lord.