Back to list of Stocks    See Also: Seasonal Analysis of OPNTGenetic Algorithms Stock Portfolio Generator, and Best Months to Buy/Sell Stocks

# Fourier Analysis of OPNT (Opiant Pharmaceuticals)

OPNT (Opiant Pharmaceuticals) appears to have interesting cyclic behaviour every 10 weeks (.7131*sine), 4 weeks (.7029*sine), and 3 weeks (.6888*cosine).

OPNT (Opiant Pharmaceuticals) has an average price of 13.88 (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.

## Fourier Analysis

Using data from 1/4/2016 to 4/16/2018 for OPNT (Opiant Pharmaceuticals), this program was able to calculate the following Fourier Series:
Sequence #Cosine Coefficients Sine Coefficients FrequenciesPeriod
013.87563   0
14.99529 -9.25057 (1*2π)/120120 weeks
2-4.9196 -4.06995 (2*2π)/12060 weeks
3-1.90809 2.92451 (3*2π)/12040 weeks
42.96429 .01241 (4*2π)/12030 weeks
5-.22538 -2.94851 (5*2π)/12024 weeks
6-1.18598 -.40598 (6*2π)/12020 weeks
7.14252 .19629 (7*2π)/12017 weeks
8-.04775 -1.11082 (8*2π)/12015 weeks
9-.76792 -.13538 (9*2π)/12013 weeks
10.18573 .40399 (10*2π)/12012 weeks
11.4607 -.39916 (11*2π)/12011 weeks
12-.23867 -.71309 (12*2π)/12010 weeks
13-.24716 .05494 (13*2π)/1209 weeks
14.01782 .06068 (14*2π)/1209 weeks
15.23244 -.53023 (15*2π)/1208 weeks
16-.36419 -.35235 (16*2π)/1208 weeks
17-.19437 -.14187 (17*2π)/1207 weeks
18.11701 -.31374 (18*2π)/1207 weeks
19-.41826 -.45948 (19*2π)/1206 weeks
20-.42325 .06195 (20*2π)/1206 weeks
21.00187 .16448 (21*2π)/1206 weeks
22.11647 -.18999 (22*2π)/1205 weeks
23-.20895 -.18766 (23*2π)/1205 weeks
24-.04328 .09596 (24*2π)/1205 weeks
25.25433 -.25901 (25*2π)/1205 weeks
26-.20244 -.57162 (26*2π)/1205 weeks
27-.51818 .09686 (27*2π)/1204 weeks
28.17189 .26327 (28*2π)/1204 weeks
29.48009 -.40688 (29*2π)/1204 weeks
30-.51513 -.70288 (30*2π)/1204 weeks
31-.61918 .14827 (31*2π)/1204 weeks
32.16199 .2768 (32*2π)/1204 weeks
33.08259 -.33459 (33*2π)/1204 weeks
34-.38741 -.08882 (34*2π)/1204 weeks
35.03186 .49584 (35*2π)/1203 weeks
36.42608 -.14619 (36*2π)/1203 weeks
37-.2039 -.43026 (37*2π)/1203 weeks
38-.34759 .31083 (38*2π)/1203 weeks
39.46177 .15373 (39*2π)/1203 weeks
40.11419 -.65923 (40*2π)/1203 weeks
41-.68878 -.27848 (41*2π)/1203 weeks
42-.22874 .59364 (42*2π)/1203 weeks
43.51555 .01645 (43*2π)/1203 weeks
44-.13392 -.5848 (44*2π)/1203 weeks
45-.62343 .15337 (45*2π)/1203 weeks
46.08844 .61027 (46*2π)/1203 weeks
47.55746 -.24685 (47*2π)/1203 weeks
48-.1586 -.51794 (48*2π)/1203 weeks
49-.43786 .07643 (49*2π)/1202 weeks
50.16814 .15823 (50*2π)/1202 weeks
51.09082 -.31806 (51*2π)/1202 weeks
52-.42985 -.23129 (52*2π)/1202 weeks
53-.28571 .31324 (53*2π)/1202 weeks
54.26284 .20126 (54*2π)/1202 weeks
55.13468 -.36776 (55*2π)/1202 weeks
56-.44674 -.21076 (56*2π)/1202 weeks
57-.42855 .26893 (57*2π)/1202 weeks
58.04042 .24494 (58*2π)/1202 weeks
59.05374 -.03692 (59*2π)/1202 weeks
60-.13565   (60*2π)/1202 weeks
61.05374 .03692 (61*2π)/1202 weeks
62.04042 -.24494 (62*2π)/1202 weeks
63-.42855 -.26893 (63*2π)/1202 weeks
64-.44674 .21076 (64*2π)/1202 weeks
65.13468 .36776 (65*2π)/1202 weeks
66.26284 -.20126 (66*2π)/1202 weeks
67-.28571 -.31324 (67*2π)/1202 weeks
68-.42985 .23129 (68*2π)/1202 weeks
69.09082 .31806 (69*2π)/1202 weeks
70.16814 -.15823 (70*2π)/1202 weeks
71-.43786 -.07643 (71*2π)/1202 weeks
72-.1586 .51794 (72*2π)/1202 weeks
73.55746 .24685 (73*2π)/1202 weeks
74.08844 -.61027 (74*2π)/1202 weeks
75-.62343 -.15337 (75*2π)/1202 weeks
76-.13392 .5848 (76*2π)/1202 weeks
77.51555 -.01645 (77*2π)/1202 weeks
78-.22874 -.59364 (78*2π)/1202 weeks
79-.68878 .27848 (79*2π)/1202 weeks
80.11419 .65923 (80*2π)/1202 weeks
81.46177 -.15373 (81*2π)/1201 weeks
82-.34759 -.31083 (82*2π)/1201 weeks
83-.2039 .43026 (83*2π)/1201 weeks
84.42608 .14619 (84*2π)/1201 weeks
85.03186 -.49584 (85*2π)/1201 weeks
86-.38741 .08882 (86*2π)/1201 weeks
87.08259 .33459 (87*2π)/1201 weeks
88.16199 -.2768 (88*2π)/1201 weeks
89-.61918 -.14827 (89*2π)/1201 weeks
90-.51513 .70288 (90*2π)/1201 weeks
91.48009 .40688 (91*2π)/1201 weeks
92.17189 -.26327 (92*2π)/1201 weeks
93-.51818 -.09686 (93*2π)/1201 weeks
94-.20244 .57162 (94*2π)/1201 weeks
95.25433 .25901 (95*2π)/1201 weeks
96-.04328 -.09596 (96*2π)/1201 weeks
97-.20895 .18766 (97*2π)/1201 weeks
98.11647 .18999 (98*2π)/1201 weeks
99.00187 -.16448 (99*2π)/1201 weeks
100-.42325 -.06195 (100*2π)/1201 weeks
101-.41826 .45948 (101*2π)/1201 weeks
102.11701 .31374 (102*2π)/1201 weeks
103-.19437 .14187 (103*2π)/1201 weeks
104-.36419 .35235 (104*2π)/1201 weeks
105.23244 .53023 (105*2π)/1201 weeks
106.01782 -.06068 (106*2π)/1201 weeks
107-.24716 -.05494 (107*2π)/1201 weeks
108-.23867 .71309 (108*2π)/1201 weeks
109.4607 .39916 (109*2π)/1201 weeks
110.18573 -.40399 (110*2π)/1201 weeks
111-.76792 .13538 (111*2π)/1201 weeks
112-.04775 1.11082 (112*2π)/1201 weeks
113.14252 -.19629 (113*2π)/1201 weeks
114-1.18598 .40598 (114*2π)/1201 weeks
115-.22538 2.94851 (115*2π)/1201 weeks
1162.96429 -.01241 (116*2π)/1201 weeks
117-1.90809 -2.92451 (117*2π)/1201 weeks
118-4.9196 4.06995 (118*2π)/1201 weeks