Back to list of Stocks    See Also: Seasonal Analysis of AMPHGenetic Algorithms Stock Portfolio Generator, and Fourier Calculator

Fourier Analysis of AMPH (Amphastar Pharmaceuticals, Inc.)


AMPH (Amphastar Pharmaceuticals, Inc.) appears to have interesting cyclic behaviour every 13 weeks (.6478*sine), 14 weeks (.4282*sine), and 6 weeks (.2898*cosine).

AMPH (Amphastar Pharmaceuticals, Inc.) has an average price of 14.33 (topmost row, frequency = 0).



Click on the checkboxes shown on the right to see how the various frequencies contribute to the graph. Look for large magnitude coefficients (sine or cosine), as these are associated with frequencies which contribute most to the associated stock plot. If you find a large magnitude coefficient which dramatically changes the graph, look at the associated "Period" in weeks, as you may have found a significant recurring cycle for the stock of interest.

Right click on the graph above to see the menu of operations (download, full screen, etc.)

Fourier Analysis

Using data from 6/25/2014 to 3/20/2017 for AMPH (Amphastar Pharmaceuticals, Inc.), this program was able to calculate the following Fourier Series:
Sequence #Cosine Coefficients Sine Coefficients FrequenciesPeriod
014.33056   0 
1.22539 -1.73031 (1*2π)/144144 weeks
2-1.36145 -3.13217 (2*2π)/14472 weeks
3-.4575 -.41037 (3*2π)/14448 weeks
4-.33321 .15732 (4*2π)/14436 weeks
5-.47595 -.6065 (5*2π)/14429 weeks
6-.28209 .4329 (6*2π)/14424 weeks
7-.34326 -.58764 (7*2π)/14421 weeks
8.13984 .12732 (8*2π)/14418 weeks
9-.16677 -.30758 (9*2π)/14416 weeks
10.03575 -.42825 (10*2π)/14414 weeks
11.25403 -.64783 (11*2π)/14413 weeks
12-.20377 -.07288 (12*2π)/14412 weeks
13-.17089 -.1191 (13*2π)/14411 weeks
14-.00589 .09858 (14*2π)/14410 weeks
15-.20216 -.06361 (15*2π)/14410 weeks
16.09009 .11127 (16*2π)/1449 weeks
17-.03762 -.06278 (17*2π)/1448 weeks
18-.01189 -.01508 (18*2π)/1448 weeks
19-.05531 .11329 (19*2π)/1448 weeks
20.09648 -.04002 (20*2π)/1447 weeks
21-.10183 .0874 (21*2π)/1447 weeks
22.06311 .11003 (22*2π)/1447 weeks
23.28985 -.14474 (23*2π)/1446 weeks
24-.02764 -.25187 (24*2π)/1446 weeks
25-.12151 -.08646 (25*2π)/1446 weeks
26-.09638 .04577 (26*2π)/1446 weeks
27.06575 -.18126 (27*2π)/1445 weeks
28-.02742 .002 (28*2π)/1445 weeks
29-.03648 -.14631 (29*2π)/1445 weeks
30.00624 -.00658 (30*2π)/1445 weeks
31.058 -.10886 (31*2π)/1445 weeks
32.04592 -.02702 (32*2π)/1445 weeks
33-.15825 -.15431 (33*2π)/1444 weeks
34-.20998 -.0036 (34*2π)/1444 weeks
35-.11558 .11716 (35*2π)/1444 weeks
36.02125 -.03847 (36*2π)/1444 weeks
37-.0146 .09614 (37*2π)/1444 weeks
38-.01828 -.08792 (38*2π)/1444 weeks
39-.01214 -.01665 (39*2π)/1444 weeks
40-.03397 -.1248 (40*2π)/1444 weeks
41.02953 .01745 (41*2π)/1444 weeks
42-.02543 -.08194 (42*2π)/1443 weeks
43-.00142 -.0278 (43*2π)/1443 weeks
44.08541 .02133 (44*2π)/1443 weeks
45.08035 -.04338 (45*2π)/1443 weeks
46-.05672 -.01263 (46*2π)/1443 weeks
47.06093 -.00279 (47*2π)/1443 weeks
48.05486 .01852 (48*2π)/1443 weeks
49-.0142 -.04482 (49*2π)/1443 weeks
50.11858 .00597 (50*2π)/1443 weeks
51.04884 .04851 (51*2π)/1443 weeks
52.03827 -.13623 (52*2π)/1443 weeks
53-.03588 -.07917 (53*2π)/1443 weeks
54-.08005 -.08175 (54*2π)/1443 weeks
55-.11838 -.03589 (55*2π)/1443 weeks
56-.01671 .00047 (56*2π)/1443 weeks
57-.03936 .10592 (57*2π)/1443 weeks
58-.00856 -.06939 (58*2π)/1442 weeks
59-.00599 -.04122 (59*2π)/1442 weeks
60-.14123 -.05267 (60*2π)/1442 weeks
61-.06646 -.03252 (61*2π)/1442 weeks
62-.03205 -.03358 (62*2π)/1442 weeks
63.0151 .02752 (63*2π)/1442 weeks
64-.01019 .08399 (64*2π)/1442 weeks
65-.01539 -.05035 (65*2π)/1442 weeks
66.00405 .03326 (66*2π)/1442 weeks
67-.04451 .01971 (67*2π)/1442 weeks
68.01297 .07642 (68*2π)/1442 weeks
69.01295 .01944 (69*2π)/1442 weeks
70.05605 .05301 (70*2π)/1442 weeks
71-.02931 .03522 (71*2π)/1442 weeks
72-.03306   (72*2π)/1442 weeks
73-.02931 -.03522 (73*2π)/1442 weeks
74.05605 -.05301 (74*2π)/1442 weeks
75.01295 -.01944 (75*2π)/1442 weeks
76.01297 -.07642 (76*2π)/1442 weeks
77-.04451 -.01971 (77*2π)/1442 weeks
78.00405 -.03326 (78*2π)/1442 weeks
79-.01539 .05035 (79*2π)/1442 weeks
80-.01019 -.08399 (80*2π)/1442 weeks
81.0151 -.02752 (81*2π)/1442 weeks
82-.03205 .03358 (82*2π)/1442 weeks
83-.06646 .03252 (83*2π)/1442 weeks
84-.14123 .05267 (84*2π)/1442 weeks
85-.00599 .04122 (85*2π)/1442 weeks
86-.00856 .06939 (86*2π)/1442 weeks
87-.03936 -.10592 (87*2π)/1442 weeks
88-.01671 -.00047 (88*2π)/1442 weeks
89-.11838 .03589 (89*2π)/1442 weeks
90-.08005 .08175 (90*2π)/1442 weeks
91-.03588 .07917 (91*2π)/1442 weeks
92.03827 .13623 (92*2π)/1442 weeks
93.04884 -.04851 (93*2π)/1442 weeks
94.11858 -.00597 (94*2π)/1442 weeks
95-.0142 .04482 (95*2π)/1442 weeks
96.05486 -.01852 (96*2π)/1442 weeks
97.06093 .00279 (97*2π)/1441 weeks
98-.05672 .01263 (98*2π)/1441 weeks
99.08035 .04338 (99*2π)/1441 weeks
100.08541 -.02133 (100*2π)/1441 weeks
101-.00142 .0278 (101*2π)/1441 weeks
102-.02543 .08194 (102*2π)/1441 weeks
103.02953 -.01745 (103*2π)/1441 weeks
104-.03397 .1248 (104*2π)/1441 weeks
105-.01214 .01665 (105*2π)/1441 weeks
106-.01828 .08792 (106*2π)/1441 weeks
107-.0146 -.09614 (107*2π)/1441 weeks
108.02125 .03847 (108*2π)/1441 weeks
109-.11558 -.11716 (109*2π)/1441 weeks
110-.20998 .0036 (110*2π)/1441 weeks
111-.15825 .15431 (111*2π)/1441 weeks
112.04592 .02702 (112*2π)/1441 weeks
113.058 .10886 (113*2π)/1441 weeks
114.00624 .00658 (114*2π)/1441 weeks
115-.03648 .14631 (115*2π)/1441 weeks
116-.02742 -.002 (116*2π)/1441 weeks
117.06575 .18126 (117*2π)/1441 weeks
118-.09638 -.04577 (118*2π)/1441 weeks
119-.12151 .08646 (119*2π)/1441 weeks
120-.02764 .25187 (120*2π)/1441 weeks
121.28985 .14474 (121*2π)/1441 weeks
122.06311 -.11003 (122*2π)/1441 weeks
123-.10183 -.0874 (123*2π)/1441 weeks
124.09648 .04002 (124*2π)/1441 weeks
125-.05531 -.11329 (125*2π)/1441 weeks
126-.01189 .01508 (126*2π)/1441 weeks
127-.03762 .06278 (127*2π)/1441 weeks
128.09009 -.11127 (128*2π)/1441 weeks
129-.20216 .06361 (129*2π)/1441 weeks
130-.00589 -.09858 (130*2π)/1441 weeks
131-.17089 .1191 (131*2π)/1441 weeks
132-.20377 .07288 (132*2π)/1441 weeks
133.25403 .64783 (133*2π)/1441 weeks
134.03575 .42825 (134*2π)/1441 weeks
135-.16677 .30758 (135*2π)/1441 weeks
136.13984 -.12732 (136*2π)/1441 weeks
137-.34326 .58764 (137*2π)/1441 weeks
138-.28209 -.4329 (138*2π)/1441 weeks
139-.47595 .6065 (139*2π)/1441 weeks
140-.33321 -.15732 (140*2π)/1441 weeks
141-.4575 .41037 (141*2π)/1441 weeks
142-1.36145 3.13217 (142*2π)/1441 weeks

Problems, Comments, Suggestions? Click here to contact Greg Thatcher

Please read my Disclaimer





Copyright (c) 2013 Thatcher Development Software, LLC. All rights reserved. No claim to original U.S. Gov't works.