My own house faces E/W and I opted for a ground mount facing south to increase production. At my location, tilt isn't a huge factor. I lose about 8% from the optimal tilt to where I have them at 10deg, which is not a lot IMO because the alternative on the roof was 20% less when facing E/W. I modeled all these options.
If you have a roof facing South without a lot of shading, that is your best option. If there is morning/evening shading, facing panels in that direction (E/W) will worsen the production.
Also, a roof-mounted racking system with rails is about $60/panel. A 10-deg ballasted system like mine is about $75/panel, and a full-tilt ground mount is between $100-$200 per panel, depending on if you use wood, pipes, Unistrut, or single-post. I haven't seen a ground mount done for less than this without the builder having the materials already on-site and available for free.
You should consider what the ROI is to you. Paying 2X to 3X more for racking will take how long to pay off, compared to putting them on the roof?
View attachment 101013