I've been learning about ARMA models in my time series course and noticed that for most ARMA($p,q$) models, $p$ and $q$ never really get larger than 3 or so. Is there a reason why models don't normally have larger values?  Thanks!
The function auto.arima in the forecast package of R is a powerful tool to identify the best ARIMA(p,d,q) model for a given data series. In the   of the function, they report the following:  auto.arima(y, d=NA, max.p=5, max.q=5, max.order=5, max.d=2, start.p=2, start.q=2, ...)   According to the above function it seems that, by default, auto.arima tries to find the best model among all the combination having:   p equal or lower than 5 q equal or lower than 5 d equal or lower than 2 order equal or lower to 5, i.e. p + q + d  ≤ 5.   However, why does the default code stops at these conditions? Is there any particular reason why p, q and d should be equal or lower than 5, 5 and 2 and their sum lower than 5?
Official way to ask jQuery wait for all images to load before executing something In jQuery when you do this:  $(function() {    alert("DOM is loaded, but images not necessarily all loaded"); });   It waits for the DOM to load and executes your code. If all the images are not loaded then it still executes the code. This is obviously what we want if we're initializing any DOM stuff such as showing or hiding elements or attaching events.  Let's say though that I want some animation and I don't want it running until all the images are loaded. Is there an official way in jQuery to do this?  The best way I have is to use &lt;body onload="finished()"&gt;, but I don't really want to do that unless I have to.  Note: There is a  in Internet Explorer which actually does wait for all images to load before executing code inside $function() { }. So if you're using that platform you'll get the behavior I'm looking for instead of the correct behavior described above. What is syntax highlighting and how does it work? I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange? Easiest way to alternate row colors in PHP/HTML? Here's a PHP example of mine. Can anyone find a shorter/easier way to do this?  &lt;? foreach($posts as $post){?&gt;     &lt;div class="&lt;?=($c++%2==1)?‘odd’:NULL?&gt;"&gt;         &lt;?=$post?&gt;     &lt;/div&gt; &lt;? }?&gt;  &lt;style&gt;     .odd{background-color:red;} &lt;/style&gt;   Examples in other languages would be fun to see as well. How to model an entity type that can have different sets of attributes? I want to update ubuntu 11.04 throught apt-get. So I added the following lines in apt.conf  export http_proxy=http://username:password@proxyserver.net:port/ export ftp_proxy=http://username:password@proxyserver.netport/  export http_proxy=http://deepak:Deepak@123@12.1.1.1:3128   My question is: how do I insert special characters to a username or password?  For instance: my password for proxy is Deepak@123 and it is getting an error. hot network questions have inconsistent CSS for visited/not visited depending on the site you're on This is a HNQ excerpt from Stack Overflow. Visited questions are objectively darker.    This is a HNQ excerpt from Super User. Visited questions are objectively lighter.    This is a HNQ excerpt from Seasoned Advice. Visited questions are objectively darker.    This is a HNQ excerpt from Puzzling, a beta site. Visited questions are objectively darker, although the difference is hard to spot.    This is a HNQ excerpt from Travel. Visited questions actually have a completely different color.    These are 5 different sites, with 5 different formats for how the HNQ sidebar displays links. Some make visited links darker. Some make them lighter. Some make them a little big darker. some give visited links a completely different color. This is very confusing: If someone visits one of these HNQ questions and wants to continue browsing the HNQ from there, they likely expect that the links in that HNQ segment have consistent layout compared to the HNQ segment from the website they came from.  Is this something worth looking into? I realize that each site has their own look and feel, but an element that appears on every site should be consistent IMHO. People have expectations about how links work, and one of those is that if you click on a link within the same domain (which the HNQ segment arguably is), they behave similary on that page as they do on the page you come from. Assume you have already completed your undergrad and have been working for a number of years. Does one need to be part of a university or a learning institution to publish papers? I've created a simple mesh consisting of a cube that has been modelled out into a corner by extrusion:    I'm now trying to sculpt detail onto it in sculpt mode using dynotopo, however I'm getting different results on different sides of the mesh.  The bottom of the mesh (which was the original cube that I extruded from) sculpts nice and smoothly as expected, however the other side is jagged and distorted which I can't sculpt as nicely. Why is this? The original faces appear to be the same. Can I install any iOS version I wish by picking and choosing which firmware to restore? I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this? We denote the s value of an ECDSA signature $(r, s)$ on a message $m$ as: $s=\frac{H(m)+xr}{k}$  Assume two ECDSA signatures sharing the same nonce $(r, s_1) , (r, s_2)$ on two messages $m_1, m_2$, that verify under two pubkeys $x_1G, x_2G$.    If the two public keys are equal then the secret keys should be equal $x_1 = x_2$ and we can easily recover the $k$ using the standard attack on nonce reuse. Once we know $k$ we can recover the secret key.  $\frac{H(m_1)-H(m_2)}{(s_1 - s_2)} =\frac{k(H(m_1)-H(m_2))}{H(m_1)-H(m_2)+x_1r - x_2r}$  $x_1 = x_2 \rightarrow x_1r - x_2r = 0$  $\frac{H(m_1)-H(m_2)}{(s_1 - s_2)} =\frac{k(H(m_1)-H(m_2))}{H(m_1)-H(m_2)} = k$  My question is can this attack be made to work if the secret keys are not equal i.e. $x_1 \ne x_2$:  $\frac{H(m_1)-H(m_2)}{(s_1 - s_2)} =\frac{k(H(m_1)-H(m_2))}{H(m_1)-H(m_2)+x_1r - x_2r} = \frac{k(H(m_1)-H(m_2))}{H(m_1)-H(m_2)+ (x_1 - x_2)r}$  If you know either $x_1 - x2$ or $\frac{x_1}{x_2}$  you should be able to compute $k$ as long as $s_1 \ne s_2$.  You can calculate $x_1 - x_2 = \frac{H(m_2) - H(m_1)}{r}$ in case where $s_1 - s_2 = 0$. However this case seems to reduce to the hardness of ECDSA since anyone can compute the pubkey for a new message $m_2$ that verifies under first signature $(s, r)$ using public key recovery.  If $s_1 \ne s_2$ you can compute $\frac{x_1 - x_2}{k}$ which allows you to convert $s_1$ into $s_2$ and vice versa. Why are the even and odd Regge trajectories degenerate? This is an old classic which I don't think ever got a clear answer. The Gribov-Froissart projection that gives the relativistic version of Regge trajectories treats even angular momentum differently from odd angular momentum. The trajectory functions in general are separate for even and odd angular momentum.  But in QCD, the odd trajectories interpolate the even trajectories in every case--- the two trajectories are degenerate. Is there a way of understanding why the even-odd trajectories are degenerate? Is is a symmetry argument? Can you find a natural system where they are not degenerate?  A quick google search revealed this reference, which doesn't answer the question, but gives an experimental signature for the degeneracy:  , There is probably excellent data by now on this. Converting ArcGIS layer style to Styled Layer Descriptor (SLD) file? I am putting together a GIS server using GeoServer and need some help with importing my layer styles from ArcGIS 10 to  format.    I have one layer in ArcMap properly symbolized and labeled, how can I get this layers symbolization and labeling into a SLD file? Where did the convention of using single dashes for letters and doubles dashes for words come from and why is continued to be used?  For example if I type in ls --help, you see:    -a, --all                  do not ignore entries starting with .   -A, --almost-all           do not list implied . and ..       --author               with -l, print the author of each file   -b, --escape               print octal escapes for nongraphic characters       --block-size=SIZE      use SIZE-byte blocks   -B, --ignore-backups       do not list implied entries ending with ~ ...   I tried googling - and -- convention even with quotes with little success. I'd like to use a different + symbol in addition to + in math mode, preferably one which is just bolder than the standard one.  I'm currently using \pmb{+} from the amsbsy package, but it's a bit too lean for my taste, and it looks a bit pointy to the ends.   I am aware of \ding{58} from the pifont package, as well as \Plus from bbding, both of which seem to be non-math mode symbols, and look really bad next to math symbols.  Am I missing some other option to produce a bold +, apart from drawing the symbol myself? Cartoon in a world with magic stones wielded by four children which combine to become stronger, and can summon creatures Can you please help me find this animated show? There is a four member team with two boys and two girls. The boys can summon, with their stones, a rock golem (black wearing summoner) and a robot (orange wearing summoner). The two girls can summon something like a dragonfly (green wearing summoner, little girl) and the blue girl, I don't remember what she can summon.  I don't know where the animated show comes from.  By throwing the stone, they activate the stone's power. Each stone has different characters on it. When you don't match them correctly, you get a rebound effect. multiplication equivalent of the summation symbol I was curious (even though this is a very amateur question)... what would the multiplication equivalent of sigma (the summation symbol) be? $$\sum$$ I want to do a series of multiplication of terms.... instead of addition... I want to update Acrobat Reader for Firefox, but the download has the .bin extension. How can I install it? php execute a background process I need to execute a directory copy upon a user action, but the directories are quite large, so I would like to be able to perform such an action without the user being aware of the time it takes for the copy to complete.  Any suggestions would be much appreciated. How can I type a Unicode character (for example, em-dash —?) The title pretty much says it all: how can I type Unicode characters - specifically the em-dash —? What does "rigorous proof" mean? I have heard several times that some mathematician has given another and more rigorous for an established theorem, but I don't know what does it really mean and what differences makes it to be more 'rigorous'. My understanding of a proof is that a proof is some explanation to convincing others that a statement is true. If some proof is not rigorous, does it mean that while the proof is acceptable for many but it is not for everybody? If so, the proof is not correct since it going to be rejected by some people and it is not a proof at all. Or, does rigorous mean it uses more advanced tools? If so, why not any alternative (but simpler) proof is also acceptable as rigorous (which is more 'valuable' as well since it's simpler!)?   Saying those limited insight of mine, my questions are:   $1-$ What does rigorous proof mean, in general definition?  $2-$ In order to understand your answers, as an example I am re-writing three of the proofs for the compactness of the torus. Which of the following proofs are most rigorous, 'normal' and least rigorous; and why so?    Theorem: The torus $T^2$ is compact.  First proof: The torus is homeomorphic to the product space $S^1 \times S^1$. The circle $S^1$ is compact. Therefore the torus is the product of two compact spaces, and thus it is compact.   Second proof: The torus $T$ is the subspace of $\mathbb{R}^3$ obtained by rotating a circle about the $z$-axis. The torus is closed since given any point in its complement, there is an open ball of sufficiently small radius centered at that point and disjoint from the torus. Also, the torus is bounded since it is contained in the ball of radius $4$ centered at the origin. Since the torus is closed and bounded in $\mathbb{R}^3$, it is compact.   Third proof: The torus is homeomorphic to a space obtained as a quotient  space of the square by identifying opposite edges. The square is a closed and  bounded subset of $\mathbb{R}^3$ and therefore is compact. Furthermore, a quotient map on the square is a continuous function, and the image of a compact space under a continuous function is compact. Therefore the torus is compact.   Thanks a lot for your guidance.