Code Monkey home page Code Monkey logo

sas's Introduction

SAS

This is the collection of my own SAS utility macros/ sample code over my 10 years of SAS programming and analysis experience from 2004 to 2014.

I will try to organize my code/macros, mostly for analytic works, by functionality and area. Please note that all code is provided as it is. I don't have access to SAS now and I can't test any changes or provide support to make the code workable to SAS new versions.

sas's People

Contributors

countrysideid avatar oloolo avatar xieliaing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sas's Issues

%Boost issues matrix error

Hi Xieliang:
The %boost procedure issues the following error
Why doe the _TEM1002 have only 1 column instead of 3?
x_curr[rank(x[,j]),]=b; free b;
The error is generated by this line:

  %boost(data3, 10, boosted, boostwts, 10, 4);

ERROR: (execution) Invalid subscript or subscript out of range.

operation : [ at line 428 column 1
operands : x_curr, _TEM1002, , b
x_curr 200 rows 3 cols (numeric)
_TEM1002 200 rows 1 col (numeric)
b 200 rows 3 cols (numeric)

statement : ASSIGN at line 428 column 1
traceback : module REGSPLIT_IML at line 428 column 1

y=(x + rannor(2315)*0.2 > 0.35 )

hi
i have a small question in your AUC file.
y=(x + rannor(2315)*0.2 > 0.35 )

why is rannor(2315) rather than other number and >0.35 ??

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.