BookmarkSubscribeRSS Feed
Ahmad
Calcite | Level 5

i have found this explanation so far can you please guide me if you understand what the author has done??

"The t-statistics associated with the mean coefficients in Table 2 have been adjusted for cross-equation correlations. We extend the correction in standard errors proposed in Chordia et al. (2000) by allowing the variance and pairwise covariances between coefficient estimates to vary across securities. The variance of each estimated coefficientβi is obtained from stock i’s liquidity-return regression in (2). The empirical correlation between the regression residuals for stocks i and j is used to estimate the pairwise correlation between the coefficients{βi andβj }. Hence, the standard error of the mean estimated coefficient is ...


please find the attached JPEG file it is just snapshot of the equation used, dont know how to enter an equation here. thanks



explanation.jpg
SteveDenham
Jade | Level 19

The equation given is a pretty standard summation version of the standard error of a difference between two correlated variables.  Plug in the necessary variables, get the std error, and calculate the t value as the difference between the estimates divided by the standard error.

Steve Denham

Ahmad
Calcite | Level 5

thanks , but the problem is i have hundreds of b's which are the necessary variables. they sat that they have calculated the pairwise correlation from the rsu=iduals of the orignal regressions, so how to calculate the pairwise correlation of  residuals of these 100 equations???

SteveDenham
Jade | Level 19

A possibility is to extend 's idea of a shift to GLM even farther to use MIXED.  The following is untested, but might work:

ods output corrb=corrb solutionf=solutionf;

proc mixed;

class stockName;

model liq = stockName x z d / solution noint corrb;

run;

The corrb option should give the pairwise correlations you need (there may need to be some nesting to get stuff right, but for now try this).  The regression coefficients should be in the solutionf dataset.

Steve Denham

Message was edited by: Steve Denham

Ahmad
Calcite | Level 5

and here is the other paper, to which the author of the previous paper is referring to

PGStats
Opal | Level 21

Maybe all you need is some descriptive statistics for a population of 500 regression parameters. Maybe, you could do something simple as in the folowing example:

proc sort data=sashelp.cars out=cars; by origin; run;

proc reg data=cars outest=carsEst noprint;
by origin;
model horsepower = engineSize Weight;
run;

proc summary data=carsEst noprint;
var engineSize Weight;
output out=carsMeanEst mean= std= probt= / autoname autolabel;
run;

proc print data=carsMeanEst; run;

PG

PS. Just don't associate my name to that idea!  - PG

PG

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 20 replies
  • 2983 views
  • 3 likes
  • 6 in conversation