由买买提看人间百态

topics

全部话题 - 话题: question2
1 (共1页)
z**********i
发帖数: 12276
1
来自主题: Statistics版 - help for a sas question
I have two datasets.
1.
ID variablename
001 question1
005 question1
009 question1
002 question2
003 question2
........
2.
ID question1 question2 question3 ...
001 2 1 1
002 2 2 2
003 1 1 2
....
how could get the number from dataset2 to fill in the value of variablename
in dataset1?
I want to get the dataset like
ID variablename
001 2
005 1
Thanks!!!!
g*******y
发帖数: 380
2
来自主题: Statistics版 - help for a sas question
data one;
input ID $ question $9.;
datalines;
001 question1
005 question1
009 question1
002 question2
003 question2
;run;
data two;
input ID $ question1 question2 question3;
datalines;
001 2 1 1
002 2 2 2
003 1 1 2
;
run;
proc sort data=two;
by ID;
run;
proc transpose data=two out=three name=question;
by ID;
run;
proc sql;
create table final as
select one.*, col1 from one, three
where one.ID=three.ID and one.question=three.question;
quit;
f***n
发帖数: 117
3
Round two Question2 is a classic problem for greedy algorithm(called 'event
schedule problem'?. We went thru this problem in the first class of
algorithms. To code is easy, to prove it's optimal is more tricky but not
very
bless lz
l*****a
发帖数: 14598
4
来自主题: JobHunting版 - onsite回来
for question2)
since it is already sorted,definitely use O(m+n)
p*****2
发帖数: 21240
5
来自主题: JobHunting版 - 问两道A家的设计题

is
the
if we have two classes User and Product
question1:
class Product
{
List notificationlist; // to notify all users in the list once
the
product is available
}
question2:
class User
{
List friends;
}
class Product
{
HashSet purchaseduser;
List GenerateList(User user)
{
foreach(friend in user.list)
{
if(purchaseduser.Contains(frind))
add it to output list
}
}
}
S*******s
发帖数: 13043
A****2
发帖数: 49
7
来自主题: Visa版 - I539表格问题
F1转H4,正在填写I539表格,脑子有些不转了,I539表格的 PART3 QUESTION2
Is this application based on an extension or change of status already
granted to your spouse, child, or parent?
NO,
YES,USCIS Receipt #:
上面这个问题是回答YES还是NO啊, 如果是YES, 这个USCIS Receipt #填写LD H1B的
I797上面的Receipt #对不对?
h******g
发帖数: 19
8
I am applying the green card for my parents.
1. On the I-864 form I filed for my mom, part 3 question2(I am sponsoring
the following family members immigration at the same time ), Do I need to
put my dad’s info. here? Per an experience sharing article , it is not
necessary to repeat my dad’s info. here since I am going to file a separate
I-864 for my dad anyway. But if I do not put my dad’s info. here how could
I reflect that I am supporting both my dad and my mom in part 5, (the
sponsor’s... 阅读全帖
y****m
发帖数: 1322
9
question1:老爸,偶好想你啊啊啊
question2:mm晚上有空吗我们一起出去吃个饭?
c**d
发帖数: 373
10
再说说黑桃分布。庄家的判断是不够仔细的,未能和主牌有机的结合起来。只能打40分。
“如果对家还有黑桃,那对家就是给错了,打牌不是赌博。”
——不能赞同这句话更多。
判断帮家还有黑桃留小张的看官,我认为都应该把upload回复中的这句话打印出来装裱
一新然后贴到自己卧室床头,作为箴言反复阅读。
黑桃991010吃了kk,边家都给了黑,帮家给AQQJ。如果帮家没断,那一定是帮家的花里
胡哨打法出错了。
这牌,黑J是仅次于A的大牌了。如果你是帮家,真的有5张草花的话,给出JQQx能不能
同样达到提示庄家的目的?也就是说:看好了,拖拉机我没分给到倒数第二大的牌,我
只有A或者是断了!
相反,如果给了AJQQ留张小的,庄家一看,哦,边家都没断,帮家连最大的A和第二大
的J都贴了,应该是没了吧。于是直接出黑——帮家的小聪明反而是误导了庄家,这是
不明智的赌博性打法。
说句题外话,什么情况下要贴AJQQ留x呢?就是庄下家明断黑桃的时候,可以选择这样
贴,主要目的是给庄家接下来甩牌让路,其次才是迷惑庄下家判断的。而且追加一句,
迷惑性贴牌用AQQx留J,效果比AQQJ要好。
关于黑桃帮家明断,这应该是... 阅读全帖

发帖数: 1
11
Question1.
面膜到底什么时候敷最有效?
Answer:做面膜一定要选对时间,白天做面膜的效果远远不如晚上。夜晚是皮肤
美容的“黄金时间”,每晚10点至凌晨3点是皮肤自行修补受损细胞的时候,因此,这
个时间段之前的皮肤细胞更加活跃,代谢能力更强,可以令面膜或是其他保养品的美容
精华更充分地发挥功效,使肤质实现跳跃性的提升。因此选择在晚上睡前做一次面膜是
最好不过的了。
Question2.
面膜真的可以天天敷吗?
Answer:经常看到某某明星说自己需要天天敷面膜,而且有时还会一天敷好几张
。但是真的天天敷面膜皮肤就会越敷越好吗?其实不然!甚至相反,大多数面膜用的次数
过于频繁会导致肌肤出现过敏、红肿等不良症状。长期天天敷面膜,只能让你的皮肤越
来越脆弱,越来越敏感。
有些面膜明确标识了使用周期,比如5天一疗程,或是10天3片,或者建议一周使用2-3
次,就应该按照建议使用。不然再好的美食,吃多了也会觉得撑。
Question3.
面膜用后需要洗吗?
Answer:如果不把脸上的营养液洗去,就直接涂其他护肤品,会影响皮肤对这些
护肤品的吸... 阅读全帖
S***7
发帖数: 657
12
Question2: is the contract enforceable?
Yes! LZ relied on the school’s email (offer/promise) and declined the offer
from other school. That was a detrimental change of position by LZ. And
this detrimental change was definitely a foreseeable event by the school. As
I mentioned in my previous post, the doctrine of promissory estoppel makes
this contract enforceable. So the school has to honor their offer to LZ.
m****a
发帖数: 189
13
来自主题: EnglishChat版 - English grammar questions
u are doing very good at question2.
my teacher's answer has came out.
1)75% complete.
2)a whole-day training session.
3)substantial profit
F****l
发帖数: 3843
14
来自主题: LoveNLust版 - 一个大学女生的秘密日记,zz
这让我想起在27 dresses 里的,
question1: are u single?
question2: are u gay?
question3: do you have job?
t*s
发帖数: 1504
15
来自主题: CS版 - Question2: complexity of 3-SAT
x variables, y clauses
complexity is exponential of min(x,y), right?
h*******e
发帖数: 225
16
来自主题: CS版 - Question2: complexity of 3-SAT
it is meaningless to express in this way since y = O(x).
m*********g
发帖数: 273
17
来自主题: Linux版 - ThunderBird的使用问题
For question2, if you use linux. thunderbird has a pre compiled version. All
you need to do is unzip.
For questions, you don't have to back your mails up if you choose to leave
all the mail on your mail server. By the way, every thing should be in the .
thunderbird folder.
n********k
发帖数: 2818
18
thank you!!
Question1: So large plasmid always behave this way or not? the biggest one I
worked was 20kb, it was ok with typical condition.
Question2: so cosmids or Yac/Bac don't follow the same way as they have
multiple rep origisns, right?

background
the
also
days
plasmids.
y**********a
发帖数: 481
19
来自主题: MedicalCareer版 - NBME4 several Q, thanks!
REDpersimmon,借机也问你几个,正愁得不行呐。
NBME form4
block4,
question13,答案是A还是D,我Google,D好像对。
question22,为什么是D,箭头指的是什么?
question42,是C还是E?
question49 A和C不是一样的吗?
block2
question2,一点没看明白,为什么是C?
question45,为什么是A? 难道不是D吗?
多谢指点!
l********y
发帖数: 2295
20
for question2, this was from kaplan q bank:
the 1st step in the workup of any pt with new-onset dyspnea, syncope,
palpitations, or chest pain is always an EKG. if cardiac dysfunction is
suspected, the next step is an echo to evaluate the valves and an estimation
of systolic ejection fraction. the most accurate test in determining EF is
MUGA.
since this pt has irrgular rate and hx of AF, should the next step be EKG to rule out AF?
M*****y
发帖数: 666
21
来自主题: Quant版 - GS 电面问题
For question2: assume uniform dist.
if you use MLE, then P(X=k)=1/N where 1<=k<=N
So 1/N is max where N is min at N=k, here is k is 100, then max N=100; if k
is 200, then max N=200
However, if you use MME to estimate the max:
Xbar=mu, and we pick one number and get X=k, Xbar=k=mu=(N+1)/2
So if k=100, then max N=199
if k=200, then max N=399

below
integer
200,
g*******y
发帖数: 380
22
来自主题: Statistics版 - 请教几个SAS的问题
I'm not master here.
For question1, I would create a new dataset which is a blanksheet only has
item and date variables. Since it's systematic, you can use loop to create
it. Then join it with your dataset which has observation of price.
For question2, I think question1 already answered it.
For qestion3, again, whether or how to change missing value is your decision
. Once you made that decision, you can try use SAS to resolve it.
s*******i
发帖数: 295
23
来自主题: Statistics版 - Two statistic questions!!

So, for question2, how do you suggest to design the 3**(3-1) fractional
factorial?
s******y
发帖数: 352
24
we program per SPECs. the OP gives vague Specs on how to choose the cloeset
d1 to D2. i just assume the question 1 will be imposed on question2.
again, SPECs will guide your program's implementations.
But, your points or concerns are well taken.
z**********i
发帖数: 12276
25
来自主题: Statistics版 - 问个基本的建MODEL问题
OUTCOME: BMI
PREDICTOR: QUESTION1, QUESTION2, QUESTION5, QUESTION6...
所有的PREDICTORS是ORDIANL VARIABLE.
我想分别TEST OUTCOME和每一个PREDICTOR的CORRELATION.
我用了2个方法:
1.
PROC CORR SPEARMAN;
VAR BMI QUESTION1n QUESTION2n...;
RUN;
生成一个CORRELATION TABLE.
2. ANOVA
分别把每个PREDICTOR和BMI放到MODEL里,这一步,我不是很确定.
proc glm data = DATA;
class QUESTION1;
model BMI = QUESTION1;
meansQUESTION1;
run;
quit;
最终,是要建个MIXED MODEL.现在是筛选可用的PREDICTORS.
多谢!!
p********a
发帖数: 5352
26
来自主题: Statistics版 - [合集] 问个基本的建MODEL问题
☆─────────────────────────────────────☆
zhongdianshi (brb) 于 (Mon Aug 29 09:50:26 2011, 美东) 提到:
OUTCOME: BMI
PREDICTOR: QUESTION1, QUESTION2, QUESTION5, QUESTION6...
所有的PREDICTORS是ORDIANL VARIABLE.
我想分别TEST OUTCOME和每一个PREDICTOR的CORRELATION.
我用了2个方法:
1.
PROC CORR SPEARMAN;
VAR BMI QUESTION1n QUESTION2n...;
RUN;
生成一个CORRELATION TABLE.
2. ANOVA
分别把每个PREDICTOR和BMI放到MODEL里,这一步,我不是很确定.
proc glm data = DATA;
class QUESTION1;
model BMI = QUESTION1;
meansQUESTION1;
run;
quit;
最终,是要建个MIXED MOD... 阅读全帖
1 (共1页)