string variables not allowedinvarlist; country is a string variable 您需要将“country”转换为数字,键入: encode country, gen(country1) 在xtset 命令中使用“country1”而不是“country” 下面我们介绍用于分析面板数据的两种基本方法:固定效应法和 随机效应法。 固定效果 当使用 FE 时,我们假设个体内部的某些...
xtset state string variables not allowed in varlist; state is a string variable r(109); You cannot xtset a string variable. We must make a numeric variable from our string variable and xtset that. One alternative is . egen statenum = group(state) . list state statenum in 1/10, sepby...
string variables not allowedinvarlist; country is a string variable 您需要将“country”转换为数字,键入: encode country, gen(country1) 在xtset 命令中使用“country1”而不是“country” 下面我们介绍用于分析面板数据的两种基本方法:固定效应法和 随机效应法。 固定效果 当使用 FE 时,我们假设个体内部的某些...
string variables not allowedinvarlist; country is a string variable 您需要将“country”转换为数字,键入: encode country, gen(country1) 在xtset 命令中使用“country1”而不是“country” 下面我们介绍用于分析面板数据的两种基本方法:固定效应法和 随机效应法。 固定效果 当使用 FE 时,我们假设个体内部的某些...