<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2018.95034</article-id><article-id pub-id-type="publisher-id">AM-84790</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  An Artificial Neural Network Model to Analyze Maize Price Behavior in Mexico
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Raquel</surname><given-names>Salazar Moreno</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Oscar</surname><given-names>Zerecero Salazar</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Universidad Autónoma Chapingo, Texcoco, Mexico</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>raquels60@hotmail.com(RSM)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>24</day><month>05</month><year>2018</year></pub-date><volume>09</volume><issue>05</issue><fpage>473</fpage><lpage>487</lpage><history><date date-type="received"><day>8,</day>	<month>April</month>	<year>2018</year></date><date date-type="rev-recd"><day>22,</day>	<month>May</month>	<year>2018</year>	</date><date date-type="accepted"><day>25,</day>	<month>May</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    Mexican producers were supported by the Government from 1993-2013 through the PROCAMPO (support program, direct subsidy from the federal government), in order to keep the prices stable. The tool used to analyze the basic products price behavior was Artificial Neural Network (ANN) models. Data from the period 1980 to 2014 was available, and two ANN models were implemented, one including only internal prices of related products and the second takes into account also the international maize price. The purpose of this paper was to analyze the impact of internal related products and international maize price on the behavior of internal maize price. Both models demonstrated the powerful of the ANN for prediction of the maize price 3 and 5 years ahead. Also, a sensitivity analysis was performed using Garson’s algorithm, through which was demonstrated that rice, safflower and sorghum are corn’s complementary products. The rice price was the variable with a major positive impact on the national corn price. On the other hand, wheat, soybean and barley behave as corn’s substitute products, with wheat price being the variable with major impact on the corn price. Including the international corn price improves the model performance, besides there was a negative sensitivity between the international and national corn price; this behavior is explained by the fact that during PROCAMPO existence, the national prices were forced to be stable while the international maize price was increasing. Finally, this study showed the application of the ANN models in a particular product price behavior, with the possibility of being used in the decision making process for the application of subsidies to the agricultural producers in public policies. 
  
 
</p></abstract><kwd-group><kwd>PROCAMPO</kwd><kwd> Prediction</kwd><kwd> Sensitivity Analysis</kwd><kwd> Policy Impact</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Corn is a staple food in the Mexican diet, currently more than 30% of the sown area in Mexico is occupied by corn. Despite the foregoing, Mexico is not self-sufficient in its production. In the period 1988-2007, Mexico was the fourth largest producer of corn (FAO, 2009); however, the production only covered the demand for white corn, while the consumption of yellow corn was supplied by importations.</p><p>After the North American Free Trade Agreement (NAFTA), corn imports increased to more than seven million tons in 2007 [<xref ref-type="bibr" rid="scirp.84790-ref1">1</xref>] , with Mexico being the third largest importer in the world [<xref ref-type="bibr" rid="scirp.84790-ref2">2</xref>] . Moreover, the corn world consumption increased by 3.2 percent to total 1008.7 million tons in 2016-2017, of which 61.9 percent corresponds to fodder consumption and the remaining 38.1 percent to human, industrial and seed.</p><p>One of the efforts that were made in the past to encourage corn production in Mexico was the PROCAMPO support program, defined as a direct subsidy that the federal government granted through SAGARPA (Secretary of Agriculture Livestock and Rural Development), began its execution at the end of 1993 until 2013.</p><p>PROCAMPO was a subsidy of 1000 pesos per hectare of corn sown, however, 20 percent of producers receive 60 percent of the subsidy and 80 percent of producers receive only 40 percent of the resources [<xref ref-type="bibr" rid="scirp.84790-ref3">3</xref>] . The objectives of PROCAMPO were to provide direct support to more than 3.3 million rural producers, to compensate the subsidies in other countries, especially the developed ones, and at the same time to ensure that national consumers have access to food at lower prices [<xref ref-type="bibr" rid="scirp.84790-ref4">4</xref>] .</p><p>The prices movement or production decrease becomes a problem of national interest and it occupies part of the public policy agenda. Corn price plays a fundamental role; it depends to a large extent on many other factors, such as the international corn prices, and the prices of other related products. Therefore, the objectives of this paper are:</p><p>1) Analyze the effectiveness of the PROCAMPO program.</p><p>2) Build two neural network models in order to simulate the price behavior of corn based on prices of related products and the international price of corn.</p><p>3) Perform a sensitivity analysis in the neural network model to determine which price has a greatest effect on the corn price and thus be able to generate a policy of joint support products.</p></sec><sec id="s2"><title>2. Literature Review</title><p>Artificial Neural Neworks (ANN) are defined as a computer systems composed of a large number of interconnected elements. It is a new form of computing, inspired by the functioning of the human brain [<xref ref-type="bibr" rid="scirp.84790-ref5">5</xref>] . The ANN models minimize the number of assumptions that are preconceived, and only focus on the data with which the network is fed. Theoretically, a correct ANN design will converge in a number of iterations [<xref ref-type="bibr" rid="scirp.84790-ref6">6</xref>] .</p><p>Some authors [<xref ref-type="bibr" rid="scirp.84790-ref7">7</xref>] mention that many methods have been used to attempt share prices predictions like fundamental analysis, technical analysis, and machine learning method, but none of these methods could consistently be applicable as a prediction tool. On the other hand, the authors mention that ANN approach is suitable for chaotic systems such as share prices. Although ANN are not perfect in their predictions, they radically outperform all other existing prediction methods, They appear to be the best modeling method currently available for prediction as they capture nonlinearities in the system without human intervention [<xref ref-type="bibr" rid="scirp.84790-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.84790-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.84790-ref10">10</xref>] .</p><p>Another result comes from a Ph D thesis [<xref ref-type="bibr" rid="scirp.84790-ref11">11</xref>] in where a comparison between some prediction methods is done and the author conclude that the artificial neural network models were more accurate in predicting the coffee price compared with the integrated autoregressive model of moving average with explanatory variables (ARIMAX).</p><p>Also, [<xref ref-type="bibr" rid="scirp.84790-ref12">12</xref>] compared Artificial Neural Networks (ANN) and multivariate statistics in a problem about identification of countries that are likely to seek a rescheduling of their international debt-service obligations, the author conclude that ANN largely outperformed more conventional multivariate statistical procedures usually employed for this problem.</p><p>The aspects to be defined in ANN models are the following:</p><sec id="s2_1"><title>2.1. The Topology or Architecture</title><p>The topology or architecture to be use for the analysis in a given problem, it refers to the structure of synaptic connections between neurons, which are grouped into layers: input layer (composed of neurons that receive the information); hidden layer with no connection to the environment and the output layer with a connection to the environment and it is responsible for producing and presenting the final network outputs.</p><p>The connections of the neural network can be forward, lateral or backward [<xref ref-type="bibr" rid="scirp.84790-ref13">13</xref>] . In a feedforward multilayer perceptron, information flows in one direction along connecting pathways, from the input layer via the hidden layers to the output layer (<xref ref-type="fig" rid="fig1">Figure 1</xref>) [<xref ref-type="bibr" rid="scirp.84790-ref12">12</xref>] .</p><p>The neurons in one layer are connected to those in the next layer by connections and weights (synapses), whose values are different for each of the connections [<xref ref-type="bibr" rid="scirp.84790-ref14">14</xref>] .</p><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref>, x<sub>1</sub> … x<sub>x</sub> represent the inputs, while y<sub>1</sub>, …, y<sub>n</sub> are the outputs of the neural network model; 1, …, n<sub>1</sub> denotes the number of nodes in the first hidden neural layer; 1, …, n<sub>2</sub> is the number of nodes in the second neural layer.<sub> </sub></p><p>In this sense, the fundamental parameters of the network are: the number of layers, the number of neurons per layer, the degree of connectivity and the type of connections between neurons [<xref ref-type="bibr" rid="scirp.84790-ref13">13</xref>] .</p></sec><sec id="s2_2"><title>2.2. Transfer or Activation Functions</title><p>Each neuron applies a function f known as the activation function or transfer</p><p>function, which is a mathematical expression used to approximate the influence of the neurons in the output. The transfer function provides the current activation status of a neuron, based on its weights, inputs and its current postsynaptic potential.</p><p>The Activation Functions can be basically divided into 2 types: Linear Activation Functions (Identity and Symmetrical Hard Limit) and Non-linear Activation Functions (log Sigmoid and Hyperbolic Tangent Sigmoid) described in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The purpose of an activation or transfer functions is to convert an input signal of a node into an output signal. They introduce non-linear properties in the Artificial Neural Network model. According to [<xref ref-type="bibr" rid="scirp.84790-ref16">16</xref>] the linear transfer function is used between hidden layer and output layer due to the fact that, if sigmoidal neurons are used in the output layer, the output of the network is limited to a very small range; on the contrary, when using a linear neuron, the output can take any value.</p><p>Symmetrical Hard Limit function is used mainly for classification problems because it divides the output into two groups. The log Sigmoid function have a range between cero and one and it is especially used for models where we have to predict the probability as an output. Finally the Hyperbolic Tangent Sigmoid is better than logistic sigmoid because its range is from (−1 to 1), so its output is zero centered hence optimization is easier. Both hyperbolic tangent sigmoid and logistic sigmoid activation functions are used in multilayer feed-forward nets [<xref ref-type="bibr" rid="scirp.84790-ref17">17</xref>] .</p></sec><sec id="s2_3"><title>2.3. Building the Network</title><p>The process of building the network consists of three steps: training, testing and validation.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Transfer functions</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Transfer function</th><th align="center" valign="middle" >Function</th><th align="center" valign="middle" >Range</th><th align="center" valign="middle" >Graph</th></tr></thead><tr><td align="center" valign="middle" >Identity</td><td align="center" valign="middle" >f = x</td><td align="center" valign="middle" >[−∞, +∞]</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-7403910x5.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Symmetrical Hard Limit</td><td align="center" valign="middle" >f = s i g n o ( x )</td><td align="center" valign="middle" >[−1, +1]</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-7403910x8.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >log Sigmoid</td><td align="center" valign="middle" >f = 1 1 + e − x</td><td align="center" valign="middle" >[0, +1]</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-7403910x11.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >Hyperbolic Tangent Sigmoid</td><td align="center" valign="middle" >f = e x − e − x e x + e − x</td><td align="center" valign="middle" >[−1, +1]</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="/html.scirp.org/file/1-7403910x14.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><p>In the training process the neural network must learn to calculate the correct output for each array or input vector in the set of samples [<xref ref-type="bibr" rid="scirp.84790-ref5">5</xref>] .</p><p>The training algorithm may vary depending on the network architecture, but the most common training algorithm used when designing financial neural networks is the backpropagation algorithm, which is the process of backpropagating errors through the system from the output layer towards the input layer, minimizing the sum of the errors on all the examples of the training set. As the errors are backpropagated through the nodes, the connection weights are changed [<xref ref-type="bibr" rid="scirp.84790-ref5">5</xref>] .</p><p>The next step is validation to verify if the neural network can solve new problems of the general type, for which it has been trained. Another set of data is presented, called the validation set, using the same weights obtained in the training process, the MSE is calculated between measured and simulated output to check if the network gives good results [<xref ref-type="bibr" rid="scirp.84790-ref13">13</xref>] .</p><p>Finally, testing consists of re-training the network with a new data set, but the weights are recalculated. At the end of the process, testing, validation and training must converge to a minimum mean square error [<xref ref-type="bibr" rid="scirp.84790-ref5">5</xref>] .</p><p>After building the NN model a sensitivity analysis can be performed to analyze the effect on the output, when a change in the input is observed the Garson algorithm can be applied for this purpose [<xref ref-type="bibr" rid="scirp.84790-ref18">18</xref>] . It consists in distributing the connection weights of the neural network in order to determine the relative importance of each input variable in the network. The Garson Algorithm uses the absolute values of the connection weights when calculating the contribution of each variable and gives us a clear picture of which input variables have a greater effect on the output variable when everything else remains constant [<xref ref-type="bibr" rid="scirp.84790-ref19">19</xref>] .</p></sec></sec><sec id="s3"><title>3. Methodology</title><p>The information used in this work was obtained using the Agrifood Information System and Consultation (SIACON) of the SAGARPA and the World Bank Commodity Price Data, for the period of 1980-2014, the prices were deflated using the National Consumer Price Index (INPC) based on the year 2010.</p><p>Two ANN models were developed to simulate the domestic price of corn based on the prices of related products such as the real prices of Rice (PRAR), Wheat (PRTR), Safflower (PRCA), Soybeans (PRSY), Sorghum (PRSG), and Barley (PRCE). A second network includes besides the inputs in the first model the Real International Price of Corn (PRIMA).</p><p>A Feedforward Multilayer Perceptron architecture was used as shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>PRAR: Real Rice Price; PRTR: Real Wheat Price; PRCA: Real Safflower Price; PRSY: Real Soybean Price; PRSG: Real Sorghum Price; PRCE: Real Barley Price; PRNMA: Real Maize Price; PRIMA Real Maize International Price; Wnm: Weights from input to hidden layer; Vm: Weights from hidden layer to output layer.</p><p>To determine the number of nodes in the hidden layer, 3 criteria were used:</p><p>1) h = 2 n + 1 [<xref ref-type="bibr" rid="scirp.84790-ref20">20</xref>] ,</p><p>2) h = m n [<xref ref-type="bibr" rid="scirp.84790-ref21">21</xref>] ,</p><p>3) h = n (intermediate criteria).</p><p>Where h is the maximum number of neurons in the hidden layer; n is the number of input variables and m is the number of outputs. In this work, the three criteria were used, but the first gave the best results.</p><p>A hyperbolic tangent function was used between the input layer and the hidden layer, and a linear function between the hidden layer and the output layer because of their advantages mentioned in Section 2.2. In <xref ref-type="fig" rid="fig2">Figure 2</xref> the product prices represents the inputs. A data pattern is presented to the feedforward multilayer perceptron, per example year 1980, this vector of prices goes through the activation function Hyperbolic Tangent Function which maps the inputs to an output between (−1 1) and this output is the input for the next layer. As can be seen in <xref ref-type="fig" rid="fig2">Figure 2</xref> each layer is connected to the next one by weights which are the parameters we want to change with the backpropagation algorithm described before, in such a way that the output in the ANN can be as close as possible to the real data.</p><p>A total of 35 data patterns were available, 85% for training, validation and testing. The remaining 15% of the data was used for simulation purposes, data samples are shown in appendix A. To evaluate the model goodness-of fit some statistical measures are suggested by [<xref ref-type="bibr" rid="scirp.84790-ref22">22</xref>] .</p><p>The mean squared error (MSE) defined in (1)</p><p>M S E = 1 n ∑ i = 1 n ( y i − y ^ i ) 2 (1)</p><p>where y ^ i is the simulated output value, y i is the real output value, n is the number of measurements.</p><p>Sometimes is more convenient to work with the Root of the Mean Square Error (RMSE) defined in Equation (2).</p><p>R M S E = M S E (2)</p><p>When the objective is to examine the overall model error, it is more convenient to calculate the absolute mean error (MAE) displayed in (3).</p><p>M A E = 1 n ∑ i = 1 N | y i − y ^ i | (3)</p><p>The last statistical measure used was the Efficiency (EF) defined in (4).</p><p>E F = 1 − ∑ i = 1 n ( y i − y ^ i ) 2 ∑ i = 1 n ( y i − y &#175; ) 2 (4)</p><p>where y ^ i is the simulated output value, y i is the real value and y &#175; is the average, if the model is perfect EF = 1, a bad model have a EF = 0 [<xref ref-type="bibr" rid="scirp.84790-ref22">22</xref>] .</p></sec><sec id="s4"><title>4. Results</title><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the production and the real prices of corn for the period 1993-2014 within which PROCAMPO program was applied.</p><p>During the period in which the PROCAMPO program was carried out, production increased remarkably and real prices remained low. The prices variability during the period of PROCAMPO program was measured through Standart Deviation (S) and Variation Coeficient (CV) defined in Equation (6) and Equation (7).</p><p>Results are displayed in <xref ref-type="table" rid="table2">Table 2</xref>. Soybean prices have the greatest variability in this period, and the lowest variability was for wheat.</p><p>s = ∑ ( x i − x &#175; ) n − 1 (6)</p><p>V C = s x &#175; ∗ 100 (7)</p><p>where s is the standard deviation; x i is the real price; x &#175; is the mean of the real price; n is the number of measurements; VC is the variation coefficient.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Basic statistics</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Real prices</th><th align="center" valign="middle" >Mean</th><th align="center" valign="middle" >S</th><th align="center" valign="middle" >VC</th></tr></thead><tr><td align="center" valign="middle" >Corn</td><td align="center" valign="middle" >3793.77</td><td align="center" valign="middle" >1586.27</td><td align="center" valign="middle" >0.39</td></tr><tr><td align="center" valign="middle" >Rice</td><td align="center" valign="middle" >3941.07</td><td align="center" valign="middle" >1677.61</td><td align="center" valign="middle" >0.39</td></tr><tr><td align="center" valign="middle" >Wheat</td><td align="center" valign="middle" >3279.12</td><td align="center" valign="middle" >969.47</td><td align="center" valign="middle" >0.28</td></tr><tr><td align="center" valign="middle" >Safflower</td><td align="center" valign="middle" >4768.23</td><td align="center" valign="middle" >1818.39</td><td align="center" valign="middle" >0.36</td></tr><tr><td align="center" valign="middle" >Soybeans</td><td align="center" valign="middle" >6045.84</td><td align="center" valign="middle" >3010.15</td><td align="center" valign="middle" >0.45</td></tr><tr><td align="center" valign="middle" >Sorghum</td><td align="center" valign="middle" >4009.43</td><td align="center" valign="middle" >1207.64</td><td align="center" valign="middle" >0.29</td></tr><tr><td align="center" valign="middle" >Barley</td><td align="center" valign="middle" >3668.05</td><td align="center" valign="middle" >1221.89</td><td align="center" valign="middle" >0.32</td></tr><tr><td align="center" valign="middle" >PIM</td><td align="center" valign="middle" >2461.95</td><td align="center" valign="middle" >963.24</td><td align="center" valign="middle" >0.37</td></tr></tbody></table></table-wrap><p>PIM: International corn price.</p><p>Using the prices information for the crops from 1980-2014 two NN models were implemented using the Neural Network toobox from Matlab, the first one without taking into account the international maize price, and the second including the international maize price, in both cases the number of nodes were varying according to the three criterion described in methodology, and statistical measurements [<xref ref-type="bibr" rid="scirp.84790-ref22">22</xref>] were obtained, results are shown in <xref ref-type="table" rid="table3">Table 3</xref> and <xref ref-type="table" rid="table4">Table 4</xref>.</p><p>For the first model the highest efficiency was obtained with 11 nodes in the hidden layer, while in the second model with 9 nodes in the hidden layer, both models were implemented. After training, validation and testing the results obtained are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>The inclusion of the international corn price increased the efficiency from 0.79 to 0.9, the real and simulated corn price are closer.</p><p>Once trained and validated, the ANN model can be used for simulation purposes, using only the inputs without providing the outputs for the years 2010-2014 (<xref ref-type="fig" rid="fig6">Figure 6</xref> and <xref ref-type="fig" rid="fig7">Figure 7</xref>).</p><p>There is a small difference between real and predicted corn price in both ANN models.</p><p>The Garson algorithm was applied to perform the sensitivity analysis for both models; results are presented in <xref ref-type="fig" rid="fig8">Figure 8</xref> and <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Adjustment measurements without including PRIMA</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >No of neurons in Hidden layer</th><th align="center" valign="middle" >RMSE</th><th align="center" valign="middle" >MAE</th><th align="center" valign="middle" >EF</th><th align="center" valign="middle" >Iterations</th></tr></thead><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >320.77</td><td align="center" valign="middle" >299.14</td><td align="center" valign="middle" >0.61</td><td align="center" valign="middle" >8</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >282.77</td><td align="center" valign="middle" >239.98</td><td align="center" valign="middle" >0.70</td><td align="center" valign="middle" >9</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >351.02</td><td align="center" valign="middle" >266.89</td><td align="center" valign="middle" >0.54</td><td align="center" valign="middle" >11</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >372.23</td><td align="center" valign="middle" >324.94</td><td align="center" valign="middle" >0.48</td><td align="center" valign="middle" >8</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >241.32</td><td align="center" valign="middle" >212.88</td><td align="center" valign="middle" >0.78</td><td align="center" valign="middle" >12</td></tr><tr><td align="center" valign="middle" >11</td><td align="center" valign="middle" >239.51</td><td align="center" valign="middle" >195.12</td><td align="center" valign="middle" >0.79</td><td align="center" valign="middle" >11</td></tr><tr><td align="center" valign="middle" >12</td><td align="center" valign="middle" >378.76</td><td align="center" valign="middle" >332.87</td><td align="center" valign="middle" >0.46</td><td align="center" valign="middle" >10</td></tr><tr><td align="center" valign="middle" >13</td><td align="center" valign="middle" >339.73</td><td align="center" valign="middle" >268.90</td><td align="center" valign="middle" >0.57</td><td align="center" valign="middle" >15</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Adjustment measurements including PRIMA</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >No of neurons in Hidden layer</th><th align="center" valign="middle" >RMSE</th><th align="center" valign="middle" >MAE</th><th align="center" valign="middle" >EF</th><th align="center" valign="middle" >Iterations</th></tr></thead><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >321.69</td><td align="center" valign="middle" >269.42</td><td align="center" valign="middle" >0.61</td><td align="center" valign="middle" >11</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >289.01</td><td align="center" valign="middle" >262.48</td><td align="center" valign="middle" >0.69</td><td align="center" valign="middle" >19</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >159.23</td><td align="center" valign="middle" >125.09</td><td align="center" valign="middle" >0.90</td><td align="center" valign="middle" >10</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >337.63</td><td align="center" valign="middle" >259.35</td><td align="center" valign="middle" >0.57</td><td align="center" valign="middle" >21</td></tr><tr><td align="center" valign="middle" >11</td><td align="center" valign="middle" >273.11</td><td align="center" valign="middle" >160.59</td><td align="center" valign="middle" >0.72</td><td align="center" valign="middle" >12</td></tr><tr><td align="center" valign="middle" >12</td><td align="center" valign="middle" >345.88</td><td align="center" valign="middle" >296.91</td><td align="center" valign="middle" >0.55</td><td align="center" valign="middle" >15</td></tr><tr><td align="center" valign="middle" >13</td><td align="center" valign="middle" >363.23</td><td align="center" valign="middle" >328.95</td><td align="center" valign="middle" >0.51</td><td align="center" valign="middle" >11</td></tr><tr><td align="center" valign="middle" >14</td><td align="center" valign="middle" >378.60</td><td align="center" valign="middle" >302.06</td><td align="center" valign="middle" >0.46</td><td align="center" valign="middle" >12</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >452.67</td><td align="center" valign="middle" >309.63</td><td align="center" valign="middle" >0.23</td><td align="center" valign="middle" >7</td></tr></tbody></table></table-wrap><p>In <xref ref-type="fig" rid="fig8">Figure 8</xref> predictor contributions ranged from −17% to 31%, with Rice price and Safflower price being the strongest relationships with predicted corn price, and Sorghum price with the weakness relationship with corn price.</p><p>If the international price of corn is included (<xref ref-type="fig" rid="fig9">Figure 9</xref>) the results only change in the proportion of the effect of each variable, since the price of substitute products such as wheat, soybean and barley maintained a positive effect on the domestic price of corn, while the price of complementary products such as rice, safflower and sorghum continued to have a negative effect on corn price. Again, price of rice have the highest positive sensitivity over the national price of corn. Price of wheat was the variable with the highest negative sensitivity.</p><p>The international price of corn (IPM), have a negative effect on the national price of corn, the justification is that the PROCAMPO program was giving to corn producers to prevent the real national price of corn from increasing even though the PRIMA was increasing.</p></sec><sec id="s5"><title>5. Conclusions</title><p>The main objective of PROCAMPO program was to increase production while keeping the prices stable, as can be noticed for the period 1993-2013. Two ANN models were implemented for the purpose of simulating the national corn price, one including only the prices of national related products, and the second model including the international price of maize, besides the other prices. Both models have good results, however the inclusion of the international price of maize increased the capability of simulation with an efficiency of 0.9. Years 2010-2014 were used to test the models for prediction purposes, the first model have good results for the 3 years ahead while the second give good results 5 years ahead with very good precision.</p><p>The previous result shows that the international price of corn is one of the most relevant variables in explaining the behavior of the national price of corn. The highest positive sensitivity was in the case of the price of rice, which is consistent since rice is another product of the basic basket and is complementary to corn. On the other hand, the price with the highest negative sensitivity was for soybean, barley and wheat, which are complementary products.</p><p>This study demonstrates the usefulness of neural network models for simulation purposes, and it can be inferred that incentive programs for agricultural producers should be implemented considering complementary products and substitutes.</p></sec><sec id="s6"><title>Cite this paper</title><p>Salazar Moreno, R. and Zerecero Salazar, O. (2018) An Artificial Neural Network Model to Analyze Maize Price Behavior in Mexico. Applied Mathematics, 9, 473-487. https://doi.org/10.4236/am.2018.95034</p></sec><sec id="s7"><title>Appendix A: Prices of Agricultural Products in Mexican Pesos/Ton</title></sec></body><back><ref-list><title>References</title><ref id="scirp.84790-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">FAO (Food Agriculture Organization) (2009) Statistical Databases.  
http://faostat.fao.org/DesktopDefault.aspxiPageID=291&amp;lang=es</mixed-citation></ref><ref id="scirp.84790-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Chauvet S.M. and González, A.R.L. (2009) Alimentos, biocombustibles y desigualdad social en México.  
http://www.observatorylatinamerica.org/pdf/articulos/Chauvet_esp.pdf</mixed-citation></ref><ref id="scirp.84790-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Schwentesius Rindermann, R., Gómez Cruz, M.á., Trujillo, J.D.D. and Durán Ferman, P. (2007) Metaevaluación de tres evaluaciones oficiales de la SAGARPA del programa de pagos directos (PROCAMPO) a la agricultura mexicana. Estudios sociales (Hermosillo, Son.), 15, 104-134.</mixed-citation></ref><ref id="scirp.84790-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">SARH, P. (1993) Vamos al grano para progresar. s/f, México.</mixed-citation></ref><ref id="scirp.84790-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Matich, D.J. (2001) Redes Neuronales: Conceptos básicos y aplicaciones. Cátedra de Informática Aplicada a la Ingeniería de Procesos-Orientación I.</mixed-citation></ref><ref id="scirp.84790-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Gryc, W. (2010) Neural Network Predictions of Stock Price Fluctuations.  
http://i2r.org/nnstocks.pdf</mixed-citation></ref><ref id="scirp.84790-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Haider, K., Sharmin, A.T. and Hussain, A. (2011) Price Prediction of Share Market using Artificial Neural Network (ANN). International Journal of Computer Applications, 22, 42-47. https://doi.org/10.5120/2552-3497</mixed-citation></ref><ref id="scirp.84790-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Lawrence, R. (1997) Using Neural Networks to Forecast Stock Market Prices. University of Manitoba, Winnipeg.</mixed-citation></ref><ref id="scirp.84790-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Benedetti, F., Baigún, A., Yanguas, M., Heymann, D., Perazzo, R. and Zimmermann, M. (2008) Predicciones de Series de Tiempo con Redes Neuronales: Trading usando el índice Merval.  
http://www.elautomataeconomico.com.ar/download/TP-2011/Benedetti-Baigun-Yanguas.pdf</mixed-citation></ref><ref id="scirp.84790-ref10"><label>10</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Martínez Lozano</surname><given-names> M. </given-names></name>,<etal>et al</etal>. (<year>2014</year>)<article-title>Metodología basada en redes neurales parainterpretación de la resistividad del suelo en zonas urbanas</article-title><source> Ingeniería Energética</source><volume> 35</volume>,<fpage> 59</fpage>-<lpage>69</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.84790-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Bedoya, C.M. (2016) Estimación de la Producción Mundial del Café y el Precio Diario del Café suave colombiano utilizando Redes Neuronales Artificiales y Modelos Autoregresivos Integrados de Promedios Móviles con Variables Exógenas. Tesis doctoral 2016. Universidad Autónoma Chapingo, Mexico.</mixed-citation></ref><ref id="scirp.84790-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Cooper, J.C. (1999) Artificial Neural Networks versus Multivariate Statistics: An application from Economics. Journal of Applied Statistics, 26, 909-921.  
https://doi.org/10.1080/02664769921927</mixed-citation></ref><ref id="scirp.84790-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Duarte, J.V.C. (2003) Predicción con redes neuronales: comparación con las metodologías de Box y Jenkins. Master Thesis, Universidad de los Andes, Mérida.  
http://docplayer.es/4998343-Prediccion-con-redes-neuronales-comparacion-con-las-metodologias-de-box-y-jenkins-autora-joanna-veronica-collantes-duarte.html</mixed-citation></ref><ref id="scirp.84790-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Villada, F., Munoz, N. and García-Quintero, E. (2016) Redes Neuronales Artificiales aplicadas a la Predicción del Precio del Oro. Información tecnológica, 27, 143-150.  
https://doi.org/10.4067/S0718-07642016000500016</mixed-citation></ref><ref id="scirp.84790-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">da Silva, N.I., Hernane, S.D., Andrade, F.R., Bartocci, L. L.H., dos Reis, A.S.F., et al. (2017) Artificial Neural Networks a Practical Course. Springer International Publishing, Switzerland. https://doi.org/10.1007/978-3-319-43162-8</mixed-citation></ref><ref id="scirp.84790-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Ljung, L. (2008) Perspectives on System Identification. Annual Reviews in Control, 34, 1-12. https://doi.org/10.3182/20080706-5-KR-1001.01215</mixed-citation></ref><ref id="scirp.84790-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Hagan, M.T., Demuth, H.B. and Beale, M.H. (1996) Neural Network Design. Pws Pub., Boston, 19-21.</mixed-citation></ref><ref id="scirp.84790-ref18"><label>18</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Garson</surname><given-names> G.D. </given-names></name>,<etal>et al</etal>. (<year>1991</year>)<article-title>Interpreting Neural-Network Connection Weights</article-title><source> AI Expert</source><volume> 6</volume>,<fpage> 46</fpage>-<lpage>51</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.84790-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Olden, J.D. and Jackson, D.A. (2002) Illuminating the “Black Box”: A Randomization Approach for Understanding Variable Contributions in Artificial Neural Networks. Ecological Modelling, 154, 135-150.  
https://doi.org/10.1016/S0304-3800(02)00064-9</mixed-citation></ref><ref id="scirp.84790-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Hecht-Nielsen, R. (1987) Nearest Matched Filter Classification of Spatiotemporal Patterns. Applied Optics, 26, 1892-1899. https://doi.org/10.1364/AO.26.001892</mixed-citation></ref><ref id="scirp.84790-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Masters, T. (1993) Practical Neural Network Recipes in C++. Morgan Kaufmann.</mixed-citation></ref><ref id="scirp.84790-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Wilks, D.S. (2011) Statistical Methods in the Atmospheric Sciences. Vol. 100, Academic Press, Cambridge.</mixed-citation></ref></ref-list></back></article>