HOA are set up as non-profit entities. The dues assessed by them are calculated using factors such as your maintenance costs, insurance, reserves needed for the big ticket repairs, etc. The State of CA has legislated the way HOAs govern themselves as a result of fraud in the past. Not sure how the $ amount for mello roos is figured out.