Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
weight in proc mixed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ching  
View profile  
 More options Nov 11, 4:39 am
Newsgroups: comp.soft-sys.sas
From: Ching <kcwo...@gmail.com>
Date: Wed, 11 Nov 2009 01:39:59 -0800 (PST)
Local: Wed, Nov 11 2009 4:39 am
Subject: weight in proc mixed
Hi all.

Please correct me if I'm totally off the right track.
I'm interested in finding out which task contributes to higher log_y
and because an individual might do more than one task during each
measuring Y round, so I thought I could use the weight statement. So
if an individual worked longer in task Z than task Y, then task Z
would give more weight to contributing Y. But I'm not sure if this is
how the code should be like.
Your help is really appreciated.

proc mixed data=tmp2 covtest method=reml cl;
        class round Subject task;
        model log_y=task/solution;
        random int / subject=Subject;
        lsmeans task/ pdiff cl;
        weight duration;
run;

Data structure:
id    plant    round    log_y    task    duration
1     A         1          10        Z         5
1     A         1          10        Y        1
1     A         2          30        X         7
1     A         3          25        Z         7
.     .           .           .          .          .
.     .           .           .          .          .
.     .           .           .          .          .


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google