[程式] stata

看板Statistics作者 ( )時間13年前 (2012/07/13 09:30), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
正在做propensity score matching+ difference in difference的東西, 找到這個指令 在stata打"help diff"後出現解釋 但我看不懂id裡面的var要放什麼? Kernel Propensity Score Matching Diff-in-Diff. diff fte, t(treated) p(t) cov(bk kfc roys) kernel id(id) diff fte, t(treated) p(t) cov(bk kfc roys) kernel id(id) support diff fte, t(treated) p(t) kernel id(id) ktype(gaussian) pscore(_ps) ○kernel Performs the Kernel-based Propensity Score Matching diff-in-diff. This option generates _weights that contains the weights derived from the kernel density function, _ps when the Propensity Score is not specified in pscore(varname). This option requires the id(varname) of each individual. ○id(varname) Option kernel requires the supply of the identification variable. ------------------------------------------------------------------------ TITLE請著名軟體類別 按ctrl+v可預覽 發文前請把灰色的註解刪除 可使用ctrl+y刪除一整行 [軟體程式類別]: 請填入軟體程式類別 例如SAS、SPSS、R、EVIEWS...等 [程式問題]: 資料處理、迴歸、敘述統計、logistic、probit...等 [軟體熟悉度]: 請把以下不需要的部份刪除 新手(不到1個月) 低(1~3個月) 中(3個月到1年) 高(1年以上) 根據不同熟悉度 板上高手可以給予你不同指導 新手或許需要的還是語法的熟悉 而其他部分則可能往往是盲點上的點破 [問題敘述]: 請詳盡敘述遭遇到的問題,可能的話,分點敘述你要處理的流程 能夠分點敘述處理流程,基本上在撰寫程式或者跑統計時是相當有幫助的 甚至有經驗的人可以藉此告知你步驟是否錯誤 [程式範例]: 雖然張貼程式很可怕,但基本上有些程式還是要張貼才能解決 ----------------------------------------------------------------------------- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.122.199
文章代碼(AID): #1F_tesF1 (Statistics)
討論串 (同標題文章)
文章代碼(AID): #1F_tesF1 (Statistics)