<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Chang ,JX</title>
	<atom:link href="http://changjx.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://changjx.wordpress.com</link>
	<description>рассказ и язык</description>
	<lastBuildDate>Tue, 25 Oct 2011 10:46:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='changjx.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Chang ,JX</title>
		<link>http://changjx.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://changjx.wordpress.com/osd.xml" title="Chang ,JX" />
	<atom:link rel='hub' href='http://changjx.wordpress.com/?pushpress=hub'/>
		<item>
		<title>recode variable</title>
		<link>http://changjx.wordpress.com/2011/10/25/recode-variable/</link>
		<comments>http://changjx.wordpress.com/2011/10/25/recode-variable/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 10:45:50 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Stata]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/?p=190</guid>
		<description><![CDATA[recode mmpg (min/-1=-1) (0=0) (1/max=1),gen(nx)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=190&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>recode mmpg (min/-1=-1) (0=0) (1/max=1),gen(nx)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=190&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2011/10/25/recode-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>update sas data set from iml</title>
		<link>http://changjx.wordpress.com/2011/10/24/update-sas-data-set-from-iml/</link>
		<comments>http://changjx.wordpress.com/2011/10/24/update-sas-data-set-from-iml/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 12:42:24 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[SAS]]></category>
		<category><![CDATA[Stacomputing]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iml]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/?p=188</guid>
		<description><![CDATA[proc iml; use mydata; read all; x = ones&#124;&#124;age&#124;&#124;male&#124;&#124;lesshs&#124;&#124;hsdip; y = hwage; bhat = inv(x`*x)*x`*y; yhat = x*bhat; varp = yhat#(1-yhat); h= loc(varp&#60;0); edit mydata; delete point h; purge; close mydata; quit;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=188&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>proc iml;<br />
use mydata;<br />
read all;<br />
x = ones||age||male||lesshs||hsdip;<br />
y = hwage;<br />
bhat = inv(x`*x)*x`*y;<br />
yhat = x*bhat;<br />
varp = yhat#(1-yhat);<br />
<strong>h= loc(varp&lt;0);</strong><br />
<strong> edit mydata;</strong><br />
<strong> delete point h;</strong><br />
<strong> purge;</strong><br />
<strong> close mydata;</strong></p>
<p>quit;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=188&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2011/10/24/update-sas-data-set-from-iml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>SAS: time dummy and sql select many suffix variables</title>
		<link>http://changjx.wordpress.com/2011/05/29/sas-time-dummy-and-sql-select-many-suffix-variables/</link>
		<comments>http://changjx.wordpress.com/2011/05/29/sas-time-dummy-and-sql-select-many-suffix-variables/#comments</comments>
		<pubDate>Sun, 29 May 2011 15:42:41 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[SAS]]></category>
		<category><![CDATA[dummy]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/?p=185</guid>
		<description><![CDATA[/*create time dummy*/ yr={1995-2010} data a (drop = i ); set b; yr2  =  yr-1994; array d{16} 3. yr1994 &#8211; yr2010; do i = 1 to dim(d); d(i) = (yr2=i); end; run; proc sql; create table outa as select * where yr&#62;2000 from mytable (keep=id var1-var10); quit;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=185&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>/*create time dummy*/ yr={1995-2010}</p>
<p>data a (drop = i );<br />
set b;<br />
yr2  =  yr-1994;<br />
array d{16} 3. yr1994 &#8211; yr2010;<br />
do i = 1 to dim(d);<br />
d(i) = (yr2=i);<br />
end;<br />
run;</p>
<p>proc sql;<br />
create table outa as select *<br />
where yr&gt;2000<br />
from mytable (keep=id var1-var10);<br />
quit;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/185/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/185/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/185/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=185&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2011/05/29/sas-time-dummy-and-sql-select-many-suffix-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>create v1-v23 variable</title>
		<link>http://changjx.wordpress.com/2011/05/20/create-v1-v23-variable/</link>
		<comments>http://changjx.wordpress.com/2011/05/20/create-v1-v23-variable/#comments</comments>
		<pubDate>Fri, 20 May 2011 14:25:52 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[SAS]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/?p=176</guid>
		<description><![CDATA[ARRAY GR {*} GR1-GR23; DO I = 1 TO 23; GR(I)=0; END; DROP I;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=176&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ARRAY GR {*} GR1-GR23;<br />
DO I = 1 TO 23;<br />
GR(I)=0;<br />
END;<br />
DROP I;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/176/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/176/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/176/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=176&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2011/05/20/create-v1-v23-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>DEF OF WORK</title>
		<link>http://changjx.wordpress.com/2011/05/16/def-of-work/</link>
		<comments>http://changjx.wordpress.com/2011/05/16/def-of-work/#comments</comments>
		<pubDate>Mon, 16 May 2011 14:50:43 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Econ]]></category>
		<category><![CDATA[labor]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[SAS]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/?p=177</guid>
		<description><![CDATA[sum(rate*pop) as   wpop 總人口 sum(rate*labor) as wlabor, 勞動人口(就業+失業) sum(rate*id1) as wsd1, 就業人口 sum(rate*id2) as wsd2, 失業人口 sum(rate*id3) as wsd3, 不在就業市場但希望找工作 sum(rate*id4) as wsd4, 低度就業 wsd2/(wsd1+wsd2) as ump1, 一般失業率 (wsd2+wsd3)/(wsd1+wsd2+wsd3) as ump2, 含沮喪勞動的失業率 (wsd2+wsd3+wsd4)/(wsd1+wsd2+wsd3) as ump3, 含低度就業得失業率 wsd1/ wpop as empr1, 就業率，以人口為底 wsd1/wlabor as empr2, 一般就業率 wlabor/wpop as lfp, 勞參率<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=177&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table width="588" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="347">sum(rate*pop) as   wpop</td>
<td valign="top" width="240">總人口</td>
</tr>
<tr>
<td valign="top" width="347">sum(rate*labor) as wlabor,</td>
<td valign="top" width="240">勞動人口(就業+失業)</td>
</tr>
<tr>
<td valign="top" width="347">sum(rate*id1) as wsd1,</td>
<td valign="top" width="240">就業人口</td>
</tr>
<tr>
<td valign="top" width="347">sum(rate*id2) as wsd2,</td>
<td valign="top" width="240">失業人口</td>
</tr>
<tr>
<td valign="top" width="347">sum(rate*id3) as wsd3,</td>
<td valign="top" width="240">不在就業市場但希望找工作</td>
</tr>
<tr>
<td valign="top" width="347">sum(rate*id4) as wsd4,</td>
<td valign="top" width="240">低度就業</td>
</tr>
<tr>
<td valign="top" width="347">wsd2/(wsd1+wsd2) as ump1,</td>
<td valign="top" width="240">一般失業率</td>
</tr>
<tr>
<td valign="top" width="347">(wsd2+wsd3)/(wsd1+wsd2+wsd3) as ump2,</td>
<td valign="top" width="240">含沮喪勞動的失業率</td>
</tr>
<tr>
<td valign="top" width="347">(wsd2+wsd3+wsd4)/(wsd1+wsd2+wsd3) as ump3,</td>
<td valign="top" width="240">含低度就業得失業率</td>
</tr>
<tr>
<td valign="top" width="347">wsd1/ wpop as empr1,</td>
<td valign="top" width="240">就業率，以人口為底</td>
</tr>
<tr>
<td valign="top" width="347">wsd1/wlabor as empr2,</td>
<td valign="top" width="240">一般就業率</td>
</tr>
<tr>
<td valign="top" width="347">wlabor/wpop as lfp,</td>
<td valign="top" width="240">勞參率</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/177/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/177/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/177/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=177&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2011/05/16/def-of-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>gis rank</title>
		<link>http://changjx.wordpress.com/2010/01/24/gis-rank/</link>
		<comments>http://changjx.wordpress.com/2010/01/24/gis-rank/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 16:47:44 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[studyabroad]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/2010/01/24/gis-rank/</guid>
		<description><![CDATA[美国地理信息系统硕士申请专题文章 一、申请导言： 地理信息系统一直是人类认识自然,改造自然的重要基础性的手段和技术方法体系。在原始社会，我们的祖先将当地的地形做成类似今天的河盘的模型，用来指导他们的狩猎，农业社会洪水泛滥后土地的再划分形成了地理信息系统雏形，工业社会则更把土地和不动产的精准管理交给了地理信息系统；现代管理信息社会中，地理信息系统作为信息产业的重要组成部分，也渗透到国家经济建设，国防建设，国防事业，任命生活的方方面面，成为不可或缺的专业。 二、申请指南： 1. 中国地理信息系统行业就业趋势： 目前来看，地理信息系统专业的毕业生可以在城市建设、国土规划、市政建设、土地勘测、测绘等单位找到适合自己发挥专业技能的空间，当然还有各类高技术公司。学生工作后主要从事运用计算机技术和信息技术开发各种信息系统的工作，具体内容则依据工作单位类型的不同，开发各种地理信息系统并进行维护，应该说，这是一知识密集型的工作，要求学生掌握充分体现区域地理综合特征的地图编制理论技术，具有地图测绘、计算机制图与地图印、制、绘等方面扎实的基本功。同时，由于地理信息系统是一个快速发展的学科，因此，还要求学生有不断吸收本学科新理论和新技术的能力。因此，只要认真完成在校学习和教学实践的训练，毕业生走入工作岗位是完全可以胜任的。 2. 美国地理信息系统行业就业趋势： GIS 的入门要求低，但发展方向比较多， 提高的空间很大。 可以做GIS Application Development 。这类职位主要是要求具有GIS的基本概念和知识。同时具有电脑开发的背景。这类工作的特点是：具有程序开发职位的薪水，但没有那么大的电脑新知识和技能更新的压力。主要工作是根据需要，在一些GIS软件的基础上进行二次开发（面向对象的开发环境）。只需要跟进所涉及的二次开发的GIS软件的更新就可以了。 建立模型，数据分析与管理：这需要与自己的专业背景相结合，掌握GIS 技术，将这种数据处理与分析的工具更好地运用到自己的专业工作中去。大多数的移民朋友都具有非常优秀的专业知识和工作背景，如果再加上GIS的背景，就会帮助移民朋友更容易地找到专业工作，并且容易成为具有良好发展前景的高级专业人才。 数据生成，编辑，转换，集成与管理。 这只需要具有基本的GIS的知识背景，电脑的基本操作能力，经过培训就能胜任了。Toronto 有大量的数据处理公司，政府各部门也有大量的GIS数据需要处理与更新。 这种职位多，而且容易谋到。 一般具有电脑，建筑，土木，地质，地理，交通，测量，商业分析, 销售，统计，机械，城市设计与规划，遥感，测量，制图以及有AUTOCAD经验的移民朋友在经过本课程的培训之后，均能快捷地找到专业工作。GIS是信息产业的重要组成部分。它是多学科交叉发展的产物，并随着信息产业的发展，不断完善更新。因此，适合具有不同学科背景的移民朋友涉足。 就业方向：联邦，省，市，县等各级政府部门，如自然资源部，环境部，交通部等等；数据处理公司，测量公司，商业分析行业，如银行，保险公司，房地产公司，Wal-mart, Canadian -Tire, Soya Bean, McDonald, TTC实时交通控制与管理等。 2. 地理信息系统专业（Geographic Information System）可选择学校及部分项目介绍 一些地理系很牛的学校综合排名并不高，但是相当难进入。比如说UCSB圣巴巴拉，综合排名只有50多，但是地理系里的小哈佛，加上加州地理位置好，据说去年的申请系统由于人太多直接崩溃，今年也有大批牛牛们被灭，足可见其杀伤力。再比如UM马里兰，排名也不高，但是在地化和遥感领域的超高声誉，让这个学校对大牛们也是“秒杀”型的。再比如UC科罗拉多，地域和排名都不高，但是在地理，尤其是地质里很强，据地质的说排名100后的科罗拉多矿业大学由于行业声誉好，使其申请难度并不比top10的差。同样的AU系列，亚利桑那和其州立也是如此， 地质地理的强势也让这个学校年年爆满。 （1） Pennsylvania State University PSU的GIS全美第一，人文地理也很强。他们系一般在国内也就一年招一个，而且主要还是GIS的，因为搞GIS的经费多。他们系做自然地理的主要偏重资源环境和气候变化的影响。而PSU的TA特别难拿。 （2）University of Wisconsin-Madison 这个学校的古气候学特别强，而且地理系的自然地理很不错。人文当然也很强拉，呵呵，大家应该都知道段义孚就在那。小本也只能申MS，不过申的人好像没 PSU多。顺便提一下，Deadline并不是很死的，Madison的deadline在12月1号，寄过去之后跟Chair打了个招呼解释一下原因就 OK了。 （3）University of Minnesota 地理系是很不错，但是对GT和GPA的要求特高，系网页上非常明显的写着需要至少一年的物理、化学和生物学课基础。 （4）Ohio State University [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=173&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>美国地理信息系统硕士申请专题文章<br />
一、申请导言：</p>
<p>地理信息系统一直是人类认识自然,改造自然的重要基础性的手段和技术方法体系。在原始社会，我们的祖先将当地的地形做成类似今天的河盘的模型，用来指导他们的狩猎，农业社会洪水泛滥后土地的再划分形成了地理信息系统雏形，工业社会则更把土地和不动产的精准管理交给了地理信息系统；现代管理信息社会中，地理信息系统作为信息产业的重要组成部分，也渗透到国家经济建设，国防建设，国防事业，任命生活的方方面面，成为不可或缺的专业。</p>
<p>二、申请指南：</p>
<p>1. 中国地理信息系统行业就业趋势：</p>
<p>目前来看，地理信息系统专业的毕业生可以在城市建设、国土规划、市政建设、土地勘测、测绘等单位找到适合自己发挥专业技能的空间，当然还有各类高技术公司。学生工作后主要从事运用计算机技术和信息技术开发各种信息系统的工作，具体内容则依据工作单位类型的不同，开发各种地理信息系统并进行维护，应该说，这是一知识密集型的工作，要求学生掌握充分体现区域地理综合特征的地图编制理论技术，具有地图测绘、计算机制图与地图印、制、绘等方面扎实的基本功。同时，由于地理信息系统是一个快速发展的学科，因此，还要求学生有不断吸收本学科新理论和新技术的能力。因此，只要认真完成在校学习和教学实践的训练，毕业生走入工作岗位是完全可以胜任的。</p>
<p>2.       美国地理信息系统行业就业趋势：</p>
<p>GIS 的入门要求低，但发展方向比较多， 提高的空间很大。</p>
<p>可以做GIS Application Development 。这类职位主要是要求具有GIS的基本概念和知识。同时具有电脑开发的背景。这类工作的特点是：具有程序开发职位的薪水，但没有那么大的电脑新知识和技能更新的压力。主要工作是根据需要，在一些GIS软件的基础上进行二次开发（面向对象的开发环境）。只需要跟进所涉及的二次开发的GIS软件的更新就可以了。</p>
<p>建立模型，数据分析与管理：这需要与自己的专业背景相结合，掌握GIS 技术，将这种数据处理与分析的工具更好地运用到自己的专业工作中去。大多数的移民朋友都具有非常优秀的专业知识和工作背景，如果再加上GIS的背景，就会帮助移民朋友更容易地找到专业工作，并且容易成为具有良好发展前景的高级专业人才。</p>
<p>数据生成，编辑，转换，集成与管理。 这只需要具有基本的GIS的知识背景，电脑的基本操作能力，经过培训就能胜任了。Toronto 有大量的数据处理公司，政府各部门也有大量的GIS数据需要处理与更新。 这种职位多，而且容易谋到。</p>
<p>一般具有电脑，建筑，土木，地质，地理，交通，测量，商业分析, 销售，统计，机械，城市设计与规划，遥感，测量，制图以及有AUTOCAD经验的移民朋友在经过本课程的培训之后，均能快捷地找到专业工作。GIS是信息产业的重要组成部分。它是多学科交叉发展的产物，并随着信息产业的发展，不断完善更新。因此，适合具有不同学科背景的移民朋友涉足。</p>
<p>就业方向：联邦，省，市，县等各级政府部门，如自然资源部，环境部，交通部等等；数据处理公司，测量公司，商业分析行业，如银行，保险公司，房地产公司，Wal-mart, Canadian -Tire, Soya Bean, McDonald, TTC实时交通控制与管理等。</p>
<p>2.     地理信息系统专业（Geographic Information System）可选择学校及部分项目介绍</p>
<p>一些地理系很牛的学校综合排名并不高，但是相当难进入。比如说UCSB圣巴巴拉，综合排名只有50多，但是地理系里的小哈佛，加上加州地理位置好，据说去年的申请系统由于人太多直接崩溃，今年也有大批牛牛们被灭，足可见其杀伤力。再比如UM马里兰，排名也不高，但是在地化和遥感领域的超高声誉，让这个学校对大牛们也是“秒杀”型的。再比如UC科罗拉多，地域和排名都不高，但是在地理，尤其是地质里很强，据地质的说排名100后的科罗拉多矿业大学由于行业声誉好，使其申请难度并不比top10的差。同样的AU系列，亚利桑那和其州立也是如此， 地质地理的强势也让这个学校年年爆满。</p>
<p><strong>（1）      Pennsylvania State University</strong></p>
<p><strong> PSU的GIS全美第一，人文地理也很强。他们系一般在国内也就一年招一个，而且主要还是GIS的，因为搞GIS的经费多。他们系做自然地理的主要偏重资源环境和气候变化的影响。而PSU的TA特别难拿。</strong></p>
<p>（2）University of Wisconsin-Madison</p>
<p>这个学校的古气候学特别强，而且地理系的自然地理很不错。人文当然也很强拉，呵呵，大家应该都知道段义孚就在那。小本也只能申MS，不过申的人好像没 PSU多。顺便提一下，Deadline并不是很死的，Madison的deadline在12月1号，寄过去之后跟Chair打了个招呼解释一下原因就 OK了。</p>
<p><strong>（3）University of Minnesota</strong></p>
<p><strong> 地理系是很不错，但是对GT和GPA的要求特高，系网页上非常明显的写着需要至少一年的物理、化学和生物学课基础。</strong></p>
<p>（4）Ohio State University</p>
<p>最吸引的地方就是它的Bord极地研究中心和冰芯研究，今年他们的大牛Lonnie G. Thompson刚拿到泰勒奖。Thompson现在也是中科院青藏所的学术副所长，一直跟姚檀栋所长有合作。地理系的中国学生虽然很多，但是绝大多数都是在美国Transfer过去的。因为他们系几乎不直接给中国学生TA，由于经费原因很少给RA，所以从大陆直接去OSU的一般都是拿 Fellowship。地科系去年有个师姐拿Fellow过去了就在Thompson那个冰芯小组，羡慕啊。另外，OSU有个好处就是有个很全的地理资料库。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/173/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/173/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/173/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=173&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2010/01/24/gis-rank/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>arma(1,1) simulation</title>
		<link>http://changjx.wordpress.com/2010/01/13/arma11-simulation/</link>
		<comments>http://changjx.wordpress.com/2010/01/13/arma11-simulation/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 02:28:55 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Stata]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/2010/01/13/arma11-simulation/</guid>
		<description><![CDATA[*Modelling ARMA(1,1) *Z[t]=0,8Z[t-1]+a[t]-0.3a[t-1] *simulation on Stata: clear drawnorm a, n(50) seed(500) gen tempo = _n tsset tempo set matsize 800 gene z = 0 mkmat a z,matrix(Z) forvalues i = 2(1)50 { matrix Z[`i',2]=.8*Z[`i'-1,2]+Z[`i',1]-.3*Z[`i'-1,1] } svmat Z, name(series) tsline series2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=172&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>*Modelling ARMA(1,1)<br />
*Z[t]=0,8Z[t-1]+a[t]-0.3a[t-1]<br />
*simulation on Stata:</p>
<p>clear<br />
drawnorm a, n(50) seed(500)<br />
gen tempo = _n<br />
tsset tempo<br />
set matsize 800<br />
gene z = 0<br />
mkmat a z,matrix(Z)<br />
forvalues i = 2(1)50 {<br />
          matrix Z[`i',2]=.8*Z[`i'-1,2]+Z[`i',1]-.3*Z[`i'-1,1]<br />
          }<br />
svmat Z, name(series)<br />
tsline series2</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=172&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2010/01/13/arma11-simulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>stata two axis way</title>
		<link>http://changjx.wordpress.com/2010/01/07/stata-two-axis-way/</link>
		<comments>http://changjx.wordpress.com/2010/01/07/stata-two-axis-way/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 02:45:16 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Stata]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/2010/01/07/stata-two-axis-way/</guid>
		<description><![CDATA[clear cd c:\data\ clear set mem 100m doe D:\Class\98_1\teacher\umpall\statagr.txt insheet using umpall.csv,c clear drop if sdata &#60;1980 replace emp=emp*100 replace lfp=lfp*100 replace ump=ump*100 tsset sdata,y set scheme s2color #d; tsline emp lfp,recast(line) lp(solid longdash)&#124;&#124; tsline ump,recast(bar) barw(.77) fc(green) lc(white) yaxis(2) ysca(axis(1) r(70 100) ) ylabel(85(3)100, axis(1) grid angle(0)) ysca(axis(2) r(0 15)) ylabel(,axis(2) grid glp(dash) angle(0)) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=169&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>clear<br />
cd c:\data\<br />
clear<br />
set mem 100m<br />
doe D:\Class\98_1\teacher\umpall\statagr.txt<br />
insheet using umpall.csv,c clear<br />
drop if sdata &lt;1980<br />
replace emp=emp*100<br />
replace lfp=lfp*100<br />
replace ump=ump*100<br />
tsset sdata,y</p>
<p>set scheme s2color<br />
#d;<br />
tsline emp lfp,recast(line)<br />
lp(solid longdash)|| tsline ump,recast(bar)<br />
barw(.77) fc(green)  lc(white) yaxis(2)<br />
ysca(axis(1) r(70 100) )<br />
ylabel(85(3)100, axis(1) grid angle(0))<br />
ysca(axis(2) r(0 15))<br />
ylabel(,axis(2) grid glp(dash) angle(0))<br />
tlabel(1980(2)2008,<br />
labsize(small) labels alt ) tmtick(##2)<br />
ttitle(&#8220;&#8221;)<br />
ytitle(&#8221;                          LFP &amp; EMP (%)&#8221;)<br />
ytitle(&#8221; UMP(%)&#8221;, axis(2) bexpand just(left))<br />
legend(r(2) order(1 &#8220;Employment Rate&#8221;<br />
2  &#8220;Labor Force Participation Rate&#8221; 3 &#8220;Unemployment Rate&#8221;)<br />
region(lw(none)));</p>
<p>/*to clearly seperate 2 axis<br />
axis(1) pull down r(down,any);<br />
axis(2) push up r(any,up)*/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=169&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2010/01/07/stata-two-axis-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>probit model</title>
		<link>http://changjx.wordpress.com/2009/12/13/probit-model/</link>
		<comments>http://changjx.wordpress.com/2009/12/13/probit-model/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 04:45:36 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Matlab]]></category>
		<category><![CDATA[probit]]></category>
		<category><![CDATA[econometric]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/2009/12/13/probit-model/</guid>
		<description><![CDATA[function bhat = myprobit(y,x) [n,k] = size(x); k=k+1; x = [ones(n,1) x]; bv = x\y; opt = optimset(&#8216;Display&#8217;,'off&#8217; ,&#8217;HessUpdate&#8217;,'bfgs&#8217;); % opt.gradobj=&#8217;on&#8217;; opt.Diagnostics=&#8217;on&#8217;; % opt.GradObj = &#8216;on&#8217;; % opt.LargeScale = &#8216;on&#8217;; opt.TolFun = 1.0e-7; opt.Jacobian=&#8217;on&#8217;; % opt.MaxFunEvals = 1.0e5; bhat = fsolve(@llprob,bv,opt,y,x); %bhat = fminsearch(&#8216;ll_prob&#8217;,bv,opt,y,mx); function [ll g] = llprob(bv,y,x) % Form the likelihood [n,k]=size(x); cdf [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=168&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>function bhat = myprobit(y,x)<br />
[n,k] = size(x);<br />
k=k+1;<br />
x = [ones(n,1) x];<br />
bv  = x\y;</p>
<p>opt = optimset(&#8216;Display&#8217;,'off&#8217; ,&#8217;HessUpdate&#8217;,'bfgs&#8217;);<br />
% opt.gradobj=&#8217;on&#8217;;<br />
 opt.Diagnostics=&#8217;on&#8217;;<br />
%  opt.GradObj = &#8216;on&#8217;;<br />
%  opt.LargeScale = &#8216;on&#8217;;<br />
 opt.TolFun = 1.0e-7;<br />
  opt.Jacobian=&#8217;on&#8217;;<br />
% opt.MaxFunEvals = 1.0e5;<br />
bhat = fsolve(@llprob,bv,opt,y,x);<br />
%bhat = fminsearch(&#8216;ll_prob&#8217;,bv,opt,y,mx);</p>
<p>function [ll g] = llprob(bv,y,x)<br />
% Form the likelihood<br />
[n,k]=size(x);<br />
cdf = normcdf(x*bv);<br />
pdf = normpdf(x*bv);<br />
ll =  -mean( y.*log(cdf)+(1-y).*log(1-cdf) );<br />
if nargout&gt;1;<br />
for i=1:k<br />
g(:,i) = y.*(pdf./cdf).*x(:,i) &#8211; &#8230;<br />
    (1-y).*(pdf./(1-cdf)).*x(:,i);<br />
end<br />
g= -mean(g,1);<br />
end</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=168&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2009/12/13/probit-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
		<item>
		<title>RLS restricted least square in R and Stata</title>
		<link>http://changjx.wordpress.com/2009/12/04/rls-restricted-least-square-in-r-and-stata/</link>
		<comments>http://changjx.wordpress.com/2009/12/04/rls-restricted-least-square-in-r-and-stata/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 05:56:03 +0000</pubDate>
		<dc:creator>changjx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Stata]]></category>

		<guid isPermaLink="false">http://changjx.wordpress.com/2009/12/04/rls-restricted-least-square-in-r-and-stata/</guid>
		<description><![CDATA[sysuse auto save auto constraint 1 price = weight reg mpg price weight cnsreg mpg price weight, constraints(1) setwd(&#8216;d:/data&#8217;) require(foreign) require(gregmisc) auto=read.dta(&#8216;auto.dta&#8217;) with(auto, summary(lm(mpg~price+weight))) with(auto, summary(lm(mpg~I(price+weight)))<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=167&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>sysuse auto<br />
save auto<br />
constraint 1 price = weight<br />
reg mpg price weight<br />
cnsreg mpg price weight, constraints(1)</p>
<p>setwd(&#8216;d:/data&#8217;)<br />
require(foreign)<br />
require(gregmisc)<br />
auto=read.dta(&#8216;auto.dta&#8217;)<br />
with(auto,<br />
summary(lm(mpg~price+weight)))<br />
with(auto,<br />
summary(lm(mpg~I(price+weight)))</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/changjx.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/changjx.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/changjx.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/changjx.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/changjx.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/changjx.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/changjx.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/changjx.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=changjx.wordpress.com&amp;blog=1781399&amp;post=167&amp;subd=changjx&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://changjx.wordpress.com/2009/12/04/rls-restricted-least-square-in-r-and-stata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/16da7773452cd4f99d04cdb4c349c498?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">changjx</media:title>
		</media:content>
	</item>
	</channel>
</rss>
