f



Re: Problem with dictionary.tables #4

Antje;

Proc sql noPrint ;
    Select
        catT( LibName , '.' , MemName ) into :datasets separated by " "
        from dictionary.Tables
        where ( LibName eq 'PERM' )
    ;
Quit ;
Data result ;
    Set &datasets ;
Run ;

Ed

Edward Heaton, SAS Senior Systems Analyst,
Westat (An Employee-Owned Research Corporation),
1600 Research Boulevard, RW-4541, Rockville, MD 20850-3195
Voice: (301) 610-4818                  Fax: (301) 294-3879
mailto:EdHeaton@Westat.com             http://www.Westat.com





-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of antje.schuele@googlemail.com
Sent: Monday, June 26, 2006 11:09 AM
To: sas-l@uga.edu
Subject: Problem with dictionary.tables


Dear Newsgroup,

I'd like to set a few tables together. That's why I read out my needed
tables with the help of dictionary.tables:

Here's my code:

proc sql noprint;
        select memname into :dsn separated by " "
        from dictionary.tables where libname = "PERM";
quit;

data result;
        set perm.&dsn;
run;

Now my problem: The data set result only takes the first table from the
library perm, the other tables are taken from the work library. Is there
a possibility to tell SAS that all tables that are set in result are in
the library "perm"?

Thank for any help.

Antje
0
EdHeaton (665)
6/26/2006 8:47:07 PM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
359 Views

Similar Articles

[PageSpeed] 30

Reply:

Similar Artilces:

Re: Problem with dictionary.tables
Antje, Try following code see if it works: proc sql noprint; select "perm."||memname into :dsn separated by " " from dictionary.tables where libname = "PERM"; quit; data result; set perm.&dsn; run; YU On 6/26/06, antje.schuele@googlemail.com <antje.schuele@googlemail.com> wrote: > > Dear Newsgroup, > > I'd like to set a few tables together. That's why I read out my needed > tables with the help of dictionary.tables: > > Here's my code: > > proc sql noprint; > select memname into :dsn separated by " " > from dictionary.tables where libname = "PERM"; > quit; > > data result; > set perm.&dsn; > run; > > Now my problem: The data set result only takes the first table from the > library perm, the other tables are taken from the work library. Is > there a possibility to tell SAS that all tables that are set in result > are in the library "perm"? > > Thank for any help. > > Antje > ...

Re: Simple SAS problem #4
JK Try the following data have; input sub grp $ num; cards; 1 A 12 1 A 54 1 A 67 1 A 88 1 B 1 1 B 77 1 B 98 1 B 105 Data wanted; set have; by sub grp; retain lastval 0; new_num = num + lastval; if last.grp then lastval = num; * drop lastval; run; Proc Print; run; Nat Wooding Environmental Specialist III Dominion, Environmental Biology 4111 Castlewood Rd Richmond, VA 23234 Phone:804-271-5313, Fax: 804-271-2977 sas geeks <sasgeeks.jk@GMAI L.COM> To Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU Discussion" cc <SAS-L@LISTSERV.U GA.EDU> Subject Simple SAS problem 09/23/2008 11:47 AM Please respond to sas geeks <sasgeeks.jk@GMAI L.COM> Hi, I have the following data data have; input sub grp $ num; cards; sub grp num 1 A 12 1 A 54 1 A 67 1 A 88 1 B 1 1 B 77 1 B 98 1 B 105 run; I need the following output sub grp num new_num 1 A ...

Re: Lookup Table in SAS #4
hi ... and one more idea ... given data sets a and b data a; input values : $1. @@; datalines; a b c d e ; run; data b; input values : $1. data1 data2 : $ 10.; datalines; b 1 something x 2 random k 3 new ; run; * a tweak of Patrick's hash solution; data c; declare hash h(dataset: 'a'); h.defineKey('values'); h.defineDone(); do until (lastb); set b end=lastb; flag = (h.find() eq 0); output; end; stop; run; -- Mike Zdeb U@Albany School of Public Health One University Place Rensselaer, New York 12144-3456 P/518-402-6479 F/630-604-1475 > Hello, > > Suppose I have dataset called "Lookup_SAS" that has the following values > with 1 variable called values > > values > -------- > a > b > c > d > e > > > I have another dataset with multiple variables with another column called > values also called "data1" > > values data1 data 2 > --------------------------------- > b 1 something > x 2 random > k 3 new > > > How do I create a new dataset that compares my first dataset with the second > to product a flag with the following results: > > values data1 data 2 flag > ----------------------------------------------------------------- > b 1 somet...

Re: SAS Date problem #4
Try date = input(put(date,8.),mmddyy8.); On Sat, 1 May 2004 20:04:39 GMT, Giulio Belrango <giuliobelrango@ROGERS.COM> wrote: >I work in an IBM Mainframe OS390 environment. >I'm reading a 4 byte field that contains a date in binary format ie PIB4. or >PIC 9(8) comp, the date is 020041201 ie CCYYMMDD. I'm trying to convert this >to a SAS date, thus allowing me to use various builtin SAS date functions. I >haven't had any luck doing this, does anybody have any suggestions. > >Thanks... ...

Re: sas isodatetime problem #4
Hi Ankur, what I'd do in that case: 1. read the first line to get the names in one datastep, bring the names and number of the variables to macro-variables of the form &n1, &n2, &n3... 2. build the datastep dynamicly with that informations to bring the data to char variables, perhaps with a leading "c". 3. add a analyzing step to find out what kind of valueses you have. E.g. the variable can be converted to num -> do it, if not, use char. If the variable begins with something which could be a date like "2005-06-23", use a date-variable, if it has a traili...

Re: SAS concatenation problem #4
It may be because the first file (baseball1) has this variable defined with a length of 1. If all data sets have the same variable names then the first data set determines the length for the resultant data set. You can use metadata to set the length before the set statement. It goes without saying that data types cannot differ. proc sql noprint ; select distinct (case when upcase(type) = "CHAR" then trim(name)||" "||"$"||trim(put(max(length),best.-l)) when upcase(type) = "NUM" then trim(name)||" "...

Re: Problem with dictionary.tables #3
Antje, I see you have been given a couple of approaches to solving your problem. Let me offer a suggestion that will help you understand what is going on. I almost always display the value of the SQL generated macro variable in the log, particularly during development, so I can check my assumptions (and shaky SQL) against what SAS is really doing. Add this line of code between the PROC SQL and DATA steps: %put #### dsn=&dsn; This will show you what is in &dsn. You will see that &dsn does indeed list the data set names but not the librefs. So if you had data sets PERM.A, PERM.B, PERM.C, then &dsn has the value "A B C". HTH, Clint -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of antje.schuele@googlemail.com Sent: Monday, June 26, 2006 11:09 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Problem with dictionary.tables Dear Newsgroup, I'd like to set a few tables together. That's why I read out my needed tables with the help of dictionary.tables: Here's my code: proc sql noprint; select memname into :dsn separated by " " from dictionary.tables where libname = "PERM"; quit; data result; set perm.&dsn; run; Now my problem: The data set result only takes the first table from the library perm, the other tables are taken from the work library. Is there a possibility to tell SAS that all tables that are set in result are in the library "perm&...

Re: SAS Problem #4 665347
Howard Schreier replied to Dean Edwards: >On Fri, 30 Apr 2004 05:13:05 +1200, Dean Edwards <dean@DREAMNET.CO.NZ> >wrote: > > >"Thank you to all the people with your helpful replies to my earlier SAS >problem. > >However "SAS Problem" is an extremely vague and uninformative Subject >header. > > > > >My first problem was to get the target points = (number of households for >each area). > > > >and calculate the number of households for 26 areas that earn say $12,824 >or less for example. This has been solved. > &g...

Re: SAS Problem #4 1553149
dean@DREAMNET.CO.NZ wrote: >I have a SAS problem and hope someone can help. >I want to create deciles (1-10) based on a known $dollar value for a city >and then compare that decile $ value against other cities and see which >cities are richer or poorer in comparison. >I know the decile $dollar values for city X. (1-10) > >see proc listing below for example.I am trying to keep things simple so the >numbers are made up. > >City X (is not shown below in the listing) and I am only using one decile >in the exmaple below. Decile 1 has a $ dollar value of $12,281 and I know >all the decile values for City X and I now want compare other areas. In the >proc listing below in income 5 the count is the number of people which is >5,000 people earning an income between $10,001-$15,000. My TARGET NUMBER >populaton is 12,500 people who live in area 1 earn $12,281 or less and >should be assigned to Decile 1. In area 2 lets pretened there are sparse >areas andis no incomes for 1-3 my lagfreg is incorrect for Decile 1 etc. > >I see problems with my lagfreq statement. How do I stop lagfreq from >rolling over into area 2 and into other subsequent areas and also where >there is no income in an area. I need lagfreg unless you can think of >something else to use for my target populaton. > >Why do I need lagfreq? That comes to my second tricky problem I want to >allocate the taget midpoint of a population to fall equally...

Re: SAS install problem #4
much fun for doing this! It's sometimes not really easy! There are some tools in the shareware scene, which do that perfectly. I did it with http://www.litepc.com/ Refer there if there are any problems. Problems will occure, if there was any of the beta releases of IE7 installed. No matter, if the final is installed afterwords or not - you don't get it uninstalled. Using litepc you can uninstall EVERYTHING! One tipp more: do not uninstall too much! The MS programs are linked, e.g if you uninstall OUTLOOK EXPRESS also OUTLOOK will not work any more! Gerhard On Fri, 25 May 2007 09:46:51 -0400, F. J. Kelley <jkelley@UGA.EDU> wrote: >thanks David -- I think that is _exactly_ the problem. dept tech support had to reimage the machine but had not yet installed SAS. They checked and it is running IE7; I forwarded them your note and they will go over it (and presumably uninstall IE7). >geeze, it this what to expect for the summer? >seriously, many thanks! >--Joe > >---- Original message ---- >>Date: Fri, 25 May 2007 11:36:59 +1000 >>From: "Johnson, David" <David.Johnson@CBA.COM.AU> >>Subject: Re: [SAS-L] SAS install problem >>To: SAS-L@LISTSERV.UGA.EDU >> >>Joe, >> >>I know time is well against you now on this, and this advice may come >>too late. >> >> >>I searched the MSDN blogs and came up with this entry: >>http://blogs.msdn.com/ie/archive/2006/06/2...

Re: Problem with dictionary.tables #2
proc sql noprint; select 'Perm.'||memname into :dsn separated by " " from dictionary.tables where libname = "PERM"; quit; data result; set &dsn ; run; Toby Dunn From: "antje.schuele@googlemail.com" <antje.schuele@GOOGLEMAIL.COM> Reply-To: "antje.schuele@googlemail.com" <antje.schuele@GOOGLEMAIL.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Problem with dictionary.tables Date: Mon, 26 Jun 2006 08:09:13 -0700 Dear Newsgroup, I'd like to set a few tables together. That's why I read out my needed tables with the help of dictionary.tables: Here's my code: proc sql noprint; select memname into :dsn separated by " " from dictionary.tables where libname = "PERM"; quit; data result; set perm.&dsn; run; Now my problem: The data set result only takes the first table from the library perm, the other tables are taken from the work library. Is there a possibility to tell SAS that all tables that are set in result are in the library "perm"? Thank for any help. Antje ...

Re: Summary: Re: Table combining tables? PROC FREQ or maybe #4
Problem solved! Thanks all! Howard wrote > >>NOTE: Numeric variables in the input data set will be converted to >character in the output data >> set. > >********** > >This is suspicious. Are some of the V3_ variables character rather than numeric? > Yes, there were some. And when I re-ran it with just the numeric variables, it worked perfectly. Thanks again! Peter Peter L. Flom, PhD Statistical Consultant www DOT peterflom DOT com ...

Re: SAS date format problem #4
Toby Dunn provides the classic solution for converting a numeric variable holding a date in a visual layout, to the sas date standard (numeric number of days since 1Jan1960). The method converts the visual number date into characters. Then it uses a date informat converting back to a date (which is numeric). I've heard that numeric to character and character to numeric conversions are slow compared with purely numeric manipulation. Has anyone compared this with examples on SAS-L ? This numeric manipulation is, like : * oldDate = 000322 ; *example ; dd = mod( oldDate, 100 ); yy = int( oldDate/ 1e4 ); mm = int( oldDate/ 100 - yy*100 ); sasDate = mdy( mm, dd, yy ) format sasDate date9. ; drop dd mm yy ; The syntax is longer than Toby's, but is it faster? YYMV, but across less than 1000 iterations on mine (30-month old toshiba) the format method is equal or faster. At 1000 iterations in a do loop (to reduce any disk-I/O effect), the format handling method seems slower. At volumes like 10thousand to 10million iterations, the difference is marginal: The "numeric" method is approx. 15%-20% faster than "formats". considering that the time to handle that date conversion would represent a small part of the whole processing, I think that the one statement with put() and input() functions, would be a lot more comprehensible for support than the four statements. (OK the 4 statements could be reduced to one, but at the cost of more ...

Re: a nasty SAS merge problem #4
alex.gould@STANFORD.EDU wrote: >Jairaj's first suggestion is one that I tried a bunch of times earlier in >the project but the problem is that this creates too narrow a merged >dataset -- one in which there are 1140 observations (same number as in >dataset A) but just the combined number of variables. Hmmm. I don't see that at all. Jairaj looke like he was providing a sound solution. Perhaps you ought to show the exact code you used to end up with this problem. By the way, 'narrow' usually means few variables, not few records. >So I'll answer Howard'...

Re: PROC EXPORT problem to sas #4
Art I have no idea of the reasons why but if you look at the log in my test code, I, too, received a message saying that my work file that I had written in an earlier data step and that I was writing to Excel had been created. Nat Nat Wooding Environmental Specialist III Dominion, Environmental Biology 4111 Castlewood Rd Richmond, VA 23234 Phone:804-271-5313, Fax: 804-271-2977 Arthur Tabachneck <art297@NETSCAPE. NET> To Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU Discussion" cc <SAS-L@LISTSERV.U GA.EDU> Subject Re: PROC EXPORT problem to sas 02/13/2008 07:29 PM Please respond to Arthur Tabachneck <art297@NETSCAPE. NET> Hopefully, Richard's comments won't be overlooked by my post, as they may constitute the information that the original poster needs. What I am hoping is that a birdie can provide the answer to my question, below. Like others, I ran a test scenario under both conditions, i.e., whether a DBMS statement is included or not. Both scenarios ran but, in both cases, I got the following results: 2946 PROC EXPORT DATA = work.test 2947 DBMS=excel 2948 ...

Re: Problem to read in date to SAS #4
Good point howard I missed the fact tha she was processing a text file. Toby Dunn When everything is coming at you all at once, your in the wrong lane. A truly happy person is someone who can smile and enjoy the scenery on a detour. From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM> Reply-To: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM> To: SAS-L@LISTSERV.UGA.EDU Subject: Re: Problem to read in date to SAS Date: Mon, 16 Oct 2006 17:46:28 -0400 On Mon, 16 Oct 2006 19:03:40 +0000, toby dunn <tobydunn@HOTMAIL.COM> wrote: >Sara , > >Not too intuitive but my brain doesnt seem to want to get out of first gear >since lunch. > >Data _Null_ ; >Text = 'Monday, January 12, 2006' ; >Date = Input( Compress( Scan( Scan( Text , 2 , ',' ) , 2 , ' ' ) || > Substr( Scan( Scan( Text , 2 , ',' ) , 1 , ' ' ) , 1 >, 3 ) || > Scan( Text , 3 , ',' ) ) , Date9. ) ; > >Put Text= Date= Date= Date9. ; >Run ; Since Sara/Sarah said that she is processing a text file, why not let the INPUT statement do part of the work? data _null_; input @ ',' month : $3. day : $2. year : $4. ; date = input(day||month||year,date9.); put _all_ date=date9.; cards; Monday, Janauary 03, 2001 ; Result: month=Jan day=03 year=2001 date=14978 _ERR...

Re: SAS Programming With Dates -Problem #4
Still no explanation of the second field. However, it turns out that its values are unformatted SAS dates falling in the indicated months. In other words, we don't need the explicit month field, because it can be derived. Here's one way to solve the problem. First load the test data: data have; input id1 date month $ id2 x y; cards; 31806 15538 2002JUL 1339 303 0 [snip] 33870 15166 2001JUL 1254 20 20 ; Now replace the character variable MONTH with a numeric one: data fixed; set have(drop = month); month = intnx('month',date,0); format date date9. month monyy7.; run; Next, generate a data set spanning all required months for each ID pair: data all; set fixed (keep = id1 id2 month); retain x y 0; by id1 id2; if first.id2; do until (month > '01apr2005'd); output; month = intnx('month',month,1); end; run; Note that X and Y are zero-valued throughout. Finally, drop in the known values: data wouldlike; update all fixed; by id1 id2 month; run; On Wed, 11 May 2005 13:04:20 -0500, dmka <djrk0003@COMCAST.NET> wrote: >For the new months created, the last two variables below should take a value >of Zero. The Third variable should maintain their values for each accountid. > >Thanks, >----- Original Message ----- >From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM> >To: <SAS-L@LISTSERV.UGA.EDU&...

Re: SAS web site problems? #4
I just thought I'd do another check on this, as we are continuing to have sporadic problems here (notably this morning). Our network folks are currently of the opinion that the problem is at the SAS end (they seem to be dropping) rather than here. I'll see if I can check with SAS Tech Support or webmaster as well. Thanks! Mike > -----Original Message----- > From: Mike Rhoads =20 > Sent: Wednesday, February 13, 2008 11:38 AM > To: SAS-L@listserv.uga.edu > Subject: SAS web site problems? >=20 > Is anyone else having major difficulty reaching support.sas.com and/or > www.sas.com this morning? >=20 > Mike Rhoads > Westat > RhoadsM1@Westat.com=20 >=20 ...

Re: SAS/Intrnet image problem #4
Ken, First, apologies for the delay in responding. Been away for a few days and it has taken me a while to catch-up enough so I could look at SAS-L. I assume that when you run the first program the generates the URL with the replay link, that the graph appears as a bad image link? If so, I suspect there is some problem with either how the graph was created. Or in how the replay. The first suggestions I would make would be for you to run the first program with _debug=128 so you can see the log to verify that the graph was indeed created and was saved in the catalog that the replay program is using. If that turns out to look right, then the next thing to try is to run the URL for the image directly in your browser. Just copy it by doing a view source and then adding the server name. When you do that, add _debug=128 to see the log. If the log look right, there might be a problem with the Content-type header that the replay program is generating. You can see that by using _debug=16 which returns the content in hex - with an "english" translation along the left hand side. Here is an example using the Sample Environment on the web for my book: http://hcsbi.com/scripts/broker.exe?_debug=16&_service=appdisp&_program=sasp ress.chapter8.standAloneGraph.source Note how you see: *Content-type: im* *age/gif..GIF87a * At the top - this is a valid Content-type for an image. HTH, Don Henderson Author of the SAS Press book "Building Web Applications with SAS/Int...

Re: Sas table Values as macroparameters #4
Hi Jim, Thank you very much for your help and for your explanations. Does it work on your computer ? Maybe I forgot something. I have this message : ERROR: Macro parameter contains syntax error. NOTE: The SAS System stopped processing this step because of errors. NOTE: There were 1 observations read from the data set WORK.EXAMPLE. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: CALL EXECUTE generated line. NOTE: Line generated by the CALL EXECUTE routine. 2 + num= 2); --- 180 ERROR 180-322: Statement is not valid or it is used out of proper order. Here is the code that I have lauched : data x; input z1 $ z2 $; cards; a b c d e f ; run; %macro macroprint(file=,num=); proc print data=&file.(obs=&num.); run; %mend; data example; input f $ n; cards; x 2 ; run; data _null_; set example; call execute ('%macroprint(file='||TRIM(f)||','); call execute ('num='||TRIM(PUT(n,BEST12.))||');'); run; Thank you a lot ! yom 2006/9/1, Jim Groeneveld <jim2stat@yahoo.co.uk>: > > Hi Yom, > > First of all: your code > call execute ("%macroprint(file="||f||","); > call execute ("num="||n||")"); > is different between your first and second message. > The first time you forgot the closing parenthesis. > It should work by now. > > But there is anoth...

Re: Dynamic Looping Problem in SAS #4
Samuel, If you really want to accomplish the task as indicated, then I would think that a fairly simple macro would accomplish what you want. For example: DATA ORIGINAL; INPUT id lat long; CARDS; 1 5 4 2 7 2 3 8 6 4 20 7 5 1 8 6 3 1 7 1 9 ; run; data leftovers; set original; run; %macro findem; /*Iterate through data until there are no records remaining */ %do %until (&nobs. eq 0); /* Find number of records remaining */ proc sql noprint; select id from leftovers; %let nobs = &sqlobs; quit; /* Set first record aside and remove records which don't meet criterion */ DATA keeper (keep=id lat long) leftovers (keep=id lat long); SET leftovers; retain keeper_lat keeper_long; IF _n_ eq 1 THEN DO; keeper_lat=lat; keeper_long=long; output keeper; end; else do; DISTANCE=(LAT-keeper_lat)**2 + (LONG-keeper_long)**2; if distance ge 10 then output leftovers; end; run; /*Append first record to dataset Final*/ proc append base=final data=keeper; run; %end; %mend; %findem Of course, given your actual data, you would have to replace the distance calculation with a correct formula (which can likely be found in the thread which Richard recommended). HTH, Art -------- On Thu, 14 Sep 2006 18:48:01 -0700, sak071 <samuelkleiner@GMAIL.COM> wrote: >HI Everyone, >I'm trying to do something in SAS that seems l...

Re: SAS/DB2 table joins #4
Also, I'm a bit confused as to whether this is a "session" table or a = "global temp table", as these are two different kinds of temporary = tables in DB2. I haven't ever used a session table through SAS, but = have many times using PL/1, and was able to add code for the index as a = SQL call just after the declare; you might want to check with your DB2 = administrator as to whether you could do that here (or if you are using = a GTT, then consider switching to using a session table). =20 It has been a year since I've done these, so I'm a bit foggy on the = details, but you should be able to google session tables versus global = temp tables in DB2 to get more information about how to add an index to = each one; I know that it's possible to add an index on the fly to a = session table.=20 -Mary ----- Original Message -----=20 From: O'Connell, Martin=20 To: SAS-L@LISTSERV.UGA.EDU=20 Sent: Monday, April 21, 2008 11:10 AM Subject: SAS/DB2 table joins Hello all, I'm building a sas app that needs to join a sas dataset on sas app server to a db2 table on database server. I have a macro to push the sas table into a temp db2 table before joining to permanent db2 table. It does this by constructing code such as: execute(declare global temporary table sectordriver( prfl_cmpny_cd character(10) ,prfl_st_cd character(2) ,prfl_cvrg_cd character(10) ,prfl_lob_cd character(10) , cmpny_cd character(2) ,rtd_st...

Re: Maximum Likelihood problem under SAS, again... #4
Ben, I don't know what to make of your statement "with exactrly(sic) the same subsample I'm able to estimate everything without a problem". Does that mean that if you fit proc nlmixed data=mydata; <code to maximize likelihood> run; proc nlmixed data=mydata; <code to maximize likelihood> run; where both invocations of PROC NLMIXED use exactly the same data and the content of "<code to maximize likelihood>" is exactly the same in both invocations of the procedure, then the first invocation completes successfully but the second does not? If this is the case, then this behavior is bizarre. I would not know what to make of such behavior. Or do you mean that you are cycling through your various different subsets of the data and for some subsets of the data the procedure runs without error but for other subsets you get the note of an execution error? If that is the case, then you need to perform some sort of diagnostics on that data subset. I find that it is often helpful to extract the likelihood construction part of the code to a data step when looking for problems that cause execution errors. Thus, you would do something like data _null_; retain a1 -0.01 a2 0.01 sigma 0.0001; set mydataFAILS; pi = constant('PI'); if ... then ll=...; else if ... then ll=...; else if ... then ll=...; run; If there is a problem with likelihood construction based on some data values, th...

Re: a sas problem bout regression #4
Whether a step-wise method (forward or backwards selection) maximizes an = F-statistic or X**2 statistic, it can fail to select a good model = because it may minimize the fit of a model to one sample from a = population, or it may fit a model around outliers or leverage points. = Any single criterion for model fit can lead to a bad choice of a = statistical model. =20 Here's a note from SAS documentation of PROC REG: >>While the RSQUARE method is a useful tool for exploratory model = building, no statistical method can be relied on to identify the "true" = model. Effective model building requires substantive theory to suggest = relevant predictors and plausible functional forms for the model.<<=20 Were I a student, I would look into how the F-distribution and R**2 = statistic relate to the X**2 distribution. Perhaps your instructor is = illustrating how these statistics correlate. S ________________________________ From: ??? [mailto:xuqiyuan1985@gmail.com] Sent: Mon 4/23/2007 1:53 AM To: Sigurd Hermansen Subject: Re: a sas problem bout regression Thank you for your reply! I agree with you about your suggestion in = using forword selection. Here i use it, cause this is a homework about = practicing proc reg of SAS-L. How do you think about the idea that using = chi-square statistic as forward selection criteria instead of = F-distribution statistic? Thank you for your instruction!=20 =20 2007/4/23, Sigurd Hermansen <HERMANS1@westat.com>...

Web resources about - Re: Problem with dictionary.tables #4 - comp.soft-sys.sas

Dictionary - Wikipedia, the free encyclopedia
According to Nielsen (2008) a dictionary may be regarded as a lexicographical product that is characterised by three significant features: (1) ...

Dictionary.com Dictionary & Thesaurus goes 7.0 with interface improvements
In September, Dictionary.com Dictionary & Thesaurus was updated to version 6.0 with a significant redesign that introduced a fresh look and feel ...

Price Drop: Textkraft with German Dictionary
Textkraft with German Dictionary 3.1.3 Device: iOS iPad Only Category: Productivity Price: Free, Version: 3.1.3 ( iTunes ) Description: Das ...

'Rabid Feminist' and Other Sexist Sentences Should Be Excluded From the Oxford Dictionary ASAP
It's a source that's meant to inform and educate but the Oxford English Dictionary recently came under fire for being sexist. Michael Oman-Reagan, ...

'Mx.' instead of 'Mr.' or 'Mrs.?' It's in the dictionary now
Among the words officially added to dictionary.com this week is &quot;Mx.,&quot; pronounced &quot;mix&quot; and defined as &quot;a title of respect ...

'Identity' is Dictionary.com's word of the year - CNN.com
Race, sexuality and gender are the live-wire topics that inspired Dictionary.com to pick "identity" as its word of the year for 2015.

Jimmy Fallon, Nathan Lane play 'Kid Dictionary' on 'The Tonight Show' - EW.com
Jimmy Fallon, Nathan Lane play 'Kid Dictionary' on 'The Tonight Show' - EW.

The Original Hacker's Dictionary For Small Business Owners
A cybersecurity book and glossary for newbies and small business owners.

But That Isn't A Word: Oxford Dictionary Chooses The Face With Tears Of Joy Emoji As Word Of The Year ...
Because even dictionary companies want to feel edgy from time to time, Oxford Dictionaries has announced the 'face with tears of joy' emoji is ...

Athleisure Is Officially In the Dictionary, But What Does It Mean?
Come 2016, the eye roll-inducing label given to fashion's fascination with evolved workout layers will be added to the Merriam-Webster dictionary. ...

Resources last updated: 3/18/2016 10:05:30 AM