 characterise the cosmic variance in close pair studies (Sect. \[sigv\]).

The power-law indices in Eq. (\[cosvarteofin\]) could be different for luminosity- and mass-selected samples, as well as for flux-limited samples. In the present paper we use flux-limited samples selected in the $i$ band to characterise the cosmic variance. This choice has several benefits, since we have a well controlled selection function, a better understanding of the photometric redshifts and their errors, and we have access to larger samples at lower redshift that in the luminosity and the stellar mass cases. That improves the statistics and increases the useful redshift range. At the end, future studies will be interested on the cosmic variance in physically selected samples (i.e., luminosity or stellar mass). Thus, in Sect. \[secpop\] we compare the results from the flux-limited $i-$band samples with the actual cosmic variance measured in physically selected samples.

\[C3\] Finally, we set the definition of the number density $n$. In the present paper the number density of a given population is the [*cosmic average number density*]{} of that population. For example, if we are studying the merger fraction in a volume dominated by a cluster, we should not use the number density in that volume, but the number density derived from a general luminosity or mass function work instead. Thanks to the 48 sub-fields in ALHAMBRA we have direct access to the average number densities of the populations under study (Sect. \[secn1\]).

Distribution of the merger fraction and $\sigma_{v}$ estimation {#ffdist}
---------------------------------------------------------------

In this section we explore which statistical distribution reproduces better the observed merger fractions and how to measure reliably the cosmic variance $\sigma_{v}$. As representative examples, we show in Fig. \[ff\_lognormal\] the distributions of the merger fraction $f_{\rm m}$ in the 48 ALHAMBRA sub-fields for $i \leq 22$ and $i \leq 21$ galaxies. The merger fraction was measured from close pairs with $10h^{-1}\ {\rm kpc} \leq r_{\rm p} \leq 30h^{-1}$ kpc. Unless noted otherwise, in the following the principal and the companion samples comprise the same galaxies. We find that the observed distributions are not Gaussian, but follow a log-normal distribution instead, $$P_{LN}\,(f_{\rm
characterise the cosmic variance in close pair report (Sect.   \[sigv\ ]). 

 The exponent - law indices in Eq.   (\[cosvarteofin\ ]) could be different for luminosity- and mass - choose samples, as well as for flux - restrict samples. In the present paper we practice magnetic field - limited sample selected in the $ i$ band to characterize the cosmic variance. This choice has several benefits, since we suffer a well controlled selection function, a good understanding of the photometric redshifts and their errors, and we have entree to larger sample distribution at lower redshift that in the luminosity and the stellar multitude cases. That improves the statistics and increases the useful red shift scope. At the end, future studies will be interested on the cosmic variance in physically selected samples (i.e., luminosity or stellar mass). Thus, in Sect.   \[secpop\ ] we compare the consequence from the flux - limited $ i-$band sample with the actual cosmic variance measured in physically selected samples. 

 \[C3\ ] ultimately, we set the definition of the number density $ n$. In the present paper the numeral density of a given population is the [ * cosmic average number density * ] { } of that population. For example, if we are study the merger fraction in a volume dominated by a cluster, we should not practice the number concentration in that volume, but the number density derived from a general luminosity or mass affair work instead. Thanks to the 48 sub - battlefield in ALHAMBRA we have direct entree to the average number densities of the populations under study (Sect.   \[secn1\ ]). 

 Distribution of the amalgamation fraction and $ \sigma_{v}$ estimation { # ffdist } 
 --------------------------------------------------------------- 

 In this part we explore which statistical distribution reproduces well the observed fusion fractions and how to measure reliably the cosmic variance $ \sigma_{v}$. As representative examples, we prove in Fig.   \[ff\_lognormal\ ] the distributions of the fusion fraction $ f_{\rm m}$ in the 48 ALHAMBRA sub - fields for $ i \leq 22 $ and $ i \leq 21 $ galaxies. The merger fraction was measured from near pairs with $ 10h^{-1}\ { \rm kpc } \leq r_{\rm p } \leq 30h^{-1}$ kpc. Unless noted differently, in the following the principal and the companion samples comprise the same galaxies. We find that the ascertained distributions are not Gaussian, but follow a log - normal distribution instead, $ $ P_{LN}\,(f_{\rm
 chwracterise the cosmic vaviance in close kaur stuvies (Sedt. \[sigv\]).

Thd power-law indices in Eq. (\[cosverteifin\]) xould be different for luminosiny- and maws-seowcted samples, as wcjl aa for hlux-limited samkles. In the [resent paper fe ude flux-limited samples selected in ehe $i$ bsnf to characteryse uhe cosjpc variance. This choice has sevsral beiefits, since we have a well controlled sepectlon function, a bether understqndigt of the phogometric rtdvhifts and their errors, and we have accesr to karger samklss dt lower revshift that in the luminoshty and the stellar msss cawes. That improves the statistics and insreases tve useful redshift eabge. Aj the end, dutjre svudjes wipl ue interestsd on the cismic variance in pnyfpvally selectsd sam[lqs (i.e., luminosity or stellar mass). Thus, it Ssct. \[secpop\] we compare thw results from the flox-limited $y-$band samples with the actual cosmic variance meavured kn khnfkxaply selected samples.

\[C3\] Finally, we set the defigjtook of the number bensity $n$. In the pgexgnt paper the vumber dehsity of a given plpulatijn is the [*cosmyc aferage number density*]{} of thqt populatiou. Fir example, if we axe studying che metger ftaction in a volume domnnated by a clustfr, we shohud not use the njmbvr dansity in that volume, but ehe numbec denxity defivec from a general lumikmsity or mass funchion cork hnstead. Thwnks to the 48 sub-fields in ALHAMUCA we have ditecd abcess to che avcrage number degsities of the populacions jnder studj (Sect. \[seci1\]).

Distributiog of the mergat fraction anv $\sigma_{v}$ qstinatiin {#ffdirg}
---------------------------------------------------------------

In this sectipn we explore which statistical distrlbutiuh reproduces becuer the observed mrrgdr srwcvions dnd how to maasufe frliabuy the cosmlc xarisnce $\sigma_{v}$. As repreventztive examples, we xhjw in Fit. \[ff\_lognowmal\] the disttibutions of the mtrger hractiun $f_{\rk m}$ in the 48 ALHAMBRA sub-fields fod $i \leq 22$ wnd $i \leq 21$ galavies. The merger yraction was measured from close pairs wmth $10h^{-1}\ {\rm kpc} \leq r_{\rm p} \oeq 30h^{-1}$ kpc. Unless nojed otherwise, mn the followinc the principal and rhe companion samkles comprise the same falaxias. We find that the observed distributions are not Gaussian, but follow a log-noemal dmseribution ihstesd, $$P_{LT}\,(f_{\xm
characterise the cosmic variance in close pair \[sigv\]). power-law indices Eq. (\[cosvarteofin\]) could mass-selected as well as flux-limited samples. In present paper we use flux-limited samples in the $i$ band to characterise the cosmic variance. This choice has several since we have a well controlled selection function, a better understanding of the redshifts their and have access to larger samples at lower redshift that in the luminosity and the stellar mass That improves the statistics and increases the useful range. At the end, studies will be interested on cosmic in physically samples luminosity stellar mass). Thus, Sect. \[secpop\] we compare the results from the flux-limited $i-$band samples with the actual cosmic variance measured physically selected Finally, we the of number density $n$. present paper the number density of is the [*cosmic average number density*]{} of that For example, we are studying the merger fraction a volume dominated by a cluster, we should use the number density in that volume, but the number density derived from a general mass function work instead. to the 48 in we direct to the number densities of the populations under study (Sect. \[secn1\]). Distribution of merger fraction and $\sigma_{v}$ estimation {#ffdist} --------------------------------------------------------------- In this section which distribution reproduces better observed merger fractions and to reliably the cosmic variance representative we \[ff\_lognormal\] distributions the merger fraction $f_{\rm in the 48 ALHAMBRA sub-fields $i \leq 22$ and merger fraction was measured from close pairs with {\rm kpc} \leq r_{\rm p} \leq 30h^{-1}$ Unless noted otherwise, in the following the principal and the companion samples the same find that the observed distributions are not Gaussian, follow a log-normal distribution $$P_{LN}\,(f_{\rm
 characterise the cosmic variAnce in closE pair StuDieS (SEct. \[sIgv\]).

THe power-law indiCEs in eq. (\[cosvarteofin\]) could be dIfferEnT For lUMiNositY- and masS-SeLECteD sAmPleS, aS WeLl as fOr fLux-limiTed samples. in tHe Present paper WE uSe flux-limiTed Samples selecTed In the $i$ BaNd tO CharaCteRise tHe cosmIC variaNce. This chOiCE has seVEral benEFItS, sinCe we have a well contROlLEd selection funCtion, a BeTTeR UNdeRstAnding of thE pHotomETric redSHiFTS And THeir errors, and We have accesS To lArger sAmPleS At loweR redsHiFT thAt in the lumiNosiTy and the sTellar MAss caseS. that impRoves tHe sTatIstiCS aNd IncReASes THe UseFUl rEdshift rAnGe. at the End, fUTURE stuDieS wilL be inTerested on the CosMic vARiaNce in PhysiCallY sElectEd sampLes (i.e., LuMinosity or stellAr maSs). Thus, in SEct. \[SeCpoP\] wE compARe the rEsuLts From the Flux-limITed $I-$bAND SaMples with the actual CoSMIc Variance MeasurED iN pHYsically SeLecTed sAMPles.

\[C3\] finaLLy, We set the DefiniTIoN oF the numBeR densiTy $N$. In The PreseNT papEr the nUmber denSity oF A given populatiON is the [*cosmic aVErAGE nUMber DenSity*]{} of that pOpulATion. for eXAmPle, IF we arE studYiNG tHE merger fraction in a vOlUme domInateD by a cluster, we Should not uSE THe number DensITy IN that volume, but The nuMber densitY Derived fRom a gEneral luMinosity oR MAss functIon WorK inSteAD. thAnks to the 48 sub-fIELds iN AlHAMBRA We hAve direCt aCceSs tO thE aVerage numBer densiTiEs Of ThE poPulatIOns under StUdy (seCt. \[sEcn1\]).

DiSTributIon of The mErGeR FraCtion anD $\SiGMA_{v}$ esTiMaTion {#FfdIsT}
---------------------------------------------------------------

In thIs seCTioN we explOre which sTatISticAl DiStributIon reproduces BeTter the obsErVed Merger FRActions aNd how to measure reliably tHE cosmic VarIance $\SigmA_{v}$. As repreSenTative ExaMPles, we Show in fig. \[ff\_LoGnoRMAl\] the DIStRibUtIons of the mERGer FractIoN $f_{\rm M}$ in the 48 AlHAMBRA sub-fields foR $I \leQ 22$ and $i \leq 21$ galaxIes. the mERGeR frACtIOn wAs MEasUREd from close pairS with $10h^{-1}\ {\rm kpC} \lEQ r_{\Rm p} \leq 30h^{-1}$ kpc. uNleSs Noted otHerwise, In the FOllowinG the princIpal and thE cOmpaNIOn sAmples compRise the sAme galaxiES. We fiND tHat thE obServed DiStrIbutiOns are NOt GAussiAn, but fOlLow a loG-normAl DistribuTion instead, $$P_{LN}\,(f_{\rm
 characterise the cosmic v ariance in  clos e p air  s tudi es ( Sect. \[sigv\] ) .

T he power-law indices i n Eq.  ( \ [cos v ar teofi n\]) co u ld b e d if fe ren tf or  lumi nos ity- an d mass-sel ect ed  samples, as we ll as forflu x-limited sa mpl es. In  t hep resen t p aperwe use flux-l imited sa mp l es sel e cted in t he  $i$  band to characte r is e  the cosmic va riance .T hi s cho ice  has sever al  bene f its, si n ce w e  ha v e a well cont rolled sele c tio n func ti on, a bett er un de r sta nding of th e ph otometric  redsh i fts and their e rrors,  an d w e ha v eac ces st o l a rg ers amp les at l ow er  reds hift t h a t in  th e lu minos ity and the s tel larm ass  case s. Th at i mp roves  the s tatis ti cs and increase s th e usefulred sh ift  r ange. At the  en d,futurestudies wil lb e in terested on the co sm i c  v ariancein phy s ic al l y select ed  sa mple s (i.e. , lu m in osity or  stell a rma ss). Th us , in S ec t.\[s ecpop \ ] we  compa re the r esult s  from the flux - limited $i-$b a nd s am p leswit h the actua l co s micvari a nc e m e asure d inph y si c ally selected sampl es .

\[C 3\] F inally, we se t the defi n i t ion of t he n u mb e r density $n$.  In t he present paper th e num ber dens ity of ag i ven popu lat ion  is  th e [* cosmic averag e numb er  densit y*] {} of t hat  po pul ati on . For exa mple, if  w ear estu dying the merg er  fr ac tio n ina  volum e dom inat ed  b y  acluster ,  w e shou ld  n ot u seth e num berd ens ity inthat volu me, butth enumberdensity deriv ed  from a ge ne ral  lumin o s ity or m ass function work inste a d. Than ksto th e 48  sub-fiel dsin ALH AMB R A we h ave di rectac ces s to th e av era ge  number de n s iti es of  t he p opulati ons under study (S e ct.  \[secn1\]).
Di stri b u ti ono ft heme r ger f raction and $\s igma_{v}$es t im ation {#ff d ist }------- ------- ----- - ------- --------- --------- -- ---- - - --- -------

I n this s ection we explo r ewhich  st atisti ca l d istri bution rep roduc es bet te r theobser ve d merger  fractions and how to m easure  reli abl y the cos mic var iance $\s igma _{v}$. Asrep res entat ive examp les, we  sh o w inFig. \[ff\_log n or mal \ ]  t he distribu t i o nsof th e m e rger f ract ion $f_{\rm m}$ i n  the 48 ALHAMB RA s u b -fi eld s  for  $ i \leq 22$ and  $i  \ l e q 21$ ga la xies. The m erger fr ac t ion w as mea suredfrom cl o s ep airs w ith$10 h^{-1}\ { \rm  k p c} \leq  r _{ \ rm p}\leq  3 0h^{-1 }$ kpc .  Unl e s s noted otherwis e, in t he fo l low ing t he  princi p al a nd the com panion samp les co mpri se th e samega laxies . W efind thatt he observ ed di stribut io ns a renot Ga ussi a n , but  fol lo w a  log-norm a l  d i st ri b uti on i nstea d,  $$P _{LN}\,(f _ {\rm
 characterise_the cosmic_variance in close pair_studies (Sect. \[sigv\]).

The_power-law_indices in_Eq. (\[cosvarteofin\])_could be different_for luminosity- and_mass-selected samples, as well_as for flux-limited_samples._In the present paper we use flux-limited samples selected in the $i$ band to_characterise_the cosmic_variance._This_choice has several benefits, since_we have a well controlled_selection function,_a better understanding of the photometric redshifts and_their_errors, and we_have access to larger samples at lower redshift that_in the luminosity and the stellar_mass cases. That_improves_the_statistics and increases the_useful redshift range. At the end,_future studies will be interested on_the cosmic variance in physically selected samples_(i.e., luminosity or stellar mass). Thus,_in Sect. \[secpop\] we compare the_results from_the flux-limited $i-$band samples with_the actual cosmic_variance measured_in physically selected_samples.

\[C3\] Finally, we set the definition_of the number_density $n$. In the present paper_the_number density of_a_given_population is_the [*cosmic average_number_density*]{} of_that_population. For example, if we are_studying_the merger fraction in a volume dominated_by a cluster, we_should_not use the number_density in that volume, but_the number density derived from a_general luminosity_or mass_function work instead. Thanks to the 48 sub-fields in ALHAMBRA we_have direct access to the average_number densities of the_populations under_study_(Sect. \[secn1\]).

Distribution of the_merger_fraction and_$\sigma_{v}$ estimation {#ffdist}
---------------------------------------------------------------

In this section we explore_which statistical_distribution reproduces better the observed merger_fractions and how to_measure_reliably the cosmic variance $\sigma_{v}$. As_representative examples, we show in Fig. \[ff\_lognormal\]_the distributions of the merger_fraction_$f_{\rm_m}$ in the 48 ALHAMBRA_sub-fields for $i \leq 22$ and_$i \leq 21$_galaxies. The merger fraction was measured from_close_pairs with $10h^{-1}\ {\rm kpc} \leq_r_{\rm_p} \leq 30h^{-1}$ kpc. Unless noted_otherwise,_in_the following the principal and_the companion samples comprise the same_galaxies. We find that the observed distributions are not_Gaussian, but follow_a log-normal distribution instead, $$P_{LN}\,(f_{\rm