我尝试为我的emacs(26.1)安装TRAMP2.4.1。 我制作时遇到了这个问题
make [1]:from statsmodels.tsa.stattools import adfuller
import numpy as np
import json
T = 1000
a = 0.9
x = np.zeros(T)
s = np.zeros(T)
np.random.seed(0)
for t in range(1, T):
x[t] = x[t-1]*a + np.random.normal(0, 1)
s[t] = s[t-1] + x[t]
rst = dict()
rst['adf'], rst['pvalue'], rst['usedlag'], rst['nobs'], rst['critical_values'] \
= adfuller(x[1:], maxlag=0, autolag=None, regression='c')
print(json.dumps(rst, indent=4))
rst['adf'], rst['pvalue'], rst['usedlag'], rst['nobs'], rst['critical_values'] \
= adfuller(s, maxlag=1, autolag=None, regression='c')
print(json.dumps(rst, indent=4))
无需执行任何操作{
"adf": -6.682116103264646,
"pvalue": 4.315988156691866e-09,
"usedlag": 0,
"nobs": 998,
"critical_values": {
"1%": -3.4369193380671,
"5%": -2.864440383452517,
"10%": -2.56831430323573
}
}
{
"adf": -0.6692634372057539,
"pvalue": 0.8545511935911223,
"usedlag": 1,
"nobs": 998,
"critical_values": {
"1%": -3.4369193380671,
"5%": -2.864440383452517,
"10%": -2.56831430323573
}
}
缺少菜单项all'.
makeinfo --no-warn --no-split -D installchapter --footnote-style=end -o ../info/tramp tramp.texi
./trampinst.texi:9: node
安装'缺少{{1}的菜单项}安装'缺少{{1}的菜单项}安装'缺少了'加载路径'的菜单项
make [1]: * [../info/tramp]错误1
make:* [all]错误2
如何解决这个问题?