全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管文库(原现金交易版)
2020-2-11 23:04:16
出现报错,variable d_sum already defined
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-11 23:11:00
运行的时候出现了这个报错。
附件列表
微信截图_20200211230946.png

原图尺寸 8.28 KB

微信截图_20200211230946.png

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-11 23:19:39
用你给的样例跑了一下,为什么说variable x1 not found
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-12 13:11:31
cm8023qht 发表于 2020-2-11 11:42
楼主好,我买了代码,但是用自己的数据做不出来结果。能加一下QQ吗请教一下 810223440
好的,已加
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-12 13:13:17
dabao1988 发表于 2020-2-11 23:19
用你给的样例跑了一下,为什么说variable x1 not found
可以加qq 925351077
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-14 13:44:55
我购买了无法下载,可以网盘或者邮箱给我吗,824229516@qq.com
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-14 15:16:01
楼主可以加下我qq吗 824229516 有问题请教
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-14 15:22:52
baboongolden2 发表于 2020-2-14 13:44
我购买了无法下载,可以网盘或者邮箱给我吗,824229516@qq.com
好的,已发
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-15 13:39:12
楼主您好,已购买,在跑程序的时候遇到了问题,可否加qq请教505483186
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-15 15:01:13
感谢分享
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-2-15 15:01:38
感谢分享
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-3-11 15:49:18
已购买,能否加一下我的QQ1415514686,在运行的时候遇到问题想向您请教,谢谢您!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-3-11 17:23:26
菜鸟级入门者给大家一点教程:
因为对stata操作极度陌生,所以在购买了程序之后,依然不知道该怎么运行do文件得到想要的结果。自己摸索了一下,看了看书,决定还是帮助和我一样的同志少走弯路。

第一步:交钱购买程序。

第二步:下载程序,你将得到一个名为“面板数据熵值法计算综合指数Stata代码(附样本数据和结果)”的压缩包

第三步:在你电脑的D盘,新建一个文件夹,把文件夹命名为“A”,把下载好的压缩包放到这个文件夹里。

第四步:解压压缩包,你将得到四个文件,分别是data.dla、代码do、代码txt版.txt、结果.dta。

第五步:把你要用来跑程序的excel表格,复制一份到文件夹“A”里,并且把这个excel表格改名为“数据”,记得把“数据”的文件格式保存为.xlsx

第六步:整理你的数据,整理成帖子里楼主的范例,标头的标题一样,表内的内容可以不一样,注意:所有数据都要是数值格式。当你的数据在excel里的格子里有绿色小三角,说明你的数据不是真正的数值格式,没办法跑。需要在excel里改成数值格式,不会可以百度。

第七步:确定你数据里的正向和负向指标分别是哪些,正负向指标是你自己人为定的,不是软件程序生成的。假设你定x1、x2、x3、x4、x5是正向指标,x6、x7是负向指标。

第八步:双击“代码.do”文件打开,文件打开后,找到“//正向指标”几个字,下面有一句“global positive_var x1 x2 x3”,刚才你定了你的正向指标是x1、x2、x3、x4、x5,所以把“global positive_var x1 x2 x3”这句命令改成“global positive_var x1 x2 x3 x4 x5”。如果你定的正向指标是x1、x2,那你就改成“global positive_var x1 x2”,这里的x1表示你excel表里名称叫x1的那个指标,只要能对上就可以改。如果没有正向指标,就改成“global positive_var”。

第九步:找到“//负向指标”几个字,下面有一句“global negative_var x4 x5”,刚才你定了你的正向指标是x6、x7,所以把“global negative_var x4 x5”这句命令改成“global negative_var x6 x7 ”。如果你定的负向指标是x6、x7、x8,那你就改成“global negative_var x6 x7 x8”,这里的x8表示你excel表里名称叫x8的那个指标。如果没有负向指标,就改成“global positive_var”。

第十步:点击do命令编辑窗口上的保存键,保存你的修改。保存完之后关掉所有stata窗口。

第十一步:打开stata13及以上版本

第十二步:在命令输入窗口输入命令:“cd”,然后按回车键

第十三步:在命令输入窗口输入命令:“cd D:\A”,然后按回车键
第十四步:在命令输入对话框里输入命令:“do 代码”,然后按回车键,程序就会自动运行得到结果。

第十五步:点击stata界面上一个表格右上角有个放大镜的图表,就可以查看数据结果了。

备注:如果要查看每个指标的权重,那就把命令里的, keep id year $all_var Score改成keep id year $all_var W_* Score

W的值就是x1、x2……各指标的权重
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-3-11 17:58:04
9278149615 发表于 2020-3-11 15:49
已购买,能否加一下我的QQ1415514686,在运行的时候遇到问题想向您请教,谢谢您!
好的, 已加
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-3-24 13:28:22
想请问省际面板数据是每年都分别赋权还是所有年份一起赋权?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-1 19:22:54
想问一下 如果我的原始数据不需要进行标准化那一步 是不是直接把那一段命令删除就可以了?我删除之后运行为什么老报错?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-1 19:25:27
想问一下 原始数据如果不需要标准化是不是直接删除中间那一段命令就可以了?为什么我删除了之后运行报错?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-11 18:46:37
实在是有点贵
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-12 16:29:50
Zjy44 发表于 2020-4-1 19:25
想问一下 原始数据如果不需要标准化是不是直接删除中间那一段命令就可以了?为什么我删除了之后运行报错?
不可以直接删除,后面标准化的变量名是不一样的
修改的话对应的变量名也要修改
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-12 16:30:19
这份是每年分别赋权的
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-21 09:40:07
楼主这个程序考虑了时间因素吗?每个变量只有一个权重还是一年一个权重?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-4-21 16:28:45
陪着你漫漫走 发表于 2020-4-21 09:40
楼主这个程序考虑了时间因素吗?每个变量只有一个权重还是一年一个权重?
每个变量一年一个权重
购买前请先看下
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-5-12 15:00:21
<!-- markdown css tag --><div class="pinggu_markdown">
<div class="pinggu_markdown__html"><h1 id="欢迎使用markdown编辑器">欢迎使用Markdown编辑器</h1>
<blockquote>
<p>经管之家:Do the best economic and management education!</p>
</blockquote>
<p>你好! 这是你第一次使用 <strong>Markdown编辑器</strong> 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。</p>
<h2 id="功能快捷键">功能快捷键</h2>
<p>撤销:<kbd>Ctrl/Command</kbd> + <kbd>Z</kbd><br>
重做:<kbd>Ctrl/Command</kbd> + <kbd>Y</kbd><br>
加粗:<kbd>Ctrl/Command</kbd> + <kbd>B</kbd><br>
斜体:<kbd>Ctrl/Command</kbd> + <kbd>I</kbd><br>
标题:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>H</kbd><br>
无序列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>U</kbd><br>
有序列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd><br>
检查列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd><br>
插入代码:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd><br>
插入链接:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd><br>
插入图片:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>G</kbd></p>
<h2 id="合理的创建标题,有助于目录的生成">合理的创建标题,有助于目录的生成</h2>
<p>直接输入1次<kbd>#</kbd>,并按下<kbd>space</kbd>后,将生成1级标题。<br>
输入2次<kbd>#</kbd>,并按下<kbd>space</kbd>后,将生成2级标题。<br>
以此类推,我们支持6级标题。</p>
<h2 id="如何改变文本的样式">如何改变文本的样式</h2>
<p><em>强调文本</em> <em>强调文本</em></p>
<p><strong>加粗文本</strong> <strong>加粗文本</strong></p>
<p><mark>标记文本</mark></p>
<p><s>删除文本</s></p>
<blockquote>
<p>引用文本</p>
</blockquote>
<p>H<sub>2</sub>O is是液体。</p>
<p>2<sup>1&#48;</sup> 运算结果是 1&#48;24.</p>
<h2 id="插入链接与图片">插入链接与图片</h2>
<p>链接: <a href="https://bbs.pinggu.org">经管之家官网</a>.</p>
<p>图片:<br>
<img alt="Alt" src="https://cdn.pinggu.org/static/2&#48;15/images/jg-logo.png"></p>
<p>带尺寸的图片:</p>
<p><img width="1&#48;&#48;" height="5&#48;" alt="Alt" src="https://cdn.pinggu.org/static/2&#48;15/images/jg-logo.png"></p>
<h2 id="如何插入一段漂亮的代码片">如何插入一段漂亮的代码片</h2>
<p>选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 <code>代码片</code>.</p>
<pre class=" language-python"><code class="prism  language-python"><span class="token keyword">def</span> <span class="token function">get_abs</span><span class="token punctuation">(</span>x<span class="token punctuation">)</span><span class="token punctuation">:</span>
    <span class="token keyword">if</span> <span class="token operator">not</span> <span class="token builtin">isinstance</span><span class="token punctuation">(</span>x<span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token builtin">int</span><span class="token punctuation">,</span> <span class="token builtin">float</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">:</span>
        <span class="token keyword">raise</span> TypeError<span class="token punctuation">(</span><span class="token string">'bad operand type'</span><span class="token punctuation">)</span>
    <span class="token keyword">if</span> x <span class="token operator">&gt;=</span> <span class="token number">&#48;</span><span class="token punctuation">:</span>
        <span class="token keyword">return</span> x
    <span class="token keyword">else</span><span class="token punctuation">:</span>
        <span class="token keyword">return</span> <span class="token operator">-</span>x
</code></pre>
<h2 id="生成一个适合你的列表">生成一个适合你的列表</h2>
<ul>
<li>项目
<ul>
<li>项目
<ul>
<li>项目</li>
</ul>
</li>
</ul>
</li>
</ul>
<ol>
<li>项目1</li>
<li>项目2</li>
<li>项目3</li>
</ol>
<ul>
<li class="task-list-item"><input disabled="" class="task-list-item-checkbox" type="checkbox"> 计划任务</li>
<li class="task-list-item"><input disabled="" class="task-list-item-checkbox" type="checkbox"> 完成任务</li>
</ul>
<h2 id="创建一个表格">创建一个表格</h2>
<p>一个简单的表格是这么创建的:</p>

<table>
<thead>
<tr>
<th>项目</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>电脑</td>
<td>$16&#48;&#48;</td>
</tr>
<tr>
<td>手机</td>
<td>$12</td>
</tr>
<tr>
<td>导管</td>
<td>$1</td>
</tr>
</tbody>
</table><h3 id="设定内容居中、居左、居右">设定内容居中、居左、居右</h3>
<p>使用<code>:---------:</code>居中<br>
使用<code>:----------</code>居左<br>
使用<code>----------:</code>居右</p>

<table>
<thead>
<tr>
<th align="center">第一列</th>
<th align="right">第二列</th>
<th align="left">第三列</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">第一列文本居中</td>
<td align="right">第二列文本居右</td>
<td align="left">第三列文本居左</td>
</tr>
</tbody>
</table><h3 id="smartypants">SmartyPants</h3>
<p>SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:</p>

<table>
<thead>
<tr>
<th>TYPE</th>
<th>ASCII</th>
<th><abbr title="超文本标记语言">HTML</abbr></th>
</tr>
</thead>
<tbody>
<tr>
<td>Single backticks</td>
<td><code>'Isn't this fun?'</code></td>
<td>‘Isn’t this fun?’</td>
</tr>
<tr>
<td>Quotes</td>
<td><code>"Isn't this fun?"</code></td>
<td>“Isn’t this fun?”</td>
</tr>
<tr>
<td>Dashes</td>
<td><code>-- is en-dash, --- is em-dash</code></td>
<td>– is en-dash, — is em-dash</td>
</tr>
</tbody>
</table><h2 id="创建一个自定义列表">创建一个自定义列表</h2>
<dl>
<dt>Markdown</dt>
<dd>Text-to-<abbr title="超文本标记语言">HTML</abbr> conversion tool</dd>
<dt>Authors</dt>
<dd>John</dd>
<dd>Luke</dd>
</dl>
<h2 id="如何创建一个注脚">如何创建一个注脚</h2>
<p>一个具有注脚的文本。<sup class="footnote-ref"><a id="fnref1" href="#fn1">1</a></sup></p>
<h2 id="注释也是必不可少的">注释也是必不可少的</h2>
<p>Markdown将文本转换为 <abbr title="超文本标记语言">HTML</abbr>。</p>
<h2 id="katex数学公式">KaTeX数学公式</h2>
<p>您可以使用渲染LaTeX数学表达式 <a href="https://khan.github.io/KaTeX/">KaTeX</a>:</p>
<p>Gamma公式展示 <span class="katex--inline"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">Γ</mi><mo>(</mo><mi>n</mi><mo>)</mo><mo>=</mo><mo>(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo>)</mo><mo>!</mo><mspace width="1em"></mspace><mi mathvariant="normal">∀</mi><mi>n</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi></mrow><annotation encoding="application/x-tex">\Gamma(n) = (n-1)!\quad\forall
n\in\mathbb N</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mord">Γ</span><span class="mopen">(</span><span class="mord mathit">n</span><span class="mclose">)</span><span class="mspace" style="margin-right: &#48;.27em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right: &#48;.27em;"></span></span><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mopen">(</span><span class="mord mathit">n</span><span class="mspace" style="margin-right: &#48;.22em;"></span><span class="mbin">−</span><span class="mspace" style="margin-right: &#48;.22em;"></span></span><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mord">1</span><span class="mclose">)</span><span class="mclose">!</span><span class="mspace" style="margin-right: 1em;"></span><span class="mord">∀</span><span class="mord mathit">n</span><span class="mspace" style="margin-right: &#48;.27em;"></span><span class="mrel">∈</span><span class="mspace" style="margin-right: &#48;.27em;"></span></span><span class="base"><span class="strut" style="height: &#48;.68em; vertical-align: &#48;em;"></span><span class="mord mathbb">N</span></span></span></span></span> 是通过欧拉积分</p>
<p><span class="katex--display"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">Γ</mi><mo>(</mo><mi>z</mi><mo>)</mo><mo>=</mo><msubsup><mo>∫</mo><mn>&#48;</mn><mi mathvariant="normal">∞</mi></msubsup><msup><mi>t</mi><mrow><mi>z</mi><mo>−</mo><mn>1</mn></mrow></msup><msup><mi>e</mi><mrow><mo>−</mo><mi>t</mi></mrow></msup><mi>d</mi><mi>t</mi>&amp;ThinSpace;<mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">
\Gamma(z) = \int_&#48;^\infty t^{z-1}e^{-t}dt\,.
</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mord">Γ</span><span class="mopen">(</span><span class="mord mathit" style="margin-right: &#48;.&#48;4em;">z</span><span class="mclose">)</span><span class="mspace" style="margin-right: &#48;.27em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right: &#48;.27em;"></span></span><span class="base"><span class="strut" style="height: 2.32em; vertical-align: -&#48;.91em;"></span><span class="mop"><span class="mop op-symbol large-op" style="top: &#48;em; margin-right: &#48;.44em; position: relative;">∫</span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height: 1.41em;"><span style="top: -1.78em; margin-right: &#48;.&#48;5em; margin-left: -&#48;.44em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">&#48;</span></span></span><span style="top: -3.81em; margin-right: &#48;.&#48;5em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">∞</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height: &#48;.91em;"><span></span></span></span></span></span></span><span class="mspace" style="margin-right: &#48;.16em;"></span><span class="mord"><span class="mord mathit">t</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height: &#48;.86em;"><span style="top: -3.11em; margin-right: &#48;.&#48;5em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight" style="margin-right: &#48;.&#48;4em;">z</span><span class="mbin mtight">−</span><span class="mord mtight">1</span></span></span></span></span></span></span></span></span><span class="mord"><span class="mord mathit">e</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height: &#48;.84em;"><span style="top: -3.11em; margin-right: &#48;.&#48;5em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mtight">−</span><span class="mord mathit mtight">t</span></span></span></span></span></span></span></span></span><span class="mord mathit">d</span><span class="mord mathit">t</span><span class="mspace" style="margin-right: &#48;.16em;"></span><span class="mord">.</span></span></span></span></span></span></p>
<blockquote>
<p>你可以找到更多关于的信息 <strong>LaTeX</strong> 数学表达式[here][1].</p>
</blockquote>
<h2 id="新的甘特图功能,丰富你的文章">新的甘特图功能,丰富你的文章</h2>
<div class="mermaid"><svg xmlns="http://www.w3.org/2&#48;&#48;&#48;/svg" id="mermaid-svg-LEEZ3ZWToOKpyf8e" viewBox="&#48; &#48; 5&#48;&#48; 196" height="1&#48;&#48;%"><g /><g class="grid" font-family="sans-serif" font-size="1&#48;px" fill="none" text-anchor="middle" transform="translate(75 146)"><path class="domain" stroke="#&#48;&#48;&#48;" d="M &#48;.5 -111 V &#48;.5 H 35&#48;.5 V -111" /><g class="tick" opacity="1" transform="translate(22.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-&#48;7</text></g><g class="tick" opacity="1" transform="translate(66.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-&#48;9</text></g><g class="tick" opacity="1" transform="translate(1&#48;9.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-11</text></g><g class="tick" opacity="1" transform="translate(153.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-13</text></g><g class="tick" opacity="1" transform="translate(197.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-15</text></g><g class="tick" opacity="1" transform="translate(241.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-17</text></g><g class="tick" opacity="1" transform="translate(284.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-19</text></g><g class="tick" opacity="1" transform="translate(328.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-21</text></g></g><g><rect class="section section&#48;" x="&#48;" y="48" width="462.5" height="24" /><rect class="section section&#48;" x="&#48;" y="72" width="462.5" height="24" /><rect class="section section&#48;" x="&#48;" y="96" width="462.5" height="24" /><rect class="section section&#48;" x="&#48;" y="12&#48;" width="462.5" height="24" /></g><g><rect class="task  done&#48;" x="75" y="5&#48;" width="44" height="2&#48;" rx="3" ry="3" /><rect class="task  active&#48;" x="141" y="74" width="65" height="2&#48;" rx="3" ry="3" /><rect class="task  task&#48;" x="2&#48;6" y="98" width="11&#48;" height="2&#48;" rx="3" ry="3" /><rect class="task  task&#48;" x="316" y="122" width="1&#48;9" height="2&#48;" rx="3" ry="3" /><text class="taskText taskText&#48;  doneText&#48;" font-size="11px" x="97" y="63.5" text-height="2&#48;">已完成               </text><text class="taskText taskText&#48; activeText&#48;" font-size="11px" x="173.5" y="87.5" text-height="2&#48;">进行中               </text><text class="taskText taskText&#48; " font-size="11px" x="261" y="111.5" text-height="2&#48;">计划一               </text><text class="taskText taskText&#48; " font-size="11px" x="37&#48;.5" y="135.5" text-height="2&#48;">计划二               </text></g><g><text class="sectionTitle sectionTitle&#48;" x="1&#48;" y="98">现有任务</text></g><g class="today"><line class="today" x1="5&#48;795" y1="25" x2="5&#48;795" y2="171" /></g><text class="titleText" x="25&#48;" y="25">Adding GANTT diagram functionality to mermaid</text></svg></div>
<ul>
<li>关于 <strong>甘特图</strong> 语法,参考 [这儿][2],</li>
</ul>
<h2 id="uml-图表">UML 图表</h2>
<p>可以使用UML图表进行渲染。 <a href="https://mermaidjs.github.io/">Mermaid</a>. 例如下面产生的一个序列图::</p>
<div class="mermaid"><svg xmlns="http://www.w3.org/2&#48;&#48;&#48;/svg" id="mermaid-svg-&#48;bmLrKrJWeFrXVaM" style="max-width:75&#48;px;" viewBox="-5&#48; -1&#48; 75&#48; 437.94" width="1&#48;&#48;%" height="1&#48;&#48;%"><g /><g><line class="actor-line" id="actor3" stroke="#999" stroke-width="&#48;.5px" x1="75" y1="5" x2="75" y2="426.94" /><rect class="actor" fill="#eaeaea" stroke="#666" x="&#48;" y="&#48;" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="75" y="32.5"><tspan x="75" dy="&#48;">张三</tspan></text></g><g><line class="actor-line" id="actor4" stroke="#999" stroke-width="&#48;.5px" x1="275" y1="5" x2="275" y2="426.94" /><rect class="actor" fill="#eaeaea" stroke="#666" x="2&#48;&#48;" y="&#48;" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="275" y="32.5"><tspan x="275" dy="&#48;">李四</tspan></text></g><g><line class="actor-line" id="actor5" stroke="#999" stroke-width="&#48;.5px" x1="475" y1="5" x2="475" y2="426.94" /><rect class="actor" fill="#eaeaea" stroke="#666" x="4&#48;&#48;" y="&#48;" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="475" y="32.5"><tspan x="475" dy="&#48;">王五</tspan></text></g><defs><marker id="arrowhead" refX="5" refY="2" markerWidth="6" markerHeight="4" orient="auto"><path d="M &#48; &#48; V 4 L 6 2 Z" /></marker></defs><defs><marker id="crosshead" refX="16" refY="4" markerWidth="15" markerHeight="8" orient="auto"><path style="stroke-dasharray: &#48;px, &#48;px;" fill="black" stroke="#&#48;&#48;&#48;&#48;&#48;&#48;" stroke-width="1px" d="M 9 2 V 6 L 16 4 Z" /><path style="stroke-dasharray: &#48;px, &#48;px;" fill="none" stroke="#&#48;&#48;&#48;&#48;&#48;&#48;" stroke-width="1px" d="M &#48; 1 L 6 7 M 6 1 L &#48; 7" /></marker></defs><g><text class="messageText" style="text-anchor: middle;" x="175" y="93">你好!李四, 最近怎么样?</text><line class="messageLine&#48;" style="fill: none;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="75" y1="1&#48;&#48;" x2="275" y2="1&#48;&#48;" /></g><g><text class="messageText" style="text-anchor: middle;" x="375" y="128">你最近怎么样,王五?</text><line class="messageLine1" style="fill: none; stroke-dasharray: 3px, 3px;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="275" y1="135" x2="475" y2="135" /></g><g><text class="messageText" style="text-anchor: middle;" x="175" y="163">我很好,谢谢!</text><line class="messageLine1" style="fill: none; stroke-dasharray: 3px, 3px;" marker-end="url(&quot;#crosshead&quot;)" stroke="black" stroke-width="2" x1="275" y1="17&#48;" x2="75" y2="17&#48;" /></g><g><text class="messageText" style="text-anchor: middle;" x="375" y="198">我很好,谢谢!</text><line class="messageLine&#48;" style="fill: none;" marker-end="url(&quot;#crosshead&quot;)" stroke="black" stroke-width="2" x1="275" y1="2&#48;5" x2="475" y2="2&#48;5" /></g><g><rect class="note" fill="#edf2ae" stroke="#666" x="5&#48;&#48;" y="215" width="15&#48;" height="56.94" rx="&#48;" ry="&#48;" /><text class="noteText" fill="black" x="496" y="239"><tspan fill="black" x="516">李四想了很长时间, 文字太长了</tspan></text><text class="noteText" fill="black" x="496" y="257.47"><tspan fill="black" x="516">不适合放在一行.</tspan></text></g><g><text class="messageText" style="text-anchor: middle;" x="175" y="299.94">打量着王五...</text><line class="messageLine1" style="fill: none; stroke-dasharray: 3px, 3px;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="275" y1="3&#48;6.94" x2="75" y2="3&#48;6.94" /></g><g><text class="messageText" style="text-anchor: middle;" x="275" y="334.94">很好... 王五, 你怎么样?</text><line class="messageLine&#48;" style="fill: none;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="75" y1="341.94" x2="475" y2="341.94" /></g><g><rect class="actor" fill="#eaeaea" stroke="#666" x="&#48;" y="361.94" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="75" y="394.44"><tspan x="75" dy="&#48;">张三</tspan></text></g><g><rect class="actor" fill="#eaeaea" stroke="#666" x="2&#48;&#48;" y="361.94" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="275" y="394.44"><tspan x="275" dy="&#48;">李四</tspan></text></g><g><rect class="actor" fill="#eaeaea" stroke="#666" x="4&#48;&#48;" y="361.94" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="475" y="394.44"><tspan x="475" dy="&#48;">王五</tspan></text></g></svg></div>
<p>这将产生一个流程图。:</p>
<div class="mermaid"><svg xmlns="http://www.w3.org/2&#48;&#48;&#48;/svg" id="mermaid-svg-yquxRXHarIAukBpl" style="max-width: 4&#48;4.8479995727539px;" viewBox="&#48; &#48; 4&#48;4.848 159.44" width="1&#48;&#48;%"><g transform="translate(-12 -12)"><g class="output"><g class="clusters" /><g class="edgePaths"><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead33&quot;)" d="M 88 69.7968 L 129 43.36 L 196.64 43.36" /><defs><marker id="arrowhead33" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead34&quot;)" d="M 88 113.643 L 129 14&#48;.&#48;8 L 17&#48; 14&#48;.&#48;8" /><defs><marker id="arrowhead34" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead35&quot;)" d="M 243.36 43.36 L 295 43.36 L 338.74 73.98&#48;3" /><defs><marker id="arrowhead35" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead36&quot;)" d="M 27&#48; 14&#48;.&#48;8 L 295 14&#48;.&#48;8 L 338.74 11&#48;.46" /><defs><marker id="arrowhead36" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g></g><g class="edgeLabels"><g class="edgeLabel" style="opacity: 1;" transform="translate(129 43.36)"><g class="label" transform="translate(-16 -13.36)"><foreignObject width="32" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">链接</span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g class="label" transform="translate(&#48;)"><foreignObject width="&#48;" height="&#48;"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g class="label" transform="translate(&#48;)"><foreignObject width="&#48;" height="&#48;"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g class="label" transform="translate(&#48;)"><foreignObject width="&#48;" height="&#48;"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node" id="A" style="opacity: 1;" transform="translate(54 91.72)"><rect x="-34" y="-23.36" width="68" height="46.72" rx="&#48;" ry="&#48;" /><g class="label" transform="translate(&#48;)"><g transform="translate(-24 -13.36)"><foreignObject width="48" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">长方形</div></foreignObject></g></g></g><g class="node" id="B" style="opacity: 1;" transform="translate(22&#48; 43.36)"><circle r="23.36" x="-18" y="-23.359999656677246" /><g class="label" transform="translate(&#48;)"><g transform="translate(-8 -13.36)"><foreignObject width="16" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">圆</div></foreignObject></g></g></g><g class="node" id="C" style="opacity: 1;" transform="translate(22&#48; 14&#48;.&#48;8)"><rect x="-5&#48;" y="-23.36" width="1&#48;&#48;" height="46.72" rx="5" ry="5" /><g class="label" transform="translate(&#48;)"><g transform="translate(-4&#48; -13.36)"><foreignObject width="8&#48;" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">圆角长方形</div></foreignObject></g></g></g><g class="node" id="D" style="opacity: 1;" transform="translate(364.424 91.72)"><polygon transform="translate(-44.424 44.424)" points="44.424,&#48; 88.848,-44.424 44.424,-88.848 &#48;,-44.424" rx="5" ry="5" /><g class="label" transform="translate(&#48;)"><g transform="translate(-16 -13.36)"><foreignObject width="32" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">菱形</div></foreignObject></g></g></g></g></g></g></svg></div>
<ul>
<li>关于 <strong>Mermaid</strong> 语法,参考 [这儿][3],<br>
[1]: <a href="http://meta.math.stackexchange.com/questions/5&#48;2&#48;/mathjax-basic-tutorial-and-quick-reference">http://meta.math.stackexchange.com/questions/5&#48;2&#48;/mathjax-basic-tutorial-and-quick-reference</a><br>
[2]: <a href="https://mermaidjs.github.io/">https://mermaidjs.github.io/</a><br>
[3]: <a href="https://mermaidjs.github.io/">https://mermaidjs.github.io/</a><br>
[4]: <a href="http://adrai.github.io/flowchart.js/">http://adrai.github.io/flowchart.js/</a></li>
</ul>
<hr class="footnotes-sep">
<section class="footnotes">
<ol class="footnotes-list">
<li class="footnote-item" id="fn1"><p>注脚的解释 <a class="footnote-backref" href="#fnref1">↩︎</a></p>
</li>
</ol>
</section>
</div>
</div>
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-5-12 15:01:08
<!-- markdown css tag --><div class="pinggu_markdown">
<div class="pinggu_markdown__html"><h1 id="欢迎使用markdown编辑器">欢迎使用Markdown编辑器</h1>
<blockquote>
<p>经管之家:Do the best economic and management education!</p>
</blockquote>
<p>你好! 这是你第一次使用 <strong>Markdown编辑器</strong> 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。</p>
<h2 id="功能快捷键">功能快捷键</h2>
<p>撤销:<kbd>Ctrl/Command</kbd> + <kbd>Z</kbd><br>
重做:<kbd>Ctrl/Command</kbd> + <kbd>Y</kbd><br>
加粗:<kbd>Ctrl/Command</kbd> + <kbd>B</kbd><br>
斜体:<kbd>Ctrl/Command</kbd> + <kbd>I</kbd><br>
标题:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>H</kbd><br>
无序列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>U</kbd><br>
有序列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd><br>
检查列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd><br>
插入代码:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd><br>
插入链接:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd><br>
插入图片:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>G</kbd></p>
<h2 id="合理的创建标题,有助于目录的生成">合理的创建标题,有助于目录的生成</h2>
<p>直接输入1次<kbd>#</kbd>,并按下<kbd>space</kbd>后,将生成1级标题。<br>
输入2次<kbd>#</kbd>,并按下<kbd>space</kbd>后,将生成2级标题。<br>
以此类推,我们支持6级标题。</p>
<h2 id="如何改变文本的样式">如何改变文本的样式</h2>
<p><em>强调文本</em> <em>强调文本</em></p>
<p><strong>加粗文本</strong> <strong>加粗文本</strong></p>
<p><mark>标记文本</mark></p>
<p><s>删除文本</s></p>
<blockquote>
<p>引用文本</p>
</blockquote>
<p>H<sub>2</sub>O is是液体。</p>
<p>2<sup>1&#48;</sup> 运算结果是 1&#48;24.</p>
<h2 id="插入链接与图片">插入链接与图片</h2>
<p>链接: <a href="https://bbs.pinggu.org">经管之家官网</a>.</p>
<p>图片:<br>
<img alt="Alt" src="https://cdn.pinggu.org/static/2&#48;15/images/jg-logo.png"></p>
<p>带尺寸的图片:</p>
<p><img width="1&#48;&#48;" height="5&#48;" alt="Alt" src="https://cdn.pinggu.org/static/2&#48;15/images/jg-logo.png"></p>
<h2 id="如何插入一段漂亮的代码片">如何插入一段漂亮的代码片</h2>
<p>选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 <code>代码片</code>.</p>
<pre class=" language-python"><code class="prism  language-python"><span class="token keyword">def</span> <span class="token function">get_abs</span><span class="token punctuation">(</span>x<span class="token punctuation">)</span><span class="token punctuation">:</span>
    <span class="token keyword">if</span> <span class="token operator">not</span> <span class="token builtin">isinstance</span><span class="token punctuation">(</span>x<span class="token punctuation">,</span> <span class="token punctuation">(</span><span class="token builtin">int</span><span class="token punctuation">,</span> <span class="token builtin">float</span><span class="token punctuation">)</span><span class="token punctuation">)</span><span class="token punctuation">:</span>
        <span class="token keyword">raise</span> TypeError<span class="token punctuation">(</span><span class="token string">'bad operand type'</span><span class="token punctuation">)</span>
    <span class="token keyword">if</span> x <span class="token operator">&gt;=</span> <span class="token number">&#48;</span><span class="token punctuation">:</span>
        <span class="token keyword">return</span> x
    <span class="token keyword">else</span><span class="token punctuation">:</span>
        <span class="token keyword">return</span> <span class="token operator">-</span>x
</code></pre>
<h2 id="生成一个适合你的列表">生成一个适合你的列表</h2>
<ul>
<li>项目
<ul>
<li>项目
<ul>
<li>项目</li>
</ul>
</li>
</ul>
</li>
</ul>
<ol>
<li>项目1</li>
<li>项目2</li>
<li>项目3</li>
</ol>
<ul>
<li class="task-list-item"><input disabled="" class="task-list-item-checkbox" type="checkbox"> 计划任务</li>
<li class="task-list-item"><input disabled="" class="task-list-item-checkbox" type="checkbox"> 完成任务</li>
</ul>
<h2 id="创建一个表格">创建一个表格</h2>
<p>一个简单的表格是这么创建的:</p>

<table>
<thead>
<tr>
<th>项目</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>电脑</td>
<td>$16&#48;&#48;</td>
</tr>
<tr>
<td>手机</td>
<td>$12</td>
</tr>
<tr>
<td>导管</td>
<td>$1</td>
</tr>
</tbody>
</table><h3 id="设定内容居中、居左、居右">设定内容居中、居左、居右</h3>
<p>使用<code>:---------:</code>居中<br>
使用<code>:----------</code>居左<br>
使用<code>----------:</code>居右</p>

<table>
<thead>
<tr>
<th align="center">第一列</th>
<th align="right">第二列</th>
<th align="left">第三列</th>
</tr>
</thead>
<tbody>
<tr>
<td align="center">第一列文本居中</td>
<td align="right">第二列文本居右</td>
<td align="left">第三列文本居左</td>
</tr>
</tbody>
</table><h3 id="smartypants">SmartyPants</h3>
<p>SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:</p>

<table>
<thead>
<tr>
<th>TYPE</th>
<th>ASCII</th>
<th><abbr title="超文本标记语言">HTML</abbr></th>
</tr>
</thead>
<tbody>
<tr>
<td>Single backticks</td>
<td><code>'Isn't this fun?'</code></td>
<td>‘Isn’t this fun?’</td>
</tr>
<tr>
<td>Quotes</td>
<td><code>"Isn't this fun?"</code></td>
<td>“Isn’t this fun?”</td>
</tr>
<tr>
<td>Dashes</td>
<td><code>-- is en-dash, --- is em-dash</code></td>
<td>– is en-dash, — is em-dash</td>
</tr>
</tbody>
</table><h2 id="创建一个自定义列表">创建一个自定义列表</h2>
<dl>
<dt>Markdown</dt>
<dd>Text-to-<abbr title="超文本标记语言">HTML</abbr> conversion tool</dd>
<dt>Authors</dt>
<dd>John</dd>
<dd>Luke</dd>
</dl>
<h2 id="如何创建一个注脚">如何创建一个注脚</h2>
<p>一个具有注脚的文本。<sup class="footnote-ref"><a id="fnref1" href="#fn1">1</a></sup></p>
<h2 id="注释也是必不可少的">注释也是必不可少的</h2>
<p>Markdown将文本转换为 <abbr title="超文本标记语言">HTML</abbr>。</p>
<h2 id="katex数学公式">KaTeX数学公式</h2>
<p>您可以使用渲染LaTeX数学表达式 <a href="https://khan.github.io/KaTeX/">KaTeX</a>:</p>
<p>Gamma公式展示 <span class="katex--inline"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">Γ</mi><mo>(</mo><mi>n</mi><mo>)</mo><mo>=</mo><mo>(</mo><mi>n</mi><mo>−</mo><mn>1</mn><mo>)</mo><mo>!</mo><mspace width="1em"></mspace><mi mathvariant="normal">∀</mi><mi>n</mi><mo>∈</mo><mi mathvariant="double-struck">N</mi></mrow><annotation encoding="application/x-tex">\Gamma(n) = (n-1)!\quad\forall
n\in\mathbb N</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mord">Γ</span><span class="mopen">(</span><span class="mord mathit">n</span><span class="mclose">)</span><span class="mspace" style="margin-right: &#48;.27em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right: &#48;.27em;"></span></span><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mopen">(</span><span class="mord mathit">n</span><span class="mspace" style="margin-right: &#48;.22em;"></span><span class="mbin">−</span><span class="mspace" style="margin-right: &#48;.22em;"></span></span><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mord">1</span><span class="mclose">)</span><span class="mclose">!</span><span class="mspace" style="margin-right: 1em;"></span><span class="mord">∀</span><span class="mord mathit">n</span><span class="mspace" style="margin-right: &#48;.27em;"></span><span class="mrel">∈</span><span class="mspace" style="margin-right: &#48;.27em;"></span></span><span class="base"><span class="strut" style="height: &#48;.68em; vertical-align: &#48;em;"></span><span class="mord mathbb">N</span></span></span></span></span> 是通过欧拉积分</p>
<p><span class="katex--display"><span class="katex-display"><span class="katex"><span class="katex-mathml"><math><semantics><mrow><mi mathvariant="normal">Γ</mi><mo>(</mo><mi>z</mi><mo>)</mo><mo>=</mo><msubsup><mo>∫</mo><mn>&#48;</mn><mi mathvariant="normal">∞</mi></msubsup><msup><mi>t</mi><mrow><mi>z</mi><mo>−</mo><mn>1</mn></mrow></msup><msup><mi>e</mi><mrow><mo>−</mo><mi>t</mi></mrow></msup><mi>d</mi><mi>t</mi>&amp;ThinSpace;<mi mathvariant="normal">.</mi></mrow><annotation encoding="application/x-tex">
\Gamma(z) = \int_&#48;^\infty t^{z-1}e^{-t}dt\,.
</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height: 1em; vertical-align: -&#48;.25em;"></span><span class="mord">Γ</span><span class="mopen">(</span><span class="mord mathit" style="margin-right: &#48;.&#48;4em;">z</span><span class="mclose">)</span><span class="mspace" style="margin-right: &#48;.27em;"></span><span class="mrel">=</span><span class="mspace" style="margin-right: &#48;.27em;"></span></span><span class="base"><span class="strut" style="height: 2.32em; vertical-align: -&#48;.91em;"></span><span class="mop"><span class="mop op-symbol large-op" style="top: &#48;em; margin-right: &#48;.44em; position: relative;">∫</span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height: 1.41em;"><span style="top: -1.78em; margin-right: &#48;.&#48;5em; margin-left: -&#48;.44em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">&#48;</span></span></span><span style="top: -3.81em; margin-right: &#48;.&#48;5em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight">∞</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height: &#48;.91em;"><span></span></span></span></span></span></span><span class="mspace" style="margin-right: &#48;.16em;"></span><span class="mord"><span class="mord mathit">t</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height: &#48;.86em;"><span style="top: -3.11em; margin-right: &#48;.&#48;5em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mathit mtight" style="margin-right: &#48;.&#48;4em;">z</span><span class="mbin mtight">−</span><span class="mord mtight">1</span></span></span></span></span></span></span></span></span><span class="mord"><span class="mord mathit">e</span><span class="msupsub"><span class="vlist-t"><span class="vlist-r"><span class="vlist" style="height: &#48;.84em;"><span style="top: -3.11em; margin-right: &#48;.&#48;5em;"><span class="pstrut" style="height: 2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mtight"><span class="mord mtight">−</span><span class="mord mathit mtight">t</span></span></span></span></span></span></span></span></span><span class="mord mathit">d</span><span class="mord mathit">t</span><span class="mspace" style="margin-right: &#48;.16em;"></span><span class="mord">.</span></span></span></span></span></span></p>
<blockquote>
<p>你可以找到更多关于的信息 <strong>LaTeX</strong> 数学表达式[here][1].</p>
</blockquote>
<h2 id="新的甘特图功能,丰富你的文章">新的甘特图功能,丰富你的文章</h2>
<div class="mermaid"><svg xmlns="http://www.w3.org/2&#48;&#48;&#48;/svg" id="mermaid-svg-PHKDbpSyoawfud5Y" viewBox="&#48; &#48; 5&#48;&#48; 196" height="1&#48;&#48;%"><g /><g class="grid" font-family="sans-serif" font-size="1&#48;px" fill="none" text-anchor="middle" transform="translate(75 146)"><path class="domain" stroke="#&#48;&#48;&#48;" d="M &#48;.5 -111 V &#48;.5 H 35&#48;.5 V -111" /><g class="tick" opacity="1" transform="translate(22.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-&#48;7</text></g><g class="tick" opacity="1" transform="translate(66.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-&#48;9</text></g><g class="tick" opacity="1" transform="translate(1&#48;9.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-11</text></g><g class="tick" opacity="1" transform="translate(153.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-13</text></g><g class="tick" opacity="1" transform="translate(197.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-15</text></g><g class="tick" opacity="1" transform="translate(241.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-17</text></g><g class="tick" opacity="1" transform="translate(284.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-19</text></g><g class="tick" opacity="1" transform="translate(328.5)"><line stroke="#&#48;&#48;&#48;" y2="-111" /><text font-size="1&#48;px" style="text-anchor: middle;" fill="#&#48;&#48;&#48;" stroke="none" y="3" dy="1em">2&#48;14-&#48;1-21</text></g></g><g><rect class="section section&#48;" x="&#48;" y="48" width="462.5" height="24" /><rect class="section section&#48;" x="&#48;" y="72" width="462.5" height="24" /><rect class="section section&#48;" x="&#48;" y="96" width="462.5" height="24" /><rect class="section section&#48;" x="&#48;" y="12&#48;" width="462.5" height="24" /></g><g><rect class="task  done&#48;" x="75" y="5&#48;" width="44" height="2&#48;" rx="3" ry="3" /><rect class="task  active&#48;" x="141" y="74" width="65" height="2&#48;" rx="3" ry="3" /><rect class="task  task&#48;" x="2&#48;6" y="98" width="11&#48;" height="2&#48;" rx="3" ry="3" /><rect class="task  task&#48;" x="316" y="122" width="1&#48;9" height="2&#48;" rx="3" ry="3" /><text class="taskText taskText&#48;  doneText&#48;" font-size="11px" x="97" y="63.5" text-height="2&#48;">已完成               </text><text class="taskText taskText&#48; activeText&#48;" font-size="11px" x="173.5" y="87.5" text-height="2&#48;">进行中               </text><text class="taskText taskText&#48; " font-size="11px" x="261" y="111.5" text-height="2&#48;">计划一               </text><text class="taskText taskText&#48; " font-size="11px" x="37&#48;.5" y="135.5" text-height="2&#48;">计划二               </text></g><g><text class="sectionTitle sectionTitle&#48;" x="1&#48;" y="98">现有任务</text></g><g class="today"><line class="today" x1="5&#48;795" y1="25" x2="5&#48;795" y2="171" /></g><text class="titleText" x="25&#48;" y="25">Adding GANTT diagram functionality to mermaid</text></svg></div>
<ul>
<li>关于 <strong>甘特图</strong> 语法,参考 [这儿][2],</li>
</ul>
<h2 id="uml-图表">UML 图表</h2>
<p>可以使用UML图表进行渲染。 <a href="https://mermaidjs.github.io/">Mermaid</a>. 例如下面产生的一个序列图::</p>
<div class="mermaid"><svg xmlns="http://www.w3.org/2&#48;&#48;&#48;/svg" id="mermaid-svg-jyU3jpOJ3fn1E4xU" style="max-width:75&#48;px;" viewBox="-5&#48; -1&#48; 75&#48; 437.94" width="1&#48;&#48;%" height="1&#48;&#48;%"><g /><g><line class="actor-line" id="actor3" stroke="#999" stroke-width="&#48;.5px" x1="75" y1="5" x2="75" y2="426.94" /><rect class="actor" fill="#eaeaea" stroke="#666" x="&#48;" y="&#48;" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="75" y="32.5"><tspan x="75" dy="&#48;">张三</tspan></text></g><g><line class="actor-line" id="actor4" stroke="#999" stroke-width="&#48;.5px" x1="275" y1="5" x2="275" y2="426.94" /><rect class="actor" fill="#eaeaea" stroke="#666" x="2&#48;&#48;" y="&#48;" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="275" y="32.5"><tspan x="275" dy="&#48;">李四</tspan></text></g><g><line class="actor-line" id="actor5" stroke="#999" stroke-width="&#48;.5px" x1="475" y1="5" x2="475" y2="426.94" /><rect class="actor" fill="#eaeaea" stroke="#666" x="4&#48;&#48;" y="&#48;" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="475" y="32.5"><tspan x="475" dy="&#48;">王五</tspan></text></g><defs><marker id="arrowhead" refX="5" refY="2" markerWidth="6" markerHeight="4" orient="auto"><path d="M &#48; &#48; V 4 L 6 2 Z" /></marker></defs><defs><marker id="crosshead" refX="16" refY="4" markerWidth="15" markerHeight="8" orient="auto"><path style="stroke-dasharray: &#48;px, &#48;px;" fill="black" stroke="#&#48;&#48;&#48;&#48;&#48;&#48;" stroke-width="1px" d="M 9 2 V 6 L 16 4 Z" /><path style="stroke-dasharray: &#48;px, &#48;px;" fill="none" stroke="#&#48;&#48;&#48;&#48;&#48;&#48;" stroke-width="1px" d="M &#48; 1 L 6 7 M 6 1 L &#48; 7" /></marker></defs><g><text class="messageText" style="text-anchor: middle;" x="175" y="93">你好!李四, 最近怎么样?</text><line class="messageLine&#48;" style="fill: none;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="75" y1="1&#48;&#48;" x2="275" y2="1&#48;&#48;" /></g><g><text class="messageText" style="text-anchor: middle;" x="375" y="128">你最近怎么样,王五?</text><line class="messageLine1" style="fill: none; stroke-dasharray: 3px, 3px;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="275" y1="135" x2="475" y2="135" /></g><g><text class="messageText" style="text-anchor: middle;" x="175" y="163">我很好,谢谢!</text><line class="messageLine1" style="fill: none; stroke-dasharray: 3px, 3px;" marker-end="url(&quot;#crosshead&quot;)" stroke="black" stroke-width="2" x1="275" y1="17&#48;" x2="75" y2="17&#48;" /></g><g><text class="messageText" style="text-anchor: middle;" x="375" y="198">我很好,谢谢!</text><line class="messageLine&#48;" style="fill: none;" marker-end="url(&quot;#crosshead&quot;)" stroke="black" stroke-width="2" x1="275" y1="2&#48;5" x2="475" y2="2&#48;5" /></g><g><rect class="note" fill="#edf2ae" stroke="#666" x="5&#48;&#48;" y="215" width="15&#48;" height="56.94" rx="&#48;" ry="&#48;" /><text class="noteText" fill="black" x="496" y="239"><tspan fill="black" x="516">李四想了很长时间, 文字太长了</tspan></text><text class="noteText" fill="black" x="496" y="257.47"><tspan fill="black" x="516">不适合放在一行.</tspan></text></g><g><text class="messageText" style="text-anchor: middle;" x="175" y="299.94">打量着王五...</text><line class="messageLine1" style="fill: none; stroke-dasharray: 3px, 3px;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="275" y1="3&#48;6.94" x2="75" y2="3&#48;6.94" /></g><g><text class="messageText" style="text-anchor: middle;" x="275" y="334.94">很好... 王五, 你怎么样?</text><line class="messageLine&#48;" style="fill: none;" marker-end="url(&quot;#arrowhead&quot;)" stroke="black" stroke-width="2" x1="75" y1="341.94" x2="475" y2="341.94" /></g><g><rect class="actor" fill="#eaeaea" stroke="#666" x="&#48;" y="361.94" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="75" y="394.44"><tspan x="75" dy="&#48;">张三</tspan></text></g><g><rect class="actor" fill="#eaeaea" stroke="#666" x="2&#48;&#48;" y="361.94" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="275" y="394.44"><tspan x="275" dy="&#48;">李四</tspan></text></g><g><rect class="actor" fill="#eaeaea" stroke="#666" x="4&#48;&#48;" y="361.94" width="15&#48;" height="65" rx="3" ry="3" /><text class="actor" style="text-anchor: middle;" alignment-baseline="central" dominant-baseline="central" x="475" y="394.44"><tspan x="475" dy="&#48;">王五</tspan></text></g></svg></div>
<p>这将产生一个流程图。:</p>
<div class="mermaid"><svg xmlns="http://www.w3.org/2&#48;&#48;&#48;/svg" id="mermaid-svg-nLO56D8kPC9nlI&#48;t" style="max-width: 4&#48;4.8479995727539px;" viewBox="&#48; &#48; 4&#48;4.848 159.44" width="1&#48;&#48;%"><g transform="translate(-12 -12)"><g class="output"><g class="clusters" /><g class="edgePaths"><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead33&quot;)" d="M 88 69.7968 L 129 43.36 L 196.64 43.36" /><defs><marker id="arrowhead33" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead34&quot;)" d="M 88 113.643 L 129 14&#48;.&#48;8 L 17&#48; 14&#48;.&#48;8" /><defs><marker id="arrowhead34" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead35&quot;)" d="M 243.36 43.36 L 295 43.36 L 338.74 73.98&#48;3" /><defs><marker id="arrowhead35" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g><g class="edgePath" style="opacity: 1;"><path class="path" style="fill:none" marker-end="url(&quot;#arrowhead36&quot;)" d="M 27&#48; 14&#48;.&#48;8 L 295 14&#48;.&#48;8 L 338.74 11&#48;.46" /><defs><marker id="arrowhead36" viewBox="&#48; &#48; 1&#48; 1&#48;" refX="9" refY="5" markerUnits="strokeWidth" markerWidth="8" markerHeight="6" orient="auto"><path class="arrowheadPath" style="stroke-dasharray: 1px, &#48;px; stroke-width: 1;" d="M &#48; &#48; L 1&#48; 5 L &#48; 1&#48; Z" /></marker></defs></g></g><g class="edgeLabels"><g class="edgeLabel" style="opacity: 1;" transform="translate(129 43.36)"><g class="label" transform="translate(-16 -13.36)"><foreignObject width="32" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel">链接</span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g class="label" transform="translate(&#48;)"><foreignObject width="&#48;" height="&#48;"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g class="label" transform="translate(&#48;)"><foreignObject width="&#48;" height="&#48;"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" style="opacity: 1;" transform=""><g class="label" transform="translate(&#48;)"><foreignObject width="&#48;" height="&#48;"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node" id="A" style="opacity: 1;" transform="translate(54 91.72)"><rect x="-34" y="-23.36" width="68" height="46.72" rx="&#48;" ry="&#48;" /><g class="label" transform="translate(&#48;)"><g transform="translate(-24 -13.36)"><foreignObject width="48" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">长方形</div></foreignObject></g></g></g><g class="node" id="B" style="opacity: 1;" transform="translate(22&#48; 43.36)"><circle r="23.36" x="-18" y="-23.359999656677246" /><g class="label" transform="translate(&#48;)"><g transform="translate(-8 -13.36)"><foreignObject width="16" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">圆</div></foreignObject></g></g></g><g class="node" id="C" style="opacity: 1;" transform="translate(22&#48; 14&#48;.&#48;8)"><rect x="-5&#48;" y="-23.36" width="1&#48;&#48;" height="46.72" rx="5" ry="5" /><g class="label" transform="translate(&#48;)"><g transform="translate(-4&#48; -13.36)"><foreignObject width="8&#48;" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">圆角长方形</div></foreignObject></g></g></g><g class="node" id="D" style="opacity: 1;" transform="translate(364.424 91.72)"><polygon transform="translate(-44.424 44.424)" points="44.424,&#48; 88.848,-44.424 44.424,-88.848 &#48;,-44.424" rx="5" ry="5" /><g class="label" transform="translate(&#48;)"><g transform="translate(-16 -13.36)"><foreignObject width="32" height="26.72"><div style="display: inline-block; white-space: nowrap;" xm lns="http://www.w3.org/1999/xhtml">菱形</div></foreignObject></g></g></g></g></g></g></svg></div>
<ul>
<li>关于 <strong>Mermaid</strong> 语法,参考 [这儿][3],<br>
[1]: <a href="http://meta.math.stackexchange.com/questions/5&#48;2&#48;/mathjax-basic-tutorial-and-quick-reference">http://meta.math.stackexchange.com/questions/5&#48;2&#48;/mathjax-basic-tutorial-and-quick-reference</a><br>
[2]: <a href="https://mermaidjs.github.io/">https://mermaidjs.github.io/</a><br>
[3]: <a href="https://mermaidjs.github.io/">https://mermaidjs.github.io/</a><br>
[4]: <a href="http://adrai.github.io/flowchart.js/">http://adrai.github.io/flowchart.js/</a></li>
</ul>
<hr class="footnotes-sep">
<section class="footnotes">
<ol class="footnotes-list">
<li class="footnote-item" id="fn1"><p>注脚的解释 <a class="footnote-backref" href="#fnref1">↩︎</a></p>
</li>
</ol>
</section>
</div>
</div>
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-5-12 15:06:46
想得到每个指标每年的权重以及每个指标每年的标准化后的值,怎么修改代码
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-6-2 11:40:07
面板数据就是逐年对截面数据进行计算,我这个思路对吗?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-6-11 13:43:10
LZ姐姐,我已下载文件,但在运行中遇到了问题,可否+875547264 QQ私聊?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-6-11 20:29:58
有关运行问题看先看下这个,如果还有问题可以留言

9278149615 发表于 2020-3-11 17:23:26 |只看作者 |取消精彩回复
菜鸟级入门者给大家一点教程:
因为对stata操作极度陌生,所以在购买了程序之后,依然不知道该怎么运行do文件得到想要的结果。自己摸索了一下,看了看书,决定还是帮助和我一样的同志少走弯路。

第一步:交钱购买程序。

第二步:下载程序,你将得到一个名为“面板数据熵值法计算综合指数Stata代码(附样本数据和结果)”的压缩包

第三步:在你电脑的D盘,新建一个文件夹,把文件夹命名为“A”,把下载好的压缩包放到这个文件夹里。

第四步:解压压缩包,你将得到四个文件,分别是data.dla、代码do、代码txt版.txt、结果.dta。

第五步:把你要用来跑程序的excel表格,复制一份到文件夹“A”里,并且把这个excel表格改名为“数据”,记得把“数据”的文件格式保存为.xlsx

第六步:整理你的数据,整理成帖子里楼主的范例,标头的标题一样,表内的内容可以不一样,注意:所有数据都要是数值格式。当你的数据在excel里的格子里有绿色小三角,说明你的数据不是真正的数值格式,没办法跑。需要在excel里改成数值格式,不会可以百度。

第七步:确定你数据里的正向和负向指标分别是哪些,正负向指标是你自己人为定的,不是软件程序生成的。假设你定x1、x2、x3、x4、x5是正向指标,x6、x7是负向指标。

第八步:双击“代码.do”文件打开,文件打开后,找到“//正向指标”几个字,下面有一句“global positive_var x1 x2 x3”,刚才你定了你的正向指标是x1、x2、x3、x4、x5,所以把“global positive_var x1 x2 x3”这句命令改成“global positive_var x1 x2 x3 x4 x5”。如果你定的正向指标是x1、x2,那你就改成“global positive_var x1 x2”,这里的x1表示你excel表里名称叫x1的那个指标,只要能对上就可以改。如果没有正向指标,就改成“global positive_var”。

第九步:找到“//负向指标”几个字,下面有一句“global negative_var x4 x5”,刚才你定了你的正向指标是x6、x7,所以把“global negative_var x4 x5”这句命令改成“global negative_var x6 x7 ”。如果你定的负向指标是x6、x7、x8,那你就改成“global negative_var x6 x7 x8”,这里的x8表示你excel表里名称叫x8的那个指标。如果没有负向指标,就改成“global positive_var”。

第十步:点击do命令编辑窗口上的保存键,保存你的修改。保存完之后关掉所有stata窗口。

第十一步:打开stata13及以上版本

第十二步:在命令输入窗口输入命令:“cd”,然后按回车键

第十三步:在命令输入窗口输入命令:“cd D:\A”,然后按回车键
第十四步:在命令输入对话框里输入命令:“do 代码”,然后按回车键,程序就会自动运行得到结果。

第十五步:点击stata界面上一个表格右上角有个放大镜的图表,就可以查看数据结果了。

备注:如果要查看每个指标的权重,那就把命令里的, keep id year 改成all_var W_* Score

W的值就是x1、x2……各指标的权重
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-6-12 13:08:03
你好,购买下载后无法打开,可以给我云盘链接吗?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2020-6-12 14:19:16
evahuang22 发表于 2020-6-12 13:08
你好,购买下载后无法打开,可以给我云盘链接吗?
好的,已私信,请查收        
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群