11-08-2024
dcortell
Pyrite | Level 9
Member since
02-02-2016
- 139 Posts
- 19 Likes Given
- 9 Solutions
- 4 Likes Received
-
Latest posts by dcortell
Subject Views Posted 1199 10-16-2024 03:48 AM 1384 10-15-2024 03:33 PM 1411 10-15-2024 03:06 PM 1433 10-15-2024 02:44 PM 1432 10-15-2024 02:42 PM 1479 10-15-2024 01:16 PM 1499 10-15-2024 12:43 PM 886 01-25-2024 12:20 PM 2570 12-04-2023 05:57 AM 2583 12-04-2023 05:11 AM -
Activity Feed for dcortell
- Posted Re: proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-16-2024 03:48 AM
- Posted Re: proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-15-2024 03:33 PM
- Posted Re: proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-15-2024 03:06 PM
- Posted Re: proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-15-2024 02:44 PM
- Posted Re: proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-15-2024 02:42 PM
- Posted Re: proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-15-2024 01:16 PM
- Posted proc logistic generate "0" coefficent estimates for categorical covariate on Statistical Procedures. 10-15-2024 12:43 PM
- Liked Re: %else on multiple %ifs statements for Astounding. 01-26-2024 04:45 AM
- Posted %else on multiple %ifs statements on SAS Programming. 01-25-2024 12:20 PM
- Posted Re: data step in cas slow processing on SAS Programming. 12-04-2023 05:57 AM
- Posted Re: data step in cas slow processing on SAS Programming. 12-04-2023 05:11 AM
- Posted Re: data step in cas slow processing on SAS Programming. 12-03-2023 07:39 AM
- Posted Re: data step in cas slow processing on SAS Programming. 12-03-2023 07:34 AM
- Posted data step in cas slow processing on SAS Programming. 12-02-2023 02:08 PM
- Posted Re: PROC SGPANEL ERROR ERROR: An exception has been encountered. on SAS Programming. 10-13-2023 03:33 PM
- Posted PROC SGPANEL ERROR ERROR: An exception has been encountered. on SAS Programming. 10-13-2023 12:39 PM
- Liked Re: ERROR: Resource is write-locked by another thread for ballardw. 09-25-2023 01:32 PM
- Posted Re: ERROR: Resource is write-locked by another thread on SAS Programming. 09-20-2023 05:36 AM
- Posted ERROR: Resource is write-locked by another thread on SAS Programming. 09-04-2023 12:56 PM
- Liked Re: Ignore macro function into a string for Quentin. 08-01-2023 08:35 AM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 4 1 1 -
My Liked Posts
Subject Likes Posted 2 06-08-2023 11:00 AM 1 02-03-2022 10:04 AM 1 01-19-2022 01:03 PM
10-16-2024
03:48 AM
Yeah, the data are like that. An opp can or cannot be generated with a marketing touch point. However, when there is a marketing touch point then not always an opp is generated. The mkt_flag60 is the variable we wanna study as it is the one representing the mkt touch points
... View more
10-15-2024
03:33 PM
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
SYMBOLGEN: Macro variable _SASWSTEMP_ resolves to
/r/ge.unx.sas.com/vol/vol110/u11/spndac/.sasstudio/.images/4f40afea-269a-46b8-867a-731823c2ccda
SYMBOLGEN: Some characters in the above value which were subject to macro quoting have been unquoted for printing.
SYMBOLGEN: Macro variable GRAPHINIT resolves to GOPTIONS RESET=ALL GSFNAME=_GSFNAME;
NOTE: ODS statements in the SAS Studio environment may disable some output features.
73
74 proc logistic data=ateamd.model_source_imp_single ;
75 class mkt_flag60_t / descending ;
76
77 model opp_flag60(event="1")=n_opp_prev12 n_opp_prev24
78 tot_int_prev60 mkt_flag60_t n_opp_prev12_w n_opp_prev24_w
79
80 n_opp_prev12*n_opp_prev24*
81 tot_int_prev60*mkt_flag60*n_opp_prev24_w*n_opp_prev12_w
82
83 / expb;
84 ods output ParameterEstimates = model_win ;
85 run;
NOTE: PROC LOGISTIC is modeling the probability that opp_flag60=1.
NOTE: Convergence criterion (GCONV=1E-8) satisfied.
WARNING: The information matrix is singular and thus the convergence is questionable. Try specifying a larger SINGULAR= value.
NOTE: The data set WORK.MODEL_WIN has 8 observations and 9 variables.
NOTE: Compressing data set WORK.MODEL_WIN increased size by 100.00 percent.
Compressed is 2 pages; un-compressed would require 1 pages.
NOTE: There were 2018674 observations read from the data set ATEAMD.MODEL_SOURCE_IMP_SINGLE.
NOTE: PROCEDURE LOGISTIC used (Total process time):
real time 9.15 seconds
cpu time 8.06 seconds
86
87 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
SYMBOLGEN: Macro variable GRAPHTERM resolves to GOPTIONS NOACCESSIBLE;
99
... View more
10-15-2024
03:06 PM
here you go
... View more
10-15-2024
02:44 PM
Sorry, I understand what you are saying. The suffix "_t" is missing because I tabulated the numeric version of the same variable. But the values are exactly the same.
... View more
10-15-2024
02:42 PM
What do you mean what happen to the covariate? I just tabulated the value of the variable. did nothing more.
... View more
10-15-2024
01:16 PM
The mkt_flag60 has both positive and negative value, despite the negative being only associated to target=1. This make sense as the mkt_flag tell us if a marketing touchpoint was present, and if to that touchpoint followed up an opportunity or not (there are no record where a marketing touchpoint did not happen; but there are records where an opportunity happened BUT no marketing touchpoint was not present) Those opp 12 and 24 records count the number of opportunities in the previous 12 and 24 months preceding the marketing date (or before the 60th day before the opportunity date, if not marketing touchpoint did happen) The int_60 days measure if there were other marketing touchpoints BEFORE the last touchpoint described bu the mkt_flag60. There are only values ONLY IF there is a mkt_flag=1 (as if there is no mkt touchpoint, then there can't be a chain of mkt touchpoint before that)
... View more
10-15-2024
12:43 PM
Hi expert I'm trying to model a binary outcome event (1=opportunity generated, 0=opportunity missing), based on a set of covariate, one of which is categorical and binary (presence or not of a marketing interaction) Output provided below I'm getting for the categorical covariate estimate="0". I remember I have read somewhere that whenever a variable can be represented as linear outcome of other covariates it will not be represented with a coefficient. Then the question is how to check if that covariate is significant? Bests
... View more
01-25-2024
12:20 PM
Dear experts, I would ask a clarification. Over a set of %if statement, a final %else would be applied to the latest %if condition, or to any of the previous %if conditions ? I believe it's the first one, so question is, how to skip the final %else if any of the previous %if is satisfied?
... View more
12-04-2023
05:57 AM
So I tired to generate a new table from the existing one using the datastep, and In addition to the loading time, this time also an error triggered: 80 data gmod.&train_table._2; 81 set gmod.&train_table; 82 format split $10.; 83 if email_dt<="&cutoff9"d then split="train"; 84 else split="test"; 85 run; NOTE: Running DATA step in Cloud Analytic Services. NOTE: The DATA step will run in multiple threads. ERROR: Cloud Analytic Services failed writing to system disk space. Please contact your administrator. ERROR: Cloud Analytic Services failed writing to system disk space. Please contact your administrator. ERROR: Cloud Analytic Services failed writing to system disk space. Please I will probably check with my admin what is going on here
... View more
12-04-2023
05:11 AM
I have no log, as I run the piece of code: 80 data gmod.&train_table._2; 81 set gmod.&train_table; 82 format split $10.; 83 if email_dt<="&cutoff9"d then split="train"; 84 else split="test"; 85 run; NOTE: Running DATA step in Cloud Analytic Services. NOTE: The DATA step will run in multiple threads. It get stuck in running without completing
... View more
12-03-2023
07:34 AM
yes, both CAS and multithread: NOTE: Running DATA step in Cloud Analytic Services. NOTE: The DATA step will run in multiple threads. NOTE: There were 24160332 observations read from the table SPNDAC_TRAIN_TOPIC_PROP_V1 in caslib Global Marketing Models. NOTE: The table spndac_train_topic_prop_v1TEST in caslib Global Marketing Models has 128 observations and 539 variables. NOTE: Sentencia DATA used (Total process time): real time 2.63 seconds cpu time 0.04 seconds
... View more
12-02-2023
02:08 PM
Hi experts. I have a table of 24M records. Running the following step: data gmod.&train_table; set gmod.&train_table; format split $10.; if email_dt<="&cutoff"d then split="train"; else split="test"; run; In was 9.4 takes a bunch of min to execute. In viya4, cas env., It is taking forever and not completing, after almost one hour. Any idea about why the data step perform so badly in viya? Bests
... View more
10-13-2023
03:33 PM
I discovered the error being associated to the variable length utilized, which was changed in the mart with a huge format of $480. I re-formatted the var to $30. and the error is not showing anymore
... View more
10-13-2023
12:39 PM
Hi experts All of a sudden I’m starting to get the following error below about sgpanel Any idea about the root cause? Bests MPRINT(SOURCED): proc sgpanel data=tr_test (where=(lowcase(opportunity_type) contains "software" or lowcase(opportunity_type)
contains "managed"));
MPRINT(SOURCED): panelby countryname opportunity_type;
MPRINT(SOURCED): vbar class / response=col1 group=_name_ stat=sum nostatlabel groupdisplay=cluster;
MPRINT(SOURCED): run;
NOTE: Since no format is assigned, the numeric category variable will use the default of BEST6.
NOTE: Compressing data set WORK._SGSORT_ increased size by 100.00 percent.
Compressed is 2 pages; un-compressed would require 1 pages.
NOTE: Compressing data set WORK._OPNTMP000000000000000000000 increased size by 100.00 percent.
Compressed is 2 pages; un-compressed would require 1 pages.
ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:
The SAS task name is [SGPANEL ]
Segmentation Violation
... View more