老哥们,MLE估计求助,报错_/ invalid name r(198); 只看楼主 收藏 回复 纛禱靌皻 托儿所 1 纛禱靌皻 托儿所 1 做MLE估计,用这段代码. capture program drop mymean_lf. program define mymean_lf1.. args lnf mu sigma // 定义参数2.. /* 确保sigma大于0,避免对数运算出现负值或零的情况 */...
求助为何运行报错invalid‘’‘r(198) 只看楼主 收藏 回复普羅旺斯的微醺 托儿所 1 普羅旺斯的微醺 托儿所 1 普羅旺斯的微醺 托儿所 1 代码:xtset id yearprodest log_y, method(lp) free(log_lab1 log_lab2) proxy(log_materials) state(log_k) valueadded id(id) t(year) reps(50)predict lp...
Total3,532 4,2677,799 we cannot assign any state to the control group, and we will get the error message invalidgroupspecification None of the groups defined bystateis a control.r(198); after runningdidregress. In other words, we do not have a state that is never treated and that is...
你可以在命令窗口输入adopath,在这个清单下的目录中的文档是 Stata 能够「找得到」的。 所以,我们可以把新定义的程序文件放在 「..\ado\plus\m」文件夹下,也可以放在其他文件夹下,如「F:\myado」,然后使用adopath + F:\myado将该路径添加到 Stata adofiles 路径清单中即可,详情参见help adopath,以及如下推...
The hopefully final" run" invalid name --- end echo --- r(198); 那么问题该如何解决呢?答案是使用Stata的复合引号: `"开始," '结束,例如`"compound quotes"'。由于打开和关闭符号不同,这些引号可以嵌套。复合引号可以在任何使用双引号的地方使用。如果引用的文本包含双引号,则必须使用复合引号。 所以我们...
错误提示"invalid numlist r121"在使用合成控制法时出现,意味着时间变量的格式输入错误。可能原因在于时间变量未正确转换为Stata可识别的日期格式。解决方法如下:将时间变量转换为日期格式,格式调整为"YYYYMMDD"形式。代码示例:`generate date_variable = time_variable*10000+100`。请根据具体数据格式调整...
Note the parentheses around the expressions. We recommend you pretend those parentheses are required and type them. Here’s why: . postfile myfile a b using myres.dta . post myfile (3) (-2) <--this works. post myfile 3 -2 <--yet this does not!invalid syntax r(198); ...
The hopefully final" run" invalid name --- end echo --- r(198); 1. 2. 3. 4. 5. 6. 7. 8. 那么问题该如何解决呢?答案是使用Stata的复合引号: `"开始," '结束,例如`"compound quotes"'。由于打开和关闭符号不同,这些引号可以嵌套。复合引号可以...
Files master messages .gitignore .no-sublime-package Comments.tmPreferences Default (OSX).sublime-keymap Default (Windows).sublime-keymap Default.sublime-commands Main.sublime-menu README.md Stata Enhanced (OSX).sublime-settings Stata Enhanced (Windows).sublime-settings ...
di as error "Error: linetype() invalid: must be connect, lfit, qfit, logfit, expfit, or none" exit } * Cannot specify more than one of genxq(), xq(), and discrete if ("`genxq'"!="" & ("`xq'"!="" | "`discrete'"!="")) | ("`xq'"!="" & "`discrete'"!=...