Mathematica problem
- To: mathgroup at smc.vnet.net
- Subject: [mg43343] Mathematica problem
- From: hristina.georgieva at nl.fortisbank.com
- Date: Tue, 26 Aug 2003 07:13:14 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hallo, I have the following problem that I am trying to solve with Mathematica. I am actually creating simulations. I simulate summers: four months of summer-May,June,July,August. I use the following formula: Temperature today=a*(The average temperature for this date during the last 30 yrs)+b*(The temperature yesterday) + c*(Random historical difference between the temperature today and the temperature yesterday:I have thirty years of data , therefore, 30 differences for every day); a+b=1 and c is approaching 1. Based on this formula and changing the differences I create 1000 temperatures for every day. I want to make the historical average for a certain date to be equal to the simulated average for this date and the same with the standard deviation and this by changing the values for a and c. I tried to do it with the month of May but it gives me an error message: It requires non-algebraic computation(which is true). So I am stuck there. I have Mathematica 4.1 version. I would like to assign number values to to a and c and then create my summers and then change the values I assigned to the variables so that I make the simulated averages and standard deviations equal to the historical ones. I would highly appreciate the help and thank you in advance. Gratefully, Hristina Georgieva. ****************************DISCLAIMER*********************************** Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Fortis rules out any and every liability resulting from any electronic transmission. *******************************************************************************