I created a model, and in some cases I have regression coefficients between 2 variables that are slightly higher than correlation coefficients. Is that normal?
I would have expected the correlation coefficient to be the same as a regression slope (beta), however having just compared the two, they are different. How do they differ - what different information do they give?
I need to include code in the appendix of my thesis. The code contains comments and the compilation instantly breaks returning:  Unicode char �\lst@FillFixed@ (U+5A8) (inputenc)                not set up for use with LaTeX. l.160       if (lastArg &lt; 0, lastArg = 360°                                               + lastArg);   This is only one of many characters which produce problems. I cannot change my entire code just because this won't compile. Is there any way to include code with arbitrary unicode characters? Thank you.   Edit: complete sample code, as requested.  \RequirePackage[l2tabu,orthodox]{nag}   \documentclass[headsepline,footsepline,footinclude=false,oneside,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc]{scrbook} % one-sided   \usepackage[toc,page]{appendix} \usepackage{listings} \usepackage[utf8]{inputenc}  \lstset{     inputencoding=utf8,   extendedchars=true,   basicstyle=\footnotesize\ttfamily,   showstringspaces=false,   showspaces=false,   numbers=left,   numberstyle=\footnotesize,   numbersep=9pt,   tabsize=2,   breaklines=true,   showtabs=false,   captionpos=b,     literate={ö}{{\"o}}1 {ä}{{\"a}}1 {ü}{{\"u}}1  }  \begin{document}  \begin{appendices} \lstinputlisting{code/power_series.html} \end{appendices}  \end{document}   Relevant content of power_series.html:  if (lastArg &lt; 0, lastArg = 360° + lastArg);   There really is not much to say about this problem. I only want to be able to use all unicode characters inside a listing. Thank you. Emails Per Invocation Still Capped at 100? Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me? Fun times, I'm making a (manual) index of the lecture slides for class (which are nowhere near latex, ppt files yay) and of course Latex insists on placing pagebreaks willie nillie through my items. Why isn't there a "keep (paragraph) with next (paragraph)" option like there is in Word 2007 (and all others I think). Is Word really more powerful than Latex [when it comes to this specific attribute of paragraph flow]?  *full page before here* Knowledge in the \nopagebreak\\ \nopagebreak \nopagebreak - Head   Results in   *full page* Knowledge in the  ---8&lt;--- Next page - Head ...    Yes, I know I can place a \newpage before the line to push it to the next page, but there has to [HAS TO] be a way to make Latex understand that this isn't what I want, these two lines are supposed to stick together!   Edit: Full context:   *empty line* Knowledge in the \\ - Head \slid{44, 69} - World \slid{5, \textbf{44}, 66, 69, 84} *empty line*   With slid being:   \newcommand{\slid}[1]{\dotfill #1 \nopagebreak\\}   It seems to be to be that the -World line is pulling down the -Head line, if I add an empty line between them, both Knowledge.. and -Head stay on the same page, with -World on the next one. But when I combine the two, only -Head gets pulled to a new page, and Knowledge... stays on the previous page. How many attacks can a fighter with two-weapon fighting make at 5th level? Consider the following code:   0.1 + 0.2 == 0.3  -&gt;  false   0.1 + 0.2         -&gt;  0.30000000000000004   Why do these inaccuracies happen? How to change css property using javascript How to find solutions of linear Diophantine ax + by = c? I want to find a set of integer solutions of Diophantine equation: $ax + by = c$, and apparently $\gcd(a,b)|c$. Then by what formula can I use to find $x$ and $y$ ?   I tried to play around with it: $x = (c - by)/a$, hence $a|(c - by)$.     $a$, $c$ and $b$ are known. So to obtain integer solution for $a$, then $c - by = ak$, and I lost from here, because $y = (c - ak)/b$. I kept repeating this routine and could not find a way to get rid of it? Any hint?  Thanks, Chan Find a bijection from $\mathbb R$ to $\mathbb R-\mathbb N$ Find a bijection from $\mathbb R \to  \mathbb R-\mathbb N$. I want to set my function up such that all natural numbers get mapped to $n+.1$ and reals of the form $n+.1$ to $2n+.1$ is this correct? How can I selectively disable paste blockers How to prevent updating of a specific package? Because of  I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package.   How can this be achieved? Looking for a science fiction story collection about nanotechnology — included a story about anti-graffiti paint I remember reading it while in middle school in English in the United States, so the latest it would have come out was 1998. I don't remember if it was all one author, or even the same universe. These are the stories I remember:   A man finds a way to create a medicine that prevents radiation poisoning (or possibly makes someone fireproof... it's a little confused in my head) and learns that part of the problem is finding a market for it. I vividly remember the inventor telling someone to not "let the doorknob ream you" as it slams shut. A bout of graffiti artists leads to the city buying anti-graffiti paint that dissolves any other paint put on top of it. After learning the futility of trying to paint over it, the protagonist consults with a friend and learns that the anti-graffiti paint will eat away at the paint above it at a steady rate, and will even eat successive layers of the anti-graffiti paint. he uses this property to engineer an animation involving a harlequin thumbing this nose at the officials even as they try to wash it away. Some guys (I want to say a gang) go to a clinic for an illegal nanotech transformation. The viewpoint character gets turned into a woman while a friend gets turned into a dog. After roaming about in their new forms, they return to find the clinic being raided, meaning there's no one to turn them back. I think I remember something bad happening to the one transformed into a dog where the transformation continued, erasing his human thought patterns. There was also a scene where the viewpoint character submitted to being sexually assaulted by his former friends as if it was simply to be expected given his form.   I don't remember if the first or the second story was the actual first story of the collection... I want to say that those are the order that they showed up as in the book. Bash while read loop breaking early Let $G = \mathbb{R} / \mathbb{Q}$. Is this an interesting group to study?  Is it isomorphic to any more natural mathematical objects? Hiding axis text in matplotlib plots Synchronize/change Area51 profile image I just visited  and noticed that my profile picture is not the same as on all other sites.  According to  the image will be synchronized when synchronizing the complete profile. I did that but the image is still the same.  Then I wanted to change the image in the Area51 profile directly - but I can only change to a gravatar image and can't use the new and fancy Stack Exchange image.  Is that a bug? I know that an easy to handle formula for the CDF of a normal distribution is somewhat missing, due to the complicated error function in it.  However, I wonder if there is a a nice formula for $N(c_{-} \leq x &lt; c_{+}| \mu, \sigma^2)$. Or what the "state of the art" approximation for this problem might be. Hyperref warning - Token not allowed in a PDF string I'm writing a bash script that needs to delete old files.  It's currently implemented using :  find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -delete   This will delete of the files older than 1 day.  However, what if I need a finer resolution that 1 day, say like 6 hours old? Is there a nice clean way to do it, like there is using find and -mtime? What would be an informative introduction to quantum computing software? I am new to Stack Exchange and am working on a quantum learning platform for minority youth groups (LGBTQ, low-income, at risk, etc).  In the question below they are looking for courses on the subject, which I am also interested in, and do plan on checking those links out for ideas.        What I am looking for are simple videos, articles, or even games, that cover basic quantum theory at an introductory level.  There are some games I have looked into and played.  Hello Quantum! was fun and informative, though on my end there was still a lack of comprehension on how the quantum computer (or anything else "quantum") would actually function and play out.   My focus for the educational platform is more directed towards the software side of quantum computing. Is there anything  that gives a good introduction to the functions and uses a quantum computer will have? As well as what language would be best to program one? Also, would there be a way to program a quantum computer through a classical computer? And, is there a simple introduction to any of this already existing? How do I run two isolated instances of firefox?