f



need help urgent in stat problem

how to build the model and program it in sas :

in each subject, 4 measures are done.
- 1t at time 1 and 2nd at time 2 for factor 1;
- 1t at time 1 and 2nd at time 2  for factor 2.
there is dependance between time 2 and time 1 for each factor.
there is dependance between factor 1 and factor 2 in each subject.


dataset :
case1 :
subject        factor   time1  time2
1                 factor1  12         50
1                 factor2  10         20
2                 factor1  12         15
2                 factor2  16         70
3                 factor1  9         90
3                 factor2  1         16
.....


case2 :
subject        factor   time
1                 1           12
1                 1           50
1                 2           10
1                 2           20
2                 1           12
2                 1           15
2                 2           16
2                 2           70
3                 1           9
3                 1           90
3                 2           1
3                 2           16
....


thks,


0
2/12/2009 7:27:21 AM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
687 Views

Similar Articles

[PageSpeed] 14

Reply:

Similar Artilces:

need to compute this problem having problems with how to start this problem help need urgently
Let   U[0; 2theta] be a uniform random variable from the interval [0; 2theta] and let A  Exp(1) be exponentially distributed with mean 1. Assume  and A independent. Compute the mean mX(t) =E[X(t)] and autocorrelation RX(s; t) = E[X(s)X(t)] of the phase-shifted sinusoid.X(t) = A*  cos(t +theta ): State also if X(t) is Wide Sense Stationary (WSS). plot 10 realisations of X(t) plotR(s-t,0)as a function of s-t "pramod kumar" <pramod.kilu@gmail.com> wrote in message <jpapso$44b$1@newscl01ah.mathworks.com>... > Let   U[0; 2theta] be a uniform random variable from the interval [0; 2theta] and let A  Exp(1) be exponentially distributed with mean 1. Assume  and A independent. Compute the mean mX(t) =E[X(t)] and autocorrelation RX(s; t) = E[X(s)X(t)] of the phase-shifted sinusoid.X(t) = A*  cos(t +theta ): > State also if X(t) is Wide Sense Stationary (WSS). > plot 10 realisations of X(t) > plotR(s-t,0)as a function of s-t So what have you tried? If you have not tried anything, this is a suggestion that you were not paying attention in class. Make an effort. John "pramod kumar" <pramod.kilu@gmail.com> wrote in message <jpapso$44b$1@newscl01ah.mathworks.com>... > Let   U[0; 2theta] be a uniform random variable from the interval [0; 2theta] and let A  Exp(1) be exponentially distributed with mean 1. Assume  and A independent. Compute the mean mX(t) =E[X(t)] and autocorrelation RX(s; t) = E[X(s)X(t)]...

Re: need help urgent in stat problem
I believe a gave a response to a similar question for continuous data a few weeks ago you can find at: http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0901c&L=sas-l&F=&S=&P=2156 Robin High UNMC sousimou <elidrissi.M@GMAIL.COM> Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> 02/12/2009 01:29 AM Please respond to sousimou <elidrissi.M@GMAIL.COM> To SAS-L@LISTSERV.UGA.EDU cc Subject need help urgent in stat problem how to build the model and program it in sas : in each subject, 4 measures are done. - 1t at time 1 and 2nd at time 2 for factor 1; - 1t at time 1 and 2nd at time 2 for factor 2. there is dependance between time 2 and time 1 for each factor. there is dependance between factor 1 and factor 2 in each subject. dataset : case1 : subject factor time1 time2 1 factor1 12 50 1 factor2 10 20 2 factor1 12 15 2 factor2 16 70 3 factor1 9 90 3 factor2 1 16 ..... case2 : subject factor time 1 1 12 1 1 50 1 2 10 1 2 20 2 1 12 2 1 15 2 2 16 2 2 70 3 1 9 3 1 90 3 2 ...

Problem in code...Need help urgent
Hello, I wrote the same program twice. following are the two codes. The upper one (slower) performs correctly, while the lower one(faster) doesn't produce the same result! Can anybody look into the program! I cant figure out what's the problem in the lower code? Thanks! Yi %%%psi : 400x2x3350 deltax=deltay=1 ph_Tx ,ph_Rx : 1x3350 zeta:2x3350 %%%%%code 1 for ii = 1 : 400 for ll = 1 : 3350 gamma(ii,1,ll) = sinc(zeta(1,ll)*deltax*cos(ph_Tx(ll))/pi)* sinc(zeta(1,ll)*deltay*sin(ph_Tx(ll))/pi)*psi(ii,1,ll); gamma(ii,2,ll) = sinc(zeta(2,ll)*deltax*cos(p...

Urgent: Trigger problem... need help
Hi guys, Is there any limitation in Trigger function?? I keep getting this error message "[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager]The record has a key field containing a duplicate value(Btrieve Error 5)" What does this mean?? Can someone help me out this please? CREATE TRIGGER InsInvTrig AFTER INSERT ON Inventory REFERENCING NEW AS Indata FOR EACH ROW INSERT INTO tempInventory (I_FULL_KEY, I_WHSE, I_PART_NO, I_DESCRIPTION, I_PROD_CODE, I_LOCATION, I_BVRESERVED01, I_MEASURE, I_COST_CURRENT, I_COST_AVERAGE, I_SELL_PRICE01, I_SELL_PRICE02, I_SELL_PRICE03, I_SELL_PRICE04, I_SELL_PRICE05, I_SELL_PRICE06, I_SELL_PRICE07, I_SELL_PRICE08, I_SELL_PRICE09, I_SELL_PRICE10, I_SELL_PRICE11, I_SELL_PRICE12, I_SELL_PRICE13, I_SELL_PRICE14, I_SELL_PRICE15, I_SELL_PRICE16, I_SELL_PRICE17, I_SELL_PRICE18, I_SELL_PRICE19, I_SELL_PRICE20, I_E_SPECIAL_START, I_E_SPECIAL_END, I_E_ON_SPECIAL, I_E_SPECIAL_PRICE, I_QTYBREAK_QTY1, I_QTYBREAK_QTY2, I_QTYBREAK_QTY3, I_QTYBREAK_QTY4, I_QTYBREAK_QTY5, I_QTYBREAK_QTY6, I_QTYBREAK_QTY7, I_QTYBREAK_QTY8, I_QTYBREAK_QTY9, I_QTYBREAK_PRICE1, I_QTYBREAK_PRICE2, I_QTYBREAK_PRICE3, I_QTYBREAK_PRICE4, I_QTYBREAK_PRICE5, I_QTYBREAK_PRICE6, I_QTYBREAK_PRICE7, I_QTYBREAK_PRICE8, I_QTYBREAK_PRICE9, I_TAX01_FLAG, I_TAX02_FLAG, I_CURRENT_PO_NO, I_BVRESERVED06, I_BVRESERVED07, I_PO_DUE_DATE, I_BVRESERVED08, I_DISCOUNTABLE, I_SERIALIZED_FLAG, I_NOTEPAD_FLAG, I_SUPP_NO1, ...

Matlab Problem, Need Help Urgent
Consider the integral ∫0 e-x sin(2x) dx ∏/4 a) Use the trapezoidal rule, and Simpson’s rule to approximate the integral. b) Compute the exact error in each case of part (a), and compare the exact error to the error bound associated for each integration method used. Hint: Use function s=simprl(f,a,b,M) %Input - f is the integrand input as a string 'f' % - a and b are upper and lower limits of integration % - M is the number of subintervals %Output - s is the simpson rule sum h=(b-a)/(2*M); s1=0; s2=0; for k=1:M x=a+h*(2*k-1); s1=s1+feval(f,x); e...

Help needed on this 857W config. Repost to be clearer what the problems are and the help needed
Hi, Please see below config for my 857W. The basic topology is that I have one cisco857W and various servers and internal wired and wireless clients on the 192.168.0.0 255.255.255.0 network. There are a number of services running on the local lan, DNS and DHCP is also provided by a local server on the same subnet as the router. The 857W router sits on address 192.168.0.254 and needs to act as the local gateway for both wired and wireless clients. With this config booted on the router, the wireless clients can connect and authenticate and get allocated the correct DHCP information and ...

An Urgent Help needed for a complex transpose problem (
I have a follwoing dataset (with variabiles: serial, CARDIOBS, cARDIOWS, CNSBS, CNSWS) serial CARDIOBS CARDIOWS CNSBS CNSWS ------------------------------------------------------------------------- 1001 book/fashion book/fashion gyne/picko gune/picko /house /car 1002 book fashion/house none picko/rule 1004 none house gyne/picko not done /car Need to transpose variables ( or uing SQL ) as below and three...

Urgent Help Needed With Tomcat + classpath problem
i am trying to run a servlet associated with a package i created using eclipse 2.1.1........everything compiles fine but i get the following errors when i try running the servlet. 2003-11-23 11:38:05 ContextListener: contextInitialized() 2003-11-23 11:38:05 SessionListener: contextInitialized() 2003-11-23 11:38:05 ContextListener: contextInitialized() 2003-11-23 11:38:05 SessionListener: contextInitialized() 2003-11-23 11:38:15 ----------- Creating the document object model from the W2DBML file. 2003-11-23 11:38:15 StandardWrapper.Throwable java.lang.NoClassDefFoundError: org/jdom/JDOMException at com.treelogic_swe.frameworks.web2database.Web2Database.init(Web2Database.java:344) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:712) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:186) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563) at org.apache.catalina.core...

Re: I need your help for this SAS problem
Tom might have found the problem less overwhelming if he had broken it down into three or so manageable pieces. First, undo the difficult data structure by a simple transpose proc transpose data=sample out=two; by serial; var _character_; run; followed by a step to take apart the composite names and strings with SUBSTR and SCAN. data three; set two; cc = substr(_name_,1,length(_name_)-2 ); bw = substr(_name_, length(_name_)-1 ); do sub = 1 by 1; detail = scan(col1,sub,'/'); if missing(detail) then leave; output; end; drop _name...

Big problem
Hi everyone, I'm having some big JS problems - my function is making my html code vanish, and I need help! Here's the code, try it for yourself. You'll notice that when you click either links and then look at the source code, it's all gone, apart from what the function is writing. How can I make the code just append the result under the links? I cannot use <div> or <layer> tags (show/hide). Thoughts?? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> <script language="javascript"> var jsData = new Array(); jsData[0] = {bowl:"I", year:1967, winner:"Packers", winScore:35, loser:"Chiefs", losScore:10}; jsData[1] = {bowl:"II", year:1968, winner:"Packers", winScore:33, loser:"Raiders (Oakland)", losScore:14}; jsData[2] = {bowl:"III", year:1969, winner:"Jets", winScore:16, loser:"Colts (Balto)", losScore:7}; jsData[3] = {bowl:"IV", year:1970, winner:"Chiefs", winScore:23, loser:"Vikings", losScore:7}; jsData[4] = {bowl:"V", year:1971, winner:"Colts (Balto)", winScore:16, loser:"Cowboys", losScore:13}; function winner() { // Step 1 - sort b...

Need Help with SAS Code! 1978 Harrison and Rubinfield Problem!
I am stuck on this problem! My SAS code and output is below, but what else do I need to do? Problem: In 1978, Harrison and Rubinfeld published data on various factors which might affect housing values for 506 census tracts in the Boston Metropolitan Area in 1970. The data originate from several sources, including the 1970 US Census and the Boston Metropolitan Area Planning Committee. Their interest was focused on the impact of air pollution on the price of owner-occupied homes, but their data includes more than a dozen other potential explanatory variables, and the general question of what ...

Please! Need urgent help for a simple case structure problem
Hi, &nbsp; i am triying to graph square root of a sine wave. &nbsp; because sine wave travels between +30 and -30 values, i can`t calculate its square root when it drops to negative. &nbsp; so i have written a program by using a case structure (true/false). when sine wave is greater than zero true condition of the structure runs and only calculates the square root. while sine wave is at the negative side, false condition runs and it first calculates the absolute value then calculates the square root and finaly negates the value. &nbsp; but my program does not work properly. &a...

Need help with help need
Friends and wormbots: I am looking for some intrepid souls to try out and comment on a perl script I wrote. (What, perl in SAS-L and it's not David Cassell ?) The script takes the SAS help files apart and does some analysis (orphans, linkrot and duplicates) and inserts back links. What do back links do ? It ensures every page in the help system has a link to every page that links to it. (Actually only the the subset of the help system represented by the modules you choose to play with [there are over 140 help modules]) 1,000 lines of perl that sprouted out of a two line seed (or should...

massive spam problem on our mail server urgent help needed
Dear all, I'm not very used to the administration of Domino, but I'm responsible since some weeks for a R 5 mailgate. The environment is very useful, but it is configured in a way that I didn't understand. The mail server is allowing anonymous access to collect emails for our domain. That should be okay in a normal way, but since some weeks we get up to 4000 spam messages a day to non existing users, but with our domain extension, so that the Server accept these emails. Is there no way to set up the Domino ( it's R5.11) that he accepts only the emails for listed user...

Urgent: help needed : "Problem with double quotes"
Hi, I want to call a PERL program from MS-DOS batch file. Following is just an example, the string may inturn have double quote or single quote. I can't call with arg1, arg2 etc, as the input will be dyanamic. My argument may be something like this "204.120.69.195" "-""-" 'xyz' "GET" Perl should receive the whole string as a single argument. I know it is not a perl problem, From MS-DOS how can I sent it so that perl program treats it as a single argument. Can you please tell me how I could send the whole thing as a sing...

Re: An Urgent Help needed for a complex transpose problem ( #5
On Mon, Jun 9, 2008 at 2:37 PM, Tom Smith <need_sas_help@yahoo.com> wrote: > Hi Muthia, > Thanks a lot to look at the problem. Please find your answer as below: > > > 1. How many records and how many variables will be there in the real > problem > - around 35 variables and 500 rows > > 2. Do you have SAS 9, in case of HASH object solution ? > -unfortunately sas 8.2 > > 3. The token, RULE, occurs from serial number 1002 onwards. Will the > solution giving the rows with RULE from 1002 and onwards is acceptable > (meaning--serial number 1001 for ...

Re: Help needed: Problems with running AR-GARCH model in SAS
u36925@UWE.UGA.EDU wrote: > >Dear all, > >I am currently working on a large time series dataset. Due to the >confidentiality issue, I can not post the dataset as well as the true >nature >of the case here, but let me make up an example: First, this is good. Never post a data set that's going to crush someone's bandwidth or ruin the SAS-L digest system or violate confidentialty issues. Instead, it's often useful to make up a fake data set that reflects a lot of the features of the problem as you understand it. You can code up a data step to generate such a ...

Re: Urgent help is needed.Foreign SAS dataset. Format is not #3
Friday Night?? You must be a bit east of the Eastern Time Zone (Atlantic coast, USA) v.b.g Irin You have a data set which had a user written format associated with the variable agegroup. SAS expects to have this format available and gets sulky when the format can't be found. I would guess that agegroup is a series of meaningless numbers and the format assigns names to these such as 1-5, etc. If you cannot locate a copy of the original code, say a listing, add the following to your code Options nofmterr ; and you should be able to work with the data set. However, you will have to gues...

complex XPath help need Urgent help
I have XML Data: <REQUEST> <PARAMETERS> <PPM Name="CCCS Filed Date" value="xxxx"></PPM> </PARAMETERS> <RECORD _FiledDate="12/15/2003"></RECORD> </REQUEST> I want to get data from @value {"xxxx"} if exist, otherwise get value from @_FiledDate. Please help me... Amar wrote: > I have XML Data: > <REQUEST> > <PARAMETERS> > <PPM Name="CCCS Filed Date" value="xxxx"></PPM> > </PARAMETERS> > > <RECORD _FiledDate="12/15/2003"></RECORD> > > </REQUEST> > > I want to get data from @value {"xxxx"} if exist, otherwise get value > from @_FiledDate. With XPath 2.0 you can do if (/REQUEST/PARAMETERS/PPM/@value) then /REQUEST/PARAMETERS/PPM/@value else /REQUEST/RECORD/@_FiledDate With XPath 1.0 (and 2.0 of course) you can do /REQUEST/PARAMETERS/PPM[@value]/@value | /REQUEST[PARAMETERS/PPM[not(@value)]]/RECORD/@_FiledDate -- Martin Honnen http://JavaScript.FAQTs.com/ In article <474eb548$0$13117$9b4e6d93@newsspool2.arcor-online.net>, Martin Honnen <Martin.Honnen@gmx.de> wrote: >> <REQUEST> >> <PARAMETERS> >> <PPM Name="CCCS Filed Date" value="xxxx"></PPM> >> </PARAMETERS> >> >> <RECORD _FiledDate="12/15/2003"></RECORD> >> >>...

IPC help.... I need help.. PLZZZZ it is very urgent!!!!!
MINIX currently supports several message passing IPC primitives that blocks the sender or receiver user processes if their counter part is not already waiting for the message. I need to develop new IPC primitives on MINIX (in addition to those that are available) that will allow the sender or receiver to also be unblocked by a timer specified in the application program. Some one help meee plzzzzzzzzzzzz.. ricky.sa.2000@gmail.com writes: > MINIX currently supports several message passing IPC primitives > that blocks the sender or receiver user processes if their counter >...

Help: Need help identifying the cause of this problem....
Hi all, The symptoms: When connected to the internet my desktop runs at 100% cpu usage and 100% network usage. There are no idications of which process is actually using 100% CPU. Whatever is wrong with my desktop is now wrong with my laptop - they both run winxp and are connected to the same router. If I disconnect the router from the cable modem both computers continue to run at 100%/100% - disconnect the network cables - or disable the connection - and the problem goes away. Right now I am writing this on my wife's mac - it is also connected to router but works just fine. There is no burner/storage device attached to this mac so I cannot get the latest spybot/adaware/norton updates. My norton is 3 days old and the adaware/spybot are over a month old - don't detect anything. My first attempt was to completely reformat the desktop; give it a clean slate. However, after reformat the 100%/100% problem continues. (Laptop was not on and not connected to network). What kind of computer virus/trojan/exploit survives a fresh reinstall of the OS? Any advice appreciated, ent On 29 Dec 2004 01:12:13 -0800, entropy123 spoketh >Hi all, > >The symptoms: When connected to the internet my desktop runs at 100% >cpu usage and 100% network usage. There are no idications of which >process is actually using 100% CPU. Whatever is wrong with my desktop >is now wrong with my laptop - they both run winxp and are connected to >the same router. If I disconnect the r...

Urgent help needed in matlab!! please help!!!
i have a matrix which has 16 columns and varying number of rows.. i need to replace the elements ranging from -50 to 50 with zero and the rest should remain the same.. i have coded for a single element search and replace which is [m, n] = size(Data); for i = 1: m if ( Data(i) == 1 ) Data(i) = 0; end end but how do i do it for a range of -50 to 50 instead of a 1 in my code.. could anyone help me out.. also please suggest me if there are any matlab function which does this with out the use of the for loops... Regards, Mohan i have a matrix which has 16 columns and...

telnet problem please help Urgent help please
Hi I have an HP9000 server running hpux 10.20. I have a problem where telnet keeps timing out. I am able to make a telnet connection for any time between 5 minutes and a few hours. After a while though they time out. The syslog report a timeout too. REgards Dinesh Chetty Hi > I have an HP9000 server running hpux 10.20. I have a problem where telnet > keeps timing out. I am able to make a telnet connection for any time between > 5 minutes and a few hours. After a while though they time out. The syslog > report a timeout too. Comes the timeout when you are active in the ses...

yahoo.com.au mail problems problems problems
Hello, in the last month I encountered big problems to read mail from yahoo.com.au server. There is no chance to connect to e-mail /www based server. Having logged to www.yahoo.com.au mail window doesn't open waiting for an image from au.adserver.yahoo.com server is that server dead, making reading mail completely impossible ? Ping says, that server is unreachable. What can I do to make things better as in previous months ? Ple ...

Web resources about - need help urgent in stat problem - comp.soft-sys.sas

Problem novel - Wikipedia, the free encyclopedia
Working class, or proletarian novels are often also social problem novels . This was in many ways a reaction to rapid industrialization , and ...

Establishing sleep patterns early in life key to avoiding future problems
Children have just the first five years of life to develop good sleeping habits before they are at risk of adjusting poorly to school and developing ...

Slater frustrated with shoulder problems
BILLY Slater is said to be “disappointed” and “frustrated” with the Melbourne Storm star set to undergo an arthroscope on his troublesome left ...

Establishing sleep patterns early in life key to avoiding future problems
Children have just the first five years of life to develop good sleeping habits before they are at risk of adjusting poorly to school and developing ...

SmartPot Problems: Marijuana And The Internet Of Things
What happens when you combine cannabis, whose laws are changing almost daily, with technologies that are constantly evolving as well?

Sanders Wins Millennial Women Two-to-One; Clinton Would Have Millennial Problem in General Election
Just some of the information from a new USA Today poll ( source ) by Gaius Publius Buried in a USA Today polling story with the headline "Poll ...

No Manuel! The Government Is the Problem. Not The Exits.
I find it difficult to publicly refute Manuel Trajtenberg. He is a man of high integrity and has done wonderful things for the State of Israel. ...

Tesla has finally fixed a huge problem with one of its most important features
... heated-and-cooled option). In a car like the Model S that was otherwise pretty sensibly designed, its terrible cupholders were a glaring problem, ...

Reports of voting problems surface in Florida primary
Some voting machines in the Jacksonville area were down Tuesday morning, and some Orlando-area reportedly ran out of ballots

Utilities lead: Why that's a problem
Utilities and telecommunications continue to post gains and are far and away the biggest gainers this quarter.

Resources last updated: 3/16/2016 11:59:29 AM