Econometrics Problem. Proving Regressions have both R squared
R-squared: X "explains" the percentage of variation of the Y values. Does axis order matter?
Is this arthropod non-intrusive and recommended to be left alive? Open program/windows on specific monitor Is there a way to tell Windows on which monitor it should open a windows  independently of where it was closed? Does $\langle\Omega|\mathrm{e}^{\mathrm{i}Px}=\langle\Omega|\mathrm{e}^{\mathrm{i}0x}$? $(\langle\Omega| =$ ground state of the interacting theory) Let $\langle\Omega|$ be the ground state of an interacting theory, just as Peskin &amp; Schroeder(PS) describes on page 82 and page 213. On page 213 PS do the following   $$\tag{1}\langle\Omega|\phi(x)|\lambda_{\vec{p}}\rangle = \langle\Omega|\exp(+\mathrm{i}Px)\phi(0)\exp(-\mathrm{i}Px)|\lambda_{\vec{p}}\rangle \\ =\langle\Omega|\phi(0)|\lambda_{0}\rangle\exp(-\mathrm{i}px)\bigg|_{p^0=E_{\vec{p}}} $$  In the above $|\lambda_0\rangle$ is an eigenstate of the full interacting hamiltonian $H$. The ket $|\lambda_{\vec{p}}\rangle$ is the boost of $|\lambda_0\rangle$ with momentum $\vec{p}.$ Furthermore $E_{\vec{p}} = \sqrt{p^2+m_\lambda^2}$ and $\vec{P}|\lambda_0\rangle = 0.$  I assume PS used $$\tag{2}\langle\Omega|\mathrm{e}^{\mathrm{i}Px}=\langle\Omega|\mathrm{e}^{\mathrm{i}0x}$$ in $(1)$.   Is $(2)$ true?   I thought $\langle0|\mathrm{e}^{\mathrm{i}Px}=\langle0|\mathrm{e}^{\mathrm{i}0x}$ where $\langle0|$ is the ground state of the free theory.   I hope I have provided enough info for the question to make sense. Connecting subplots Is there a way to draw a sort of connection between subplots in TiKz/pgfplot, like in this ? I'm looking to achieve something like this:    But I would need to draw the "x 2000" line between the plots.  EDIT: So right now I have something like this:    Coming from my main.tex:  \input{aipcheck}  \documentclass[final]{aipproc}  \layoutstyle{8x11single} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \usepackage{color} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{cleveref} \usepackage{pgfplots}  \pgfplotsset{ tick label style={font=\tiny}, %axis numbers label style={font=\small}, %axis labels legend style={font=\tiny} }  \begin{document}  (...)  \begin{figure}     \centering     \newlength\figureheight      \newlength\figurewidth      \setlength\figureheight{5cm}      \setlength\figurewidth{5cm}     \input{figs/_ddmp2d.tikz} \label{fig2D} \end{figure}   with _ddmp2d.tikz, originally created from matlab2tikz, but already modified, containing:  % This file was created by matlab2tikz v0.3.3. % Copyright (c) 2008--2013, Nico Schlömer &lt;nico.schloemer@gmail.com&gt; % All rights reserved. %  % The latest updates can be retrieved from %   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz % where you can also make suggestions and rate matlab2tikz. %  %  %   \begin{tikzpicture}  \begin{axis}[% width=\figurewidth, height=\figureheight, scale only axis, xmin=0, xmax=15, xlabel={Number of iterations}, ymin=0, ymax=16000000000000, name=plot1, after end axis/.append code={\coordinate (a) at (axis description cs:1,0);}]  \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 25160000000\\ }; \addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 52501000000\\ }; \addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 5324200000\\ }; \addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 1 15841000000000\\ (...) 15 551920000\\ }; \addplot [ thick, color=green, solid, forget plot ] table[row sep=crcr]{ 3 0\\ 3 16000000000000\\ };  \addplot [ thick, color=blue, dotted, forget plot ] table[row sep=crcr]{ 4 0\\ 4 16000000000000\\ }; \addplot [ thick, color=black, dashed, forget plot ] table[row sep=crcr]{ 5 0\\ 5 16000000000000\\ }; \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt, forget plot ] table[row sep=crcr]{ 8 0\\ 8 16000000000000\\ }; \end{axis}  \begin{scope}[xshift=5cm] \begin{axis}[% width=0.35\figurewidth, height=\figureheight, scale only axis, xmin=995, xmax=1000, xtick={997,998,999,1000}, xticklabels={$997$,$998$,$999$,$1000$}, ymin=0, ymax=8000000000, at=(plot1.right of south east), anchor=left of south west, yticklabel pos=right, axis x discontinuity=crunch, after end axis/.append code={\coordinate (b) at (axis description cs:0,1);} ] \addplot [ thick, color=red, dash pattern=on 1pt off 3pt on 3pt off 3pt ] table[row sep=crcr]{ 995 6093100000\\ 996 6093100000\\ 997 6093100000\\ 998 6093100000\\ 999 6093100000\\ 1000 6093100000\\ };  \addplot [ thick, color=black, dashed ] table[row sep=crcr]{ 995 1577100000\\ 996 1598000000\\ 997 1598500000\\ 998 1628600000\\ 999 1631000000\\ 1000 1595900000\\ };  \addplot [ thick, color=blue, dotted ] table[row sep=crcr]{ 995 2592000000\\ 996 2591900000\\ 997 2591700000\\ 998 2591600000\\ 999 2591500000\\ 1000 2591400000\\ };  \addplot [ thick, color=green, solid ] table[row sep=crcr]{ 995 391810000\\ 996 391810000\\ 997 391810000\\ 998 391810000\\ 999 391810000\\ 1000 391810000\\ };  \end{axis} \draw[gray] (a) -- (b) node[pos=0.5,sloped,fill=white] {$\times$2000}; \end{scope}  \end{tikzpicture}% IANAL et al. is usually the start of answers to [legal] questions on any SE site (e.g. ). You usually end up with personal opinions which sound sensible and the accepted answer is often the one closest to the OP's hopes. But it's probably often not correct. I know the situation can be rather complicated and even differ by location, but it would be really helpful if the SE team were providing official lawyers (indicated maybe by using a § in the username, forbidden for everyone else, just like the mod ♦) to provide some orientation that one could actually rely on beyond much doubt... What is the correct way to pluralize an initialism in which the final word is not pluralized by adding the letter "s"? How do I write content to another browser window using Javascript? I've opened a new window with window.open() and I want to use the reference from the window.open() call to then write content to the new window.  I've tried copying HTML from the old window to the new window by using myWindow.document.body.innerHTML = oldWindowDiv.innerHTML; but that's doesn't work.  Any ideas? I was viewing  question in the Android app. As shown in the below screenshot, while the top shows "4 answers", the bottom button will ask to "View 6 Answers". After checking the question, there are indeed six answers to the aforementioned question.    I am using Android 4.3 with the 0.1.64 version of the app.    EDIT: The changes to the UI made this question obsolete. How to simulate data that satisfy specific constraints such as having specific mean and standard deviation? This question is motivated by . But I imagine that it would also be useful in teaching contexts where you want to create a dataset that exactly mirrors an existing published dataset.  I know how to generate random data from a given distribution. So for example, if I read about the results of a study that had:   a mean of 102, a standard deviation of 5.2 , and  a sample size of 72.   I could generate similar data using rnorm in R. For example,   set.seed(1234) x &lt;- rnorm(n=72, mean=102, sd=5.2)   Of course the mean and SD would not be exactly equal to 102 and 5.2 respectively:  round(c(n=length(x), mean=mean(x), sd=sd(x)), 2) ##     n   mean     sd  ## 72.00 100.58   5.25    In general I'm interested in how to simulate data that satisfies a set of constraints. In the above case, the constaints are sample size, mean, and standard deviation. In other cases, there might be additional constraints. For example,    a minimum and a maximum in either the data or the underlying variable might be known. the variable might be known to take on only integer values or only non-negative values. the data might include multiple variables with known inter-correlations.   Questions   In general, how can I simulate data that exactly satisfies a set of constraints? Are there articles written about this? Are there any programs in R that do this? For the sake of example, how could and should I simulate a variable so that it has a specific mean and sd? Why do my images look different on my camera than when imported to my laptop? I have been taking some photos with my new camera, and have found that once I import them to my laptop, the colors look washed out, and not as nice and vivid as on the camera LCD display.  It's a Sony HX60, and I am importing them into an HP dm4, running Fedora.  I've read about color profiles, and made sure that the calibration on my monitor was set.  The thing is that the issue arises with just importing them from the camera iteself (using Shotwell) and diplaying them with the standard Image Viewer, it's not even an issue with Gimp or an image editor with a color profile not set.  I am wondering if my camera is using some of color profile that is being lost when imported, or is it that the display on my camera is much better than the one my laptop?  I can then open the image in Gimp, and then use some enhancements to make the image look better, but I just want them to look the same as on my camera.  Any ideas?  Update:  Here is an example image I took:   And here is a photo of the comparison of how the Sony HX60 &amp; the HP dm4 render the output. This photo was taken with a cheap Lumix, but still clearly shows the difference: Understanding imaginary exponents While doing some flagging (yes, I'm a little bit addicted) I stumbled upon the user . At first the case seemed clear, Spammer, but...and that's a big one, he seems to be a productive member of SU and SO (his account on SF isn't there anymore, but it's still in the Data-Dump of the explorer, not sure what happened).  He does never seem to link against StarWind-Software, except with his name and profile. He also  that he's a developer there...so...at what am I looking here? I can't really place him somewhere. Noticing that the "Human Verification" image did not show, I found that the src, , shows that sstatic.net is giving an SSL vertificate for *.stackexchange.com.. Say I want a random 1024-bit prime $p$.  The obviously-correct way to do this is select a random 1024-bit number and test its primality with the usual well-known tests.  But suppose instead that I do this:   select random odd 1024-bit number $n$ if $n$ is prime, return $n$ $n \leftarrow n+2$ goto 2   (This approach allows faster selection of primes via sieving.)  Since primes are not uniformly distributed on the number line, it would seem that this algorithm prefers primes that lie after long runs of composites.  Take a piece of the number line around $2^{1024}$ with x denoting a prime:     ---x-x----------------------------x------------------------x---x   Clearly our algorithm above is much more likely to find the 3rd prime above than to find the 2nd one.  Question: Is this a problem? Cannot change backlight brightness Ubuntu 14.04 Why does shrinkage work? In order to solve problems of model selection, a number of methods (LASSO, ridge regression, etc.) will shrink the coefficients of predictor variables towards zero. I am looking for an intuitive explanation of why this improves predictive ability. If the true effect of the variable was actually very large, why doesn't shrinking the parameter result in a worse prediction? How to scan an entire network using Nmap? Is there a way to scan an entire network using ?   What I want to do is scan my network for all the devices that are currently connected to it. Lagrange's theorem I don't understand left coset and Lagrange's theorem... I'm working on some project so please write me anything what could help me understand it better Router to router setup works fine with straight cable up to 2-3 meter it is not working for 45 meter why? I have a problem analysing this sentence from the point of finite/nonfinite clauses, clause elements and their functions:     He does not want to destroy his parents' dream of him achieving a Cambridge degree.   I am especially interested in the: dream of him achieving a Cambridge degree.  I know that 'achieving a Cambridge degree' is a non-finite -ing participle clause. However what is its function? And what is the function of 'of him'? Is it a postmodification?