G****A 发帖数: 4160 | 1 1. If you want to create an array of class objects, the class must have
a default constructor.
2. try two ways:
const int STKS = n;
Myobject myobject[STKS] = {
Myobject(parm),
Myobject (parm),
Myobject (parm),
Myobject (parm),
};
or
you can use parm as default value in default constructor for easier
life:
Myobject::Myobject(int xxx=parm)
Myobject myobject[STKS]; |
|
y****2 发帖数: 34 | 2 %let x= "a b c d";
data one;
length parm $ 2.;
do until(parm = scan(&x, -1));
i+1;
parm =scan(&x, i);
output;
end;
drop i;
run;
Should be OK? |
|
m******t 发帖数: 44 | 3 在用处理一个logistic regression(有多个解释变量 都是连续的),code 如下:
第一步
proc genmod data=datcom descend ;
model bidd = pdhdS1 pdnhS1 E age educyears D / dist=bin link=logit CovB;
by _Imputation_;
ods output ParameterEstimates=paraest CovB=covmat;
run;
这里生成了2个ods table.按理说,因为是multivariate inference,所以第二步
mianalyze应该采用如下code:
proc mianalyze parms=Paraest covb=covmat;
modeleffects intercept pdhdS1 pdnhS1 E age educyears D;
ods output ParameterEstimates=parameterest VarianceInfo=vinfo;
run;
在proc mianalyze输入data的时候,p... 阅读全帖 |
|
|
d**********o 发帖数: 1321 | 5 第四次作业(代课老师出错)
** from: (me~~) <(me~~)@gmail.com>
to: cs445代课老师 <[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
>
date: Sun, Nov 17, 2013 at 4:43 PM
subject: hw4 ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 6 第四次作业(代课老师出错)
** from: (me~~) <(me~~)@gmail.com>
to: cs445代课老师 <[email protected]
/* */>
date: Sun, Nov 17, 2013 at 4:43 PM
subject: hw4 processing nodekind order
mailed-by: gmail.com
Hi Dr. cs445代课老师,
For hw4, I just started and processed the logic, type and typearray. The
intuition tells me I should process the nodekinds bottom up, but after
typearray, I realized I lost my init errors. Will there be any possibility
that your init.out has missed some error out?
Please ... 阅读全帖 |
|
l*******e 发帖数: 3584 | 7 somebody mentioned like this
Got it, I guess installing pluglinux first change some uboot parm so I
reinstalled uboot from jeffs site (well really just cleared the parm) and
reinstalled again and Im running Debian now :)
He has exactly the same problem with me. I will try this and report later.
But does anybody have idea of what did UBOOT write for plugapp linux, which
can not been used by DEBIAN? |
|
k*****l 发帖数: 34 | 8 假设myobject 只有一个带参数的constructor: myobject(int parm),
^^^^
myobject * a =new myobject[n]
编译的时候说找不到 myobject() to initialize a vector.
试图加入参数: myobject * a =new myobject[n](parm)
又说 No initializer allowed for new of an array
请问有什么好办法解决这个问题? |
|
k*****l 发帖数: 34 | 9 en .我也这么想,同时还要填一个myobject::init(int parm)完成
带参数的constructor: myobject(int parm)一摸一样的工作。 够麻烦的。
关键问题是: 为什么c++不让 new myobject[n]带参数呢?? 实现上应该不难啊。这个
限制有什么特别的理由?? |
|
s*********e 发帖数: 1051 | 10 below was posted on my blog before and hope it helpful.
/************************************************
* ARMA - GARCH ESTIMATION USING PROC MODEL *
************************************************/
data garch;
lu = 0;
lh = 0;
ly = 0;
do i = 1 to 1000;
h = 0.3 + 0.4 * lu ** 2 + 0.5 * lh;
u = sqrt(h) * rannor(1);
y = 1 + 0.6 * (ly - 1) + u - 0.7 * lu;
lu = u;
lh = h;
ly = y;
output;
end;
run;
proc model data = garch;
parms ar1 ma1 mu;
y = mu + ar1 ... 阅读全帖 |
|
A*******s 发帖数: 3942 | 11 问问大牛们, 你们搞nlmixed的时候容易收敛么?
不用说别的复杂问题,就sas自己的例子,很豪放,不容易收敛
http://support.sas.com/documentation/cdl/en/statug/63033/HTML/d
这个初始值要是我自己猜的话怎么都不行... 搞grid search来选初始值也不行。
比如说我把sample code改了parms statement
parms beta1=-3.01 to 3 by 0.5 beta2=-3.02 to 3 by 0.5 beta3=-3.03 to 3 by 0.
5
s2b1 =0.1 to 2 by 0.1 cb12 =-1 to 1 by 0.1 s2b2 =0.1 to 2 by
0.1 s2=0.1 to 2 by 0.1/best=50;
结果出来
ERROR: Quadrature accuracy of 0.000100 could not be achieved with 31 points.
The achieved
accuracy ... 阅读全帖 |
|
s*******e 发帖数: 634 | 12 目前在做一个项目,用到mixed model, 需要使用parms 这个option. 我的data 里面
已经有个参数命名 est, eqcons=1 to #obs. 跑了以后总是说
The PDATA= data set must have either 265 more or 6 less observations.
option 如下:
parms / pdata=test eqcons= 1 to 819;
到底哪里有问题。请高人指点,谢谢。 |
|
l*******e 发帖数: 3584 | 13 somebody mentioned like this
Got it, I guess installing pluglinux first change some uboot parm so I
reinstalled uboot from jeffs site (well really just cleared the parm) and
reinstalled again and Im running Debian now :)
He has exactly the same problem with me. I will try this and report later.
But does anybody have idea of what did UBOOT write for plugapp linux, which
can not been used by DEBIAN? |
|
o******r 发帖数: 1378 | 14 美國的意大利飯已經很好吃了呀。。 seafood pasta, shrimp scampi, eggplant parm
, lasgna, lobster ravoli, 提拉米蘇, 太多好吃的了 |
|
|
c**i 发帖数: 6973 | 16 I just added the last item to the original posting.
(l) The report quoted in passing: "Purely an Italian-American creation, like
chicken Parmesan."
Regarding chicken Parmesan.
* Parmesan (n; Middle French parmesan, from north Italian dialect parmeź
;an): "a very hard dry sharply flavored cheese that is sold grated or in
wedges"
* parmigiana (adj; Italian feminine of parmigiano of Parma, from Parma): "
made or covered with Parmesan cheese "
Note: Parmesan (n; a cheese) and pa... 阅读全帖 |
|
a*********b 发帖数: 54 | 17 parm.bo@gmail,
thanks a lot |
|
|
H******7 发帖数: 34403 | 19 Thu Mar 03 12:18:17 2011 Inactivity timeout (--ping-restart), restarting
Thu Mar 03 12:18:17 2011 TCP/UDP: Closing socket
Thu Mar 03 12:18:17 2011 SIGUSR1[soft,ping-restart] received, process
restarting
Thu Mar 03 12:18:17 2011 Restart pause, 2 second(s)
Thu Mar 03 12:18:19 2011 IMPORTANT: OpenVPN's default port number is now
1194, based on an official port number assignment by IANA. OpenVPN 2.0-
beta16 and earlier used 5000 as the default port.
Thu Mar 03 12:18:19 2011 Re-using pre-shared stat... 阅读全帖 |
|
V**********i 发帖数: 43 | 20 宝宝倒是入盆了,上周开始头也坠下去一点,动的少了。今天问医生如果过了预产期还
没出来能不能催产,他不肯,说除非有medical condition不然至少等到41周才考虑催
。我说我一黑人同学为了生娃不耽误上课,本来预产期周二,提前到周四催产就只用休
息一周末,他说那肯定是私人医院,他们是教学医院,按书本办事。问他是不是多走路
能促使宝宝出来,他说走路,ML, 吃Eggplant Parm什么都没用。。。感觉美国医生太
死板了。但他说原因是催产可能不易顺产,易导致C section,不知道是不是真的 |
|
|
P***a 发帖数: 774 | 22 【 以下文字转载自 board 讨论区 】
发信人: Pumba (Hakuna Matata), 信区: board
标 题: 真诚申请LC版版主
发信站: BBS 未名空间站 (Thu Oct 2 15:52:20 2008), 转信
希望诸位兄弟姐妹,站务版主们支持
我也在LC中,parm被audit,所以有很多大家都有或者没有的经历
我会好好管理版面,给大家提供有意义的信息
谢谢大家支持 |
|
k******b 发帖数: 4501 | 23 Miami 附近, Everglades National Park, Key West (非常美),然后北上沿A1A开一
阵到West Parm Beach,沿途beach风光美。
Florida 北边的古城St. Augstine也不错,不过离South Florida太远 |
|
e***t 发帖数: 14386 | 24 During his brief but wondrous stretch of national superstardom, Jeremy Lin h
as given us only glimpses of himself, through his on-court conduct and humbl
e postgame comments. Naturally, we want to know more. Hurried by the potenti
ally short-lived apex of Linsanity, GQ contacted old friends, guys he'd stud
ied, played, and lived with, to get the truth about the 23-year-old Harvard
grad-turned-Knicks savior during his formative years. The result? Jeremy Lin
is, by most accounts, a spotless athlet... 阅读全帖 |
|
l*****9 发帖数: 9501 | 25 Lin had a similarly devout girlfriend in college, and they parted on
amicable terms. "Jeremy forgot to make reservations on Valentine's Day once,
and had to save the day with some homemade chicken parm," says Blankenau.
估计没有上床 |
|
p******s 发帖数: 5200 | 26 哈哈
这个奶酪算是有名的牌子,可以媲美波尔多葡萄酒。
在别的地区同样方法生产的奶酪,只能叫parmesan
嗯,就是大白菜chicken parme taste so good的那个 |
|
|
z*i 发帖数: 58873 | 28 brie不臭啊。 我最受不了的其实是生的parm. blue少来点也还OK. |
|
b********n 发帖数: 16354 | 29 parm为什么要生吃~~倒是monster怪怪的想不出来怎么吃~~ |
|
|
|
d**********o 发帖数: 1321 | 32 hw4:老师附件
/**** Limited to 5 seconds total run time and 5000 lines of output <
<
/**** * ================================================ * <
| Tests for CS445 Assignment 4 | <
| Comparison with Expected Output | <
/**** * ================================================ * <
<
/export/home/nibbler/TestWorld <
find makefile ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 33 hw4:老师附件
/**** Limited to 5 seconds total run time and 5000 lines of output <
<
/**** * ================================================ * <
| Tests for CS445 Assignment 4 | <
| Comparison with Expected Output | <
/**** * ================================================ * <
<
/export/home/nibbler/TestWorld <
find makefile ... 阅读全帖 |
|
n***a 发帖数: 46 | 34 先更正前面文章的严重错误,其中光华第一次站庆是2000年,并非99年。
关于光华得ID还能八卦出很多东西,前面的文章是抛砖引玉,看大家回帖,不知不觉八卦
出了很多东西,其实有些我也不知道,只是在这样不断的你来我往的八卦中俺又获得了很
多新的八卦。
看Tangdynasty又提到很多人,有些知道,有些不知道。其实,tangdynasty本身也是某一
时期比较有名的人物。关于Purohol这个ID,我印象最深的就是某段时间的疯狂发文,直
至某日文章数超越redpower跃居光华第一,之后这两个人的文章数就此起彼伏。关于parm
a,这个知道的比较多,是9X中文的mm。之所以认识她是因为认识xdj,xdj曾任流行音乐
版和足球版(未分家)的版主,卸任后为第二届荣誉版主。足球版卸任后推荐的是parma
,之后parma在足球版当了很长时间的版主,此人的昵称频繁更换,看来爱足球的女孩都
超级野,某次伊的昵称竟然是“你看那太阳的阴茎随风飘”,这是最牛的一次。
今天八卦出了兴致,不过不八卦光华ID了,要么着这里有很多前生科的人,那么八卦一下
生科的各位老师。
生科院建院1996年,至今5人出任院长, |
|
y*****a 发帖数: 6993 | 35 茄子我也还是喜欢中餐的大油炒法,你也能试试意式的eggplant parm的那种 |
|
e*********r 发帖数: 546 | 36 Yes, remote access -> WEBGUI Management enabled
I followed the post till the end of "Client Config File - Desktop"
my OpenVPN client window log ends up with the following, where
174.xx.xx.xx is the same as the one shown in DDNS Status:
"Mon Sep 24 21:00:16 2012: INADYN: Started 'INADYN Advanced version 1.96-ADV
' - dynamic DNS updater.
Mon Sep 24 21:00:16 2012: INADYN: IP read from cache file is '174.xx.xx.xx'.
No update required."
OpenVPN client window:
Mon Sep 24 21:26:25 2012 us=234000 Data... 阅读全帖 |
|
N***m 发帖数: 4460 | 37 估计是new只负责分配空间?
可以用vector ob(n,myobject(parm))来实现。
这个 |
|
p**e 发帖数: 335 | 38 thanks
template //line1
class test
{
test();
~test();
template friend bool operator==(const test& p1, const test& p2
); //line 9
};
it will be
test.h:9: error: declaration of 'class T'
test.h:1: error: shadows template parm 'class T' |
|
k***o 发帖数: 59 | 39 大家好!我收到University of Washington--Seattle的Ph.D面试邀请,我申请的
是Department of Pharmaceutics. 那里有一些教授做的东西我比较感兴趣,比如和血
脑屏障相关的药动学什么的。在申请的时候,也没有好好收集信息,只是觉得这个学校
综合排名不错,药学院(应该是Parm.D)排名也挺靠前,但是具体Department of
Pharmaceutics的研究实力不了解。光看网页上的介绍也没有什么感觉,所以请教大家
,去面试的时候心里也有点数,万分感激!! |
|
e***a 发帖数: 5 | 40 已有中国的本科学位,想申请parm D program 的话 prerequisite 还差大概二十多个
学分,
如果全在community colloge修完,假设GPA还行(3.8),申请的时候会受到什么歧视吗?
还是说去四年制university 念一年full time 比较好?
恳请过来人指点一二,多谢! |
|
g********r 发帖数: 2 | 41 刚注册完,先来报名参加版聚。有些问题请教。大家都住在Parme吗?现在房都已
经订出去了,有没有住在附近酒店的?我是第一次参加,对芝加哥不熟,不想住太远。
如果有其他单个的女生愿意SHARE房间,非常乐意。多谢指点! |
|
x*******u 发帖数: 500 | 42 %let x=a b c d;
如何产生一个dataset,like this:
parm
a
b
c
d |
|
m********8 发帖数: 28 | 43 用PROC MODEL 做一个regression analysis,大概的程序是这样的:
PROC MODEL data=he;
By position;
parms a b1 b2;
difference = a + b1*X1 + b2*X2; fit difference;
test 'b1=b2' b1=b2;
run;
我现在的问题是,因为Position有很多个,所以output很长。output中对我有用的是,
每个position的
1)整个model的p value
2)b1和b2的p values
3)b1=b2的test的p value
整个数据文件中一共有300多个positions,所以如果要手工操作,记录下这些p value
会非常费时费力,有没有方法可以将output中的每个position的这几个p value都直接
提取出来,放到一个excel文件里边去?
谢谢! |
|
h******e 发帖数: 1791 | 44 data set如下:
Parm Value Group
d1 .. 1
d2 .. 1
d3 .. 1
d1 .. 2
d2 .. 2
d3 .. 2
d1 .. 3
d2 .. 3
d3 .. 3
... .. ..
求每组的d1^2 + d2^2 + d3^。谢谢。 |
|
S******y 发帖数: 1123 | 45 Thanks!
Is there a formal way to solve this?
such as optimization to minimize discrepancies between y and y-hat by
searching thru parm space? |
|
b*******r 发帖数: 152 | 46 try starting off with the single-var model to see if the signs of the parms
are right or not. |
|
a****r 发帖数: 1486 | 47 parameter是fixed
把parm当random的是bayesian
parameters |
|
A****t 发帖数: 141 | 48 大概可以这样:
对于b1
%macro reg;
%do k=1 %to 2;
%do j=1 %to 2;
%do i=1 %to 2;
proc reg data=one;
model b1= e&k r&j f&i;
ods output ParameterEstimates=parms1;
run;
proc append base=parms data=parms1;
run;
%end;
%end;
%end;
%mend reg;
%reg; |
|