11-02-2020
kwil
Fluorite | Level 6
Member since
09-18-2020
- 13 Posts
- 0 Likes Given
- 0 Solutions
- 1 Likes Received
-
Latest posts by kwil
Subject Views Posted 3736 11-02-2020 04:09 AM 3931 10-29-2020 08:16 PM 2004 10-14-2020 10:40 PM 2048 10-12-2020 07:10 PM 2187 10-06-2020 10:28 PM 2168 10-06-2020 10:23 PM 2208 10-06-2020 08:00 PM 1184 10-05-2020 08:16 PM 501 09-22-2020 08:55 PM 24788 09-22-2020 03:27 AM -
Activity Feed for kwil
- Posted Re: How to get one sample Wilcoxon Signed Rank Z Statistic? on Statistical Procedures. 11-02-2020 04:09 AM
- Posted How to get one sample Wilcoxon Signed Rank Z Statistic? on Statistical Procedures. 10-29-2020 08:16 PM
- Posted Re: How to estimate a variance-covariance matrix for use in t-statistic? on Statistical Procedures. 10-14-2020 10:40 PM
- Posted Re: How to estimate a variance-covariance matrix for use in t-statistic? on Statistical Procedures. 10-12-2020 07:10 PM
- Got a Like for Re: How to estimate a variance-covariance matrix for use in t-statistic?. 10-06-2020 10:34 PM
- Posted How to estimate a variance-covariance matrix for use in t-statistic? on Statistical Procedures. 10-06-2020 10:28 PM
- Posted Re: How to estimate a variance-covariance matrix for use in t-statistic? on Statistical Procedures. 10-06-2020 10:23 PM
- Posted How to estimate a variance-covariance matrix for use in t-statistic? on Statistical Procedures. 10-06-2020 08:00 PM
- Posted How to implement a bootstrapped skewness-adjusted t-statistic? on SAS Programming. 10-05-2020 08:16 PM
- Posted Re: How to get a set of returns with replacement if data stops? on SAS Programming. 09-22-2020 08:55 PM
- Posted Re: What to do when our spam filter traps your post on Community Memo. 09-22-2020 03:27 AM
- Posted How to get a set of returns with replacement if data stops? on SAS Programming. 09-22-2020 02:48 AM
- Posted Re: How do i match a set of control firms for each sample event firm on SAS Programming. 09-20-2020 08:21 PM
- Posted How do i match a set of control firms for each sample event firm on SAS Programming. 09-18-2020 01:24 AM
-
My Liked Posts
Subject Likes Posted 1 10-06-2020 10:23 PM
11-02-2020
04:09 AM
Thanks very much, works great!
... View more
10-29-2020
08:16 PM
Hi, I am testing the significance of the median in my sample using the one sample Wilcoxons signed rank test through proc univariate. However, the ouput presents an S statistic and for reporting purposes I would like to report the commonly used Z statistic. Is there any easy way of getting the Z statistic in SAS or would it be easier using another program like Stata? Thanks in advance.
... View more
10-14-2020
10:40 PM
Hi Rick, Thanks for your reply. I do have the data in a time series format - I have the monthly excess returns for each firm. However, i have no experience with matrix programming and am not sure how to do it. I am trying to test the significance of the mean returns for the 6 month, 12 month, 24 month and 36 month horizons using a normal t statistic. How would i set this up to then do the matrix programming in IML? Currently i have:: Firm Month BHAR a 1 0.01 a 2 0.05 a 3 0.07 b 1 0.9 b 2 0.51 b 3 0.01
... View more
10-12-2020
07:10 PM
I haven't been able to find a solution yet, does anyone know of any similar threads that I can have a look at or anyone they think would know how to solve this problem? Thanks
... View more
10-06-2020
10:28 PM
Hi, I currently have a set of buy and hold abnormal returns for periods of 6, 12, 24 and 36 months. I want to adjust the t-statistic used to test the significance of the means in order to account for the events being non-random. I would like to adjust the t-statistics for overlapping samples by adjusting the variance covariance matrix for the overlapping long run returns. I am using the methodology outlined in Lyon, Barber & Tsai (1999) but am really unsure how to implement this in SAS. Data Set: Firm Month BHAR x 6 10% y 6 15% z 6 -10% y 12 5% z 12 40% y 24 20% z 24 -10% Any help would be really appreciated, thanks.
... View more
10-06-2020
10:23 PM
1 Like
Thanks! Will try posting there.
... View more
10-06-2020
08:00 PM
Hi, I currently have a set of buy and hold abnormal returns for periods of 6, 12, 24 and 36 months. I want to adjust the t-statistic used to test the significance of the means in order to account for the events being non-random. I would like to adjust the t-statistics for overlapping samples by adjusting the variance covariance matrix for the overlapping long run returns. I am using the methodology outlined in Lyon, Barber & Tsai (1999) but am really unsure how to implement this in SAS. Data Set: Firm Month BHAR x 6 10% y 6 15% z 6 -10% y 12 5% z 12 40% y 24 20% z 24 -10% Any help would be greatly appreciated, thanks.
... View more
10-05-2020
08:16 PM
Hi, I am trying to implement the bootstrapped skewness-adjusted t-statistic originally developed by Johnson (1978) and outlined in Lyon et al. (1999) to test the significance of my average buy-and-hold abnormal returns. I am just looking to use this for a one sample test, not as a two sample test. Is this as simple as using the bootstrap method in proc ttest? Any help would be really appreciated. Cheers.
... View more
09-22-2020
08:55 PM
Thanks very much!
... View more
09-22-2020
03:27 AM
My post was incorrectly identified as spam as well - the title is 'How to get a set of returns with replacement if data stops?' any help would be appreciated
... View more
09-22-2020
02:48 AM
Hi, I have monthly returns for a set of firms that are ranked based on their closeness of match to the event firm. I want to create a set of returns for each event firm (there are multiple) based on the rank and month of the control firms. For example, since the first ranked company G has run out of data after month 3, i would like to use the total return data for company H from month 4 onwards until the data for company H runs out, at which point the next best ranked firm will be used if they have available data at that month and so on. There are 5 companies for each event and I would like to have a set of returns for each event firm up to month 60. Have: Event Company Rank Month Total Return a G 1 1 0.05 a G 1 2 0.07 a G 1 3 0.09 a H 2 1 -0.05 a H 2 2 -0.01 a H 2 3 0.08 a H 2 4 0.06 a H 2 5 -0.01 Want: Event Company Rank Month Total Return a G 1 1 0.05 a G 1 2 0.07 a G 1 3 0.09 a H 2 4 0.06 a H 2 5 -0.01 a ... ... 60 -0.06 I would also like to know how I can do the same as above but also use the next best ranked firm if the current one has a total return of 0. For instance, since Company G in month 2 has a total return of 0, I'd like to use the total return of Company H (the next best ranked firm) before reverting back to G once the total return is no longer 0. Have: Event Company Rank Month Total Return a G 1 1 0.05 a G 1 2 0 a G 1 3 0.09 a H 2 1 -0.05 a H 2 2 -0.01 a H 2 3 0.08 a H 2 4 0.06 a H 2 5 -0.01 Want: Have: Event Company Rank Month Total Return a G 1 1 0.05 a H 2 2 -0.01 a G 1 3 0.09 a H 2 4 0.06 a H 2 5 -0.01 a ... ... 60 -0.06 Any help would be very much appreciated, still getting the hang of this! Thanks.
... View more
09-20-2020
08:21 PM
Yes this works perfectly. Thanks very much.
... View more
09-18-2020
01:24 AM
Hi, I am trying to match each sample firm I have with a set of 5 control firms based on three main variables: 1. Date - The test firms must have data on the date that the the sample firms specify 2. Market Capitalisation - control firms must have a market cap between 70% and 130% of the market cap of the sample firm 3. BM ratio - of the firms that satisfy the above two conditions, I want to choose the 5 closest control firms based on the absolute value of the difference in the BM ratios between the sample firm and the control firms. For example: Sample firms: firm date marketcap bmratio A 31/01/2015 500 0.5 B 30/06/2018 400 0.7 Control firms: firm date marketcap bmratio d 31/01/2015 550 0.5 e 31/01/2015 425 0.1 f 31/01/2015 900 0.6 g 30/06/2018 300 0.25 h 31/07/2019 500 0.9 ... ... Desired Output: firm date marketcap bmratio matchedfirm matchedfirm_rank A 31/01/2015 500 0.5 d 1 A 31/01/2015 500 0.5 e 2 A 31/01/2015 500 0.5 ... 3 A 31/01/2015 500 0.5 ... 4 A 31/01/2015 500 0.5 ... 5 B 30/06/2018 400 0.7 g 1 B 30/06/2018 400 0.7 ... 2 B 30/06/2018 400 0.7 ... 3 B 30/06/2018 400 0.7 ... 4 B 30/06/2018 400 0.7 ... 5 I don't need the market cap or bm ratio of the control firms, I just need to know what the best 5 matches are for each sample firm. Any help would be really appreciated (This is following the matching firms approach in Barber and Lyon (1997) so if anyone knows of another thread that trys to implement this, please point me in that direction)
... View more