所以我创建了一个表单.在提交该表单后,我创建了一个确认选项卡,以便用户可以确认他的输入.一旦用户确认输入,表格将被提交.
所以我添加了jquery来显示确认选项卡,但是当我点击按钮显示确认选项卡时,表单只是清除并且没有看到确认选项卡...请在下面找到代码
HTML
<div class="tab-content">
<fieldset class="tab-pane active" id="form_tab">
<form id="poform" method="GET">
<table>
<tr>
<th colspan="2"><div class="header_3">Pre-Order Form</div></th>
</tr>
<tr>
<td><label>Account Number:</label></td>
<td><input type="text" name="accountnumber" id="accountnumber" value="" required/></td>
</tr>
<tr>
<td><label>Trade:</label></td>
<span class="text_11">
<td><input type="radio" id="Buy" name="tradetype" class="tradetype" required value="Buy"/> Buy
<input type="radio" id="Sell" name="tradetype" class="tradetype" value="Sell"/> Sell </span></td>
</tr>
<tr>
<td><label>Metal:</label></td>
<span class="text_11">
<td><input type="radio" id="Steel" name="metal" class="metal" required value="Steel"/> Steel
<input type="radio" id="Iron" name="metal" class="metal" value="Iron"/> Iron </span></td>
</tr>
<tr>
<td class="select"><label>Amount:</label></td>
<td><select id="amount" name="amount">
<option value="">Select</option>
<?php …Run Code Online (Sandbox Code Playgroud) 我需要绘制AR(1)该过程的图表
y[k] = 0.75 * y[k-1] + e[k] for y0 = 1.
Run Code Online (Sandbox Code Playgroud)
假设e[k]均匀分布在区间 上[-0.5, 0.5]。
我正在尝试使用arima.sim:
library(tseries)
y.0 <- arima.sim(model=list(ar=.75), n=100)
plot(y.0)
Run Code Online (Sandbox Code Playgroud)
这似乎不正确。另外,如果我改变什么参数y[0] = 10?