demean controls whether the data are demeaned before fitting the autoregressive model. If demean=TRUE, then you know in advance that the intercept will be 0 (up to rounding, machine, and other fitting error); as a result, intercept is by default quite sensibly set to intercept=demean.

In case you do still want the intercept term from a model fitted to the demeaned data, or in case you want to fit a model with no intercept to the un-demeaned data, ar.ols() gives you two arguments that support all possible permutations of data demeaning and intercept fitting:

x &lt;- diff(log(EuStockMarkets))

## Equivalent to ar.ols( ... , demean = TRUE)$x.intercept
ar.ols(x, order.max = 6, demean = TRUE, intercept = TRUE)$x.intercept
#           DAX           SMI           CAC          FTSE 
#  5.108542e-06 -2.477317e-06  6.641355e-06 -3.423321e-06 

ar.ols(x, order.max = 6, demean = TRUE, intercept = FALSE)$x.intercept
# NULL

ar.ols(x, order.max = 6, demean = FALSE, intercept = TRUE)$x.intercept
#          DAX          SMI          CAC         FTSE 
# 0.0006940672 0.0007812742 0.0004866072 0.0004387839 

## Equivalent to ar.ols( ..., demean = FALSE)$x.intercept
ar.ols(x, order.max = 6, demean = FALSE, intercept = FALSE)$x.intercept
# NULL


demean and intercept in ar.ols()
I have created site in SharePoint 2010 and SharePoint 2013. I want to restrict login user to access _layouts pages like view all site content etc.. In SharePoint 2010 I have activated view form pages lock down feature by below command

stsadm -o activatefeature -url &lt;site collection url&gt; -filename ViewFormPagesLockDown\feature.xml 


after that i have re enable anonymous access and i have give restricted read permission to sharepoint group. And it is working. Same step i have follow in Sharepoint 2013 site. But their is not restricted read permission their. So i am not able to restrict user.

What to do for Sharepoint 2013?
