w*******e 发帖数: 395 | 1 这道题目非常复杂,首先能想到n*log(n)的算法就不简单,即使想到了,能够在面试的
压力下把逻辑coding出来也非常的难。我感觉电面中,问到这种题目而且要coding的,
如果从没有见过,基本就是不让你过。感觉这种题目适合onsite用。
在知道算法后,我大概花了一些时间,写了如下的代码,基本思路就是楼上讨论的。
1. 首先把所有的interval的起点和终点存进一个vector,并且sort
struct timePoint {
int point;
bool startORend;
int vol;
timePoint(int p, bool s, int v): point(p), startORend(s), vol(v) {}
};
2. 建立一个multiset用来存储还没有结束的volume,同时可以用来判断某个时间段是
否被输入的interval cover了。
3. 然后扫描vector开始建立输出的vector:
1)如果碰到start的点,先检查multiset是否为空,如果是,就是i... 阅读全帖 |
|
w*******e 发帖数: 395 | 2 这道题目非常复杂,首先能想到n*log(n)的算法就不简单,即使想到了,能够在面试的
压力下把逻辑coding出来也非常的难。我感觉电面中,问到这种题目而且要coding的,
如果从没有见过,基本就是不让你过。感觉这种题目适合onsite用。
在知道算法后,我大概花了一些时间,写了如下的代码,基本思路就是楼上讨论的。
1. 首先把所有的interval的起点和终点存进一个vector,并且sort
struct timePoint {
int point;
bool startORend;
int vol;
timePoint(int p, bool s, int v): point(p), startORend(s), vol(v) {}
};
2. 建立一个multiset用来存储还没有结束的volume,同时可以用来判断某个时间段是
否被输入的interval cover了。
3. 然后扫描vector开始建立输出的vector:
1)如果碰到start的点,先检查multiset是否为空,如果是,就是i... 阅读全帖 |
|
w*****1 发帖数: 473 | 3 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: 请问大家有关mixed model
发信站: BBS 未名空间站 (Wed Jul 19 12:57:18 2017, 美东)
大家好,我需要用mixed model 对三个group的人群(教育程度1,2,3)进行分析,看
看这些人的认知能力在不同时间的变化有没有显著性的不同。
proc mixed data=outban;
class timepoint educ;
model rbantotal= timepoint | educ/ solution;
random int /subject=id ;
lsmeans educ*timepoint;
run;
因为我是3个group,而不是两个group,如果我想看相互作用项educ*timepoint的p-值,
是不是需要用f-test?如何在mixed model中用f-test呢?我看到现在的结果里就已经有
f-test了:
... 阅读全帖 |
|
w*****1 发帖数: 473 | 4 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: 请问大家有关mixed model
发信站: BBS 未名空间站 (Wed Jul 19 12:57:18 2017, 美东)
大家好,我需要用mixed model 对三个group的人群(教育程度1,2,3)进行分析,看
看这些人的认知能力在不同时间的变化有没有显著性的不同。
proc mixed data=outban;
class timepoint educ;
model rbantotal= timepoint | educ/ solution;
random int /subject=id ;
lsmeans educ*timepoint;
run;
因为我是3个group,而不是两个group,如果我想看相互作用项educ*timepoint的p-值,
是不是需要用f-test?如何在mixed model中用f-test呢?我看到现在的结果里就已经有
f-test了:
... 阅读全帖 |
|
w*****1 发帖数: 473 | 5 大家好,我需要用mixed model 对三个group的人群(教育程度1,2,3)进行分析,看
看这些人的认知能力在不同时间的变化有没有显著性的不同。
proc mixed data=outban;
class timepoint educ;
model rbantotal= timepoint | educ/ solution;
random int /subject=id ;
lsmeans educ*timepoint;
run;
因为我是3个group,而不是两个group,如果我想看相互作用项educ*timepoint的p-值,
是不是需要用f-test?如何在mixed model中用f-test呢?我看到现在的结果里就已经有
f-test了:
Type 3 Tests of Fixed Effects
Num Den
Effect ... 阅读全帖 |
|
w*****1 发帖数: 473 | 6 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: 请问大家有关mixed model
发信站: BBS 未名空间站 (Wed Jul 19 12:57:18 2017, 美东)
大家好,我需要用mixed model 对三个group的人群(教育程度1,2,3)进行分析,看
看这些人的认知能力在不同时间的变化有没有显著性的不同。
proc mixed data=outban;
class timepoint educ;
model rbantotal= timepoint | educ/ solution;
random int /subject=id ;
lsmeans educ*timepoint;
run;
因为我是3个group,而不是两个group,如果我想看相互作用项educ*timepoint的p-值,
是不是需要用f-test?如何在mixed model中用f-test呢?我看到现在的结果里就已经有
f-test了:
... 阅读全帖 |
|
w*****1 发帖数: 473 | 7 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: ask for help about sas contrast statement-包子酬谢
关键字: baow
发信站: BBS 未名空间站 (Wed Oct 18 22:53:01 2017, 美东)
Dear all,
I am trying to study if the SBT(a phenotype) change from timepoint 3 to
timepoint 7 are different for case and control. The condition has two
levels(case vs control) and timepoint have three levels(0,3,7), I need to
write a contrast statement,here is my code:
contrast 'SBT change over time for case vs control '
cond... 阅读全帖 |
|
w*****1 发帖数: 473 | 8 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: ask for help about sas contrast statement-包子酬谢
关键字: baow
发信站: BBS 未名空间站 (Wed Oct 18 22:53:01 2017, 美东)
Dear all,
I am trying to study if the SBT(a phenotype) change from timepoint 3 to
timepoint 7 are different for case and control. The condition has two
levels(case vs control) and timepoint have three levels(0,3,7), I need to
write a contrast statement,here is my code:
contrast 'SBT change over time for case vs control '
cond... 阅读全帖 |
|
w*****1 发帖数: 473 | 9 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: ask for help about sas contrast statement-包子酬谢
关键字: baow
发信站: BBS 未名空间站 (Wed Oct 18 22:53:01 2017, 美东)
Dear all,
I am trying to study if the SBT(a phenotype) change from timepoint 3 to
timepoint 7 are different for case and control. The condition has two
levels(case vs control) and timepoint have three levels(0,3,7), I need to
write a contrast statement,here is my code:
contrast 'SBT change over time for case vs control '
cond... 阅读全帖 |
|
w*****1 发帖数: 473 | 10 Dear all,
I am trying to study if the SBT(a phenotype) change from timepoint 3 to
timepoint 7 are different for case and control. The condition has two
levels(case vs control) and timepoint have three levels(0,3,7), I need to
write a contrast statement,here is my code:
contrast 'SBT change over time for case vs control '
condition*timepoint 0 -0.5 0.5 0 0.5 -0.5 ;
in the contrast statement, I also have to include the main effects.
Could you tell me for my case how should I write the sas code inc... 阅读全帖 |
|
w*****1 发帖数: 473 | 11 【 以下文字转载自 Statistics 讨论区 】
发信人: wz99331 (dotti), 信区: Statistics
标 题: ask for help about sas contrast statement-包子酬谢
关键字: baow
发信站: BBS 未名空间站 (Wed Oct 18 22:53:01 2017, 美东)
Dear all,
I am trying to study if the SBT(a phenotype) change from timepoint 3 to
timepoint 7 are different for case and control. The condition has two
levels(case vs control) and timepoint have three levels(0,3,7), I need to
write a contrast statement,here is my code:
contrast 'SBT change over time for case vs control '
cond... 阅读全帖 |
|
d********t 发帖数: 837 | 12 There are many more , the most popular choice for continuous endpoints
is based on fully specified likelihood and covariance modeling,
possibly with random effects. GEE is often used for categorical
data,but almost never seen with continuous data in practice (maybe
gamma family?). As the usual interest in a clinical trial is for the
treatment effect at a certain timepoint, longitudinal models are mostly
used to account for missing data over time (the only exception I've
seen is to estimate coeff... 阅读全帖 |
|
x********e 发帖数: 35261 | 13 统一回复你和某些喷子吧,仔仔细细去NEJM看看美国第一例患者的检测结果。仔细看各
个timepoint的Ct值。你就知道为什么RTPCR做不出来了。 |
|
c*********8 发帖数: 125 | 14 还是古板热心+人气旺啊。我同时发在waterworld, Movie and Stock.你是第一个
response. 先谢谢 Focugcd.
那首最经典的歌叫 Mondo Bongo,出现在 “第一次两人跳舞,第二次片尾火拼。”
我说的不是这个。Sorry. 我说的这个应该是歌(因为有人在唱)。
它配在angelina jolie在厨房里打掉了brad pitt的手枪,brad pitt 向她飞了一把砍
肉刀,然后Brad Pitt tease Angelina “your aim is as bad as your cooking".
Brad Pitt 随后leak了厨房gas pipe,Angelina 不知道,开枪时引爆了厨房而丢了枪
。Brad pitt 借机一个箭步冲出厨房,将Angelina踢到在地。
这个歌就是从这个timepoint开始的,中间俩人赤手空拳肉搏,直到打到两人从重新拣
枪对峙(歌曲结束)。
然后俩人谁也没开枪,无声胜有生一秒钟,然后顿悟,第二次擦亮的真爱的火花(第一次火花是电影刚开始被警察 追捕时,是对对方一无所知,纯肉体上的chemistry)。... 阅读全帖 |
|
g****e 发帖数: 1426 | 15 Those companies don't have good earning. Their values are going forward in
the future. ER is a good timepoint to see their cash position. I don't think
there will be any good news before or on ER for HZNP, wait for a good
entrance after ER would be a good idea.
BTW, DCTH will announce Earning soon, people are expecting NDA submission
news on/before earning. I think it is also good time to load it. |
|
g****e 发帖数: 1426 | 16 NCE looks like will be delayed again from today's price action.
Tomorrow will be a critical timepoint, downtrend or uptrend?
But long term, we will see at least 15 in a year. |
|
q********g 发帖数: 10694 | 17 这股早过气了。怎么还有人关注?
however all patients showed a decline in distance walked on this measure
since the week 144 timepoint. In addition, a continued stability of
respiratory muscle function was observed, as assessed by pulmonary function
tests. |
|
w*****i 发帖数: 151 | 18 大家都是结婚多久了才提出办绿卡的申请的?看面试准备大家都很紧张的样子,请问万
一不过会有什么后果呢?还能再重新申请一次吗?
正在斟酌选择一个比较保险的timepoint for 领证和绿卡申请,请一路走过来的朋友们
支招。
包子答谢! |
|
v*********i 发帖数: 40 | 19 1 有转的念头的时候
2 开始投简历的时候
3 有面试邀请的时候
4 搞定了一切之后
选哪个timepoint呢,最professional?
再,申请的新老板要是问,你转实验室有没有现在的老板同意,该如何回答呢? |
|
s******h 发帖数: 47 | 20 two-way ANOVA is the perfect tool for doing that from a strict statistic
point of view. However, I do know most biological people usually use T-test
to compare 2 groups of data at a certain timepoint. If that way does not
cause reviewers' concern, it does not bother readers too much any way. If it
does, you have to do 2-way ANOVA, then post-hoc. |
|
s******a 发帖数: 472 | 21 http://ge.geglobalresearch.com/blog/you-know-youre-a-biologist-
This list has been floating around the internet for a while now but it is
too funny and too true not to pass along. I am not sure where the original
came from, so if you happen to know, please let us know in the comments so
we can give them credit!
You know you’re a biologist when…
You regularly open the toothpaste with one hand.
You wash your hands before and after using the washroom.
You’re looking for a cook book by Maniatis
When... 阅读全帖 |
|
G***G 发帖数: 16778 | 22 two time series vectors
timepoints=c(1,2,3,4,5) hours
tv1 =c(1,3,5,8,9)
tv2=c(2,5,7,10,13)
How to calculate the signification of difference between the two vectors?
in addition to t test, what else method is good for this kind of question?
note: the order of the vector is very critical.
if not considering the sequence of elements in the vector, t-test would be
fine.
But we need to consider the sequence of elements in the vector. |
|
o******6 发帖数: 538 | 23 ☆─────────────────────────────────────☆
bigwing2 (titi) 于 (Thu May 15 23:29:00 2008) 提到:
4 treatment: 1(control),2,3,4
5 timepoint: baseline, Month 1,2,3,4(repeated measure)
Already substract baseline value from the value of Month 1,2,3,4.and can
find mean change from basline for control and each treatment at each follow-
up month.
Now, want to find the difference of mean change from baseline between
treatment and control at Month 1, 2,3,4 respectively
i.e. want to find:
what's the differe |
|
w***e 发帖数: 269 | 24 I am a biologist, not a statistician. What biology people would do in this
situation is pairwise t-test using the data from the timepoints where both
groups (vhe and drug) are available. T-test of AUC is another option.
Statisticians may not approve this, but if this paper is going to be
published in a biology journal, you know what they say, when in Rome, do as
the Romans do. |
|
e****t 发帖数: 766 | 25 suppose, each patient will be measured at 1,2,3,4 time, but there is missing
value at different timepoint.
we fit model as
proc mixed ;
class sub time trt ;
model sub = time trt time * trt;
repeated time / sub = sub type = un ;
lsmeans trt * time / pdiff ;
run;
when calculating effect size,
we use ls Means diff / (SE / sqrt (1/n1 + 1/n2))
here n1 and n2 should be patient number in different group.
or should be patient number in different group by visit (due to missing,
observations at each visit... 阅读全帖 |
|
G***G 发帖数: 16778 | 26 two time series vectors
timepoints=c(1,2,3,4,5) hours
tv1 =c(1,3,5,8,9)
tv2=c(2,5,7,10,13)
How to calculate the signification of difference between the two vectors?
in addition to t test, what else method is good for this kind of question?
note: the order of the vector is very critical.
if not considering the sequence of elements in the vector, t-test would be
fine.
But we need to consider the sequence of elements in the vector. |
|