MOJAVE XXI. Decade-long linear polarization variability in AGN jets at parsec scales

Abstract: Using stacking of images obtained at different epochs, we studied the variability properties of linear polarization of active galactic nucleus (AGN) jets on parsec-scales. Our sample is drawn from the MOJAVE programme, and consists of 436 AGNs manifesting core-jet morphology and having at least five VLBA observing epochs at 15 GHz from January 1996 through August 2019, with some additional archival VLBA data reduced by us. We employed a stacking procedure and constructed maps of (i) standard deviation of fractional polarization and electric vector position angle (EVPA) over epochs as the measure of variability and (ii) median polarization degree to quantify typical values in time. The distributions of these values along and across the jet were analysed for the whole sample for the first time. We found that core EVPA variability is typically higher than that of the jet, presumably due to component blending and outflow bends in the core. The BL Lacertae object cores have lower EVPA variability, compared to that of quasars, possibly due to lower Faraday rotation measure, suggesting a stronger ordered magnetic field component. The EVPA becomes more stable down the jet. Most of the sources showing this trend have a time coverage of more than 12 years and at least 15 epochs. The possible cause could be the increase of stability in the magnetic field direction, reflecting an increase in the fraction of the magnetic field that is ordered. There are no significant optical-class-dependent or spectral-class-dependent relations in the EVPA variability properties in AGN jets.

\section{Introduction} \label{sec:intro}

A large-scale magnetic field is believed to play a key role in launching relativistic jets \citep{Blandford_1977, Blandford_1982, Lovelace_1987}, and its toroidal component effectively collimates the outflows \citep{Benford_1978, Chan_1980}. The magnetic field manifests itself through linearly polarized synchrotron emission and the Faraday rotation effect.

The analysis of first-epoch maps of 133 extragalactic jets (mainly quasars and BL~Lacertae objects) obtained within the MOJAVE VLBA program at 15~GHz showed that the typical fractional polarization of AGN jet components varies from 3~per~cent for quasars to 10~per~cent for BL~Lacertae objects \citep[BL~Lac;][]{Lister_2005}. The gap between quasars and BL~Lac objects is large with a possible reason being the strong, transverse shocks which are more common in BL~Lacs \citep[][and  references therein]{Lister_2005, Aller_2017}.
\citet{Wardle_2013} considered a combination of uniform and isotropic random magnetic field. In this scenario, the difference in fractional polarization could be explained by distinction in viewing angles provided that the quasar viewing angle is on average larger than the BL~Lac one.
In BL~Lacs, the electric vector position angle (EVPA) often aligns with the local jet direction \citep{Gabuzda_2000, Lister_2005, O'Sullivan_2009}, while quasars show a distribution with no preferred direction \citep{Lister_2005}. \cite{MOJAVE_XXI} studied time-averaged polarization properties of AGN outflows using the same observational data as in this paper.
Their analysis showed comparable fractional polarization of quasar and BL Lac jets starting from hecto-parsec de-projected scales and beyond.
Also, they confirmed the tendency of the EVPAs to align with the local jet direction for BL~Lacs; for quasars, the EVPAs are predominantly orthogonal to the ridgeline. They found a significant rise of averaged fractional polarization downstream in the jet and towards its edges. The latter could be a manifestation of a helical magnetic field or shear layer.

AGNs are known to be extremely variable in total intensity and polarized emission, with the timescales of variations ranging from less than one day to several years. The intra-day variability can be either intrinsic \citep[e.g.][]{Gabuzda_2000a, Gabuzda_2000b, Kravchenko_2020} or produced by scintillation in the ionized interstellar medium \citep{Rickett_1984} or gravitational microlensing \citep{Nottale_1986}. An example of intrinsic variations is the recent Event Horizon Telescope observations of 3C~279 with $\sim$20~$\mu$as angular resolution at 230~GHz \citep{Kim_2020}, which reveal significant closure phase day-to-day changes, which seem to be connected to two components non-radially propagating down the inner jet. Some observations show the correlation of EVPA rotations on the timescales of several days with a new superluminal knot emerging from the core \citep[e.g. a review paper of][]{Park_2022}.

In our study, we consider long-period linear polarization variability with a median time coverage of about seven years. Such variations may be associated with a bright feature moving along the magnetic field \citep{Marscher_2008} or along bent trajectories \citep{Gomez_1994}. \citet{Cohen_2018} analysed $\sim$180$^{\circ}$ EVPA rotations of the blazar OJ~287 and interpreted them using a steady polarized jet model with two successive outbursts with counter-rotating EVPAs. Also, variability could be related to geometric effects such as Doppler boosting changes due to jet precession, magneto-hydrodynamic shocks propagating through the jet, or they could reflect magnetic field space-time evolution. The main goals of our study are to investigate the properties of linear polarization variability over the parsec-scale AGN jets to quantify the magnitude and understand the reason for the variations.

\citet{Hodge_2018} performed a study of linear polarization variability in the core region using MOJAVE data at 15~GHz. The core at 15~GHz is an optically thick region near the jet base. One of their results is that the core components, which exhibit the highest amplitude and lowest variability in fractional polarization, also have stable EVPAs which align closely with the local jet direction. The authors suggested a standing transverse shock as an explanation of such magnetic field topology and its stability. Also they found that the EVPAs of BL Lac cores are less variable compared to those of flat spectrum radio quasars (FSRQs) and are often well-aligned with the local jet direction in contrast to FSRQs which have a tendency to misalignment. The authors suggested to explain this observation by inherent differences in shock strength and geometry of the emission region between the two optical classes.

This paper is comprised of the following parts: the observational data and our sample are described in Section~\ref{sec:sample}; the procedure used for the construction of variability maps is presented in Section~\ref{sec:maps}; the results of the analysis are given and discussed in Section~\ref{sec:results}; Section~\ref{sec:sum} is a summary; and the detailed description of error estimation approach is presented in Appendix~\ref{appendix:errors}.

\section{Our sample} \label{sec:sample}

We formed a sample of AGNs using observational data from the MOJAVE VLBA program\footnote{\url{https://www.cv.nrao.edu/MOJAVE}}. The sample is biased in favour of the AGNs with bright compact radio emission on milliarcsecond scales and is described in detail in \citet{Lister_2018}. For our polarization variability study, we selected 438 AGNs which have at least five VLBA epochs between 1996 January 19 and 2019 August 4. This is the minimum number of epochs for which, on the one hand, the estimator of variability as standard deviation is evaluated quite well and, on the other hand, the number of AGNs with lower number of observations is small (7~per~cent of the full sample). One of the sources, the quasar 2023+335, was found to be affected by strong refractive-dominated scattering \citep{Pushkarev_2013}, which alters the observed position and the properties of the core. Therefore, we excluded 2023+335 from the sample. Also, epochs where the $I$ image had an rms noise exceeding three times the median rms noise (as determined from images at all available epochs of a source) were removed because these noisy maps increase the rms of the total intensity images averaged over the epochs. For 1329$-$126, this requirement left only four epochs; hence, it was excluded from the sample too. Finally, we have 436 sources with 5846 maps and 367 individual epochs. Mostly, these are quasars (60~per~cent, 261 sources) and BL~Lac objects (31~per~cent, 136 sources), also 5~per~cent (24 sources) are radio~galaxies. The rest are narrow-line Seyfert~1 galaxies and optically unidentified sources (\autoref{t:opt_sed_class}). The classes of the synchrotron peak position in the spectral energy distribution are low-synchrotron-peaked (LSP) if the rest-frame peak is at frequency below $10^{14}$~Hz, intermediate-synchrotron-peaked (ISP) if the peak is between $10^{14}$~Hz and $10^{15}$~Hz and high-synchrotron-peaked (HSP) if the peak is above $10^{15}$~Hz. The sample is strongly dominated by LSP sources because one of the selection criterion for an object to be included in the pool of MOJAVE targets was the VLBA flux density at 15~GHz to exceed 1.5~Jy. HSP AGNs tend to be weak in the radio band since their spectral energy distribution (SED) is skewed toward higher frequencies. The synchrotron peak classification of our sample is given in \autoref{t:opt_sed_class}. The vast majority of AGNs have apparent one-sided jet morphology due to Doppler boosting effects; nine sources (0128+554, 0238$-$084, 0305+039, 0316+413, 1228+126, 1413+135, 1509+054, 1957+405, 2043+749) exhibit counter-jet features on milliarcsecond scales.

\begin{table}
\caption{Optical and Synchrotron Peak Classifications.
\label{t:opt_sed_class}
}
\centering
\begin{tabular}{lccccc}
\hline\hline\noalign{\smallskip}
 & LSP & ISP & HSP & Unknown & Total \\
\hline
Quasars & 251 & 5 & \dots & 3 & 259 \\
BL~Lacs & 74 & 35 & 26 & \dots & 135 \\
Radio~Galaxies & 20 & 3 & \dots & 1 & 24 \\
Narrow-line Seyfert~1 Galaxies & 5 & 1 & \dots & \dots & 6 \\
Unidentified & 10 & \dots & \dots & 2 & 12 \\
Total & 360 & 44 & 26 & 6 & 436 \\
\hline
\end{tabular}
\end{table}

\begin{table*}
\centering
\caption{General Characteristics of the AGN Sample.
\label{t:sample_properties}
}
\begin{threeparttable}
\begin{tabular}{llcccl}
\hline\hline\noalign{\smallskip}
Source & Alias &  Opt. Class & SED Peak Class & $z$ & $z$ and/or Opt. Class Reference \\
(1) & (2) & (3) & (4) & (5) & (6) \\
\hline
0003$-$066 & NRAO 005 & B & LSP & 0.347 & \citet{2005PASA...22..277J} \\
0003+380 & S4 0003+38 & Q & LSP & 0.229 & \citet{1994AAS..103..349S} \\
0006+061 & TXS 0006+061 & B & LSP & \dots & \citet{2012AA...538A..26R} \\
0007+106 & III Zw 2 & G & LSP & 0.089 & \citet{1970ApJ...160..405S} \\
0010+405 & 4C +40.01 & Q & LSP & 0.256 & \citet{1992ApJS...81....1T} \\
\hline
\end{tabular}
\begin{tablenotes}
\item
Columns are as follows:
(1) Source name;
(2) Alias;
(3) Optical Class: quasar (Q), BL~Lac (B), radio~galaxy (G), narrow-line Seyfert~1 (N), unidentified (U);
(4) Class of Synchrotron Peak Position in SED;
(5) Redshift;
(6) Redshift and/or Optical Class Reference.
The full table is available in machine-readable form in Supplementary data online. The first five entries are shown here for guidance.
\end{tablenotes}
\end{threeparttable}
\end{table*}

\begin{figure}
    \centering
    \includegraphics[width=\linewidth]{figures/epoch_number.pdf}
    \caption{Histogram of the number of VLBA epochs per AGN.
    \label{f:epoch_number}
    }
\end{figure}

\autoref{t:sample_properties} provides general information on the sample sources. The distribution of the number of epochs per source is wide ranging from 5 to 139, with a median number of 9 (\autoref{f:epoch_number}).
The time period between the first and the last epoch of observations of each individual source is distributed from one year to 24~years (\autoref{f:time_coverage}). There are two main sub-samples here: (i) one consisting of $\gamma$-ray-bright sources with high-confidence associations with sources detected by the \textit{Fermi}-LAT after 2008 \citep{Acero_2015}, which were observed with a narrower time coverage, and (ii) AGNs monitored on longer time scales, from the
archival VLBA observations
and the MOJAVE program. We aim to probe the full jet width to study the polarization variations not only along but also across the outflow. The jet width revealed by stacking depends on the time coverage. The longer a source is observed, the wider the jet appears on the map until eventually the entire jet cross-section is filled. \citet{Pushkarev_2017} found that a time coverage $\gtrsim 5$~years typically allows revealing the full jet cross-section in total intensity at 15~GHz. About 60~per~cent of our sample meets this condition. We assume that the stacking of total intensity maps reveals the full width of an underlying jet profile; however, the increase in jet cross-section with time coverage could be explained by instabilities developing down the jet or by the oscillatory behaviour of the inner jet orientation seen in some frequently observed sources \citep{Lister_2013,Lister_2021}.

\begin{figure}
    \centering
    \includegraphics[width=\linewidth]{figures/time_coverage.pdf}
    \caption{Histogram of the distribution of the time periods between the first and the last VLBA epochs for all source in the sample.
    \label{f:time_coverage}
    }
\end{figure}

Although the time intervals between successive observations (\autoref{f:cadence}) largely varies from several months up to 17~years, the peak and the median sampling interval are about half a year. In the MOJAVE program, the cadence for a source is chosen in such a way that the sources with faster morphological changes are observed more frequently. The quasar 0306+102 (15 epochs) and the BL~Lac 1147+245 (eight epochs) have one epoch at 17 and 15 years apart from the other epochs, respectively. This does not strongly affect the variability estimates as typical variations are measured. The redshift is known for 358 AGNs (258 quasars, 76 BL~Lacs and 24 radio~galaxies) in our sample (\autoref{t:sample_properties}). The redshifts range from 0.05 to 3.40 for the quasars, from 0.02 to 1.67 for BL Lacs, and from 0.004 to 0.266 for radio galaxies. The median redshift of the sample is 0.79.

\begin{figure}
    \centering
    \includegraphics[width=\linewidth]{figures/cadence.pdf}
    \caption{Histogram of the distribution of the time intervals between successive VLBA epochs for all sample sources.
    \label{f:cadence}
    }
\end{figure}

\section{Variability and median maps} \label{sec:maps}
We used the MOJAVE program data and the archival VLBA observations at 15~GHz performed between 1996 January 19 and 2019 August 4. In total, it accumulated 5846 source-epoch maps. The data reduction and imaging process are described in \citet{Lister_2009}. The maps for 419 of the AGNs have a field of view of 40~mas$\times$40~mas. The remainder were imaged with a larger field to account for their extended structure. All images were gridded with a pixel size of 0.1~mas. The maps of the Stokes parameters $I$, $Q$ and $U$ were convolved with a circular Gaussian beam with a full width at half-maximum (FWHM) beam size estimated by the procedure described in Appendix \ref{appendix:beam_fits}. For better tracing of the brightest parts of the jet, we constructed the total intensity ridgeline with each point being the intensity weighted average over the azimuthal slice at a given distance from the core \citep{Pushkarev_2017}. The azimuthal slices were taken with a step of one pixel size. A circular restoring beam was applied to remove a possible ridgeline dependency on the beam shape if it is highly elongated, thus influencing the ridgeline by the direction of the major axis of the beam. The maps for different epochs were then aligned on the VLBI core position found by the structure modelling in the ($u$, $v$)-plane by means of the \textit{modelfit} procedure in the Caltech \textit{DIFMAP} package \citep{Shepherd_1997}. The modelling approach is described in \citet{Lister_2021}. The noise levels  $I_{\mathrm{rms}}$, $Q_{\mathrm{rms}}$ and $U_{\mathrm{rms}}$ for the corresponding maps were estimated in four outer quadrants, each of 1/25 of the image area. Then the median of the three smallest rms values was taken as an rms over the map. Taking into account only the thermal component of the noise and estimating the rms of $I$ far away from the source leads to an underestimation of the noise level. Therefore, a four-rms-level cutoff was chosen, i.e. the pixels with total intensity values of less than $4I_{\mathrm{rms}}$ were masked.

The next step was to construct images of the linearly polarized intensity $P = \sqrt{Q^2 + U^2}$ and the electric vector position angle $\textrm{EVPA} = 0.5\arctan{(U/Q)}$ which lies in a range from $-\pi/2$ to $+\pi/2$. The $P_{\mathrm{rms}}$ was estimated as $(Q_{\mathrm{rms}} + U_{\mathrm{rms}})/2$ \citep{Hovatta_2012}. We masked the $P$ maps at the $3.4P_{\mathrm{rms}}$ level because $P$ follows the Rayleigh distribution, and the $3.4$ rms level corresponds to a $3\sigma$ cutoff for this distribution. Also the $4I_{\mathrm{rms}}$ mask was applied for further calculation of the fractional polarization. The same masks were applied to the EVPA images.

Due to a non-Gaussian distribution of polarization noise, the $P$ maps are subject to a Rician bias \citep{Wardle}. It increases the observed $P$, especially for the low signal-to-noise ratio regions, while for the high signal-to-noise ratio areas the difference between the observed and true values can be neglected. We corrected the $P$ maps for this bias following \citet{Wardle}
\begin{equation}
    P_{\mathrm{true}} = P_{\mathrm{obs}}\sqrt{1-(P_{\mathrm{obs,std}}/P_{\mathrm{obs}})^2},
\end{equation}
where $P_{\mathrm{true}}$ and $P_{\mathrm{obs}}$ are the corrected and observed polarization intensity, respectively, $P_{\mathrm{obs,std}}$ is the standard deviation evaluated as an average between the $Q$ and $U$ standard deviation which was estimated following the same procedure as $Q_{\mathrm{rms}}$ and $U_{\mathrm{rms}}$. For a 3$\sigma$ cutoff, the difference between the observed and true values of the polarization intensity is up to 6~per~cent. A more detailed analysis of the Rician bias influence on the polarization data can be found in \cite{MOJAVE_XXI}. It is important to mask the $P$ images first and then correct them for the bias because the latter changes the noise distribution, so our estimate of $P_{\mathrm{rms}}$ as an average between $Q_{\mathrm{rms}}$ and $U_{\mathrm{rms}}$ would be incorrect for a Rayleigh distribution. We then constructed the fractional polarization maps $m = P/I$.

For each source in our sample, we constructed median maps in linear polarization ($P_{\mathrm{median}}$ and $m_{\mathrm{median}}$) to derive typical values over the epochs. The moving and quasi-stationary components could influence on polarization median map. In particular, this leads to non-monotonic distribution of median values along the jet (see Subsection \ref{subsec:var_along}). The EVPA and $m$ variability images were produced according to the standard deviation of the images of individual epochs. For EVPA variability, circular statistics \citep{MARDIA} were used to treat the $\pi$ ambiguity. Circular statistics is a sub-field of statistics which takes into account the periodic behaviour of angular values. The circular standard deviation $\sigma^\mathrm{circ}_\mathrm{EVPA}$ was calculated as $\sqrt{-2\ln{R}}$ \citep{CircStat}, where $R$ is the resultant vector length on the unit circle. The circular standard deviation was evaluated using the python scipy statistics library \citep{scipy} which correctly accounts for the circular range of our EVPA data from $-90^\circ$ to $+90^\circ$. We note that when calculated this way, the circular standard deviation can be arbitrarily large; however, for our data its values range up to a maximum of about $100^\circ$.

The standard deviation of $m$ and EVPA, $\sigma_m$ and $\sigma^\mathrm{circ}_\mathrm{EVPA}$, were assessed only in the pixels unmasked for three or more epochs. As fractional polarization $m$ is positive, its variations have an asymmetric distribution for close to zero $m$ values, and the corresponding $\sigma_m$ likely underestimates the variability. However, $m$ is small mainly in the nuclear area.
Therefore, $\sigma_m$ can still be used for the analysis. Additionally, we compared the standard deviation with the interquartile range, which is more robust. This range is defined as the difference between the 75th and 25th percentile of the data. It turned out that the interquartile range in the jet is closely matched to the standard deviation and does not show any changes downstream of the outflow.

A correction for the bias produced by the CLEAN algorithm (see Appendix \ref{appendix:errors} and \cite{MOJAVE_XXI} for more details) was applied to the $P_\mathrm{median}$, $m_\mathrm{median}$, and $\sigma_m$ maps; $\sigma^\mathrm{circ}_{\mathrm{EVPA}}$ was found to be weakly affected by the bias \citep{MOJAVE_XXI}. The CLEAN bias correction leads to negative values for $m_\mathrm{median}$ and $\sigma_m$ in some pixels, the number of which is less than 3~per~cent of the total number of the unmasked pixels for nearly all of the sample sources. Moreover, the vast majority of negative values differ insignificantly from zero. Hence, all negative values of $m_{\mathrm{median}}$ and $\sigma_m$ images were set to zero.

We also constructed stacked total intensity $I_{\mathrm{stack}}$ maps, following \citet{Pushkarev_2017} and corrected them for the CLEAN bias as well. They found that the stacked maps generally reveal a more complete jet cross-section.
We note that the $I_{\mathrm{stack}}$ maps play a supporting role in this study where they are used for ridgeline construction and presentation of the polarization maps. To exclude the noisy pixels from the analysis, the following masks were applied: (i) $4I_{\mathrm{stack,rms}}$ on all stacked, median and variability maps, $I_{\mathrm{stack,rms}}$ was estimated following the same procedure as $I_{\mathrm{rms}}$, and (ii) $3.4\times\mathrm{median}(P_{\mathrm{rms}})$ on median and variability maps, where $P_{\mathrm{rms}}$ is the rms of the polarization intensity of the individual epochs. The maps of $\sigma_m/m_{\mathrm{median}}$ were produced to characterize relative variability.

After all masks were applied, 11 AGNs had no unmasked pixels, i.e. they are essentially unpolarized down to the level of our sensitivity. Additionally, there are 11 AGNs with only a few polarization pixels unmasked in one or two epochs where poor leakage term solutions created possibly spurious polarization. All of these sources are listed in \autoref{t:unpolarized_agns}. In \cite{MOJAVE_XXI}, multiepoch stacked Stokes parameter maps are used to construct $m_{\mathrm{stack}}$ instead of  individual epoch $m$ maps which we used to derive $m_{\mathrm{median}}$. If one follows their alternative approach, the number of sources with no revealed polarization is 23. There are two AGNs (0710+196 and 1722+401) in which an EVPA rotation is $\approx 90^{\circ}$ in the core region leading to a cancellation of polarization for the method based on the stacked Stokes parameters, while for our approach, $m_{\mathrm{median}}$ is detected in those two sources as there is significant fractional polarization at some epochs. The quasar 0742+103 turned out to be unpolarized in our method because of the bias of $P_{\mathrm{median}}$; after correction for this bias all unmasked pixels became negative.

\begin{table*}
\caption{Unpolarized AGNs.
\label{t:unpolarized_agns}
}
\centering
\begin{threeparttable}
\begin{tabular}{llccc}
\hline\hline\noalign{\smallskip}
Source & Alias & Opt. class & SED Peak Class & $z$ \\
 (1) & (2) & (3) & (4) & (5) \\
\hline
0055+300 & NGC 315 & G & LSP & 0.017 \\
0111+021 & UGC 00773 & B & LSP & 0.047 \\
0128+554 & TXS 0128+554 & G & \dots & 0.036 \\
0238$-$084 & NGC 1052 & G & LSP & 0.005 \\
0329+654 & TXS 0329+654 & B & HSP & \dots \\
0615$-$172 & IVS B0615$-$172 & B & ISP & 0.098 \\
0646+600 & S4 0646+60 & Q & LSP & 0.455 \\
0742+103 & PKS B0742+103 & Q & LSP & 2.624 \\
1128$-$047 & PKS 1128$-$047 & G & LSP & 0.266 \\
1331+170 & OP 151 & Q & LSP & 2.085 \\
1404+286 & OQ 208 & G & LSP & 0.077 \\
1413+135 & PKS B1413+135 & B & LSP & 0.247 \\
1509+054 & PMN J1511+0518 & G & LSP & 0.084 \\
1637+826 & NGC 6251 & G & LSP & 0.024 \\
1833+326 & 3C 382 & G & ISP & 0.058 \\
1845+797 & 3C 390.3 & G & LSP & 0.056 \\
1957+405 & Cygnus A & G & LSP & 0.056 \\
2013$-$092 & PMN J2016$-$0903 & B & ISP & \dots \\
2021+614 & TXS 2021+614 & G & LSP & 0.227 \\
2031+216 & 4C +21.55 & Q & LSP & 0.174 \\
2043+749 & 4C +74.26 & Q & \dots & 0.104 \\
2047+098 & PKS 2047+098 & B & LSP & 0.226 \\
\hline
\end{tabular}
\begin{tablenotes}
\item
Columns are as follows:
(1) Source name;
(2) Alias;
(3) Optical Class: quasar (Q), BL~Lac (B), radio~galaxy (G);
(4) Class of Synchrotron Peak Position in SED;
(5) Redshift.
\end{tablenotes}
\end{threeparttable}
\end{table*}

The details of observations and the properties of the averaged and median maps corrected for the CLEAN bias are listed in \autoref{t:sample_obs_stack_properties}. Examples of these maps and also variability images are shown in \autoref{f:var_stacked_maps}. The errors of $m_{\mathrm{median}}$, $\sigma_m$ and $\sigma^\mathrm{circ}_\mathrm{EVPA}$ were estimated, as described in Appendix~\ref{appendix:errors}. We estimated $\sigma_m/m_{\mathrm{median}}$ error as

\begin{equation}
(\sigma_{m}/m_{\mathrm{median}})_\mathrm{error} = \sqrt{\bigg(\frac{\sigma_{m,\mathrm{error}}}{m_{\mathrm{median}}}\bigg)^2 + \bigg(\frac{\sigma_m m_{\mathrm{median, \mathrm{error}}}}{m_{\mathrm{median}}^2}\bigg)^2}.
\label{eq:std_m_to_m_median_error}
\end{equation}

\begin{table*}
\caption{Observational and Multi-Epoch Properties of the AGN Sample.
\label{t:sample_obs_stack_properties}
}
\centering
\begin{threeparttable}
\begin{tabular}{lcccccccc}
\hline\hline\noalign{\smallskip}
Source & First epoch & $\tau$ & $N$ & $b$ & $I_\mathrm{stack,peak}$& $I_\mathrm{stack,rms}$ & $P_\mathrm{median,peak}$ & median $P_{\mathrm{rms}}$\\
&& (yr) && (mas) & (mJy/beam) & (mJy/beam) & (mJy/beam) & (mJy/beam)\\
(1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) & (9)       \\
\hline
0003$-$066 & 2003--02--05 & 9.9 & 18 & 0.93 & 1242.82 & 0.05 & 85.77 & 0.21 \\
0003+380 & 2006--03--09 & 7.5 & 10 & 0.73 & 462.12 & 0.06 & 5.64 & 0.20 \\
0006+061 & 2011--12--29 & 1.4 & 5 & 0.88 & 149.60 & 0.07 & 6.09 & 0.20 \\
0007+106 & 2004--02--11 & 9.4 & 13 & 0.86 & 869.31 & 0.05 & 4.98 & 0.18 \\
0010+405 & 2006--04--05 & 5.3 & 12 & 0.72 & 508.14 & 0.06 & 3.05 & 0.17 \\
\hline
\end{tabular}
\begin{tablenotes}
\item
Columns are as follows:
(1) Source name;
(2) First epoch observed;
(3) Time coverage $\tau$~(yr);
(4) Number of epochs $N$;
(5) Beam FWHM size $b$;
(6) $I_\mathrm{stack}$~peak~(mJy/beam);
(7) $I_\mathrm{stack}$~rms~(mJy/beam);
(8) $P_\mathrm{median}$~peak~(mJy/beam);
(9) Median epoch $P$~rms~(mJy/beam).
The full table is available in a machine-readable form in Supplementary data online. The first five entries are shown here for guidance.
\end{tablenotes}
\end{threeparttable}
\end{table*}

\begin{figure*}
    \centering
    \includegraphics[width=\linewidth]{figures/2200+420_var_and_m_median_unbiased_var_2_95_percentile.pdf}
    \caption{Variability and $m_{\mathrm{median}}$ images. The images for all sources of the sample are given in Supplementary data online. Here we show for guidance the source with a maximum number of epochs, 2200+240. The vertical ticks in the top line correspond to the epoch dates. Top row: median fractional polarization $m_{\mathrm{median}}$ (left), absolute fractional polarization variability $\sigma_m$ (centre) and EVPA variability $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ in degrees (right). Middle row: median fractional polarization error (left), absolute fractional polarization variability error (centre) and EVPA variability error (right). Bottom row: relative fractional polarization variability $\sigma_m/m_{\mathrm{median}}$ (left), relative fractional polarization variability error (centre) and number of epochs (right) when $m$ is unmasked in a given pixel. In all images, the black contours show $I_{\mathrm{stack}}$ contours in increasing powers of two from $4I_{\mathrm{stack, rms}}$ ($I_{\mathrm{stack,base}}$); a single negative contour at level $-I_{\mathrm{stack,base}}$ is shown in grey, the grey dots denote the stacked total intensity ridgeline. In the error maps, only the pixels unmasked in three or more Monte Carlo realizations are shown (Appendix \ref{appendix:errors}). The scale range of the colour bars is the same for value and its error. The blue circle in the bottom left corner of the images denotes the beam FWHM size.
    \label{f:var_stacked_maps}}
\end{figure*}

We note that the $\sigma^\mathrm{circ}_\mathrm{EVPA}$ image of 0138$-$097 exhibits a stripe of low EVPA variability across the ridgeline, which appears to be a quasi-stationary shock and corresponds to a component at about 2~mas from the core (see Figure 3 for 0138$-$097 in \citet{Lister_2021}). It is the farthest component with reduced $\sigma^\mathrm{circ}_\mathrm{EVPA}$ among all sources of our sample. However, the difference between the stripe $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ in the adjacent regions is less than  $3\sigma$.

\section{Results and discussion} \label{sec:results}

\subsection{Core and jet polarization direction variability} \label{subsec:EVPA_var}

We investigated the EVPA variability properties of the linearly polarized emission in the core and jet regions. The Gaussian modelfitted core component size averaged over the epochs and convolved with the beam was taken as the core area on the image. We estimated the distance at which the core component convolved with the beam contributes less than 50~per~cent to the observed $P_\mathrm{median}$ to divide the source polarization structure into core and jet regions. The outflow emission dominates that of the core starting from 1.5 times the FWHM core size on the image from the map centre. We set the boundary between the core and the jet to be perpendicular to the ridgeline at that distance. The median $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ over the core and the jet regions were calculated. Their distributions are shown in \autoref{f:std_EVPA}. We used the median as a measure of the EVPA variations over the outflow because $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$, on average, does not show systematic tendencies along and across the ridgeline (see Subsections \ref{subsec:var_along} and \ref{subsec:var_across}). The core regions have a wide spread of median $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ distributed up to  $\approx 60^\circ$ with the median at $\sim 25^\circ$, whereas for the jets the maximum and the median values are $\approx 50^\circ$ and about $10^\circ$, respectively. The non-parametric Kendall’s $\tau$ correlation test does not show any significant correlations with redshift for the whole sample or for the optical and synchrotron-peak classes separately. For the analyses in this paper, we assumed the dependence to be significant if the $p$-value is lower than 0.05. Qualitatively, the  same results were found for the complete flux density limited sample MOJAVE 1.5~Jy Quarter Century \citep[1.5JyQC;][]{Lister_2019} overlapped with our sample (the MOJAVE 1.5JyQC sub-sample hereafter; about 90~per~cent of the MOJAVE1.5JyQC sample).

\begin{figure*}
    \centering
    \includegraphics[width=\linewidth]{figures/std_EVPA_core_jet_w_median_1.pdf}
    \includegraphics[width=\linewidth]{figures/std_EVPA_core_jet_2.pdf}
    \includegraphics[width=\linewidth]{figures/std_EVPA_core_jet_3.pdf}
    \includegraphics[width=\linewidth]{figures/std_EVPA_core_jet_4.pdf}

    \caption{Histograms of median $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ of cores and jets for the whole sample (top row), the quasars (second row left), the LSP BL~Lacs (second row right), the ISP BL~Lacs (third row left), the HSP BL~Lacs (third row right), the galaxies, the narrow-line Seyfert~1 galaxies and the optically unidentified AGNs (bottom left). Histogram of median $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ of quasars' and BL~Lacs' cores with a comparable redshift in the range from 0.15 to 0.5 (bottom right). The dashed line in histograms on the top row shows the median EVPA variability.    \label{f:std_EVPA}
    }
\end{figure*}

 The $k$-sample Anderson-Darling test \citep{AD_test} indicates a significant difference between the core and the jet EVPA variability for the whole sample and separately for the quasars, BL~Lacs, LSP sources (70~per~cent of which are quasars), ISP sources (80~per~cent of which are BL~Lacs), LSP quasars, LSP BL~Lacs, ISP BL~Lacs and a combination of ISP and HSP (ISP+HSP) BL~Lacs. About 60~per~cent of ISP+HSP BL~Lacs comprise the ISP class which drives the significance of the core--jet difference for the combination. Other sub-samples either do not exhibit any characteristic trends or have too few sources to be representative. We assumed that a sub-sample should have at least 20 AGNs to be representative. We verified our results by comparing them with a randomization test \citep{randomization_test}. We made 10\,000 resamplings from the combination of the $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ sets of the core and the jet. The $p$-value was estimated as the proportion of the resampled data sets which have the Anderson-Darling test statistic larger than that for the original data set. The randomization test $p$-values turned out to be very close to that of the Anderson-Darling test for the initial sets. \autoref{t:std_EVPA_results} presents the results of randomization test for $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ of our sample and MOJAVE 1.5JyQC sub-sample AGNs of different optical and SED classes.

\begin{table*}
\caption{Randomization test results on core and jet $\sigma^\mathrm{circ}_{\mathrm{EVPA}}$.
\label{t:std_EVPA_results}
}
\centering
\begin{threeparttable}
\begin{tabular}{lcccccc}
\hline\hline\noalign{\smallskip}
\multirow{2}{*}{Test} & \multicolumn{3}{c}{Our Sample} & \multicolumn{3}{c}{MOJAVE 1.5JyQC Sub-sample} \\
& Result & $P$-value & Number of Sources & Result & $P$-value & Number of Sources \\
(1) & (2) & (3) & (4) & (5) & (6) & (7)  \\
\hline
cores vs jets (whole sample) & Y & $\mathbf{<0.0001}$ & 402 vs 328 & Y & $\mathbf{<0.0001}$ & 202 vs 189 \\
quasar cores vs quasar jets & Y & $\mathbf{<0.0001}$ & 251 vs 211 & Y & $\mathbf{<0.0001}$ & 156 vs 147 \\
BL~Lac cores vs BL~Lac jets & Y & $\mathbf{<0.0001}$ & 126 vs 98 & Y & \textbf{0.0006} & 36 vs 35 \\
LSP cores vs LSP jets & Y & $\mathbf{<0.0001}$ & 338 vs 278 & Y & $\mathbf{<0.0001}$ & 194 vs 182 \\
ISP cores vs ISP jets & Y & \textbf{0.0001} & 39 vs 32 & N/A & \dots & \dots \\
LSP quasar cores vs LSP quasar jets & Y & $\mathbf{<0.0001}$ & 244 vs 207 & Y & $\mathbf{<0.0001}$ & 156 vs 147 \\
LSP BL~Lac cores vs LSP BL~Lac jets & Y & \textbf{0.0003} & 72 vs 55 & Y & \textbf{0.0017} & 28 vs 28 \\
ISP BL~Lac cores vs ISP BL~Lac jets & Y & \textbf{0.0003} & 33 vs 27 & N/A & \dots & \dots \\
ISP+HSP BL~Lac cores vs ISP+HSP BL~Lac jets & Y & $\mathbf{<0.0001}$ & 54 vs 43 & N/A & \dots & \dots \\
\hline
quasar cores vs BL~Lac cores & Y & $\mathbf{<0.0001}$ & 251 vs 126 & N & 0.1205 & 156 vs 36 \\
quasar cores vs LSP BL~Lac cores & Y & $\mathbf{<0.0001}$ & 251 vs 72 & N & 0.1868 & 156 vs 28 \\
quasar cores vs ISP BL~Lac cores & Y & \textbf{0.0057} & 251 vs 33 & N/A & \dots & \dots \\
quasar cores vs HSP BL~Lac cores & N & 0.0801 & 251 vs 21 & N/A & \dots & \dots\\
quasar cores vs ISP+HSP BL~Lac cores & Y & \textbf{0.0015} & 251 vs 54 & N/A & \dots & \dots \\
LSP cores vs ISP cores & Y & \textbf{0.0107} & 338 vs 39 & N/A & \dots & \dots \\
LSP cores vs HSP cores & N & 0.2216 & 338 vs 21 & N/A & \dots & \dots \\
ISP cores vs HSP cores & N & 0.8213 & 39 vs 21 & N/A & \dots & \dots \\
LSP BL~Lac cores vs ISP BL~Lac cores & N & 0.7366 & 72 vs 33 & N/A & \dots & \dots \\
LSP BL~Lac cores vs HSP BL~Lac cores & N & 0.8308 & 72 vs 21 & N/A & \dots & \dots \\
ISP BL~Lac cores vs HSP BL~Lac cores & N & 0.8954 & 33 vs 21 & N/A & \dots & \dots \\
LSP BL~Lac cores vs ISP+HSP BL~Lac cores & N & 0.5818 & 72 vs 54 & N/A & \dots & \dots \\
\hline
quasar jets vs BL~Lac jets & N & 0.9995 & 211 vs 98 & N & 0.0604 & 147 vs 35 \\
quasar jets vs LSP BL~Lac jets & N & 0.8599 & 211 vs 55 & N & 0.1242 & 147 vs 28 \\
quasar jets vs ISP BL~Lac jets & N & 0.4938 & 211 vs 27 & N/A & \dots & \dots \\
quasar jets vs ISP+HSP BL~Lac jets & N & 0.9414 & 211 vs 43 & N/A & \dots & \dots \\
LSP jets vs ISP jets & N & 0.0591 & 278 vs 32 & N/A & \dots & \dots \\
LSP BL~Lac jets vs ISP BL~Lac jets & N & 0.2569 & 55 vs 27 & N/A & \dots & \dots \\
LSP BL~Lac jets vs ISP+HSP BL~Lac jets & N & 0.5616 & 55 vs 43 & N/A & \dots & \dots \\
\hline
\end{tabular}
\begin{tablenotes}
\item
Columns are as follows:
(1) Test for difference of median EVPA variability between two sub-samples. Only tests with both representative sub-samples for our sample are listed;
(2) Result of the test for our sample: Y - difference is significant, N - difference is insignificant;
(3) $P$-value of the result for our sample, $p$-values of significant differences ($p$-value $<0.05$) are in bold;
(4) Number of sources in each sub-sample of our sample used in the comparison;
(5) Result of the test for the MOJAVE 1.5JyQC sub-sample: Y - difference is significant, N - difference is insignificant, N/A - at least one of sub-samples is not representative;
(6) $P$-value of the result for the MOJAVE 1.5JyQC sub-sample, $p$-values of significant differences ($p$-value $<0.05$) are in bold;
(7) Number of sources in each sub-sample of the MOJAVE 1.5JyQC sub-sample used in the comparison.

\end{tablenotes}
\end{threeparttable}
\end{table*}

The reason for higher $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ values of the core might be the high variations of opacity because of individual linearly polarized component, or blending of several components within the unresolved core region. The blending of the components decreases fractional polarization as well \citep[e.g.][]{Lister_2005,Helmboldt_2007}. Core shift dependence on time provides evidence of opacity variability \citep{Plavin_2019}. Spectral index \citep{Hovatta_2014}, core shift \citep{Pushkarev_2012} and linear polarization \citep[e.g.][this paper]{Hodge_2018} measurements provide evidence that the core observed at 15~GHz is partially optically thick. Consequently, the opacity variations cause polarization direction rotations while in the jet, the emission is optically thin and the opacity has a weaker influence on EVPA.

Other factors which may contribute to less stable EVPA in the core are the strong variability of the magnetic field direction due to the blending of components or to temporal changes in the Faraday rotation measure \citep[e.g.][]{Lisakov_2021} in the nuclear region, which produce higher EVPA variability. \citet{Hovatta_2012} found that the AGN cores show significantly higher Faraday rotation measures than the jets. It could also provide the difference between typical $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ seen in the two regions. Large EVPA rotations are seen in a model consisting of a steady `jet' and a variable `burst' \citep{Cohen_2020}. For the MOJAVE 1.5JyQC sub-sample, the Anderson-Darling test and the randomization test give qualitatively the same results on EVPA variability contrast between cores and jets as for our sample (\autoref{t:std_EVPA_results}).

We also study the contrast between core EVPA variability of AGNs of different optical classes. \citet{Hodge_2018} found that the polarization direction of the BL Lac cores is more stable than that of quasars for a smaller sample. The Anderson-Darling test confirms a significant difference between the EVPA variability of the quasar and BL Lac cores for our sample: the EVPA of BL Lac cores is more stable than that of quasars. The randomization test gives the $p$-value of less than 0.0001. On the other hand, the quasars and BL~Lacs selected from a redshift range $0.1<z<0.5$ do not show any significant difference in $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ of the core regions (\autoref{f:std_EVPA}, bottom right).

The quasars and BL Lacs from the LSP-dominated MOJAVE 1.5JyQC sub-sample do not show any difference in the core EVPA variability (\autoref{t:std_EVPA_results}). The lack of BL Lacs with a more stable core EVPA in the MOJAVE 1.5JyQC sub-sample leads to an increase of the median EVPA variability of the BL Lac core region and makes it comparable to that of a quasar.

\subsection{Variability in EVPA  and fractional polarization, and $m_{\mathrm{median}}$ along the ridgeline} \label{subsec:var_along}

We analysed the statistics of jet variability along the outflow ridgeline. The sources were divided into the core and the jet regions, following the same procedure as in Subsection~\ref{subsec:EVPA_var}. We studied the changes of $m_{\mathrm{median}}$, $\sigma_m/m_{\mathrm{median}}$ and $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ along the jet ridgelines beyond the core region. Absolute variability $\sigma_m$ was not considered because it was found to significantly correlate with the median fractional polarization. This dependence might occur due to the influence of noise at the low signal-to-noise regions. In the inner jet the correlation between $m_{\mathrm{median}}$ and $\sigma_m$ might be intrinsic. It could be explained by means of the magnetic field produced by turbulent cells \citep{Marscher_2014}: higher observed fractional polarization could be due to a smaller number of independent magnetic field regions within the beam or along the line of sight. Low values of $\sigma_m/m_{\mathrm{median}}$ would then correspond to locations in the jet with less influence from stochastically changing fields. Relative variability $\sigma_m/m_{\mathrm{median}}$ is a better measure of magnetic field order changes than $\sigma_m$ because it measures variations relative to the local degree of order as characterized by $m_{\mathrm{median}}$ and is not expected a-priori to depend on the distance from the core as $\sigma_m$ does. For the correlation analysis, we used the Kendall\textquotesingle s $\tau$ test, considering $p$-values less than 0.05 to be significant.  It is crucial to consider only independent pixels to avoid false significant dependencies. Thus, a single pixel every half of the beam size along the ridgeline was taken.

However, the Kendall\textquotesingle s $\tau$ test does not consider associated error. Hence, to exclude cases when the correlation is formally significant but the errors are so large that this correlation might be spurious, we eliminated the jets if all analysed pixels along the ridgeline have the same value within a $1\sigma$ error. We considered only the jets which have five or more polarization-sensitive pixels in their profiles along the ridgeline after all restrictions described above were applied.

In \autoref{f:r_along_m_median}, we present the Kendall\textquotesingle s $\tau$ distribution for $m_\mathrm{median}$ against the distance along the ridgeline from the core $r_\mathrm{along}$. In total, there are 123 AGNs. For 38 of them, the correlation is significant. Almost all correlations with a $p$-value $<0.05$ are positive, i.e. $m_{\mathrm{median}}$ increases with the distance from the core. This is also typically seen in the $m$-maps at individual epochs (e.g. \citealt{Lister_2005} at 15~GHz, \citealt{Cawthorne_1993} at 5~GHz, \citealt{Lister_2000} at 22~GHz). In the case of $\sigma_m/m_\mathrm{median}$ (\autoref{f:r_along_std_m_to_m_median}), only nine jets out of 100 exhibit a significant dependence on $r_{\mathrm{along}}$: five sources show an increase as a function of distance, whereas four AGNs show a decrease. We also analysed a correlation between $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and $r_{\mathrm{along}}$. A distribution of the corresponding Kendall\textquotesingle s $\tau$ values (\autoref{f:r_along_std_EVPA}, left) shows that 22 sources out of 106 have a significant, predominantly negative, correlation. In \autoref{f:r_along_std_EVPA} (right), we present an example of a source with a typical significant tendency. Although the majority of $m_\mathrm{median}$ and EVPA variability trends with $r_\mathrm{along}$ are insignificant, correlations with $p$-value $<0.05$ have a preferable sign of the coefficient: negative values for $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and positive values for $m_\mathrm{median}$. Hence, the increase of EVPA stability and median polarization degree appears to be typical for AGN outflows.

We estimated the dependence of the fraction of significant correlations between $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and $r_{\mathrm{along}}$ on the AGN time coverage for sources with comparable epoch number in the range 10--20. For time coverage less than 12~years the significant correlation fraction is about 0.10 while for the full sample the fraction is 0.21. Sources observed on larger time scales show the fraction increase with increased time coverage. Hence, time coverage of at least 12~years is needed to show EVPA variability trend. The analysis of significant correlation fraction dependence on the number of epochs for sources with time coverage of 10--15~years shows that at least 15--20~epochs is needed to reveal EVPA variability tendency. The increase of significant correlation fraction with the time coverage and number of epochs gives evidence that the EVPA variability distribution is sensitive to these parameters. The similar analysis for $m_\mathrm{median}$ against $r_{\mathrm{along}}$ shows that there is no dependence of significant correlation fraction on either time coverage or epoch number. Therefore, median fractional polarization remains more or less the same with the increase of time coverage and number of observations. About 77~per~cent (17 out of 22) of significant correlations between $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and $r_{\mathrm{along}}$ are for AGNs with time coverage of at least 12~years and more than 15 epochs. Consequently, EVPA variability needs enough time and observation epochs to exhibit the trend.

Both bright features and jet bends contribute to the lack of significant correlations. Appendix \ref{appendix:AGNs} gives notes on several sources which show a significant anticorrelation  of $m_{\mathrm{median}}$, a significant correlation of $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ or a significant dependence of $\sigma_m/m_\mathrm{median}$ with $r_{\mathrm{along}}$.

Near the jet base low $m_\mathrm{median}$ may be the consequence of strong Faraday depolarization, and high EVPA variability could be the manifestation of opacity changes. The observed $m_\mathrm{median}$ and $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ maps convolved with the beam reflect the magnetic field distribution and evolution on the beam scales.  Low $m_\mathrm{median}$ and high EVPA variability near the core could reflect a less ordered magnetic field with a less stable direction, whereas the trend of a $m_\mathrm{median}$ increase and $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ drop suggest the growth of order and stability of magnetic field along the jet. Also, near the jet base, new components emerge producing low $m_\mathrm{median}$ and high $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ due to not being resolved yet. The outflow expands downstream; hence, the components become sparsely distributed. This leads to a progressive increase in $m_\mathrm{median}$ and a decrease in the variability in EVPA downstream in the jet. Another explanation for the fractional polarization increase could be the change of the helical field pitch angle, as shown by \citet{Porth_2011} in their relativistic MHD simulations of jets.

\begin{figure*}
    \centering
    \includegraphics[width=\linewidth]{figures/r_along_m_median_unbiased_var_2.pdf}
    \caption{Histogram of the distribution of the Kendall\textquotesingle s correlation coefficients for the median fractional polarization $m_\mathrm{median}$ against the distance along the ridgeline from the core $r_{\mathrm{along}}$ (left) and the $m_\mathrm{median}$ image of 1150+497 (right) as an example of a source showing a positive significant correlation between $m_\mathrm{median}$ (distribution according to the colorbar) and $r_{\mathrm{along}}$.

    The filled bins on the histogram correspond to all correlations, whereas the hatched ones correspond to significant correlations. The arrow shows the bin where the correlation coefficient of 1150+497 lies. On the map the blue circle in the bottom left corner denotes the beam FWHM size.
    \label{f:r_along_m_median}
    }
\end{figure*}

\begin{figure*}
    \centering
    \includegraphics[width=\linewidth]{figures/r_along_std_EVPA_unbiased_var_2.pdf}
    \caption{Histogram of the distribution of the Kendall\textquotesingle s correlation coefficients for EVPA variability $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ against the distance along the ridgeline from the core $r_{\mathrm{along}}$ (left) and the $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ image of 1222+216 (right) as an example of a source showing a significant anti-correlation between $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ (distribution according to the colorbar) and $r_{\mathrm{along}}$.

    The filled bins on the histogram correspond to all correlations, whereas the hatched ones correspond to significant correlations. The arrow shows the bin where the correlation coefficient of 1222+216 lies. On the map the blue circle in the bottom left corner denotes the beam FWHM size.
    \label{f:r_along_std_EVPA}
    }
\end{figure*}

\begin{figure}
    \centering
    \includegraphics[width=\linewidth]{figures/r_along_std_m_to_m_median_unbiased_var_2.pdf}
    \caption{Histogram of the distribution of the Kendall\textquotesingle s correlation coefficients for relative fractional polarization variability $\sigma_m/m_{\mathrm{median}}$ against the distance along the ridgeline from the core $r_{\mathrm{along}}$. The filled bins correspond to all correlations, whereas the hatched ones correspond to significant correlations.
    \label{f:r_along_std_m_to_m_median}
    }
\end{figure}

Internal and external Faraday rotation causes depolarization \citep{Burn_1966}. \citet{Hovatta_2012} rewrote the expressions for both cases as $\ln m = \ln m_0 - b\lambda^4$ for the rotation measures not exceeding 800~rad~m$^{-2}$, where $m_0$ is the maximum $m$ in the specific magnetic field configuration, $b$ is $2\mathrm{RM}^2$ for the internal depolarization and $2\sigma^2$ for the external depolarization, where $\sigma$ is the standard deviation of the RM fluctuations. The median fractional polarization $m_{\mathrm{median}}$ near the jet base is about 0.04 for our sample, and it increases over the ridgeline up to approximately 0.18, which would require a change in the rotation measure along the ridgeline of about 2200~rad~m$^{-2}$. However, the observed change is about a few hundred~rad~m$^{-2}$ \citep{Hovatta_2012}. A RM value of 400~rad~m$^{-2}$ gives the rise of $m$ of less than 2~per~cent. Consequently, this mechanism can contribute only a little to the observed increase of $m_\mathrm{median}$. The variations of the rotation measure RM can lead to changes of EVPA since $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}} \sim \sigma_{\mathrm{RM}}\lambda^2$. For a typical decrease of $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ from $28^\circ$ in the inner to $8^\circ$ in the outer region of the jet beyond the core, RM variability drops from 1225~rad~m$^{-2}$ to 350~rad~m$^{-2}$. Other observations give RM variations along the jet of several hundreds~of~rad~m$^{-2}$ \citep[e.g.][]{Zavala_2001, Hovatta_2012, Zamaninasab_2013}.

The distributions of the correlation coefficient  of polarization variability against $r_\mathrm{along}$, which are seen for the whole sample, remain qualitatively the same for quasars, BL~Lac objects, radio~galaxies and LSP, ISP and HSP sources if considered separately. The results for the MOJAVE 1.5JyQC sub-sample are qualitatively  the same.

\subsection{Variability in EVPA  and fractional polarization, and $m_{\mathrm{median}}$ along the ridgeline} \label{subsec:var_across}

We also analysed the behaviour of $m_{\mathrm{median}}$, $\sigma_m/m_{\mathrm{median}}$ and $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ along the slices transverse to the ridgeline for 312 jets whose width exceeded three beam sizes at least in one slice. Following \citet{Hovatta_2012}, this requirement was chosen as a criterion of transversely resolved AGN jets. The same  profile selection procedure was applied as in the case of the profiles along the ridgeline (Section \ref{subsec:var_along}). To have a sufficient number of points, both sides of the slice were folded over to produce one slice in the transverse direction. The slices were constructed at each ridgeline pixel, and the distance between adjacent pixels is 0.1~mas.

For $m_\mathrm{median}$, 82 AGN jets have at least one slice appropriate for this analysis, while 70 of those have two or more slices. The median number of slices per jet is 10. These sources are mostly quasars. About 40 sources have slices with significant ($p$-value $<0.05$) correlations of $m_\mathrm{median}$ with the distance from the ridgeline towards the jet edge. We used the Kendall\textquotesingle s $\tau$ test to estimate the significance of the trends. An example of a slice with significant tendency is given in \autoref{f:r_across}.  These correlations are preferably positive, i.e. closer to the jet axis, $m_\mathrm{median}$ is lower than at the jet edge. If we consider both significant and insignificant correlations, the fraction of tendencies of $m_\mathrm{median}$ to increase towards the edges is more than 80~per~cent. Such a distribution could be an evidence for a helical magnetic field \citep[e.g.][]{Clausen-Brown_2011}. We detected regions where $m_\mathrm{median}$ is significantly higher at the jet edges than in the jet axis in seven AGNs (0430+052, 0735+178, 1226+023, 1611+343, 2037+511, 2200+420, 2230+114) which show significant transverse rotation measure gradients \citep{Gomez_2011,Hovatta_2012, Gabuzda_2014, Gabuzda_2015, Gabuzda_2017, Gabuzda_2018}. Both the increase of fractional polarization towards jet edges and the transverse rotation measure gradient provide evidence of a toroidal or helical magnetic field \citep[e.g. a review paper of ][]{Gabuzda_2021}. A more detailed consideration of this effect together with the corresponding interpretations for more AGNs will be given in \cite{MOJAVE_XXI}.

For $\sigma_m/m_{\mathrm{median}}$, only 0454$-$234 (1 out of 65) has more than 50~per~cent of significant correlations (6 out of 10 slices show significant anti-correlation). Hence, the median fractional polarization becomes relatively more stable farther from the ridgeline. In the case of $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$, there are 2 out of 65 AGNs with more than a half of significant correlations: 0208+106 and 0738+313. The BL~Lac object 0208+106 has one slice in total, which is significant, and 0738+313 has two slices in total, one of which is significant. The large number of insignificant correlations is explained by the different behaviour of the polarization variability and the median fractional polarization at opposite sides of slices due to, for example, interaction with the ambient medium and non-monotonic distribution across the outflow. Qualitatively, the same results were found for the sources comprising the MOJAVE 1.5JyQC sub-sample.

\begin{figure}
    \centering
    \includegraphics[width=\linewidth]{figures/0336-019_m_median_r_across_4.pdf}
    \caption{Distribution of $m_\mathrm{median}$ across the jet of 0336$-$019 at 4~mas from the core along the ridgeline. $r_{\mathrm{across}}$ is a distance from the ridgeline to the edges. The Kendall\textquotesingle s $\tau$ test gives correlation coefficient of 0.9 and $p$-value of 0.003, i.e. the median fractional polarization significantly increases towards jet edges. For the test, both sides of the slice are folded over.
    \label{f:r_across}
    }
\end{figure}

\section{Summary} \label{sec:sum}

We have produced and analysed the VLBA images of linear polarization variability ($\sigma_m/m_{\mathrm{median}}$ and $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$) and the median fractional polarization $m_{\mathrm{median}}$ of 436 AGNs
at 15~GHz. The median and standard deviation were chosen as measures of typical values and variability, respectively. The maps were corrected for the Rician and CLEAN biases. They lead to increased fractional polarization in the low signal-to-noise regions. The errors of $\sigma_m$, $\sigma_m/m_{\mathrm{median}}$, $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and $m_{\mathrm{median}}$ maps were estimated using Monte Carlo simulations.

The main results of our study are as follows.
\begin{enumerate}
\item EVPA variability of the core was found to be significantly higher than that of the jet for the whole sample and
separately for source of different spectral and SED classes.
The main reason for this could be opacity variations of individual components moving down the jet in the core region.

\item For BL~Lac cores, the EVPA is more stable than that of quasars, confirming the earlier result of \citet{Hodge_2018}. However, if we compare BL~Lacs and quasars in a matched redshift range $0.1<z<0.5$, their measures of EVPA variability in the cores become statistically indistinguishable.

\item We found no correlation with the redshift for the median EVPA variability of the core and jet for the whole sample and for the quasars, BL~Lacs, LSP, ISP and HSP AGNs if considered separately.

\item For 19 out of 106 AGNs, $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ decreases along the ridgeline down the jet. The median fractional polarization $m_{\mathrm{median}}$ shows a significant, preferential increase with the distance from the core along the ridgeline for 38 out of 123 sources. These trends of EVPA variability and $m_{\mathrm{median}}$ seems to be typical for sources as significant correlations have a preferable sign of the correlation coefficient. EVPA variability correlations with jet distance are stronger for observations spanning time scales longer than 12~years with more than 15~epochs of observations. The reason for high $\sigma^{\mathrm{circ}}_{\mathrm{EVPA}}$ and low $m_{\mathrm{median}}$ could be strong Faraday depolarization and high opacity changes near the core due to blending of components. On the other hand, a magnetic field which becomes more ordered and stable in direction with increasing separation from the core could explain the EVPA variability decrease and $m_{\mathrm{median}}$ increase down the jet. The change of the helical magnetic field pitch angle along the outflow also might give the trend of $m_{\mathrm{median}}$ as shown in \cite{Porth_2011}. These results remain qualitatively the same if we consider optical and synchrotron peak classes separately.

\item A large number of AGNs have insignificant tendencies of EVPA variability, relative fractional polarization variability and median fractional polarization downstream in the jet. Bright jet features and outflow bends might contribute to the complex behaviour.

\item For AGNs with resolved transverse structure, the vast majority of slices show an increase of median fractional polarization from the ridgeline towards the edges. The physical scenarios of fractional polarization rising to the jet edges are considered in \cite{MOJAVE_XXI}.

\end{enumerate}

\hfill

\section*{Acknowledgements}

We thank members of the MOJAVE team for discussions of the paper, Eduardo Ros for valuable comments on the manuscript as well as Elena Bazanova for language editing.
The analysis presented in this paper was supported by the Russian Foundation for Basic Research grant 20-32-90108.
The estimation of errors presented in the Appendix was supported by the Russian Science Foundation grant 21-12-00241.
The MOJAVE project was supported by NASA-Fermi grants NNX08AV67G, NNX12A087G, and NNX15AU76G.
This research made use of the data from the University of Michigan Radio Astronomy Observatory (UMRAO), which was supported by the University of Michigan and by a series of grants from the National Science Foundation, most recently No.~AST-0607523 and by a series of grants from the NASA Fermi G.I. Program. This research made use of the NASA/IPAC Extragalactic Database (NED), which is operated by the Jet Propulsion Laboratory, California Institute of Technology, under contract with the National Aeronautics and Space Administration. The Long Baseline Observatory and the National Radio Astronomy Observatory are facilities of the National Science Foundation operated under a cooperative agreement by Associated Universities, Inc. This work made use of the Swinburne University of Technology software correlator \citep{2011PASP..123..275D} developed as part of the Australian Major National Research Facilities Programme and operated under licence.

\section*{Data Availability}
The fully calibrated images of the Stokes parameters $I$, $Q$ and $U$ at 15~GHz from the MOJAVE program are available online\footnote{\url{https://www.cv.nrao.edu/MOJAVE}}. The modelfitted structure of AGNs is taken from \citet{Lister_2021}.

\bibliographystyle{mnras}

High Energy Astrophysical Phenomena (astro-ph.HE); Astrophysics of Galaxies (astro-ph.GA)