I have to create a new sample in which the difference between two variables is significant with a p-value of 0.10 (one-sided) or less.
Here you can find a small part of the sample I'm working on.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str6 gvkey double fyear float(w1 w2) "001166" 2006 0 .11279426 "001166" 2007 -1.637959 -.27963558 "001166" 2008 -.950194 .0750155 "001166" 2009 -.8942925 .4627495 "001166" 2010 -.8927091 .4618876 "001166" 2011 -.9401239 .4821147 "001166" 2012 -.24718045 1.0281346 "001166" 2013 .3438349 .58495206 "001166" 2014 .11407267 .26770407 "001166" 2015 -1.7433417 -.5185392 "001166" 2016 .2910845 .14705177 "001166" 2017 -1.207478 1.905073 "001166" 2018 -1.2699703 2.0405955 "001491" 2005 .11319265 0 "001491" 2006 1.3774 1.5326812 "001491" 2007 -.15200947 .19509214 "001491" 2008 .09235152 -.03370083 "001491" 2009 .4543725 .4367438 "001491" 2010 .1379019 .04374808 "001491" 2011 .7400544 .58201104 "001491" 2012 1.3656943 .9399076 "001491" 2013 -2.4492245 -1.6763176 "001491" 2014 .1054693 .715324 "001491" 2015 -.4048582 -.7234704 "001491" 2016 .028132726 .3532367 "001491" 2017 .6511824 .55156463 "001491" 2018 -.4640799 -.19116877 "001855" 2014 0 -.09507062 "001855" 2015 .2037961 .10750423 "001855" 2016 .2749106 .1760321 "001855" 2017 -2.6788 -2.2901726 "001855" 2018 -.6326878 -.2276851 "001932" 2005 0 2.2762423 "001932" 2006 -12.76777 7.909246 "001932" 2007 -3.578239 -.9477926 "001932" 2008 -4.451492 -.9835192 "001932" 2009 3.5502696 1.2015682 "001932" 2010 .6293077 .55401886 "001932" 2011 .7311197 .11962037 "001932" 2012 .1647793 -.50672024 "001932" 2013 .7354411 -.15725724 "001932" 2014 1.0488538 .1577161 "001932" 2015 .7123489 .24158955 "001932" 2016 5.987796 .9939422 "001932" 2017 1.6091285 -.1517841 "001932" 2018 2.899344 1.5253427 "001945" 1999 0 .9485321 "001945" 2000 1.362058 1.9056555 "001945" 2001 1.2584103 1.6815386 "001945" 2002 -.2038179 .2461232 "001945" 2003 -.793873 -.38997155 "001945" 2004 -1.1883448 -.7283143 "001945" 2005 4.886021 2.6952515 end
How can I perform this process on my sample?
Thanks for the attention.
Kind regards,
Daniel
0 Response to F-statistic on the difference of two variables
Post a Comment