<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
  <channel>
    <title>Chang ,JX</title>
    <link>http://peacelovekenzie.life-and-things.com/</link>
    <description>&Ntilde;€&ETH;&deg;&Ntilde;&Ntilde;&ETH;&ordm;&ETH;&deg;&ETH;&middot; &ETH;&cedil; &Ntilde;&ETH;&middot;&Ntilde;‹&ETH;&ordm;</description>
    <language>zh-tw</language>    <item>
      <title>latex hw tempelate</title>
      <link>http://peacelovekenzie.life-and-things.com/2009/03/10/latex-hw-tempelate.html</link>
      <description>documentclass[a4paper,12pt,fleqn]{article}  %extreport
usepackage[top=3cm,bottom=1cm,left=2cm,right=2cm]{geometry}
usepackage{fancyhdr,color,xcolor,dsfont}
usepackage{listings,ulem,booktabs,graphics,lastpage}
usepackage{bm,amsmath,amssymb,amsthm,latexsym}
usepackage{graphicx,fouriernc,hyperref}  %fouriernc
pagestyle{fancy}
fancyhf{}
lhead{Macro theory IV:HW1}
chead{}
rhead{ d96627003 Chang,JunXiang quad thepage/pageref{LastPage} }
%usepackage{pifont}  fouriernc mathpazo concmath(it can&#8217;t utilize pdf) mathptmx
defbe{begin{enumerate}}   % Begin Enumerate
defee{end{enumerate}}     % End Enumerate
defen{item}               % ENtry (item)
defbi{begin{itemize}}     % Begin Itemize
defei{end{itemize}}       % End Itemize
def[#1]{begin{align*}#1end{align*}}
DeclareSymbolFont{letters}{OML}{ccm}{m}{it}
DeclareMathAlphabet{mathcal}{OMS}{cmsy}{m}{n}
renewcommand{labelitemi}{$blacktriangleright$}
newcommand{nf}{textrm}
newcommand{dsp}{displaystyle}
newcommand{intff}{int^{infty}_{0}}
newcommand{ert}{e^{-R(t)}}
newcommand{ev}{mathcal{V}}
newcommand{dpa}{partial}
newcommand{lw}{leftarrow}
newcommand{llw}{Leftarrow}
newcommand{rw}{rightarrow}
newcommand{rrw}{Rightarrow}
newcommand{ham}{mathcal{H}}
newcommand{lam}{pounds}
newcommand{grl}{lambda}
newcommand{gra}{alpha}
newcommand{grb}{beta}
newcommand{grd}{delta}
newcommand{grt}{theta}
newcommand{limu}{lim_{trw infty}}
newcommand{cov}{mathsf{Cov}}
newcommand{ex}{mathds{E}}
newcommand{bx}{pmb{X}}
newcommand{bgrb}{pmb{beta}}
newcommand{bgrt}{pmb{theta}}
newcommand{bA}{pmb{A}}
newcommand{bu}{pmb{u}}
newcommand{bve}{pmb{varepsilon}}
newcommand{lp}{mathds{L}}
newcommand{I}{nf{I}}
newcommand{iid}{stackrel{mathrm{iid}}{sim}}
linespread{1.3}
pagecolor{white}
color{black}
%=========================here start=======================%
begin{document}
  </description>
      <guid>http://peacelovekenzie.life-and-things.com/2009/03/10/latex-hw-tempelate.html</guid>
      <pubDate>Tue, 10 Mar 2009 11:32:26 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>Speed test</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/12/31/speed-test.html</link>
      <description>/*Gauss*/
m=ones(200000,1);
ret=0;
starttime=date;
for i (1,20,1);
ret=ret+sumc(sumr(m));
endfor;
endtime=date;
print etstr( ethsec(starttime,endtime) );
/*OX*/
#include
main(){
decl tim,i,m,ret,k;
m = ones(200000,10);
ret =0;
tim = timer();
for (i=0;i&lt;20;++i){
ret=ret+sumc(sumr(m));
}
print(&#8221;time lapsed: &#8220;, timespan(tim, timer()), &#8220;n&#8221;);
}
#R
# File name: loop_rowSums.r
my.loop &lt;- 20
m.dim &lt;- list(nrow = 200000, ncol = 10)
m &lt;- matrix(1, nrow = m.dim$nrow, ncol = m.dim$ncol)
ret &lt;- 0
start &lt;- Sys.time()
for(k in 1 : my.loop){
ret &lt;- ret + sum(rowSums(m))
}
Sys.time() - start
==========================
Speed:
OX(0.18)
Gauss(0.06)
R(0.66)
http://www.math.ncu.edu.tw/~chenwc/R_note/index.php?item=loop
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/12/31/speed-test.html</guid>
      <pubDate>Wed, 31 Dec 2008 02:24:43 -0500</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>mySQL</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/12/24/mysql.html</link>
      <description>/* IMPORT DATA CSV*/
PROC IMPORT DATAFILE=&#8221;C:DATASTATADASE17HOSP17.CSV&#8221;
 OUT=MYDATA DBMS=CSV REPLACE;
   GETNAMES=YES;
RUN;
/*OUTPUT DATA CSV*/
PROC EXPORT DATA=NEW
OUTFILE=&#8217;c:DataNEW.csv&#8217;;
/*CREATE NEW TABLE ORDER BY*/
PROC SQL;
CREATE TABLE  NEW AS
SELECT* FROM MYDATA,IDX
WHERE PRSN  INV
ORDER BY TAG;
QUIT;
/*USE CASE WHEN TO
GREATE NEW VARIABLES*/
PROC SQL;
CREATE TABLE  NEW AS
SELECT * ,
CASE
	 WHEN PRSN  LT 10 THEN &#8216;ZOO&#8217;
     WHEN PRSN GE 10 THEN &#8216;BZOO&#8217;
	 END AS PD,
CASE
	 WHEN PRSN BETWEEN 1 AND 20 THEN &#8216;GOOD&#8217;
	 WHEN PRSN BETWEEN 21 AND 30 THEN &#8216;GOODT&#8217;
	 ELSE &#8216;NOT_BAD&#8217;
	 END AS DPI
FROM MYDATA;
QUIT;
/*USE IN / NOT IN*/
PROC SQL;
CREATE TABLE NEW AS
SELECT * FROM MYDATA
WHERE PRSN NOT IN
(8,11,14,18,24,27,28,44,47,50,
52,56,57,61,62,64,65,78,80,91,
100,109,110,114,117,
124,126,132,
133,136,138,
143,145,148,
150,155,157,
160,164,166,167,
170,173,175,176,178,179,
180,181,183,184,185,186)
;
QUIT;
/*IN STATA*/
drop if inlist(prsn,8,11,186)
/*R*/
indx=c(8,11,14,18,24,27,28,44,47,50,
52,56,57,61,62,64,65,78,80,91,
100,109,110,114,117,
124,126,132,
133,136,138,
143,145,148,
150,155,157,
160,164,166,167,
170,173,175,176,178,179,
180,181,183,184,185,186)
two=one[!one$PRSN%in%indx,]
/* USE EXCEPT IF TWO TABLES HAVE SAME COLS*/
DATA INDX;
INPUT PRSN @@;
CARDS;
2 3 4 5
7 8 10 12
14 15 19
31 84 92
;
QUIT;
PROC SQL;
CREATE TABLE NEW AS
SELECT PRSN FROM MYDATA
EXCEPT
SELECT PRSN FROM INDX;
QUIT;
PROC PRINT DATA=NEW(OBS=20);
VAR PRSN;
RUN;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/12/24/mysql.html</guid>
      <pubDate>Wed, 24 Dec 2008 04:51:12 -0500</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>ce que vs ce qui</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/08/11/ce-que-vs-ce-qui.html</link>
      <description>que / ce que are used when they are the object complement in the relative clause as well as when they stand on behalf of inanimate (Je ne sais pas ce que le garÃ§on a fait. Je connais un secret que je ne rÃ©vÃ¨lerai jamais)
qui/ ce qui are used when they are the subject in the relative clause (Je ne sais pas ce qui se passe; j&#8217;ai repris du gateau qui est si bon). Qui can also be used on behalf of persons when it is an object complement in the relative clause (je ne sais plus qui je dois croire).
=====================================
&#8220;ce que&#8221; is used when a NOUN follows it
&#8220;ce qui&#8221; is used when a VERB follows it
for example:
&#8220;Je ne sais pas ce que le garÃ§on a fait&#8221; (le garÃ§on being a noun)
&#8220;Je ne sais pas ce qui se passe&#8221; (se passer being a verb)
</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/08/11/ce-que-vs-ce-qui.html</guid>
      <pubDate>Mon, 11 Aug 2008 02:37:33 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>heter job search in life</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/08/21/heter-job-search-in-life.html</link>
      <description>last night, i read the article, described one&#8217;s feeling about job searchÂ  ,in ppt/job board.
the content is that he had no idea about what to do in his first time in searching job as he just graduated
from national mba, or put it clearly, he didn&#8217;t find his posses as well as real interest/career. the first job
is not so good, bz its job content is miscellaneous, not very specific, then he quitted the job.
in second time, he didn&#8217;t hursh to the job, more patient about it, look on behalf of the more desirable
job opportunities. this time, he had more experience about what he really want. at last,
he got the satisfactory job in marketing dep.
in economics, we utilize job search theory to analyse how long / the prob one find his job.
but the story tells some (intelligent)Â  switches on behalf of better position, as well as some switches
for randomly.Â  that is, the switching process is hetergeneous.
i have no idea whether it is taken into account in literature.
if not , it would be good start pt:P
zero-tolerance
last nigit, i did a little experiment. i put some BTL in the bicycle basket.
i hope there's still two BTL, however theory tells us someone will
throw down trash into ur basket in high possibility.
this morning, i found someone did it.
</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/08/21/heter-job-search-in-life.html</guid>
      <pubDate>Thu, 21 Aug 2008 23:37:20 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>Le prÃ©sident de la Fed voit lâ€™inflation ralentir</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/08/22/le-prsident-de-la-fed-voit-linflation-ralentir.html</link>
      <description>Le prÃ©sident de la Fed voit l&#8217;inflation ralentir
le contexte Ã©conomique est actuellement l&#8217;un des plus difficiles, a soulignÃ© ce vendredi Ben Bernanke, dans un discours lors du traditionnel symposium annuel de la RÃ©serve fÃ©dÃ©rale. En revanche, la baisse des cours des matiÃ¨res premiÃ¨res et la rÃ©cente stabilisation du dollar ont Ã©tÃ© jugÃ©s &#8220;encourageantes&#8221;.
Le prÃ©sident de la Fed Ben Bernanke a estimÃ© ce vendredi que la crise financiÃ¨re qui a dÃ©butÃ© il y a un an ne s&#8217;Ã©tait pas affaiblie et qu&#8217;elle commenÃ§ait mÃªme Ã  toucher le reste de l&#8217;Ã©conomie amÃ©ricaine, crÃ©ant &#8220;l&#8217;un des plus difficiles&#8221; contextes jamais vus.
&#8220;MÃªme si le fonctionnement de certains marchÃ©s s&#8217;est un peu amÃ©liorÃ©, la tempÃªte financiÃ¨re (&#8230;) n&#8217;a pas encore diminuÃ©, et ses effets sur l&#8217;ensemble de l&#8217;Ã©conomie deviennent apparents sous la forme d&#8217;un ralentissement de l&#8217;activitÃ© Ã©conomique et une hausse du chÃ´mage&#8221;, a estimÃ© le prÃ©sident de la RÃ©serve fÃ©dÃ©rale amÃ©ricaine (Fed).
http://www.lesechos.fr/info/marches/300287578-le-president-de-la-fed-voit-l-inflation-ralentir.htm
==========================

ralentir:slow down
soulinger:underline
lors:at the time of
En revanche:on the other hand
la basisse:fall
matiÃ¨res premiÃ¨res:raw material
affaiblir:weaken
toucher :touch
MÃªme si:even though
le fonctionnement : mechanism
amÃ©liorÃ©:improve
crÃ©er-&gt;crÃ©ant:create
vus:voir
hausse du chÃ´mage: rise of unemployment
</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/08/22/le-prsident-de-la-fed-voit-linflation-ralentir.html</guid>
      <pubDate>Fri, 22 Aug 2008 00:28:33 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>???? ????? ?????</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/08/27/-.html</link>
      <description>???????? ?????????
????? ????? / ????? ????? / Lyrics
????? ????????? ?? ? ??? ???
?? ??? ??????? ?????? ??
???? ?????? ?????
?? ???????? ?? ???????
??????????: &#8220;?? ?????? ????&#8221;


???? ????? ????? ??? ????????? ??????? ??????
???????? ????? ????? ????? ? ???????
??? ?? ??????? ???? ??????? ????????? ??????
???? ????? ????? ???????? ? ???? ??????
???????? ???-?? ??????
???? ?????? ?????? ?????
?????? ???? ???? ?
????????? ????, ??? ??? ????
?? ???????: &#8220;?? ?????? ????&#8221;
???? ????? ????? ??? ????????? ??????? ??????
???????? ????? ????? ????? ? ???????
??? ?? ??????? ???? ??????? ????????? ??????
???? ????? ????? ???????? ? ???? ??????
???? ??????? ???? ?? ???
???????? ????? ????? ????? ? ???????
??? ?? ??????? ???? ??????? ????????? ??????
???? ????? ????? ???????? ? ???? ??????
?? ? ???? ??????

</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/08/27/-.html</guid>
      <pubDate>Wed, 27 Aug 2008 02:24:14 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>??????</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/09/07/.html</link>
      <description>????
???????????????????????????????????????????????????????????????????????? ?????????????????????????? â€œ??â€ ??????yu????????????â€œ???????â€???????????
???????????????????????????????? ?????????, ????????????â€œ???????????â€??????â€œ???????????â€3????????, ?????????????????????????????????????????????????????????????????????????

?????????????????????â€œ???????â€?????????â€œ???â€??????â€œ???????â€???? â€œ????â€??â€œ?â€??????â€œc?????????â€???â€œ????????â€?????â€œ?????????â€?????â€œ??????? ??â€???????â€œ?????â€????????????â€œ?â€???â€œ???â€????????â€œ??????â€??????????????? ?????????????????â€œ?????â€????????????â€œcâ€??â€œ????â€????????????????? â€œ????????????????â€??????â€œ????????â€?â€œ????????????â€?????????â€œ?????â€???â€œ?? ?â€, ?????????â€œ????????????????â€, ?????????????????????????????????????????????????????

??????????????? ??????????????????????????????â€œ??â€?â€œ???â€???â€œmayâ€??, ?????????â€œ???????â€?????â€œ?????????â€???????????????????â€œ??â€????â€œ???????â€? ???October???????â€œ???????â€????â€œ??????????â€?????????? â€œ???â€???â€œ??????â€??????â€œnovenberâ€???????â€œ????????â€????????â€œ????????â€?â€œ??? ????â€ ??????????????????
</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/09/07/.html</guid>
      <pubDate>Sun, 07 Sep 2008 00:48:43 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>mata poisson</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/09/10/mata-poisson.html</link>
      <description>From Colin Cameron
http://cameron.econ.ucdavis.edu/stata/stata.html
* This program does

*   (1) Poisson regression using Stata MATA matrix commands
*   (2) Poisson regression using Stata command poisson as check
* using number of bids data
* Invoke MATA
mata
// Create y vector as well as X matrix from Stat data set using st_view command
st_view(y=., ., &#8220;numbids&#8221;)
st_view(X=., ., (&#8221;leglrest&#8221;, &#8220;whtknght&#8221;, &#8220;bidprem&#8221;, &#8220;cons&#8221;))
Xnames = (&#8221;leglrest&#8221;, &#8220;whtknght&#8221;, &#8220;bidprem&#8221;, &#8220;cons&#8221;)   // used to label output
// Obtain starting values from ols regression of lny on x
b = invsym(X&#8217;X)*X&#8217;(ln(y+(y:==0)*0.1))
n = rows(X)
// Newton-Raphson iterations to computer Poisson MLE
// Loop until parameter modification less than 10^-16
cha = 1
iter = 1
do {
mu = exp(X*b)
sco = (X&#8217;(y-mu))/n
hes = -(X&#8217;(X:*mu))/n
bold = b
b = bold + invsym(-hes)*sco
cha = (bold-b)&#8217;(bold-b)/(b&#8217;b)
iter = iter + 1
} while (cha &gt; 1e-16)
iter
bmle = b
// Compute standard errors using A^-1 * B * A^-1
k = cols(X)
gradmatrix = X:*(y-mu)
Vmle = invsym(-n*hes)*(gradmatrix&#8217;gradmatrix)*invsym(-n*hes)*(n/(n-k))
semle = sqrt(diagonal(Vmle))
tmle = bmle:/semle
pmle = 2*ttail(n-k, abs(tmle))
// Print results
(bmle, semle, tmle, pmle)
// Easier to read output includes regressor names
(Xnames&#8217;, strofreal(bmle), strofreal(semle), strofreal(tmle), strofreal(pmle))
end
</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/09/10/mata-poisson.html</guid>
      <pubDate>Wed, 10 Sep 2008 19:08:25 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
    <item>
      <title>svg in R</title>
      <link>http://peacelovekenzie.life-and-things.com/2008/09/13/svg-in-r.html</link>
      <description>library(&#8221;RSVGTipsDevice&#8221;)
library(&#8221;SemiPar&#8221;)
data(swiss)
setwd(&#8217;c:/data/&#8217;)
devSVGTips(&#8221;swiss.svg&#8221;, height=7, width=10, toolTipMode=1,
title=&#8221;SwissÂ  catholicÂ  as well as agricultureÂ  plot&#8221;)
par(font.lab=8,font.main=9,cex=1.5)
plot(swiss$Agriculture~swiss$Catholic,ylim=c(0,130),
type=&#8221;n&#8221;, xlab=&#8221;catholic&#8221;,ylab=&#8221;Agri&#8221;, main=&#8221;catholic as well as agriculture&#8221;)
grid()
cnames&lt;-rownames(swiss)
swiss.1&lt;-cbind(cnames,swiss)
for (i in seq(len=nrow(swiss.1))) {
setSVGShapeToolTip(title=swiss.1[i,"cnames"],
desc=paste(&#8221; agri=&#8221;, swiss.1[i,"Agriculture"],&#8221; ,catholic&#8221;, swiss.1[i,"Catholic"]))
points(swiss.1[i,"Agriculture"], swiss.1[i,"Catholic"], pch=12,
cex=2, col=ifelse(swiss.1[i,"Catholic"]&gt;50,&#8221;blue&#8221;,&#8221;red&#8221;))
}
dev.off()
</description>
      <guid>http://peacelovekenzie.life-and-things.com/2008/09/13/svg-in-r.html</guid>
      <pubDate>Sat, 13 Sep 2008 21:22:50 -0400</pubDate>
      <dc:creator>peacelovekenzie</dc:creator>
    </item>
</channel></rss>