06-16-2020
invalid
Fluorite | Level 6
Member since
11-14-2017
- 11 Posts
- 0 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by invalid
Subject Views Posted 2094 05-13-2020 07:34 AM 2292 05-07-2020 02:17 PM 1005 12-27-2019 05:17 AM 1123 12-16-2019 08:17 AM 1030 03-18-2019 01:11 PM 1109 03-14-2019 05:22 AM 1150 03-13-2019 09:23 AM 1825 01-03-2018 10:06 AM 2333 11-17-2017 08:07 AM 2438 11-14-2017 07:46 AM -
Activity Feed for invalid
- Posted Re: Copy macrovar from one server to another (sasapp <-> local) on SAS Enterprise Guide. 05-13-2020 07:34 AM
- Posted Copy macrovar from one server to another (sasapp <-> local) on SAS Enterprise Guide. 05-07-2020 02:17 PM
- Posted Re: Library navigation with keyboard letters on SAS Enterprise Guide. 12-27-2019 05:17 AM
- Posted Library navigation with keyboard letters on SAS Enterprise Guide. 12-16-2019 08:17 AM
- Posted Re: Solve non-linear equation system on SAS Procedures. 03-18-2019 01:11 PM
- Posted Re: Solve non-linear equation system on SAS Procedures. 03-14-2019 05:22 AM
- Posted Solve non-linear equation system on SAS Procedures. 03-13-2019 09:23 AM
- Posted Javascript visualisations (D3, google charts etc) in SAS EG browser not working? on SAS Enterprise Guide. 01-03-2018 10:06 AM
- Tagged Javascript visualisations (D3, google charts etc) in SAS EG browser not working? on SAS Enterprise Guide. 01-03-2018 10:06 AM
- Posted Re: How to get GLM Parameter Estimates on inverse link scale on Statistical Procedures. 11-17-2017 08:07 AM
- Tagged How to get GLM Parameter Estimates on inverse link scale on Statistical Procedures. 11-14-2017 08:42 AM
- Posted How to get GLM Parameter Estimates on inverse link scale on Statistical Procedures. 11-14-2017 07:46 AM
05-13-2020
07:34 AM
Thanks all for the input. If the code fails i don't want large file to be orphaned in the users personal folder. That is why i want to transfer it to work directly. It seems the best solution is: On local write macrovars with path to Local work to file Transfer file to SASapp (make sure it's to somewhere where all users have access, ie a personal folder) Read in file with macrovar on SASapp Remove file on SASapp to clean up their personal folder Transfer large data file from SASapp to Local PC work
... View more
05-07-2020
02:17 PM
In EG i can per program choose either Local (windows machine with SAS EG) or SASapp (unix server with SAS running) to run the sas code. I can use File Copy task to copy a file between the two. But then I need to "hardcode" the same path in TWO programs (one running on SASApp and one running on local). If the project is shared between users i must make sure all users have access to that folder to transfer a file SASapp <-> local. To get around this i want it to be dynamic. Ideally i would like to copy a dataset between SASapp WORK and Local WORK, (ie %sysfunc(pathname(work,L)) evaluated on respective machine). But then SASApp need to know the path to WORK on the Local machine. Can i set a macro variable on SASApp and then transfer that value to the local session somehow?
... View more
12-27-2019
05:17 AM
For some reason it started to work again this week. I didn't change anything so no clue why. I run EG via remote desktop so that might be a factor....? Thanks anyway! PS great tip, didn't know i could continue typing!
... View more
12-16-2019
08:17 AM
Hi! I am using SAS EG 8.1. Until recently when I had focus in the "server pane" and pressed "W" it would jump to the first library with a name starting with W (WORK). Since a few weeks back this in no longer the case. I can still navigate with arrow keys, but jumping between libraries with alphabetic keys no longer work. Any idea why this might be the case? It still works for my colluegues so it seems like it would be some setting I have changed. Thanks!
... View more
03-18-2019
01:11 PM
I've tried solving this using PROC MODEL. But I can't figure it out. Any pointers?
... View more
03-14-2019
05:22 AM
I have SAS/ETS (PROC MODEL) SAS/STAT (PROC NLIN) The other two I don't have.
... View more
03-13-2019
09:23 AM
Hi! I have a data set with a column f with many rows I want to find a value b so that when taking sum over all i c1 = SUM_i(MAX(b*f_i,c2)) c1 and c2 are constants. Here is example data (in reality I have much more than 100 rows) %let c1 = 40000;
%let c2 = 100;
data mydata;
call streaminit(123); /* set random number seed */
do i = 1 to 100;
f=rand("Lognormal");
output;
end;
run; By exporting mydata to excel and using goal seek i've found that b=245 solves my example (see attachment). But I cant figure out how to find b using SAS. I think it should be doable using proc model? I think i am on version 9.4
... View more
01-03-2018
10:06 AM
Hi! When i try to use Google Charts to make a Sankey Diagram in SAS eg i cant view it in the "SAS EG browser". If I right click and choose "open with windows default" then it works fine in Firefox. Am I doing something wrong or are JS visualisations such as google charts not supported by the SAS eg ouput viewer browser? My code: filename _webout "out2.html";
data _null_;
file _webout;
put ' <html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load("current", {"packages":["sankey"]});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn("string", "From");
data.addColumn("string", "To");
data.addColumn("number", "Weight");
data.addRows([
[ "A", "X", 5 ],
[ "A", "Y", 7 ],
[ "A", "Z", 0 ],
[ "B", "X", 2 ],
[ "B", "Y", 9 ],
[ "B", "Z", 4 ]
]);
var options = {
width: 600,
};
var chart = new google.visualization.Sankey(document.getElementById("sankey_basic"));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="sankey_basic" style="width: 900px; height: 300px;"></div>
</body>
</html>'
;;;;;;;
run; The error I get in SAS EG when viewing the ouput there: Best regards
... View more
- Tags:
- google charts
11-17-2017
08:07 AM
Hi! Thank you for your reply. You've made me realize a mistake. You're right that individual estimates on the inverse-linked scale lack interpretive value for some of the link functions. If I have log-link then the inverse can be interpreted as a multiplicative factors since exp(b1*x1+b2*x2+...) = g1^x1 * g2^x2 * ... where g1... are the parameters on reverse link scale. But for my Zero estimates (logit-link) it does not make sense to look at individual estimates on the inverse-linked scale. I need to as you say apply the inverse to the complete linear predictor.
... View more
11-14-2017
07:46 AM
The command ( proc genmod or proc hpgenselect ) output the parameter estimates on the link scale. Is there a way to easily transform them to the inverse link scale? Some options have the ILINK flag but the I cant seem to get the "(Zero)ParameterEstimates" inversed without having to write code that is different depending on what link function is used. This is especially tricky for zero inflated models and when switching back and forth between genmod and hpgenselect. Is there any easier way to get the parameter estimates on inverse link scale?
... View more
- Tags:
- glm