ssc網站源碼
⑴ php網站提示PROCEDURE ssc.setCoin does not exist怎麼解決
兩個辦法。
在資料庫裡面加存儲過程ssc.setCoin
改寫查詢程序
⑵ javaScript語言實現源代碼
我給你寫了一個,預覽效果如下,不曉得是不是你想要的。
代碼我直接貼出來就行了吧。呵呵,還是有點簡短的解釋的,相信你看得懂。
<html>
<head>
<title>show</title>
<scriptlanguage="javascript"type="text/javascript">
functionshowtime()
{
//使用日期對象
vartheDate=newDate();
//獲取小時,0-23
var_hour=theDate.getHours();
//獲取年
var_year=theDate.getFullYear();
//獲取月
var_month=theDate.getMonth();
//獲取日
var_date=theDate.getDate();
//獲取星期
var_dayNum=theDate.getDay();
//將星期用中文表示
var_day;//星期
switch(_dayNum)
{
case0:
_day="星期日";
break;
case1:
_day="星期一";
break;
case2:
_day="星期二";
break;
case3:
_day="星期三";
break;
case4:
_day="星期四";
break;
case5:
_day="星期五";
break;
case6:
_day="星期六";
break;
}
//下面顯示信息,你可以根據自己的需要修改
document.write("<fontcolor="#0000ff">今天是"+_year+"年"+_month+"月"+_date+"日</font><br/>");
document.write("<fontcolor="#ff0000">"+_day+"</font><br/>");
if(_hour>=12)
{
document.write("<fontcolor="#ffcsea">下午好</font><br/>");
}
else
{
document.write("<fontcolor="#ffcsea">上午好</font><br/>");
}
}
</script>
</head>
<bodyonload="showtime();">
</body>
</html>
⑶ stata瀹夎呰礬寰勫嚭鐜頒袱涓猘do
閫夋嫨涓涓灝卞ソ錛屼笅杞界殑澶栭儴鍛戒護閫氬父涓 .ado 鏍煎紡錛屼負浜嗗皢涓嬭澆鐨勫懡浠や笌鑷緙栫殑鍛戒護鏀懼湪涓嶅悓鐨勮礬寰勪笅錛屾壘鍒 Stata 鐨勫畨瑁呰礬寰勶紝鍙浠ョ湅鍒頒竴涓 銆恆do 銆鏂囦歡澶銆傞噷闈㈡湁銆恇ase銆 鏂囦歡銆併恜lus銆 鏂囦歡鍙 銆恜ersonal銆 鏂囦歡錛堝悗涓や釜鏂囦歡澶逛笉涓瀹氭湁鑷甯︼紝鍙浠ヨ嚜宸辨墜鍔ㄥ壋寤猴級銆 - 銆恇ase銆戞枃浠跺す鐢ㄤ簬瀛樺偍 Stata 鑷甯︾殑鍩虹鍛戒護 - 銆恜lus銆戞枃浠跺す鐢ㄤ簬瀛樺偍澶栭儴鍛戒護 - 銆恜ersonal銆戠敤浜庡瓨鍌ㄨ嚜宸辯紪鍐欑殑鍛戒護鍜 dofiles銆
涓轟簡杈懼埌榪欎竴鐩鐨勶紝闇瑕佸圭郴緇熼粯璁よ礬寰勮繘琛屼竴浜涚畝鍗曠殑璁劇疆銆傚湪 Stata 鐨勫畨瑁呰礬寰勪笅錛堝傦細銆怐:\stata15銆戱級鏂板緩涓涓 profile.do 鏂囦歡錛屽皢濡備笅鍛戒護鏀懼埌姝ゆ枃浠朵腑錛
adopath + "D:\stata15\ado\plus"
sysdir set PLUS "D:\stata15\ado\plus" // 澶栭儴鍛戒護鐨勫瓨鏀句綅緗
sysdir set PERSONAL "D:\stata15\ado\personal" // 涓浜烘枃浠跺す浣嶇疆
cd `c(sysdir_personal)'
鏍規嵁澶栭儴鍛戒護鐨勬潵婧愪笉鍚岋紝鎵浣跨敤鐨勫懡浠や篃涓嶅敖涓鑷達紝榪欓噷涓昏佷粙緇 ssc 錛 search錛宯et 錛宖indit 鍜 github 絳夊懡浠ゃ
2.1 ssc 鍛戒護
ssc 鏄 Statistical Software Components (http://www.repec.org) 鐨勭緝鍐欙紝鐢ㄤ簬鎿嶄綔瀛樻斁鍦ㄨョ綉絝欎笂鐨勫栭儴鍛戒護錛屽寘鎷瀹夎 ( ssc install)銆佺Щ闄 ( ssc uninstall )銆佹弿榪 ( ssc describe)銆佹樉紺烘渶榪戞洿鏂 ( ssc new )銆佹樉紺烘渶鐑闂 ( ssc hot )銆備緥濡傦細
. ado dir //鏄劇ず宸插畨瑁卆do鏂囦歡
[1] package outreg2 from http://fmwww.bc.e/repec/bocode/o
'OUTREG2': mole to arrange regression outputs into an illustrative table
[2] package estout from http://fmwww.bc.e/repec/bocode/e
'ESTOUT': mole to make regression tables
. ssc install winsor2, all replace //瀹夎厀insor2錛屽熀鏈鐢ㄦ硶錛歴sc install newprogramname
checking winsor2 consistency and verifying not already installed...
installing into D:\stata15\ado\plus\...
installation complete.
鑻ヨ佹煡鐪嬫煇涓鍏蜂綋鍛戒護鏄鍚﹀畨瑁咃紝鍙浠ュ埄鐢
. ado, find(winsor2)
[3] package winsor2 from http://fmwww.bc.e/repec/bocode/w
'WINSOR2': mole to winsorize data
瑕佹煡鐪 ssc 涓婃渶鐑闂ㄧ殑鍛戒護錛屽彲浠ラ氳繃
. ssc hot, n(10) //鏄劇ず鎺掑悕鍓10鐨勫懡浠
Top 10 packages at SSC
Aug 2018
Rank # hits Package Author(s)
----------------------------------------------------------------------
1 331271.0 findname Nicholas J. Cox
2 19504.6 outreg2 Roy Wada
3 18223.6 estout Ben Jann
4 11066.7 distinct Gary Longton, Nicholas J. Cox
5 7746.3 winsor Nicholas J. Cox
6 6881.7 winsor2 Lian Yu-jun
7 6598.7 ivreg2 Mark E Schaffer, Steven Stillman, Christopher F Baum
8 6579.3 ivreg210 Mark E Schaffer, Steven Stillman, Christopher F Baum
9 6571.1 ivreg28 Mark E Schaffer, Steven Stillman, Christopher F Baum
10 6561.8 ivreg29 Christopher F Baum, Mark E Schaffer, Steven Stillman
----------------------------------------------------------------------
(Click on package name for description)