Skip to content

Missing variables in data generation scripts #2

@dompazz

Description

@dompazz

You don't seem to create the B variable needed to run the logistic regression.

SAS Code fails with:
1784 /* Logistic regression */
1785
NOTE: PROCEDURE LOGISTIC used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds

ERROR: Variable B1 not found.
NOTE: The SAS System stopped processing this step because of errors.
1786 PROC LOGISTIC
1787 DATA=BENCH.ANALYSIS;
1788 MODEL B1=N2-N21;
1789 RUN;
1790 QUIT;

Also an ERROR in model scoring as you do not create the N1 Variable in the PREDICT set
1817 /* Score Prediction table and retain results */
1818
1819 PROC SCORE
1820 DATA = BENCH.PREDICT
1821 SCORE= BENCH.MODEL1
1822 OUT = BENCH.SCORED
1823 PREDICT nostd type=parms;
1824 VAR N1;
1825 RUN;

ERROR: In the DATA= data set, cannot find the variable N1 from the SCORE= data set.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set BENCH.SCORED may be incomplete. When this step was stopped there were 0
observations and 20 variables.
NOTE: PROCEDURE SCORE used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions