JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  June 2016

FSL June 2016

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Help GLM

From:

Kim TRAN <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Tue, 14 Jun 2016 13:14:28 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (309 lines)

Hi Anderson,

Thank you for your reply. In the case that I want to compare the patient's timepoint1 with the controls and I also want to put all image in one design, could I use this design:
              
		EB	EV1	EV2	EV3	EV4	EV5	EV6	EV7	EV8
Con		1	1	0	0	0	0	0	0	0
Con		1	1	0	0	0	0	0	0	0
Con		1	1	0	0	0	0	0	0	0
Con		1	1	0	0	0	0	0	0	0
Con		1	1	0	0	0	0	0	0	0
Con		1	1	0	0	0	0	0	0	0
Pat_t1	2	0	1	0	0	0	0	0	0
Pat_t2	2	0	1	1	0	0	0	0	0
Pat_t1	3	0	1	0	0	0	0	0	0
Pat_t2	3	0	1	0	1	0	0	0	0
Pat_t1	4	0	1	0	0	0	0	0	0
Pat_t2	4	0	1	0	0	1	0	0	0
Pat_t1	5	0	1	0	0	0	0	0	0
Pat_t2	5	0	1	0	0	0	1	0	0
Pat_t1	6	0	1	0	0	0	0	0	0
Pat_t2	6	0	1	0	0	0	0	1	0
Pat_t1	7	0	1	0	0	0	0	0	0
Pat_t2	7	0	1	0	0	0	0	0	1

contrast: Control > Patient timepoint 1: 
                       1	-1	0	0	0	0	0	0

Thank you so much,

Best regard,

Kim

On Sat, 11 Jun 2016 07:55:39 +0100, Anderson M. Winkler <[log in to unmask]> wrote:

>Hi Kim,
>
>The test statistic will be the same, although the p-values may be
>different. To have identical p-values, for designs 2 and 3, would need to
>drop the -within, leaving -whole only. However, the p-values would still
>differ a bit, even if using the same seed, as with designs of different
>sizes, the random permutations will rarely be equivalent.
>
>All the best,
>
>Anderson
>
>
>On 10 June 2016 at 13:50, Kim TRAN <[log in to unmask]> wrote:
>
>> Hi Anderson,
>>
>> As one timepoint is knocked out from each subject in design 2 and 3, if I
>> enter in model only the data of timepoint 1 or 2, the design 2/3 and this
>> one should give the same results?
>>
>> EB      EV1     EV2
>> 1       1       0
>> 1       1       0
>> 1       1       0
>> 1       1       0
>> 1       1       0
>> 1       0       1
>> 1       0       1
>> 1       0       1
>>
>> Thanks a lots,
>>
>> Best regard,
>>
>> Kim TD
>>
>> On Wed, 20 Jan 2016 08:58:10 +0000, Anderson M. Winkler <
>> [log in to unmask]> wrote:
>>
>> >Hi Kim,
>> >
>> >Design 1 tests within-subject effects (if there is a difference between
>> >timepoints, for instance, and interactions). Design 4 tests
>> between-subject
>> >effects (if there is a group difference across both timepoints).
>> >
>> >In design 1, the subject-specific intercepts are entered as additional,
>> >confound EVs. In design 4, the subject-specific slopes are entered as
>> >additional, confound EVs.
>> >
>> >Designs 2 and 3 do something else: for these designs either of the two
>> >timepoints is knocked out from each subject, such that it's as if these
>> >marked timepoints didn't exist. Design 2 causes t2 to be ignored, such
>> that
>> >comparisons are between groups on what concerns timepoint 1 only. Design 3
>> >causes t1 to be ignored, such that comparisons are between groups on what
>> >concerns timepoint 2 only.
>> >
>> >So, please note that for designs 2 and 3, it's the opposite than what you
>> >wrote below, i.e., design 2 tests timepoint 1, whereas design 3 tests
>> >timepoint 2.
>> >
>> >All the best,
>> >
>> >Anderson
>> >
>> >
>> >On 19 January 2016 at 13:07, Kim TRAN <[log in to unmask]> wrote:
>> >
>> >> Hi Anderson,
>> >>
>> >> I have a small question, what is the difference between design1 et
>> design4
>> >> in the file that you showed me? I think they're kind of similar.
>> Design2 is
>> >> used for testing 2nd scan because values for EV3-Ev22 are in the 2nd
>> scan,
>> >> and design3 is used for the 1st scan, isn't it? Could you check this for
>> >> me? Thank you very much,
>> >>
>> >> Best regard,
>> >>
>> >> Kim
>> >>
>> >> On Sat, 14 Nov 2015 07:44:22 +0000, Anderson M. Winkler <
>> >> [log in to unmask]> wrote:
>> >>
>> >> >Hi Kim,
>> >> >
>> >> >These tests need to go in separate designs. You can still correct
>> across
>> >> >all with -corrcon in PALM. Or prune your hypotheses to what is more
>> >> >relevant (presumably the effect of the treatment, which is in design
>> 1),
>> >> >and run that in randomise or FEAT.
>> >> >
>> >> >All the best,
>> >> >
>> >> >Anderson
>> >> >
>> >> >On 13 November 2015 at 09:20, Kim TRAN <[log in to unmask]> wrote:
>> >> >
>> >> >> Hi Anderson,
>> >> >>
>> >> >> I am so sorry for having bothered you. I've found the response in
>> others
>> >> >> sheets of your file. It's all that I want, but I cannot make it just
>> >> with
>> >> >> one design?
>> >> >>
>> >> >> Thanks a lots,
>> >> >> Kim
>> >> >>
>> >> >> On Fri, 13 Nov 2015 08:58:05 +0000, Kim TRAN <[log in to unmask]>
>> >> >> wrote:
>> >> >>
>> >> >> >Hi Anderson,
>> >> >> >
>> >> >> >Thank you very much for your reply. The contrasts C1 and C2 in your
>> >> >> attached file are the differences (t1-t2) for each group? Because I
>> >> want to
>> >> >> run a one side t-test, could I add these 2 more contrasts for a
>> complete
>> >> >> approach:
>> >> >> >C5: -1 0 0 0 0  ...  (t2-t1 in group 1)
>> >> >> >C6: 0 -1 0 0 0 ... (t2-t1 in group 2)
>> >> >> >
>> >> >> >Might they change the interpretation of C3 and C4?
>> >> >> >
>> >> >> >Thanks a lots,
>> >> >> >
>> >> >> >Kim
>> >> >> >
>> >> >> >
>> >> >> >On Fri, 13 Nov 2015 07:46:47 +0000, Anderson M. Winkler <
>> >> >> [log in to unmask]> wrote:
>> >> >> >
>> >> >> >>Hi Kim,
>> >> >> >>
>> >> >> >>Design is fine, but the contrasts need to be changed. Please,
>> delete
>> >> all
>> >> >> of
>> >> >> >>them and instead use:
>> >> >> >>
>> >> >> >>C1: 1 -1 0 0 0 0 ....
>> >> >> >>C2: -1 1 0 0 0 0 ....
>> >> >> >>
>> >> >> >>These will test the effect of the treatment, and can be used in
>> FEAT,
>> >> >> >>randomise, or PALM.
>> >> >> >>
>> >> >> >>However, it seems you also want to compare groups in the 1st and
>> 2nd
>> >> >> scans,
>> >> >> >>is this correct? If yes, please see at this link
>> >> >> >><
>> >> >>
>> >>
>> https://dl.dropboxusercontent.com/u/2785709/outbox/mailinglist/design_kimtran.ods
>> >> >> >
>> >> >> >>the relevant designs. You'd need to use PALM, in which case you can
>> >> also
>> >> >> >>correct across all of them in the same run (option -corrcon).
>> Include
>> >> the
>> >> >> >>options -whole and -within (both) if you take this route.
>> >> >> >>
>> >> >> >>All the best,
>> >> >> >>
>> >> >> >>Anderson
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>On 12 November 2015 at 16:24, Kim TRAN <[log in to unmask]>
>> wrote:
>> >> >> >>
>> >> >> >>> Dear FSL experts,
>> >> >> >>>
>> >> >> >>> I have 8 subjects, each scanned 2 times at 2 times point. The
>> fisrt
>> >> 5
>> >> >> >>> subjects are in drug group, and another 3 are in placebo group. I
>> >> want
>> >> >> to
>> >> >> >>> compare results of those 2 groups. Are the design and contrasts
>> >> below
>> >> >> >>> correct?
>> >> >> >>>
>> >> >> >>> EB      EV1     EV2     EV3     EV4     EV5     EV6     EV7
>>  EV8
>> >> >> >>>  EV9     EV10
>> >> >> >>> 1       1       0       1       0       0       0       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 1       -1      0       1       0       0       0       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 2       1       0       0       1       0       0       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 2       -1      0       0       1       0       0       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 3       1       0       0       0       1       0       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 3       -1      0       0       0       1       0       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 4       1       0       0       0       0       1       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 4       -1      0       0       0       0       1       0       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 5       1       0       0       0       0       0       1       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 5       -1      0       0       0       0       0       1       0
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 6       0       1       0       0       0       0       0       1
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 6       0       -1      0       0       0       0       0       1
>> >> >>  0
>> >> >> >>>      0
>> >> >> >>> 7       0       1       0       0       0       0       0       0
>> >> >>  1
>> >> >> >>>      0
>> >> >> >>> 7       0       -1      0       0       0       0       0       0
>> >> >>  1
>> >> >> >>>      0
>> >> >> >>> 8       0       1       0       0       0       0       0       0
>> >> >>  0
>> >> >> >>>      1
>> >> >> >>> 8       0       -1      0       0       0       0       0       0
>> >> >>  0
>> >> >> >>>      1
>> >> >> >>>
>> >> >> >>> Contrast:
>> >> >> >>> mean G1, 1st scan       5       0       1       1       1       1
>> >> >>  1
>> >> >> >>>      0       0       0
>> >> >> >>> mean G1, 2nd scan       -5      0       1       1       1       1
>> >> >>  1
>> >> >> >>>      0       0       0
>> >> >> >>> mean G2, 1st scan       0       3       0       0       0       0
>> >> >>  0
>> >> >> >>>      1       1       1
>> >> >> >>> mean G2, 2nd scan       0       -3      0       0       0       0
>> >> >>  0
>> >> >> >>>      1       1       1
>> >> >> >>> G1 > G2, 1st scan       5       -3      1       1       1       1
>> >> >>  1
>> >> >> >>>      -1      -1      -1
>> >> >> >>> G1 > G2, 2nd scan       -5      3       1       1       1       1
>> >> >>  1
>> >> >> >>>      -1      -1      -1
>> >> >> >>>
>> >> >> >>> Any help you can provide will be greatly appreciated.
>> >> >> >>> Best regard,
>> >> >> >>> Kim
>> >> >> >>>
>> >> >> >>
>> >> >>
>> >> >
>> >>
>> >
>>
>

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager