In order for the SAS ETS procedures to work there should be a date variable in the data set. This variable must be equally spaced. If there are missing values we should place the ".". If there are non working days e.g. weekends then we should not include any dates that correspond to...
I'm a new member and I need your help!!!
I have the following macro
( lib, outfile, file,var, value=);
OPTIONS NOTES SOURCE SOURCE2 MPRINT MLOGIC MERROR ;
set data = &lib..&file;
but when I...
I have a large SAS code which I need to translate to MATLAB code. So I have two questions.
Is there any easy way of porting SAS code to MATLAB?
As the chances of the prior question is slim; What is the easiest way of getting an overview of the syntax and commands of SAS. Is there...
library work 'c:\documents and settings\desktop\s'
infile 'C:\Documents and Settings\Desktop\sas.prn' firstobs=2;
input subject salary job jobtitle $ yrsatjob gender age manager $;
I cannot get this code to read in an excel sheet into SAS. I am saving it as a space...
Here is my code. It is to graph the results of a loess curve using proc sgplot
title1 "Loess Curve of Loudness Ratings by Ear";
proc sgplot data=tms514.first;
scatter x=s_count y=log_rat/group=ipsi_con;
xaxis label='TMS Session in Time Order' grid values=(1 to 26 by 1);
Sas programmer needed for a 12 month contract based in Germany. Previous pharmaceutical experience required, the client is an international pharmaceutical compant offering competitive rates. Referral fee available for anyone we place. If this maybe on interest please send your CV to...
I am just getting started on SAS, but cannot even get past the first step in my tutorial :(
Excel-Import does not work, so i am trying to import a .csv file.
It does import the data, the only problem is that instead of my dataset looking like this
var1 var2 var3
I have a query regarding how to analyze a cluster randomized trial. in the trial, even though the unit of randomization is the cluster, unit of analysis is the patient. The study had clinics that were randomized as either intervention or no intervention. so patients in intevention...
I've been trying to run PROC MDC in SAS for several days and always get the
same error message, please help me!
Basically, my goal is to run a nested logit model for a dependent variable
called "pleasantness", with, for the moment, three explanatory dummy
variables (and maybe more...
I would like some help with selecting the appropriate model for a nested ANOVA using SAS. I have a data set with d15n as the response variable and year, grid and station as class variables. I sampled over two years and sampled from in the same three grids in each year, but in each...
Hello all! :wave: Thanks for any help you might have.
I've got a dataset with repeated measures for each medical ICD-9 code, and I need to make it such that the data is one row per person.
For example (this isn't actually my data):
What I have now:
I am trying to run firm-year specific regressions in SAS to get to an expected value for industry-year. However, I need to exclude the i'th observation. For example, if there are 20 observations for 1995 for a specific industry (IND), the regression for obs 1 would be based on obs...
I am an amateur SAS programmer. I just encountered a problem using the Proc SQL statement within a macro. I am using the Proc SQL to connect to the orcle database and pull out a value from a table. I am posting the code that I have written below. Any help will be greatly appreciated...
I'm running PROC COUNTREG for count data (n~6800) and that is fine. But when I try to run the model for subgroups with the "by" option, one of the two categories shows nulls for the _Alpha parameter, and the log says the Hessian matrix is singular. The variables do not have high collinearity (I...
Hi all! :wave: In advance: thank you to all those who take the time to even read this post, as well as answer it:
Additional to my sunfish study (I talked about in previous posts) I am also conducting a restoration project dealing with treatment and control sites over multiple years.