you could possibly create ad equation that would tell you what initial timing, total timing, and what ignition curve you need, but there are many more factors to take into account than just compression ratio, cam timing, combustion chamber shape, intake and exhaust efficiency, even things like the shape of the piston dome are among the things you need to consider.
as you can see this is why we often use general rules of thumbs to start with and tune from there. generally i suggest running between 10-14 degrees initial timing with a total timing of 32-28 degrees, again depending on what the engine wants. you also need to determine how quickly the timing needs to come in, and when it is all in.
dyno tuning is the best way to do this, the next best way is to get out on the track and run the car hard and find the best lap times, just remember to be consistent with your driving to avoid that being a factor.