Difference between revisions of "SAS Coding Help"
Phdprepadmin (talk | contribs) (→Code) |
(→Websites to Help) |
||
(18 intermediate revisions by 9 users not shown) | |||
Line 4: | Line 4: | ||
* [[Statistical Analysis]] | * [[Statistical Analysis]] | ||
* [[Proc SQL]] | * [[Proc SQL]] | ||
− | * [[ | + | * [[INTNX]] |
== Macros == | == Macros == | ||
+ | * [http://www.psych.yorku.ca/lab/sas/macro.htm The basics of macros] | ||
* [[Media:SAS_Macro_Quintiles.txt|Macro for grouping continuous variable into quintiles]] | * [[Media:SAS_Macro_Quintiles.txt|Macro for grouping continuous variable into quintiles]] | ||
* [[Media:WinsorizeMacro.txt|Winsorizing and trimming macro]] | * [[Media:WinsorizeMacro.txt|Winsorizing and trimming macro]] | ||
==Replications== | ==Replications== | ||
+ | * [[Media:BMNreplicate2.txt|Replication of Beaver, McNichols, Nelson RAS 2007]] "An Alternative Interpretation of the Discontinuity in Earnings Distributions" | ||
+ | * [[Media:DEAbyindustry.txt|A data envelopment analysis program]] | ||
+ | * [[Media:SimERETOperLev2.txt|A simple simulation examining the relation between earnings and returns]] with a lot of assumptions, just for fun | ||
+ | *[[Media:RSST2005_JAE.txt|Replication of Richardson, Sloan, Soliman, and Tuna (JAE 2005)]] | ||
+ | **[[Media:RSST2005_NoLink.xls|Partial output from replication of RSST(JAE 2005)]] | ||
== Websites to Help == | == Websites to Help == | ||
− | * [http://www.ats.ucla.edu/stat/stata/whatstat/default.htm What statistical test should I use] | + | * [http://www.ats.ucla.edu/stat/sas/ UCLA SAS help page] - UCLA has a list of resources for SAS coding |
− | * [http://www. | + | ** [http://www.ats.ucla.edu/stat/stata/whatstat/default.htm What statistical test should I use] - In addition to explaining what test to use, page also provides information on how to perform test and interpret results using SAS, STATA, and SPSS software. |
− | * | + | ** [http://www.ats.ucla.edu/stat/examples/default.htm UCLA SAS Textbook Examples] - This page includes examples and problems worked in SAS from more than 40 statistics textbooks. |
− | * | + | * [http://www.jeffreyhoopes.com/nader/ University of Michigan SAS Site] |
+ | * [http://scott.dyreng.googlepages.com/sasprogramsandusefuldata A little code on Scott Dyreng's website]. | ||
+ | * [http://javeeh.net/sasintro/intro1.html Introduction to SAS: Index] - Great resource for simple, straight forward explanation. | ||
* [http://www.utexas.edu/cc/docs/stat53.html Factor analysis in SAS] | * [http://www.utexas.edu/cc/docs/stat53.html Factor analysis in SAS] | ||
− | * [http://www. | + | * [http://www.sconsig.com/sastip.htm SAS Consultant Special Interest Group] - This site offers tips and tricks for using SAS and running SAS macros and utilities. |
+ | * [http://wrds-web.wharton.upenn.edu/wrds/support/Accessing%20and%20Manipulating%20the%20Data/_002Unix%20Access/Remote%20Access%20to%20WRDS%20using%20SSH.cfm Instructions on Remote Connection to WRDS Using SSH] - This can be helpful for using large data sets, even if you have SAS on a local machine. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | {|style="width:100%;margin-top:+.7em;" | ||
+ | |-align="center" | ||
+ | ! style="background:#fafaFe; color:black; height: 20px" | <small>[[Main Page]] ► [[Research]] ► [[Researching Resources]] ► [[SAS Coding Help]]</small> | ||
+ | |} |
Latest revision as of 08:31, 15 March 2014
Contents
Code
- How to Gather Data Using a Web Crawler: An Application Using SAS to Search Edgar - interesting macro that can crawl Edgar reports for data.
- Basic Code
- Statistical Analysis
- Proc SQL
- INTNX
Macros
- The basics of macros
- Macro for grouping continuous variable into quintiles
- Winsorizing and trimming macro
Replications
- Replication of Beaver, McNichols, Nelson RAS 2007 "An Alternative Interpretation of the Discontinuity in Earnings Distributions"
- A data envelopment analysis program
- A simple simulation examining the relation between earnings and returns with a lot of assumptions, just for fun
- Replication of Richardson, Sloan, Soliman, and Tuna (JAE 2005)
Websites to Help
- UCLA SAS help page - UCLA has a list of resources for SAS coding
- What statistical test should I use - In addition to explaining what test to use, page also provides information on how to perform test and interpret results using SAS, STATA, and SPSS software.
- UCLA SAS Textbook Examples - This page includes examples and problems worked in SAS from more than 40 statistics textbooks.
- University of Michigan SAS Site
- A little code on Scott Dyreng's website.
- Introduction to SAS: Index - Great resource for simple, straight forward explanation.
- Factor analysis in SAS
- SAS Consultant Special Interest Group - This site offers tips and tricks for using SAS and running SAS macros and utilities.
- Instructions on Remote Connection to WRDS Using SSH - This can be helpful for using large data sets, even if you have SAS on a local machine.
Main Page ► Research ► Researching Resources ► SAS Coding Help |
---|