|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Repeated measures ANOVA with missing dataHey all,
Brief info about my dataset: Cell counts from histological samples of liver tissue were taken for case and control patients. Each patient was supposed to get 3 readings done by a pathologist who counted the cells (but some patients only had 2 readings done). Need to find out if patients on the treatment had a higher/lower cell count than control patients. I was deciding between running a repeated measures ANOVA. However, I hit a snag with the latter model. Since I have missing data (2 instead of 3 slides read) for half my patients, the model delets those cases from the analysis. Is there a way to take the missing data into consideration in the repeated measures ANOVA? Syntax is fine but I'm not well versed in Python. Should I use some other model (mixed model, perhaps)? Or would it be fine to run a t-test using the average counts of each patient (would avoid the whole 2 readings vs 3 reading issue)? Thanks in advance. -Steve ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
|
Re: Repeated measures ANOVA with missing dataYou need to use a mixed model instead. This will make use of what data
is there (using maximum likelihood) and is much better with missing data than GLM, which uses listwise deletion in repeated measures. Paul R. Swank, Ph.D. Professor and Director of Research Children's Learning Institute University of Texas Health Science Center - Houston -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of Steve Sent: Thursday, June 19, 2008 6:35 PM To: SPSSX-L@... Subject: Repeated measures ANOVA with missing data Hey all, Brief info about my dataset: Cell counts from histological samples of liver tissue were taken for case and control patients. Each patient was supposed to get 3 readings done by a pathologist who counted the cells (but some patients only had 2 readings done). Need to find out if patients on the treatment had a higher/lower cell count than control patients. I was deciding between running a repeated measures ANOVA. However, I hit a snag with the latter model. Since I have missing data (2 instead of 3 slides read) for half my patients, the model delets those cases from the analysis. Is there a way to take the missing data into consideration in the repeated measures ANOVA? Syntax is fine but I'm not well versed in Python. Should I use some other model (mixed model, perhaps)? Or would it be fine to run a t-test using the average counts of each patient (would avoid the whole 2 readings vs 3 reading issue)? Thanks in advance. -Steve ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
|
Re: Repeated measures ANOVA with missing dataAlso note that in order to use MIXED, you'll need to restructure your dataset. If you look at Help > Case Studies..., then Advanced > Linear Mixed Models > Using Linear Mixed Models to Analyze Repeated Measurements, there are instructions on how to restructure a file from variables to cases (i.e., originally set up for use in GLM Repeated Measures).
Cheers, Alex -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of Swank, Paul R Sent: Friday, June 20, 2008 10:29 AM To: SPSSX-L@... Subject: Re: Repeated measures ANOVA with missing data You need to use a mixed model instead. This will make use of what data is there (using maximum likelihood) and is much better with missing data than GLM, which uses listwise deletion in repeated measures. Paul R. Swank, Ph.D. Professor and Director of Research Children's Learning Institute University of Texas Health Science Center - Houston -----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@...] On Behalf Of Steve Sent: Thursday, June 19, 2008 6:35 PM To: SPSSX-L@... Subject: Repeated measures ANOVA with missing data Hey all, Brief info about my dataset: Cell counts from histological samples of liver tissue were taken for case and control patients. Each patient was supposed to get 3 readings done by a pathologist who counted the cells (but some patients only had 2 readings done). Need to find out if patients on the treatment had a higher/lower cell count than control patients. I was deciding between running a repeated measures ANOVA. However, I hit a snag with the latter model. Since I have missing data (2 instead of 3 slides read) for half my patients, the model delets those cases from the analysis. Is there a way to take the missing data into consideration in the repeated measures ANOVA? Syntax is fine but I'm not well versed in Python. Should I use some other model (mixed model, perhaps)? Or would it be fine to run a t-test using the average counts of each patient (would avoid the whole 2 readings vs 3 reading issue)? Thanks in advance. -Steve ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
|
|
|
|
Creating a counter of ids within similar recordsHi Listers,
I would appreciate some help with a way to create a counter of the number of occurrences within records that have two variables - id and date, that are the same. In other words, when the id changes, or the date changes, I want to begin counting again. There are solutions but they all to require a numeric value for the id. I seem to remember doing something like this relatively easily a long while back, but cannot find the code. Any help would be much appreciated. TIA Mike ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
|
|
|
|
Re: Creating a counter of ids within similar recordsRichard,
Thank you for the solution. I did finally manage this by creating a counter, setting its default value to 1, then testing both values (date and ID)lagged by 1, and incrementing the counter by 1; seems to work. Your solution, however looks very interesting, and I am going to check it out in the morning. In my search for a solution, I did see some code you posted a while back which includes 'Before' and 'After' commands. My search for information on these two turned up very little. How can I find out more about them? Thanking You Sincerely Mike -----Original Message----- From: Richard Ristow [mailto:wrristow@...] Sent: Monday, June 23, 2008 6:29 PM To: Roberts, Michael; SPSSX-L@... Subject: Re: Creating a counter of ids within similar records At 05:20 PM 6/23/2008, Roberts, Michael wrote: >I would like to create a counter of the number of occurrences within >records that have two variables - id and date. When the id changes, >or the date changes, I want to begin counting again. There's a number of ways. This one (code not tested) is fairly easy. It requires that the file be sorted by ID and Date; and it leaves variable NewGroup in the file, which you may not want. >There are solutions but they all to require a numeric value for the id. This will work with any datatypes for ID and Date. ADD FILES /FILE=* /BY ID Date /FIRST = NewGroup. NUMERIC SeqInGrp (F4). DO IF NewGroup. . COMPUTE SeqInGrp = 1. ELSE. . COMPUTE SeqInGrp = LAG(SeqInGrp) + 1. END IF. ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
|
|
|
|
2-WAY Repeated measures ANOVA-POST HOC ANALYSIS IN SPSSHey all,
I am hoping that someone will be able to help me here. 1st a brief info about my dataset: I have 2 groups of independent subjects (1st group receive Placebo and 2nd group receive a treatment) in which 3 response from 3 different types of stimuli are measured. I believed I need to run a repeated measures ANOVA with the 3 response the RM. I run a the following analysis in SPSS: GLM PPI4 PPI8 PPI16 BY TTT_Code /WSFACTOR = PPI 3 Polynomial /CONTRAST (TTT_Code)=Simple(1) /METHOD = SSTYPE(3) /POSTHOC = TTT_Code ( LSD BONFERRONI ) /EMMEANS = TABLES(TTT_Code) COMPARE ADJ(BONFERRONI) /EMMEANS = TABLES(PPI) COMPARE ADJ(BONFERRONI) /EMMEANS = TABLES(TTT_Code*PPI) /PRINT = DESCRIPTIVE ETASQ OPOWER HOMOGENEITY /CRITERIA = ALPHA(.05) /WSDESIGN = PPI /DESIGN = TTT_Code . SPSS does not run the posthoc analysis on these data because I only have 2 groups. I would like to be able to compare my groups within each of my responses (i.e. PPI4, PPI8 and PPI16). I would greatly appreciate, if someone could help me with the commande I need to add in the above syntax in order to do this. Thanks in advance. Valerie ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
|
Re: 2-WAY Repeated measures ANOVA-POST HOC ANALYSIS IN SPSSHello, you need to change your syntax a bit. Change your
/EMMEANS = TABLES(TTT_Code) COMPARE ADJ(BONFERRONI) /EMMEANS = TABLES(PPI) COMPARE ADJ(BONFERRONI) /EMMEANS = TABLES(TTT_Code*PPI) to /EMMEANS = TABLES(TTT_Code) COMPARE (TTT_Code) ADJ(BONFERRONI) /EMMEANS = TABLES(PPI) COMPARE (PPI) ADJ(BONFERRONI) /EMMEANS = TABLES(TTT_Code*PPI) COMPARE (TTT_Code) /EMMEANS = TABLES(TTT_Code*PPI) COMPARE (PPI) This will give you all the comparisons you want. And I would not bother with ADJ subcommand - it does not work in SPSS (at least I never saw it making any adjustments). Also, you may want to think whether you really have a RM design or just a multivariate ANOVA. Repeated measures analysis usually means that you measured people on the same thing multiple times. But arent' you saing that you have three measures of responses to three DIFFERENT stimuli? Just a thought. Bozena Zdaniuk ________________________________________ From: SPSSX(r) Discussion [SPSSX-L@...] On Behalf Of Valerie Guille [valerie.guille@...] Sent: Sunday, June 29, 2008 10:07 PM To: SPSSX-L@... Subject: 2-WAY Repeated measures ANOVA-POST HOC ANALYSIS IN SPSS Hey all, I am hoping that someone will be able to help me here. 1st a brief info about my dataset: I have 2 groups of independent subjects (1st group receive Placebo and 2nd group receive a treatment) in which 3 response from 3 different types of stimuli are measured. I believed I need to run a repeated measures ANOVA with the 3 response the RM. I run a the following analysis in SPSS: GLM PPI4 PPI8 PPI16 BY TTT_Code /WSFACTOR = PPI 3 Polynomial /CONTRAST (TTT_Code)=Simple(1) /METHOD = SSTYPE(3) /POSTHOC = TTT_Code ( LSD BONFERRONI ) /EMMEANS = TABLES(TTT_Code) COMPARE ADJ(BONFERRONI) /EMMEANS = TABLES(PPI) COMPARE ADJ(BONFERRONI) /EMMEANS = TABLES(TTT_Code*PPI) /PRINT = DESCRIPTIVE ETASQ OPOWER HOMOGENEITY /CRITERIA = ALPHA(.05) /WSDESIGN = PPI /DESIGN = TTT_Code . SPSS does not run the posthoc analysis on these data because I only have 2 groups. I would like to be able to compare my groups within each of my responses (i.e. PPI4, PPI8 and PPI16). I would greatly appreciate, if someone could help me with the commande I need to add in the above syntax in order to do this. Thanks in advance. Valerie ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@... (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
| Free Forum Powered by Nabble | Forum Help |