source: trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STATISTICS/c_timecorrelate.html @ 163

Last change on this file since 163 was 163, checked in by navarro, 18 years ago

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File size: 8.2 KB
Line 
1
2
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4  <head>
5    <title>c_timecorrelate.pro (SAXO Documentation Assistant)</title>
6  </head>
7
8  <body text="#000000" bgcolor="#FFFFFF">
9
10   
11<!-- Navbar template takes a structure with the following fields:
12       overview_href :
13       overview_selected :
14       dir_overview_href :
15       dir_overview_selected :
16       categories_href :
17       categories_selected :
18       index_href :
19       index_selected :
20       search_href :
21       search_selected :
22       file_selected :
23       source_href :
24       source_selected :
25       help_href :
26       help_selected :
27       etc_selected :
28
29       prev_file_href :
30       next_file_href :
31
32       view_single_page_href :
33       view_frames_href :
34
35       summary_fields_href :
36       summary_routine_href :
37       details_routine_href :
38
39       title :
40       subtitle :
41       user :
42-->
43
44
45<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
46  <tr>
47    <td width="10%">
48<a href="a_timecorrelate.html"><img src="./../../prev.gif" border="0" alt="Previous"></a></td>
49    <td width="80%" align="center" valign="center">
50<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../../home.html">Overview</a></font></td>
51    <td width="10%" align="right">
52<a href=""><img src="./../../next.gif" border="0" alt="Next"></a></td>
53  </tr>
54</table>
55
56
57    <h1><font size="-2">ToBeReviewed/STATISTICS/</font></h1>
58    <h2>c_timecorrelate.pro</h2>
59
60    <dl>
61    </dl>
62
63   
64 
65
66
67 This function computes the "time cross correlation" Pxy(L) or
68 the "time cross covariance" between 2 arrays (this is some
69 kind of c_correlate but for multidimenstionals arrays) as a
70 function of the lag (L).
71
72
73   
74    <h2>Routine summary</h2>
75
76    <dl>
77     
78      <dt><a href="#_timecross_cov"><i>result = </i>timecross_cov(<i>Xd, Yd, M, nT, Ndim</i>, Double=<i>Double</i>, ZERO2NAN=<i>ZERO2NAN</i>)</a><dt>
79      <dd><font size="-1"></font></dd>
80     
81      <dt><a href="#_c_timecorrelate"><i>result = </i>c_timecorrelate(<i>X, Y, Lag</i>, Covariance=<i>Covariance</i>, Double=<i>Double</i>)</a><dt>
82      <dd><font size="-1"></font></dd>
83     
84    </dl>
85
86    <p>&nbsp;</p>
87   
88
89     
90      <a name="#_timecross_cov"></a>
91
92      <h2>timecross_cov  <font size="-1" color="#006633">
93 Statistics
94</font></h2>
95
96      <p><font face="Courier"><i>result = </i>timecross_cov(<i><a href="#_timecross_cov_keyword_Xd">Xd</a>, <a href="#_timecross_cov_keyword_Yd">Yd</a>, <a href="#_timecross_cov_keyword_M">M</a>, <a href="#_timecross_cov_keyword_nT">nT</a>, <a href="#_timecross_cov_keyword_Ndim">Ndim</a></i>, <a href="#_timecross_cov_keyword_Double">Double</a>=<i>Double</i>, <a href="#_timecross_cov_keyword_ZERO2NAN">ZERO2NAN</a>=<i>ZERO2NAN</i>)</font></p>
97
98   
99
100   
101
102   
103    <h3>Parameters</h3>
104   
105
106    <a name="#_timecross_cov_keyword_Xd"></a>
107    <h4>Xd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
108     
109     
110     
111     
112     
113     
114     
115     
116    </h4>
117
118   
119
120
121   
122
123    <a name="#_timecross_cov_keyword_Yd"></a>
124    <h4>Yd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
125     
126     
127     
128     
129     
130     
131     
132     
133    </h4>
134
135   
136
137
138   
139
140    <a name="#_timecross_cov_keyword_M"></a>
141    <h4>M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
142     
143     
144     
145     
146     
147     
148     
149     
150    </h4>
151
152   
153
154
155   
156
157    <a name="#_timecross_cov_keyword_nT"></a>
158    <h4>nT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
159     
160     
161     
162     
163     
164     
165     
166     
167    </h4>
168
169   
170
171
172   
173
174    <a name="#_timecross_cov_keyword_Ndim"></a>
175    <h4>Ndim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
176     
177     
178     
179     
180     
181     
182     
183     
184    </h4>
185
186   
187
188
189   
190   
191
192   
193    <h3>Keywords</h3>
194
195   
196    <a name="#_timecross_cov_keyword_Double"></a>
197    <h4>Double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
198     
199     
200     
201     
202     
203     
204     
205     
206    </h4>
207
208   
209 If set to a non-zero value, computations are done in
210 double precision arithmetic.
211
212   
213    <a name="#_timecross_cov_keyword_ZERO2NAN"></a>
214    <h4>ZERO2NAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
215     
216     
217     
218     
219     
220     
221     
222     
223    </h4>
224
225   
226
227
228   
229   
230
231    <h3>Examples</h3>
232
233
234    <h3>Version history</h3>
235   
236    <h4>Version</h4>
237 $Id: c_timecorrelate.pro 157 2006-08-21 09:01:50Z navarro $
238
239    <h4>History</h4>
240
241
242   
243
244   
245   
246   
247   
248   
249
250   
251   
252   
253   
254   
255   
256   
257
258    <font size="-3"><p>&nbsp;</p></font>
259    <hr size="1" color="#CCCCCC"/>
260     
261      <a name="#_c_timecorrelate"></a>
262
263      <h2>c_timecorrelate  <font size="-1" color="#006633">
264 Statistics
265</font></h2>
266
267      <p><font face="Courier"><i>result = </i>c_timecorrelate(<i><a href="#_c_timecorrelate_keyword_X">X</a>, <a href="#_c_timecorrelate_keyword_Y">Y</a>, <a href="#_c_timecorrelate_keyword_Lag">Lag</a></i>, <a href="#_c_timecorrelate_keyword_Covariance">Covariance</a>=<i>Covariance</i>, <a href="#_c_timecorrelate_keyword_Double">Double</a>=<i>Double</i>)</font></p>
268
269   
270
271   
272
273   
274    <h3>Parameters</h3>
275   
276
277    <a name="#_c_timecorrelate_keyword_X"></a>
278    <h4>X&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
279      <font size="-1" color="#006633">in</font>
280     
281     
282      <font size="-1" color="#006633">required</font>
283     
284      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>array</i></font>
285     
286     
287    </h4>
288
289   
290 An Array which last dimension is the time dimension of
291 size n, float or double.
292
293   
294
295    <a name="#_c_timecorrelate_keyword_Y"></a>
296    <h4>Y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
297      <font size="-1" color="#006633">in</font>
298     
299     
300      <font size="-1" color="#006633">required</font>
301     
302      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>array</i></font>
303     
304     
305    </h4>
306
307   
308 An Array which last dimension is the time dimension of
309 size n, float or double.
310
311   
312
313    <a name="#_c_timecorrelate_keyword_Lag"></a>
314    <h4>Lag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
315      <font size="-1" color="#006633">in</font>
316     
317     
318      <font size="-1" color="#006633">required</font>
319     
320      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar or vector</i></font>
321     
322     
323    </h4>
324
325   
326 A scalar or n-element vector, in the interval [-(n-2), (n-2)],
327 of type integer that specifies the absolute distance(s) between
328 indexed elements of X.
329
330   
331   
332
333   
334    <h3>Keywords</h3>
335
336   
337    <a name="#_c_timecorrelate_keyword_Covariance"></a>
338    <h4>Covariance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
339     
340     
341     
342     
343     
344     
345     
346     
347    </h4>
348
349   
350 If set to a non-zero value, the sample cross
351 covariance is computed.
352
353   
354    <a name="#_c_timecorrelate_keyword_Double"></a>
355    <h4>Double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
356     
357     
358     
359     
360     
361     
362     
363     
364    </h4>
365
366   
367 If set to a non-zero value, computations are done in
368 double precision arithmetic.
369
370   
371   
372
373    <h3>Examples</h3>
374 
375       Define two n-element sample populations.
376         x = [3.73, 3.67, 3.77, 3.83, 4.67, 5.87, 6.70, 6.97, 6.40, 5.57]
377         y = [2.31, 2.76, 3.02, 3.13, 3.72, 3.88, 3.97, 4.39, 4.34, 3.95]
378
379       Compute the cross correlation of X and Y for LAG = -5, 0, 1, 5, 6, 7
380         lag = [-5, 0, 1, 5, 6, 7]
381         result = c_timecorrelate(x, y, lag)
382
383       The result should be:
384         [-0.428246, 0.914755, 0.674547, -0.405140, -0.403100, -0.339685]
385
386    <h3>Version history</h3>
387   
388    <h4>Version</h4>
389 $Id: c_timecorrelate.pro 157 2006-08-21 09:01:50Z navarro $
390
391    <h4>History</h4>
392       - 01/03/2000 Sebastien Masson (smasson@lodyc.jussieu.fr)
393       Based on the C_CORRELATE procedure of IDL
394       - August 2003 Sebastien Masson
395       update according to the update made in C_CORRELATE by
396       W. Biagiotti and available in IDL 5.5
397
398       INTRODUCTION TO STATISTICAL TIME SERIES
399       Wayne A. Fuller
400       ISBN 0-471-28715-6
401
402   
403
404   
405   
406   
407   
408   
409
410   
411   
412   
413   
414   
415   
416   
417
418    <font size="-3"><p>&nbsp;</p></font>
419    <hr size="1" color="#CCCCCC"/>
420     
421
422   
423
424    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0 on Tue Aug 29 14:50:29 2006.</font></p>
425
426  </body>
427</html>
Note: See TracBrowser for help on using the repository browser.