你使用的命令不需要这么多的变量。所以会出现上述提示。或者你变量位置写错了。
将数据输入Stata的数据编辑窗口,或复制Excel表格的数据粘贴到数据编辑窗口,合并效应值需要用到以下数据:OR、RR、HR及其95%CI。如下图所示,录入相关数据(lci、uci分别为95%CI的下限和上限)。 2、数据转换 对rr、lci、uci取对数: gen logrr=log(rr); gen loglci=log(lci); gen loguci=log(uci)。 3、得到...
STATA导出EXCEL时提示导出too many or no variables specified 导出XLSX格式。 如果选择xls格式行数有限
想问下解决了吗
谢邀!在提问问题的时候,最好附上相应的代码,这样才方便我们回答。
missing(year) gen distance_km2=distance_km*distance_km gen distance_km3=distance_km*distance_km*distance_km gen did=ou*post xtset gemeindeschluessel year foreach Y of num 10 { drop if distance_km>`Y' tab bundesland,gen(state) eststo : xtreg mw ou post did i.year gdp_pc pd tax_b,...
gegenegen9 to 26 / 4 to 9 (+,.)labelsWeights, quantiles, nunique, etc. gcontractcontract5 to 7 / 2.5 to 4 gisidisid8 to 30 / 4 to 14using,sortif,in glevelsoflevelsof3 to 13 / 2 to 7Multiple variables, arbitrary levels ...
4.Key variables cannot be strLs. If filename is specified without an extension, then.dta is assumed. ---Translation:--- 其中需要注意的是: 1)关键匹配变量不能为字符型数据 遇到这种情况可以使用destring [string_var_name],replace force转换为数值型变量 2)如果传入的文件名...
fewer quantile categories than specified. (e.g. {stata sysuse auto}; {stata xtile temp=mpg, nq(20)}; {stata tab temp}) {phang}{opth gen:xq(varname)} creates a categorical variable containing the computed bins. This option cannot be combined with {opt discrete} or {opt xq()}. ...
2. set obs n to make a dataset of n observations on no variables; if n were 100, we would type set obs 100. 3. gen x = ( n-1)/(n-1)*(b-a)+a because the built-in variable n is 1 in the first observation, 2 in the second, and so on; see [U] 13.4 System variables...