Quantcast
Browsing all 310 articles
Browse latest View live

Hausman statistic cannot be calculated

Hi folks, I tried running a panel procedure (RANTWO vcomp=fb), but the log shows the following error message: "Hausman statistic cannot be calculated because different variables were dropped in the...

View Article


Image may be NSFW.
Clik here to view.

Proc transpose help please

Hi I have a patient data which is completely in Rows. I am to transpose the data. the data is somthing like this. please see the attached file. I wrote a code which is as follows. Code: proc transpose...

View Article


Image may be NSFW.
Clik here to view.

Need help in understanding the output of SAS code!

Hi, I help help in understanding the o/p of the SAS tabulate code: Example Here again are the boat data containing the name of each boat, its home port, whether it is a sailing or power vessel, the...

View Article

VAR Granger Causality using Proc Varmax

Hi, I am trying to do VAR Granger Causality using Proc Varmax by the below code: /*--- Causality Testing ---*/ proc varmax data=grunfeld; model y1-y3 = x1 x2 / p=1 noprint; causal group1=(x1)...

View Article

SAS operations research

It appears to me that SAS stats, SAS ETS (time series), and SAS QC (quality models) does not run operations research such as queing models, markov chaings, decision trees etc. I wondered if anyone can...

View Article


ARIMA and non-stationary ts

Hello everyone! Can somebody suggests me, what you are doing in case that you have data table with 2 variables - date and for example number of something (500 days) and you want to predict and forecast...

View Article

How to convert character datetime to numeric datetime?

I have a file in Excel that I use to import the data into SAS. The format of the data in the Excel is this: 28-05-2014 10:21:20 27-05-2014 14:22:26 27-05-2014 11:36:33 27-05-2014 17:14:55 27-05-2014...

View Article

Need help finding logic or coding errors

Hi, I'm in urgent need of some help troubleshooting this code for any errors or problems? Any assistance would be greatly appreciated! Thanks. SAS EXAMPLE TO TROUBLESHOOT This code uses SAS to select...

View Article


SAS versus R

Quote: In study of the statistical packages, simulation from probability distributions is one of the important aspects. This paper is based on simulation study from Bernoulli distribution conducted by...

View Article


Dunn index and Davies-Bouldin index in Clustering

Does SAS calculate Dunn Index or Davies-Bouldin Index? It relates to validation of different cluster algorithms... Thanks for any suggestions.

View Article

Merging data with SAS

Hello, I would like to merge two data tables : ID (unique) DATE COLOR STATE TYPE 165198165 09/20/1999 Blue DC SMALL 156189650 02/12/2003 Red Florida SMALL 100068741 12/01/2011 Red DC AVERAGE 210654100...

View Article

Biased sampling in logistic regression

Hi, I have 100,000 observations and my dependent variable is binary. I need to run logistic regression but my bad rate is too low(less than 1%). If i build my model based on such low bads, model could...

View Article

Reverse optimization model - possible in proc optmodel?

Hi gang, tough question here that I cannot figure out... I have a sample of n0 subjects, m0 are events, n0-m0 are non events. I have three continuous predictors, X1, X2, and X3, for the event. Is it...

View Article


SAS non-parametric results.

I have spent a lot of time looking, but I can not find this. When SAS produces p values for non-parametric test (Kruscal Wallis, Wilcoxon, Friedman etc) is it reporting one or two tailed results? My...

View Article

Test statement in Proc Logistic

I'm not very familiar with the test statement in proc logistic, it seems straight forward but I keep receiving an error message. For example, for the test statement Code: proc logistic data=data; class...

View Article


SAS help regarding putting observation Together. Please help

Here is the raw data: name var1 var2 var3 startdate enddate jack x y z 01jan2012 01jan2012 jack x y z 02jan2012 02jan2012 jack x y z 03jan2012 03jan2012 jack x y z 04jan2012 04jan2012 jack x y z...

View Article

Proc Logistic Contrasts with Interaction

I'm having difficulty figuring out the appropriate contrasts including an interaction term. In my model: Code: proc logistic data=data; class var1 var2; y = var1 var2 var1*var2 / link=glogit; I would...

View Article


Merging three SAS table

Hello, I would like to merge 3 sas tables in a "special" way. The first table looks like this : Class Color Size Coef1 C1 Blue Big 0.0476 C1 Red Big 0.123 C1 Blue Small 0.0121 ... C3 Red Big 0.0523 C3...

View Article

Binary Logistic Regression Diagnostics

Could anyone please refer me to a web page or text on doing logistic regression diagnostics in SAS? I cant say I am expert in logistic regression, found only the link below but not sure if it covers...

View Article

Need ideas to modernize using SAS my data cleaning approach

Hi, I have been given various large datasets that require a lot of time and effort cleaning incorrect codes (from a scanner that did not read the data correctly). I have completed the first dataset and...

View Article
Browsing all 310 articles
Browse latest View live