I ran a regression and the intercept is statistically insignificant (the p-value is greater than 0.05). I tried to look in some textbooks as to how to handle this scenario but I am still unsure. One textbook I looked at 'Basic Econometrics'by Gujarati and Porter says that if the intercept is insignificant then we have a regression through the origin and that if we remove the intercept, in this case, the model will be more precise. On the other hand, 'Introductory Econometrics'by Chris Brooks says that even if the intercept is insignificant, we should not remove it from the model.   Which one of these textbooks is correct? Should I leave the insignificant intercept in the model or run a regression through the origin?
I am running linear regression models and wondering what the conditions are for removing the intercept term.   In comparing results from two different regressions where one has the intercept and the other does not, I notice that the $R^2$ of the function without the intercept is much higher. Are there certain conditions or assumptions I should be following to make sure the removal of the intercept term is valid?
Rules and guidelines for drawing good schematics There are a lot of poorly drawn schematics here. A few times people have actually asked for critiques of their schematics. This question is intended as a single repository on schematic drawing rules and guidelines can point people to. The question is  What are the rules and guidelines for drawing good schematics?     Note: This is about schematics themselves, not about the circuits they represent. Significance of assumption in competition inequality questions Refer to the problem below (IMO 2009 Shortlist)     Let $a, b, c$ be positive real numbers such that $$\frac{1}{a} + \frac{1}{b} + \frac{1}{c} = a + b+ c$$   Prove that    $$\frac{1}{(2a+b+c)^2} + \frac{1}{(2a+b+c)^2} + \frac{1}{(2a+b+c)^2} \leqslant \frac{3}{16} $$    In the solution given by the  (Pg 16), it states that      Without loss of generality, we choose $$a +b+c = 1$$.    Thus, the problem becomes    $$ \frac{1}{(1 + a)^2} + \frac{1}{(1 + b)^2} +\frac{1}{(1 + b)^2} \leqslant \frac{3}{16}(\frac{1}{a} + \frac{1}{b} + \frac{1}{c})$$    Applying Jensen’s inequality to the function $$f(x) = \frac{x}{ (1+ x)^2}$$   ,which is concave for $0 ≤ x ≤ 2$   and increasing for $0 ≤ x ≤ 1$, we obtain   $$α \frac{a}{(1 + a)^2} + β \frac{b}{(1 + b)^2} + γ \frac{c}{(1 + c)^2} \leqslant (α + β + γ) \frac{A}{(1 + A)^2}$$   , where $A =\frac{αa + βb + γc}{α + β + γ}.$   Choosing $α = \frac{1}{a} , β =\frac{1}{b},$ and  $γ = \frac{1}{c}$   , we can apply the harmonic-arithmetic-mean inequality   $$A =\frac{3}{\frac{1}{a} + \frac{1}{b} + \frac{1}{c}} ≤ \frac{a + b + c }{3} = \frac{1}{3} &lt; 1$$   Finally we prove:   $$ \frac{1}{(1 + a)^2} + \frac{1}{(1 + b)^2} +\frac{1}{(1 + b)^2} \leqslant ( \frac{1}{a} + \frac{1}{b} + \frac{1}{c}) \frac{A}{(1 + A)^2} \leqslant ( \frac{1}{a} + \frac{1}{b} + \frac{1}{c})\frac{A}{(1 + \frac{1}{3})^2} = \frac{3}{16}(\frac{1}{a} + \frac{1}{b} + \frac{1}{c}) $$   However,  (Pg 4) differs by having $a +b+c=3$ and setting $f(x) = \frac{1}{16x} - \frac{1}{(x+3)^2}$ and allowing Jensen to resolve the rest.   The questions are as follows;   How do you choose before hand which $a + b+ c =$ to choose?  Why particularly does the assumption differ between the 2 solutions? How does one know before hand the choosing of $α = \frac{1}{a} , β =\frac{1}{b},$ and  $γ = \frac{1}{c}$?  Where and how did $A =\frac{αa + βb + γc}{α + β + γ}$ come from?   Any help would be much appreciated. Googlebot craw rate is too slow for a huge site Securing Cable when installing old work box I am installing an electrical outlet above a gas fireplace for TV.  I understand that electrical code requires securing the NM cable within 12" of outlet box.  I am curious how one goes about achieving this in a finished wall being that there is really no room to get hand, hammer, drill or screwdriver inside the wall through that box opening.   I am sure this is straightforward for experienced electricians but I have no idea how to go about this. Non-ECC memory with ZFS: a stupid idea? I have a new server and am planning to upgrade the paltry 2 GB of memory to the maximum of 16 GB. (Theoretically 8 GB is the limit, but empirically 16 GB has been shown to work.)   advise that ECC memory is not that important, but I'm not so sure I believe this.     I've installed  and am planning to add ZFS volumes as soon as my new hard drives arrive.   Would it be stupid to skimp and get non-ECC memory for a ZFS-based NAS?  If it's necessary, then I'll bite the bullet, but if it's just paranoia, then I'll probably skip it.  Is there any reason ZFS or FeeeNAS specifically would require ECC memory, or suffer especially when running on a system using non-ECC memory? Permanently turn off new Google Maps and go back to old one I found new Google Maps slow, useless (routes with only two points) and wrong. Is there any way, I can turn it off completely and go back to favored old Google Maps? Or is this &mdash; as with everything in Google &mdash; one way trip?  I found  text on this matter, but it seems useless. I have the feeling, that it discuss something completely different. It says about lite indicator in bottom-right corner. I don't have something like that. And provided links, that should switch new Google Maps engine between WebGL and canvas-based, simply doesn't work. All of them opens new window with annoying advertisment about new maps.  I even tried pasing part of URL, they're talking about (force=canvas) into any URL that my new Google Maps uses. Of course without any luck.  So... is there any way, I can get rid of new Google Maps, once and permanently?  UPDATE: In these days (April, 2015) Google , that soon new Google Maps will be the only one available. To my extremely negative surprise, this question will become invalid soon! :( Suspend process without killing it So I've got a persistent program running in the background. Killing it just causes it to restart with a different PID. I'd like to suspend it (put it to sleep without actually killing it). Does kill -9 do this? If not, how should this be done? Adding shapefile or feature class as layer in ArcGIS Desktop using Python/ArcPy? Prove that there exists some $c\in(-3,3)$ such that$ \ \ g(c) \cdot g''(c)<0$. $f(x)$ is a differentiable function and $g(x)$ is a double differentiable function such that $|f(x)|\leqslant 1$ and $f'(x)=g(x)$. If $$f(0)^2+g(0)^2=9$$ then prove that there exists some $c\in(-3,3)$ such that$ \ \ g(c) \cdot g''(c)&lt;0$.  Attempt: Let us define a function $h(x) = g(x) g~'(x)$. Then $$h'(x) =  g(x)g''(x) + \left( g'(x) \right)^2 \tag 1$$ If we prove that for some $c \in (-3,3), h~'(c) &lt; 0,$ then $$g(c)g''(c) &lt;0 \tag 2$$ Also, $$\left|f(0)\right| &lt; 1 \implies f'(0) \in (-3,-2\sqrt 2 ) \cup (2\sqrt 2,3) $$ Could someone please advise me how do I move forward from here. Thank you very much for your help in this regard. If photons have no mass, how can they have momentum? As an explanation of why a large gravitational field (such as a black hole) can bend light, I have heard that light has momentum. This is given as a solution to the problem of only massive objects being affected by gravity. However, momentum is the product of mass and velocity, so, by this definition, massless photons cannot have momentum.  How can photons have momentum?   How is this momentum defined (equations)? How to avoid bad box with long words with no hyphenation? C# loop - break vs. continue In a C# (feel free to answer for other languages) loop, what's the difference between break and continue as a means to leave the structure of the loop, and go to the next iteration?  Example:  foreach (DataRow row in myTable.Rows) {     if (someConditionEvalsToTrue)     {         break; //what's the difference between this and continue ?         //continue;     } } What is the difference between a telephoto lens and a zoom lens? Looking at the , I notice a distinction between telephoto lens and zoom lens.  What is the difference between the two?  Why would I want one over the other?  I  but remain confused about this distinction.  Please talk to me like I'm stupid. :) I am hoping for a completely lay explanation.  In particular, I'd like to understand in what situations I'd use a telephoto lens, and in what (other) situations I'd use a zoom lens. Natural Sounding Text to Speech? I am looking for some easy to install text to speech software for Ubuntu that sounds natural. I've installed Festival, Gespeaker, etc., but nothing sounds very natural. All very synthetic and hard to understand.  Any recommendations out there? Linear regression not fitting well I do a linear regression using R lm function:  x = log(errors) plot(x,y) lm.result = lm(formula = y ~ x) abline(lm.result, col="blue") # showing the "fit" in blue     but it does not fit well. Unfortunately I can't make sense of the manual.  Can someone point me in the right direction to fit this better?  By fitting I mean I want to minimize the Root Mean Squared Error (RMSE).    Edit: I have posted a related question (it's the same problem) here:   and the raw data here:    except that on that  x is what is called errors on the present page here, and there are less samples (1000 vs 3000 in the present page plot). I wanted to make things simpler in the other question. Does a surjective ring homomorphism have to be surjective on the unit groups? How to skip kernel update? Why can ECC key sizes be smaller than RSA keys for similar security? What's the best way to store class variables in PHP? I currently have my PHP class variables set up like this:  class someThing {      private $cat;     private $dog;     private $mouse;     private $hamster;     private $zebra;     private $lion;      //getters, setters and other methods }   But I've also seen people using a single array to store all the variables:  class someThing {      private $data = array();      //getters, setters and other methods }   Which do you use, and why? What are the advantages and disadvantages of each? Batch renaming files with pattern I have some files named like these:  63018933.mp4?token=1325697436_b0c3e70c6e339380b4a484c576a8c287  63808488.mp4?token=1325697401_4ae5f7a68d93873c8881b303e7655e14  How do I rename all them to, for example 63018933.mp4(remove characters after mp4)?