Computer Generated Farmers: Information and Nash Equalibrium: Difference between revisions

From Dickinson College Wiki
Jump to navigationJump to search
No edit summary
Line 19: Line 19:


== The maximation function ==
== The maximation function ==
The economic actors in this experiment are programmed to maximize their returns and minimize the strategies of other actors.  Given the information in figure 1, digital farmers will try to maximize the following function:
The economic actors in this experiment are programmed to maximize their returns and minimize the strategies of other actors.  Given the information in figure 1, digital farmers will try to maximize x, the amount of crop to produce, given the following maximation function:
'''Figure 2: Maximation Function of Farmer'''

Revision as of 02:01, 5 May 2006

What are we trying to do here?

Picture a hundred farmers in a simple economy, where two crops are farmed: Rice and Corn. In a similar manner as the fisherman’s dilemma, in which a day’s output for one fisherman far affects the yield of the other fisherman, the amount of corn produced affects how much rice is produced. Each crop has a separate price and cost curve. Each farmer has to make individual decision, given the current point on the curves, of what percentage of total yield to devote to corn and rice. Given 100 farmers, will a stable Nash Equilibrium be reached?

Why make a computer simulation of a simple game?

There are many games with very simple rules or agents result in complex aggregate results. These results are not necessarily very predicable–while there are only a number of desirable outcomes with 2x2 games, games which involve hundreds of agents playing many games in succession are unpredictable. Our simulation is simple to model a broad market; actors will not be given an extensive intelligence. By default, we expect a result consistent with a Nash Equilibrium. However, despite low intelligence and near perfect information (classical game theory), each farmer will indirectly be influencing the decisions of the other farmers, which could bring some interesting results.

Implementation

100 digital farmers will be generated. Of importance to a farmer: 1)A fixed production capacity at 1 (noted as 100% on the cost function) 2)An alpha value, which is defined as the percentage of corn he wishes to produce. 3)(1-alpha) is the percentage of his yield that is rice 4)Profit functions. Each farmer will try to maximize their profit according to the price of crops in the market and the profit function. The profit function for rice will take the form similar to P = A/X, where where p is profit, A is a constant, and X is the quantity of crops the farmer is producing, with no asymptote--the more units of a product produced, the less the production cost (usually) is. The price function of corn will also be determined by a P = B/X function, this time P standing for price of the crop, b is some constant, and X is the total number of the crop being produced. Figure 1: The Price and Cost Functions


The cost function is a simple direct relationship: as the amount of corn or rice produced increases, the cost decreases by slope -a or -c.

The maximation function

The economic actors in this experiment are programmed to maximize their returns and minimize the strategies of other actors. Given the information in figure 1, digital farmers will try to maximize x, the amount of crop to produce, given the following maximation function: Figure 2: Maximation Function of Farmer