06-24-2020
GLO1
Fluorite | Level 6
Member since
05-11-2020
- 9 Posts
- 5 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by GLO1
Subject Views Posted 1402 06-16-2020 09:17 AM 1512 06-15-2020 02:07 PM 1525 06-15-2020 01:25 PM 2011 06-15-2020 11:50 AM 2137 06-11-2020 09:13 AM 4098 05-11-2020 11:29 AM 4162 05-11-2020 08:30 AM 4224 05-11-2020 07:56 AM 4240 05-11-2020 07:47 AM -
Activity Feed for GLO1
- Liked Re: Proc causalmed: Natural direct path exceeds 100% for MichaelL_SAS. 06-24-2020 08:13 AM
- Liked Re: Proc causalmed: Natural direct path exceeds 100% for MichaelL_SAS. 06-24-2020 08:11 AM
- Liked Re: What test should I use to correct for multiple testing for proc reg and proc logistic? for PaigeMiller. 06-24-2020 08:10 AM
- Liked Re: What test should I use to correct for multiple testing for proc reg and proc logistic? for SteveDenham. 06-16-2020 09:18 AM
- Posted Re: What test should I use to correct for multiple testing for proc reg and proc logistic? on Statistical Procedures. 06-16-2020 09:17 AM
- Posted Re: What test should I use to correct for multiple testing for proc reg and proc logistic? on Statistical Procedures. 06-15-2020 02:07 PM
- Posted What test should I use to correct for multiple testing for proc reg and proc logistic? on Statistical Procedures. 06-15-2020 01:25 PM
- Posted Re: Proc causalmed: Natural direct path exceeds 100% on Statistical Procedures. 06-15-2020 11:50 AM
- Posted Proc causalmed: Natural direct path exceeds 100% on Statistical Procedures. 06-11-2020 09:13 AM
- Posted Re: WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function on SAS Procedures. 05-11-2020 11:29 AM
- Liked Re: WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function for r_behata. 05-11-2020 08:36 AM
- Posted Re: WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function on SAS Procedures. 05-11-2020 08:30 AM
- Posted Re: WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function on SAS Procedures. 05-11-2020 07:56 AM
- Posted WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function on SAS Procedures. 05-11-2020 07:47 AM
-
Posts I Liked
Subject Likes Author Latest Post 3 3 1 3 1
06-16-2020
09:17 AM
@SteveDenham Thank you for your suggestion. I am trying to do it your way now, however, I cannot get the p-values of my REG and/or LOGISTICS together in one dataset. Any code suggestions on how to do so? Thanks a lot!
... View more
06-15-2020
02:07 PM
@PaigeMiller Thank you for your response. Yes that is true, however, I repeat the tests multiple times (30) so that increases the risk that there will be results that turn out significant but that aren't. Maybe just set the p-value to 0.01? What would you recommend?
... View more
06-15-2020
01:25 PM
Hi, Could someone advice me on the following; I have done a lot of seperate regression analyses using proc reg and proc logistic. I would like to correct for doing so many tests, but I am not sure how to do this in my situation. Is there an option to simply include a statement into the code for each regression analysis that corrects for multiple testing? Or should I work with multtest? In that case, should I collect all p-values of each regression? This is the format of the code I repeated quite some times: ods graphics on;
proc logistic data = dataset plots=roc;
model y=x/EXPB CL RSQ;
effectplot;
run;
ods graphics off;
proc reg data = dataset;
model y2=x2;
run;
Thank you in advance!
... View more
06-15-2020
11:50 AM
@MichaelL_SAS Thank you for your response, it is appreciated. It is indeed true that NDE is bigger than TDE. However, both NDE and NIE are significant. Theoretically, does this mean that the relationship between X (sex) en Y (dementia) is positively explained through the NDE, and negatively explained through NIE (mediator =macrovascular complications)? We already found that females had higher risk of dementia, and macrovascular complications also increase dementia. Am I right that in other words the NIE being negative would mean that less women have macrovascular disease, resulting in that the indirect natural effect is negative and does therefore decrease dementia risk for females through this path? Or does it just mean that it the higher risk of dementia is not explained by the mediator, because it only says something for males in this case. Thank you
... View more
06-11-2020
09:13 AM
Hi, I was doing a causal mediation analysis using proc CAUSALMED, but I have difficulties interpreting the results. In an analysis we are using only one mediator; the natural direct decomposition shows a precentage of 118.71, the natural indirect path -18.71. In what way can I interpret these results? Thank you in advance!
... View more
05-11-2020
11:29 AM
Your solution works, thank you very much for your help!
... View more
05-11-2020
08:30 AM
Ok, maybe I should start from the beginning. This is the actual problem: 165 data expcog_carolina; /*copy CAROLINA EXP1_coga1d and EXP1_bascocog to workfile*/ 166 set _EXP1_.coga1d; NOTE: Data file _EXP1_.COGA1D.DATA is in a format that is native to another host, or the file encoding does not match the session encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce performance. 167 run; NOTE: There were 13078 observations read from the data set _EXP1_.COGA1D. NOTE: The data set WORK.EXPCOG_CAROLINA has 13078 observations and 186 variables. NOTE: DATA statement used (Total process time): real time 0.22 seconds cpu time 0.18 seconds 169 data expbascog_carolina; 170 set _EXP1_.bascocog; NOTE: Data file _EXP1_.BASCOCOG.DATA is in a format that is native to another host, or the file encoding does not match the session encoding. Cross Environment Data Access will be used, which might require additional CPU resources and might reduce performance. 171 run; ERROR: Some character data was lost during transcoding in the dataset _EXP1_.BASCOCOG. Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding. NOTE: The DATA step has been abnormally terminated. NOTE: The SAS System stopped processing this step because of errors. NOTE: There were 27 observations read from the data set _EXP1_.BASCOCOG. WARNING: The data set WORK.EXPBASCOG_CAROLINA may be incomplete. When this step was stopped there were 27 observations and 156 variables. WARNING: Data set WORK.EXPBASCOG_CAROLINA was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.02 seconds cpu time 0.00 seconds
... View more
05-11-2020
07:56 AM
Thank you for your fast reply. The log shows the following; /* Show the encoding value for the problematic data set */ 137 %let dsn=libref.expbascog_carolina; 138 %let dsid=%sysfunc(open(&dsn,i)); 139 %put &=dsid; DSID=0 140 %put &dsn ENCODING is: %sysfunc(attrc(&dsid,encoding)); WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range. libref.expbascog_carolina ENCODING is: 141 %let rc=%sysfunc(close(&dsid));
... View more
05-11-2020
07:47 AM
Good afternoon, I was trying to merge two datasets into one (one with measurements the other with characteristics for the same observations). However, the datastep was terminated after observation number 27 (there are 13000). The error shown is the following: ERROR: Some character data was lost during transcoding in the dataset _EXP1_.BASCOCOG. Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding. After using: %let dsn=libref.data; %let dsid=%sysfunc(open(&dsn,i)); %put &dsn ENCODING is: %sysfunc(attrc(&dsid,encoding)); ,I got the following WARNING: Argument 1 to function ATTRC referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range. Does someone know how to fix this? I would really be appreciated Thank you in advance, looking forward to hear from you
... View more