Quiver contains several cards for finding trends by comparing time series values between series or analyzing the frequency of values within the same series.
Quiver supports the following features:
In this example, we will compare trends in prices between the CMG and AAL stocks. We start by adding both series to our analysis.
We would like to investigate whether these stock prices are correlated. To test this, we create a scatter plot. For each bucketed timestamp, Quiver generates a point representing the prices of CMG and AAL:
Source X Plot
and the CMG time series as the Source Y plot
.There appears to be a positive correlation between the prices of these two stocks. To quantify this, we can run a scatter plot regression:
Time Series Chart
to the scatter plot from the previous section.While we choose to use linear regression for this example, you can also perform exponential and polynomial regression.
We would now like to see whether time plays a role in this trend. For this, we can toggle on the Color points by time option in the Display tab of the scatter plot. Toggling on Show color time legend allows us to see at a glance what time ranges correspond to different colors.
Finally, we would like to mark the average prices of CMG and AAL on the chart. To do this, we first use the time series numeric aggregation card to compute the averages. We can use the numeric series formula to draw a horizontal line depicting the average price of CMG:
X Unit Label
and the Y Unit Label
to dollars to match the labels on the scatter plot chart.Finally, we add a numeric marker on the chart to draw a vertical line depicting average price of AAL:
Now, we would like to compare the distributions of the CMG and AAL stocks. We can do this using the time series heat grid and time series distribution cards. To configure the time series heat grid:
Source X Plot
and the CMG time series as the Source Y plot
.By configuring the number of bins, we can adjust the granularity of the distributions. We can also change the color scheme of the heat grid from the Display tab.
To configure the time series distribution:
Source plot
.