Displaying 20 results from an estimated 1100 matches similar to: "Need Help in a Combinatorial Optimzation Problem"
2007 Mar 25
1
for loop help
Hello-
I have a script which steps through a series of subjects, and for the
subjects I remove outlying values. After removing these outliers, I
specify a cutoff, keeping only values over a certain value (e.g., 1.96).
I want to populate a matrix with a statistic of the values that make the
cutoff (for example, the mean). However, in some subjects, after
outliers and the cutoff are specified,
2005 Feb 18
1
Two-factorial Huynh-Feldt-Test
Hi,
I'm currently working on porting some SAS scripts to R, and hence need
to do the same calculation (and get the same results) as SAS in order to
make the transition easier for users of the script.
In the script, I'm dealing with a two-factorial repeated-measures anova.
I'll try to give you a short overview of the setup:
- two between-cell factors: facBetweenROI (numbering
2006 May 11
1
model formulation for the following ANOVA
Hallo!
I have run a EEG experiment and got the following data
group: 1 2 1 2 1 2 1 2 ... as factor, 2 levels between subjects fixed effect (patient vs control)
subj: 1 2 ... 14 1 2 ... 14 as factor 7 patients 7 control random effect
condition: 1 1 ... 2 2 ... 1 1 ... 2 2 as factor, 2 levels within subjects, ie every subject worked on every cond fixed effect
roi: 1 ... 2 ... 3 ... 4 ... as factor,
2005 Mar 10
1
contrast matrix for aov
How do we specify a contrast interaction matrix for an ANOVA model?
We have a two-factor, repeated measures design, with
Cue Direction (2) x Brain Hemisphere(2)
Each of these has 2 levels, 'left' and 'right', so it's a simple 2x2 design
matrix. We have 8 subjects in each cell (a balanced design) and we want to
specify the interaction contrast so that:
CueLeft>CueRght
2005 Feb 22
3
Reproducing SAS GLM in R
Hi,
I'm still trying to figure out that GLM procedure in SAS.
Let's start with the simple example:
PROC GLM;
MODEL col1 col3 col5 col7 col9 col11 col13 col15 col17 col19 col21 col23
=/nouni;
repeated roi 6, ord 2/nom mean;
TITLE 'ABDERUS lat ACC 300-500';
That's the same setup that I had in my last email. I have three factors:
facSubj,facCond and facRoi. I had this pretty
2009 Feb 11
1
Variables captured in closures get copied?
Hi list! I have a data frame called fix and a list of index vectors
called rois:
> head(rois, 3)
[[1]]
[1] 2 1
[[2]]
[1] 3
[[3]]
[1] 6 7 28 26 27 24 25
The part that's causing the issue is the following line:
lapply(rois, function(roi) fix$x[roi] <- 100)
So for every index vector I'd like to set the respective entries in the
data frame (fix) to 100.
I
2009 Dec 08
6
conditionally merging adjacent rows in a data frame
Hi, I have a data frame and want to merge adjacent rows if some condition is
met. There's an obvious solution using a loop but it is prohibitively slow
because my data frame is large. Is there an efficient canonical solution for
that?
> head(d)
rt dur tid mood roi x
55 5523 200 4 subj 9 5
56 5523 52 4 subj 7 31
57 5523 209 4 subj 4 9
58 5523 188 4 subj 4 7
2005 Jan 03
2
problem with default_mail_env
I'v set the default_mail_env to maildir:/var/maildir/%d/%u where
/var/maildir/ is the root dorectory for my maildir tree and I'm
getting the folowing error in the maillog :
Jan 3 15:16:58 websrv pop3(roi): unlink(/var/maildir//roi/cur/new:2,T) failed:
Is a directory
Notice that the %d is missing.
If I change to 'default_mail_env =
maildir:/var/maildir/example.tld/%u' then
2008 Sep 02
2
Help with nonlinear regressional
Dear All,
I am doing experiments in live plant tissue using a laser confocal
microscope. The method is called "fluorescence recovery after
photo-bleaching" (FRAP) and here follows a short summary:
1. Record/ measure fluorescence intensity in a defined, round region of
interest (ROI, in this case a small spot) to determine the initial intensity
value before the bleaching. This
2009 Nov 25
2
order of panels in xyplots
I'd like do a simple xyplot with customized order of panels and try to
understand how to use index.cond for that. Several attempts didn't
deliver the correct results. Now, I noticed the following:
> p <- xyplot(dur~roi|trial, data)
> p$index.cond
[[1]]
[1] 1 2 3 4 5 6 7 8 9 10
These numbers are "valid indexing vector for the integer vector
2005 Jun 22
3
How to I change server=[Samba 3.04.14a-2] to something else?
So I have setup my samba box as a PDC and everything is working fine.
There is one thing that keeps bugging me:
When I run locallly: smbclient -L localhost -U%
I get the following:
-----------------------------
Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.0.14a-2]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service
2007 Jun 07
1
Scale Binding
Hi,
Recently this commit was pushed to git, changing the default binding
for scale to alt + shift + up:
http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commit;h=77def1253419e1e0d3335f4c4790471b5130f087
I think this new binding is quite bad for many users who have multiple
layouts in their keyboard (like non-latin languages), as alt + shift
is commonly used for changing keyboard layouts.
2009 Aug 16
0
[LLVMdev] Throwing function being marked nounwind under optimzation?
It would help if you post the -O0 and -O1bitcode files.
Does it reproduce with opt -O1? If so, use -debug-pass= to figure out
when things started going wrong.
Does it make sense to compare the bitcode against code generated for
x86 target?
Evan
On Aug 16, 2009, at 11:46 AM, Jim Grosbach wrote:
> All,
>
> The following relatively simple function is behaving oddly under SJLJ
>
2005 Mar 07
2
Question about AGI vs. FastAGI vs. straight C/DB development
Folks,
I want to build a custom IVR for my setup. I've got it
working (well, the bells and whistles are not there
yet, but the basic stuff works) using AGI, but I'm
worried about how well this will scale.
I've seen references to FastAGI, and presumably this
will be more efficient.
Question, though: how well do either of these (AGI or
FastAGI) scale if my system is handling a large
2009 Aug 16
2
[LLVMdev] Throwing function being marked nounwind under optimzation?
All,
The following relatively simple function is behaving oddly under SJLJ
exception handling. Specifically, it's being diagnosed by the
optimizer as being a nounwind function, which is obviously incorrect.
From what I can tell so far, something is going wrong analyzing the
call to __cxa_end_catch()
invoke arm_apcscc void @__cxa_end_catch()
to label %Unwind unwind label
2005 Feb 23
1
H-F corr.: covariance matrix for interaction effect
Hi,
I'm still not quite there with my H-F (G-G) correction code. I have it
working for the main effects, but I just can't figure out how to do it
for the effect interactions. The thing I really don't know (and can't
find anything about) is how to calculate the covariance matrix for the
interaction between the two (or even n) main factors.
I've looked through some books
2005 Feb 23
1
H-F corr.: covariance matrix for interaction effect
Hi,
I'm still not quite there with my H-F (G-G) correction code. I have it
working for the main effects, but I just can't figure out how to do it
for the effect interactions. The thing I really don't know (and can't
find anything about) is how to calculate the covariance matrix for the
interaction between the two (or even n) main factors.
I've looked through some books
2010 Jun 16
2
qplot
Hello,
I am a new r-user, and after a great effort I have made this fantastic
figure with qplot:
qplot(ROI, CBF, fill=factor(Carrier), data=combinedboxplot_dataset_se_1_CBF,
geom="boxplot", position="dodge",xlab=NULL,ylab=("CBF,white
matter-normalized"),main=("Differences between carriers and non-carriers on
baseline"))+theme_bw()
Can anyone help me
2007 Apr 25
1
barchart producing incorrect number of barcharts when columns renamed
Hi everybody,
I'm having problems with the barchart command in the lattice package.
I'm creating barcharts from matrices with with anything from 20 to 71
columns. When I leave the column names alone, that is they are set in
the read.table command (and inherited by subsequent commands) the
correct number barcharts is created by the "print(barchart(...))"
command.
2013 Nov 16
1
[LLVMdev] Publication: Combinatorial Preallocation Scheduling
Preallocation Instruction Scheduling with Register Pressure Minimization Using a Combinatorial Optimization Approach
G. Shobaki, M. Shawabkeh and N. Abu-Rmaileh
ACM Transactions on Architecture and Code Optimization (TACO). vol. 10, issue 3, Article 14 (Sept. 2013)
http://dx.doi.org/10.1145/2512432
Regards
Ghassan Shobaki, PH.D
Assistant Professor
Department of Computer Science
Princess Sumaya