Datastep question All; I have this dataset patno visit vsdt 1 1 10OCT2009 1 2 14OCT2009 1 3 12OCT2009 2 1 11SEP2009 2 2 13SEP2009 2 3 14SEP2009 3 1 21MAY2009 3 2 22MAY2009 3 3 20MAY2009 3 4 23MAY2009 ... 15 Apr 2010 12:30
Please help! ----SAS IML for Newton Iteration, Weibull distribution... There is something wrong with the following code. But I don't know where the error is. The beta1 and beta2 value calculated from the code do not match with the values got from other software packages and procedures. Please help me with this. Thanks! options charcode nocenter linesize=80; data presiden... 14 Apr 2010 15:33
Help w/ Difference-in-Difference Hello, I am trying to estimate a difference in difference regression in SAS but am not having much luck. I was hoping someone could advise me on how to code for the variables I am using (I know how to interpret but not run:( ) My study is on the effects of welfare reform on labor force participation and hours... 14 Apr 2010 14:26
Out of memory Error for Unstructured correlation structure in GEE HI there Does anyone know what to do when confronted with an "out of memory" error? This happened when trying to run a pooled logistic regression GEE model with an unstructured correlation matrix. Note that the same model using either the independent or exchangeable correlation matrix structure doesn't have this ... 14 Apr 2010 13:18
Proc mianalyze and nonmissing data? Hi, I have an issue with one of my variables in my imputed dataset. It seems it wasn't missing when I imputed it because I keep getting the message: "Between-imputation variance is zero for variable" when I try to combine analyses using proc mianalyze. First of all, what does this error mean? Second, I just n... 15 Apr 2010 10:15
count for certain criteria. data have; input subjid day val1 val2 count; cards; 1 -8 34 35 1 1 -7 34 35 2 1 -6 34 35 3 1 -5 . . 4 1 -4 34 35 5 1 -3 . . 6 1 -2 . . 7 1 -1 34 35 8 2 -2 30 31 1 2 -1 30 31 2 3 -8 24 23 1 3 -7 24 23 2 3 -6 24 23 3 3 -5 24 23 4 3 -4 24 23 5 3 -3 24 23 6 3 -2 24 23 7 3 -1 24 23 8 ; run; data w... 15 Apr 2010 06:56
Infile error I'm trying to import (csv) department,cost,billedDate,billedYear American Art,0,, American Art,0,10-Mar,2010 American Art,0,9-Nov,2009 via data Photography; infile 'photography.csv' dsd; input department $1-38 cost 40-47 billedDate 49-55 billedYear 57-61; run; quit; But I keep getting: Invalid dat... 14 Apr 2010 12:08
How to find t-stats Hi, How do I find a t-stat of a particular variable? defined by mean/sqrt(sdev/n-1) --- news://freenews.netfront.net/ - complaints: news(a)netfront.net --- ... 14 Apr 2010 13:18
How to declare two arrays and loop in both of them? Hi, I want to define a bunch of variables: japanpopulation=something someting japanarea=something someting usapopulation=something someting usaarea=something someting How do I loop inside two loops: 1.[japan,usa] 2.[population,area] And define new variable names based on the cartesian product of the two arr... 16 Apr 2010 21:47
SAS write to word table question Hi friend, I experience a problem which I try to write from SAS to word table. I have program as follow: (note: test is word document - could be test.doc; a1 is bookmark in word table. I try to insert one column of work.test data into bookmarked table ) options noxwait noxsync; filename testit dde 'win... 18 Apr 2010 23:02 |