Hi all,
I am trying to create a table of descriptive statistics for my explanatory variables, one of which is Industry Classification. I want the summary statistic to break it down by industry but my current code, as shown below, is failing.
I also want the summary to cover mean, median, standard deviation and number of observations. The traditional
does not seem to include median, is there an option somewhere to change this? Some guidance for both these issues would be much appreciated.
Thank you in advance,
Caleb
I am trying to create a table of descriptive statistics for my explanatory variables, one of which is Industry Classification. I want the summary statistic to break it down by industry but my current code, as shown below, is failing.
Code:
sum BICSLevel1_n=="Communications" BICSLevel1_n="Consumer Discretionary" BICSLevel1_n="Consumer Staples" BICSLevel1_n="Energy "BICSLevel1_n="Financials" BICSLevel1_n="Health Care" BICSLevel1_n="Industrials" BICSLevel1_n="Materials" BICSLevel1_n="Technology" BICSLevel1_n="Utilities" LoanTrancheSizeBM LoanTrancheSizeAM OriginalMaturityBM OriginalMaturityAM AverageLifeBM AverageLifeAM CouponBM CouponAM InterestAccruedBM InterestAccruedAM CreditSpreadBM CreditSpreadAM FlexStatus_n=="No Flex" FlexStatus_n=="Flexed Up" FlexStatus_n=="Flexed Down" CallProvision_n="No Call" CallProvision_n="Soft Call" CallProvision_n="Hard Call" InterestFrequency_n=="MONTHLY" InterestFrequency_n=="QUARTERLY" Guaranteed_n=="No" Guaranteed_n=="Yes" SponsorLed_n=="No" SponsorLed_n=="Yes" Amended_n=="No" Amended_n=="Yes" OriginalIssueDiscountSecurity_n=="No" OriginalIssueDiscountSecurity_n=="Yes"
Code:
sum
Thank you in advance,
Caleb
Comment