This COULD be tested with the editor, but it would be somewhat time-consuming. The requirements would be several special scenarios like the one Cracker used above and a good bit of editing of the tech tree. ALL tests should be done on the second turn (immediately after founding of capitals) to keep other variables from coming into play. The testing program I would envision would go like this:
1. Make several techs, all of the same cost, that provide different things from the list above - one each. Give yourself these techs and see what the other civ is willing to pay, and then the other way around. Make sure the culture ratings are the same at the time of the test, as well as military power (via rules mods not giving the AI any starting units). Check the RATIOS of these costs with the ratios predicted by the values from alexman. If they match, it is confirmed that these values provide the base cost.
2. Now make 3-4 techs that are identical except for having different costs. Again check the prices on the special map. The price will likely be directly proportional to the cost.
3. Now do one particular tech on maps with 3,4,5 civs, only one of which does not have the tech. This will allow measurement of the the "number of civs" factor - one would have to be careful and make sure all civs have contact but no trading has already taken place. Perhaps the human could have contact with everyone and make gifts of contact to the civs NOT to be traded with (to avoid changing that civ's attitude).
4. Then it would be possible to try to investigate such things as culture, attitude, and military strength. These are probably subdominant factors, however.
One caveat - if these various factors are NOT multiplicative, this would break down. This is because, at each step, one would be taking the ratios of different costs and comparing to the prediction. This works if all the other factors cancel out in the process of taking the ratio.
I would be quite willing to do most of the data analysis for this investigation, but unfortunately I'm not in a position to gather the actual data.
At the end of the day, I would envision having a formula that would look something like
price = (sum of values from alexman)*(cost to research)*(number of civs factor [1/n?])*(overall normalization constant depending on many things)
Fixing that overall normalization would be somewhat difficult since we really don't even know exactly what it depends on.