03-02-2019
ShufeGuoding
Obsidian | Level 7
Member since
05-25-2012
- 31 Posts
- 11 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by ShufeGuoding
Subject Views Posted 4841 03-02-2019 04:08 AM 652 02-21-2019 09:32 PM 711 02-21-2019 02:21 AM 2558 10-23-2018 08:29 AM 2594 10-21-2018 10:24 PM 2595 10-21-2018 10:17 PM 2636 10-21-2018 02:37 AM 2714 10-15-2018 03:36 AM 2369 10-06-2018 08:55 PM 2434 10-06-2018 10:43 AM -
Activity Feed for ShufeGuoding
- Liked Re: Is not missing for Patrick. 07-03-2021 02:55 AM
- Liked Error: Result of when clause 8 is not same data type as the preceding results for GN0001. 07-03-2021 02:55 AM
- Liked Re: Fill in observations of controls to match value of cases (by panel/group) for N8. 07-02-2021 09:47 PM
- Liked Re: Fill in observations of controls to match value of cases (by panel/group) for novinosrin. 07-02-2021 06:35 PM
- Liked Re: Wrong median survival time in proc lifetest in SAS ondemand for FreelanceReinh. 07-02-2021 03:16 PM
- Liked Re: Error: Numeric format f in put function requires a numeric argument. for Kurt_Bremser. 05-16-2021 09:17 AM
- Liked Re: variable chardate has been defined as both numeric and character for PaigeMiller. 05-16-2021 09:11 AM
- Liked Re: encoding and label for tianerhu. 05-15-2021 10:15 PM
- Liked Re: Indent text in proc odstext HTML for ChrisNZ. 05-15-2021 05:58 AM
- Liked Re: footnote question for Niugg2010. 05-08-2021 03:49 PM
- Posted Number of Columns in a Dataset on SAS Programming. 03-02-2019 04:08 AM
- Posted Re: The way in which procs read data on Statistical Procedures. 02-21-2019 09:32 PM
- Posted The way in which procs read data on Statistical Procedures. 02-21-2019 02:21 AM
- Posted Re: How to mathing current oberservation with next observations to lookup in data step on SAS Programming. 10-23-2018 08:29 AM
- Posted Re: How to mathing current oberservation with next observations to lookup in data step on SAS Programming. 10-21-2018 10:24 PM
- Posted Re: How to mathing current oberservation with next observations to lookup in data step on SAS Programming. 10-21-2018 10:17 PM
- Posted Re: How to mathing current oberservation with next observations to lookup in data step on SAS Programming. 10-21-2018 02:37 AM
- Posted How to mathing current oberservation with next observations to lookup in data step on SAS Programming. 10-15-2018 03:36 AM
- Posted Re: set a dataset many times within a data step on SAS Programming. 10-06-2018 08:55 PM
- Posted Re: set a dataset many times within a data step on SAS Programming. 10-06-2018 10:43 AM
-
Posts I Liked
Subject Likes Author Latest Post 1 2 1 1 2
03-05-2015
09:26 PM
I get it. Thanks!
... View more
03-05-2015
08:57 PM
MLThe following error messages appeared in log window after running of a module in that EXP function was used in IML. ERROR: (execution) Invalid argument to function. count : number of occurrences is 607 operation : EXP at line 3007 column 13 operands : _TEM1013 _TEM1013 1999 rows 1 col (numeric) Dose the error was caused by the too large argument of EXP? How to deal with that error?
... View more
12-21-2014
07:23 PM
I was misleaded by the statements for Loc function in Usg/IML12.1 that read: The loc funciton finds nonzero elements of a matix. .... . Missing values treated as zeros.:smileyconfused:
... View more
12-21-2014
03:32 AM
I get it. Thanks a lot! Steve
... View more
12-20-2014
07:28 PM
Because missing values are treated as zero, Your code seems not work properly. The problem is the same as that I met.
... View more
12-19-2014
02:15 AM
I want to replace missing value in a matrix A with zero and first need to find their locations in the matrix. Since function loc() treats the missing values as zero, how can I use the function to find their locations in A?
... View more
12-17-2014
12:54 AM
How to create my library using 'lib' command in EG5.1?
... View more
11-10-2014
07:35 PM
When i run a optimization subroutine, the log window is full and pops up the message "Windows is full and must be cleared , Slect" , which makes me click the selection cirle very often. Ifi running the following first FILENAME OUT DUMMY '/DEV/NULL'; PROC PRINTTO LOG=OUT; as some people suggest, I will not get the error message when the convergence is not properly achieved. How can i handle that?
... View more
11-08-2014
03:39 AM
I run the code to optimizing loglikelihood like the following in SAS9.2/IML: start ML (x) ; dp=1;x1=2;,x2=3; star ls(a) global(dp, x1,x2); z=SSQ(dp-a[1]#x1-a[2]#x2); return(z); finish LS; x={3 3}; call nlpnrr(rc,rx,"LS",x); .... finish ML; x={0,1}; call nlpnms(rc,xr,"ML",x); there is a error message in log window as following: ERROR: (execution) Matrix has not been set to a value. operation : # at line 1803 column 30 operands : _TEM1001, x1 _TEM1001 1 row 1 col (numeric) 3 x1 0 row 0 col (type ?, size 0) statement : ASSIGN at line 1803 column 17 traceback : module LS at line 1803 column 17 module ML at line 1635 column 1 ERROR: (execution) Matrix has not been set to a value. operation : NLPNRR at line 1686 column 16 operands : *LIT1074, x, , con *LIT1074 1 row 1 col (character, size 2) ls x 1 row 2 cols (numeric) 3 3 con 2 rows 2 cols (numeric) . . . 50 statement : CALL at line 1686 column 16 traceback : module ML at line 1686 column 16 When i use a Global clause in Start ML(x) as Start ML(x) Global(dp, x1,x2); there is not error message. My question is : Since x1 and x2 are defined with global clause in moldule ML before model LS, they are global variables for module LS, Why error message say that? What's the function of the Global clause in "Start ML(x) Global (dp, x1,x2);" Thanks alot!
... View more
10-27-2013
03:19 AM
I want to run proc SSM many times using different parameter values and determine the best . The model performance is evaluated based on likelihoods that are printed on screen as the part of output after proc ssm complete it's running properly. How can i save the likelihood data on the screen as a data file to compare them? Thanks alot !
... View more
06-24-2013
02:59 AM
I wan to split a data set with variables lpt1 -lpt9 and generate a new varialbe in new data sets. Run the following code %macro test; %do i=1 %to 9; data test&i; keep lpd&i; fcod=&i; run; %end; %mend; %test; There is no variable fcod in new data set. why? Another question: I wand to rename variables in data set test1-test9 and run the following code ; %macro rename; %do i=1 %to 9; data test&i; set test&i; rename LPT&i=lpt; run; %end; %mend; %rename; SAS gives the following error message "WARNING: The variable lpt1 in the DROP, KEEP, or RENAME list has never been referenced" Whate's the mistake i made?
... View more
04-20-2013
10:02 AM
There are parameters as many as the samples in models with latent variable such as state space model. How to set the initial values of latent variable treated as paremters? I try to use macro variable to set the inital valuses. My question is : Variable can be used in PARMS statements? For example: PARMS h x; Thanks ! Steve from SHUFE in Shanghai.
... View more
03-03-2013
03:54 AM
the same as the title
... View more
07-12-2012
04:31 AM
How to get the median and other quantiles of data in the same row of several vectors using IML functions?
... View more
- « Previous
-
- 1
- 2
- Next »