A word for feeling simultaneously happy & sad
Word for something sad and funny at the same time
I am confused. I don't understand the difference a ARMA and a GARCH process.. to me there are the same no ?  Here is the (G)ARCH(p, q) process  $$\sigma_t^2 =      \underbrace{     \underbrace{      \alpha_0       + \sum_{i=1}^q \alpha_ir_{t-i}^2}     _{ARCH}        + \sum_{i=1}^p\beta_i\sigma_{t-i}^2}     _{GARCH}$$  And here is the ARMA($p, q$):  $$ X_t = c + \varepsilon_t +  \sum_{i=1}^p \varphi_i X_{t-i} + \sum_{i=1}^q \theta_i \varepsilon_{t-i}.\,$$  Is the ARMA simply an extension of the GARCH, GARCH being used only for returns and with the assumption $r = \sigma\varepsilon$ where $\varepsilon$ follows a strong white process? Searching through ODT documents without opening them? Let's say I have 2000 .ODT files. Their names are random numbers. How do I go about searching for, let's say, "pricing list"? How do I find the document I need without opening all of them one by one and checking to see if it's the right one?  Is there some program to search through the words in the documents without opening them? How did the letter Z come to be associated with sleeping/snoring? No matter where I look, I just can't find gnome number [insert number here]. Where can I find every gnome in the game? How can I produce exercises in one part of a LaTeX document with selected answers in another? I could, of course, simply typeset the questions and the answers separately, but this is too likely lead to divergence in the labels for the questions and the answers as the document is edited.   What I'd really like is a command that would allow me to typeset exercises at the point at which the command was used and which took an optional argument for a solution to be stored until a final section (chapter, or part) "Selected Exercise Answers". I'd like the questions (and the selected answers) to be labeled in the output by Chapter.Section.Question or even Chapter.Question. I know that the product of two Gaussians is a Gaussian, and I know that the convolution of two Gaussians is also a Gaussian. I guess I was just wondering if there's a proof out there to show that the convolution of two Gaussians is a Gaussian. Process management and high technology weapon. Novel name and author? I am looking for help to point me out at a very old novel (likely from the '60s) about two empires at interstellar war. When it comes to starships, one is technologically very advanced, and the other has very low and inefficient technology.  The highly advanced empire has apparently strong chances to win the war, in particular considering a new technology they were developing. I remember the technology to work like this: consider the space as a flat surface, and on this surface, a disk around the spaceship. When the technology was turned on, this disk was stretched out, as made of rubber, so that it produced a cone, with the tip being the spaceship. The spaceship was therefore teleported 10 parsec away (if I remember correctly), but retained all the connections to the original position. If the spaceship moved, the cone moved as well. This allowed to move in position among enemy ships completely unnoticed, by stretching while afar, then moving in the proper position 10 parsecs away, then destretching.  Despite this technology, the empire lost the war because of delays. It's a perfect example of how having a disruptive technology does not guarantee to win against the competitors.  I am trying to find out the author and name of this novel, hopefully with the date of publication and in which journal/magazine. How do I clone a generic list in C#? Is it adviseable to stack internal hard disk over each other (after removing them from the casing) Would it damage or cause any interference to the non-operational (whereby electricity or power is removed or disconnected from the hard disk and it will be store inside a cupboard or container either made of plastic or metal) hard disks (IDE, SATA)? Why is it so hard to find the roots of polynomial equations? The question that follows was inspired by  question:  When trying to solve for the roots of a polynomial equation, the quadratic formula is much more simple than the cubic formula and the cubic formula is much more simple than the quartic formula.    That the general solutions to various polynomial equations are so complex and difficult to derive seems to suggest a fundamental limitation in the problem solving capabilities of the mathematical machinery. Does this intuition of mine make any sense? What should I make of it? Why is it that with each successive degree in a polynomial equation, the solution becomes so much more complex? Can I gain some intuition about what makes finding the roots so hard? According to the : "there is no general algebraic solution—that is, solution in radicals— to polynomial equations of degree five or higher." What is so special about the quintic that makes it the cut-off for finding a general algebraic solution? I want to add a check constraint on a column if entered value for column is greater than 3 than it should be saved as 1 else entered value. For that scenario I am using below query but on insertion of data it shows an error message.  create table tblTestCheckConstraint  ( id int, NewColumn int )   alter table tblTestCheckConstraint add constraint chk_tblTestCheckConstraint_NewColumn1 CHECK   (     CASE         WHEN NewColumn &gt;4 THEN 1         ELSE NewColumn     END = 1 )   Insert Statement:   insert into tblTestCheckConstraint values ( 1,5) insert into tblTestCheckConstraint values ( 1,2)   Error Message:   Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the CHECK constraint "chk_tblTestCheckConstraint_NewColumn1". The conflict occurred in database "DBName" , table "dbo.tblTestCheckConstraint", column 'NewColumn'. The statement has been terminated. This is a follow-up to an earlier question regarding .  Having achieved the left-alignment goal, I would now like the caption of the subfigure to be bottom-aligned, while having the subfigure itself be top-aligned. As an example, in the figure below, subfigures (a) and (b) would share an uppermost edge, and their captions would share a lowermost edge, and similarly for subfigures (c) and (d). This is most appropriate for the overall layout style of my document and also the content of the subfigures themselves.    \documentclass{article} \usepackage[font=footnotesize]{subcaption} \usepackage[draft]{graphicx}  \begin{document} \begin{figure}[!ht] \captionsetup[subfigure]{justification=justified,singlelinecheck=false} \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[scale=0.8]{fig/workflow-S} \caption{workflow $S$} \end{subfigure} \begin{subfigure}[b]{0.5\textwidth} \includegraphics[scale=0.8]{fig/workflow-S-run} \caption{run of $S$} \end{subfigure} \vskip 8pt \begin{subfigure}[b]{0.3\textwidth} \includegraphics[scale=0.8]{fig/workflow-S'} \caption{workflow $S'$} \end{subfigure} \begin{subfigure}[b]{0.5\textwidth} \includegraphics[scale=0.8]{fig/workflow-S'-run} \caption{run of $S'$} \end{subfigure} \caption{Here's a figure} \end{figure} \end{document}   I've experimented with the minipage settings for subfigure, specifically using [t] instead of [b], but it seems to have no effect. I'm unsure as to whether a position of [t] would produce the right effect anyway, or whether it would shift the captions up as well.  Why is [t] not working here, and what's the right way to produce the layout I need?   The solution should generalise to an arbitrary number of subfigures per row, subfigures which are text or tables rather than images, and should not require any hard-coded sizes. can I put a double 50 amp pole in a 100 amp box I have two passports/nationalities. How do I use them when I travel? Martingale that is not a Markov process I have a directory where daily subdirectories are created, literally named according to $date. How can I delete folders and their contents that are older than 7 days according to the YYYYMMDD in the file name and not the metadata date? Say I have (skipped some for brevity):  20170817 20170823 20170828 20170901   I would end up with the following folders (which those should keep):  20170828 20170901   I created a variable that holds the date 7 days ago: dt_prev=$(date -d "`date`-7days" +%Y%m%d)  My thought was to ls -l a list of these folder names and compare row by row, but this involves cleaning that list, etc., and I figure there has to be an easier way. I was a member of a study team that produced a couple of research papers. The authors of the paper are, for example:      Michael Jordan, Tiger Woods, John Smith and The ABC Study Investigators   In the acknowledgements, it reads:     The ABC Study team consists of members from Harvard University (James Bond, Thomas Harper, David Price, and Jason Jolly)   (Suppose that my name is David Price.)  Can I list such papers in the publication list of my CV? If not, how can I show that I participated in these research papers?  In PubMed, my name was listed as one of 'collaborators.' I'm using a class I've derived from DocumentPaginator (see below) to print simple (text only) reports from a WPF application. I've got it so that everything prints correctly, But how do I get it to do a print preview before printing? I have a feeling I need to use a DocumentViewer but I can't figure out how.  Here's my Paginator Class:  public class RowPaginator : DocumentPaginator {     private int rows;     private Size pageSize;     private int rowsPerPage;      public RowPaginator(int rows)     {         this.rows = rows;     }      public override DocumentPage GetPage(int pageNumber)     {         int currentRow = rowsPerPage * pageNumber;         int rowsToPrint = Math.Min(rowsPerPage, rows - (rowsPerPage * pageNumber - 1));         var page = new PageElementRenderer(pageNumber + 1, PageCount, currentRow, rowsToPrint)                        {                            Width = PageSize.Width,                            Height = PageSize.Height                        };         page.Measure(PageSize);         page.Arrange(new Rect(new Point(0, 0), PageSize));         return new DocumentPage(page);     }      public override bool IsPageCountValid { get { return true; } }      public override int PageCount { get { return (int)Math.Ceiling(this.rows / (double)this.rowsPerPage); } }      public override Size PageSize     {         get { return this.pageSize; }         set         {             this.pageSize = value;             this.rowsPerPage = PageElementRenderer.RowsPerPage(this.pageSize.Height);             if (rowsPerPage &lt;= 0)                 throw new InvalidOperationException("Page can't fit any rows!");         }     }      public override IDocumentPaginatorSource Source { get { return null; } } }   The PageElementRenderer is just a simple UserControl that displays the data (at the moment just a list of rows).  Here's how I use my Row Paginator  PrintDialog dialog = new PrintDialog(); if (dialog.ShowDialog() == true) {     var paginator = new RowPaginator(rowsToPrint) { PageSize = new Size(dialog.PrintableAreaWidth, dialog.PrintableAreaHeight) };      dialog.PrintDocument(paginator, "Rows Document"); }   Sorry for the code dump, but I didn't want to miss something relevant. Is there a power saving application similar to Jupiter? How to generate a simple cartesian plane system? I need to make a cartesian plane for plotting the straight line joining the points (-3,1) and (6,-2). This is a very simple cartesian plane plotting. When I looked at the manual for tikz the graphics for cartesian planes are for more advance plotting, and what I need is very simple.  Something like this: