I guess I’m suggesting something like weighted least squares
http://en.wikipedia.org/wiki/Weighted_least_squares
My university math is pretty fuzzy, and as I recall we only touched on regression. I didn’t take too many stats courses.
But yes, what I am describing is covered by linear regression. What I was attempting to do was demonstrate that Y need not be an independent variable with only possible outcomes of 0 or 1, in response to:
@akreider2:
Is anyone an expert on different types of regressions? I’m wondering how much a problem using a linear regression is for a variable that only has a 1 or 0 outcome?
The problem is that the difference between winning by a slim margin, and totally devasting someone can be big. For instance, you can win a narrow victory with the Axis and Allies unit IPCs being equal, or have a big victory with a 200+ IPC difference. Ideally you’d have a win that was a “1” and a larger win that was a “1.5” or “2”. Any idea of how to measure this based on an Axis and Allies board? You could use victory cities, but I tend to think that they are a joke.
Is there any way to parse a map file? I’d like to convert it into an array of number of units per country, so I could write a computer program to generate a data file for analysis.
With the latest model, 1) AXIS IPC territory held (J+G territory) and 2) total unit IPC value difference are the two significant factors (p=0.001).
If you allow Y to be a real number between 0 and 1, then I think it makes your linear regression model work better with it, and also solves your concern of a narrow victory versus a landslide win.
Also, parsing a map file would depend on the format used. TripleA map files would be pretty simple to parse, since the project is open source you should be able to look at the code and determine the format of the file. Mapview is not open source, but Motdc is actively developing for it and he might be open to helping parse a mapview map file. ABattlemap would be near impossible as far as I can tell, since I don’t believe anyone is actively developing this application anymore. Unfortunately I’d say 80% of the map files on this board are ABattlemap, so that may put a big kink in those plans.