Project Description
Liquidity Adjusted (LCAPM)
Acharya and Pedersen (2005) presented a theoretical model to explain asset prices with four types of liquidity risks, thereby modifying the singlefactor capital asset pricing model (CAPM) into a liquidity adjusted capital asset pricing model (LCAPM). They argue that expected return on a security is based on:
 Return sensitivity of a portfolio or an asset with the market return
 Commonality in liquidity of a portfolio or an asset with the market liquidity,
 Return sensitivity of a portfolio or an asset to market liquidity
 Liquidity sensitivity of a portfolio or an asset to market returns
The empirical method to test the model involves development of portfolios. The steps might vary with different flavors of the research design, however, generally the following steps are taken to test the model.


 Estimate the measure of illiquidyt for each individual stocks. This can be done using a chosen illiquidity measure, such the Amihud (2002) measure of illiquidity, Hasbrouck (2002) measure, Chalmers and Kadlec (1998) measure of bidask spread etc.
 Make a number of test portfolios: Returns of these portfolios will serve as dependent variable. These portfolios are created on the basis of illiquidity size, book to market etc. The idea is to capture different aspects of the returns and to see whether the given model explain variations in returns based on different characteristics. In statistical software such as Stata, R, or SAS, this is done pretty easily.
 Innovations in illiquidity: Since illiquidity is found to be persistent, it is desirable to estimate innovations over time in illiquidity.
 Liquidity betas: From the innovations components derived in step 3, liquidity betas are estimated as a ratio of covariance to variance.
 The model is tested using the portfolio returns from step 2 and liquidity betas from step 4. A simple crosssectional regression such as Fama and McBeth (1973), or timeseries regression on each portfolio can be applied.
 The model can be tested with the assumption of unconditional or conditional time components. If we want to test the unconditional model, then the innovations in liquidity of step 3 will be estimated using AR() process, where lag terms are identified with appropriate tests. And if we opt for conditional version of the model, then we shall use the multivariate GARCH (MGARCH) model with DVECH (diaognal variation). Therefore, the innovations in step 3 and hence betas in step 4 are estimated as conditional parameters.
Our Stata Code
We have developed a flexible Stata code that performs all of the above steps, with the application of MGARCH. The code can be modified for different methodologies, such as conditional and unconditional LCAPM, time series and crosssectional regressions, and forming portfolios from the intersection of size, booktomarket, and illiquidity factors. The code performs the following tasks
 Finding liquidity measure of Aminud
 winsorizing variables
 Finding market illiquidyt
 Finding stocks illiquidity
 Using AR2 process to control for the persistence in illiquidity
 Construct 25 portfolios on illiquidity
 Portfolio regressions
 Find illiquidity betas
 Find the four betas
 Descriptive statistics
 Fama MacBeth regressions

Pricing
The code is available for $179 with some example data. If you need data management, i.e. you supply us your data and we do the data merging, cleaning, matching the code to your variables and data frequency, there is an additional fee of $99. For further details, please contact us at:
attaullah.shah@imsciences.edu.pk
Stata.Professor@gmail.com
See our full list of completed projects
Project tags: LCAPM; Liquidityadjusted CAPM, Acharya and Pedersen (2005), FamaMacBeth, Capital Asset Pricing Model, StataProfessor, Stata Codes.