Good reference book for linear statistical models?
Textbooks on linear regression with least squares
GTA V for PC exited unexpectedly I recently ordered the GTA V PC from Steam and when I finished installing and launch the game. It gave me "Grand Theft Auto V has exited unexpectedly". I tried "safe mod" and every option available, but none of them work. I checked some forums and found a lot of people having the same problems. What could be the possible cause? I'm using a laptop with these specs:  CPU: i7 4700m GPU: AMD HD8970M RAM: 8GB  I'm pretty sure my laptop is way beyond the minimum specs. Does someone know how can I enter the game? Levels or First Differences, VECM or VAR for Ultimate Impulse Response Functions? Equation number in aligned environment after last line I'm using aligned inside align as follows   \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} x =&22+2 \nonumber\\   =& \begin{aligned}[t]     &5+3\\     &-3+4\\     &+15-0   \end{aligned} \end{align} \end{document}   I want to have just one equation number after the very last line.  However, I'm getting the number at the beginning of the first split line (after the second = ),    and I cannot figure out how to move this equation number to the bottom. Any help will be appreciated. A vessel is filled with liquid,3 parts of which are water and 5 parts syrup.How much of the mixture must be drawn off and replaced with water so that the mixture may be half water and half syrup?  What is the best possible way to solve this question? After a lot of messing around today I curiously observed that $a^2+b^2$ is only divisible by 3 when both $a$ and $b$ contain factors of 3.  I am trying to prove it without using modular arithmetic (because that would be way too easy), but finding it very difficult to do so.  Is there an easy way to prove this without using modular arithmetic?  I am also interested in a more general statement.  Namely, I want to find the values of $Z$ for which $Z \mid \left( a^2+b^2 \right)$ necessarily implies that $Z \mid \gcd \left( a,b\right)$.  We know that $Z$ cannot be 5, because $3^2+4^2=5^2$.  More generally, if $Z$ is the largest element of a pythagorean triple then the above implication does not hold. Bundling python library with addon How SELECT column does not list in GROUP BY clause The query:  select year,sum(mark),sum(maxmark)  from table1  group by parameterno   yields an error message:     Column 'table1.year' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause. Eigenvectors of a circulant matrix Given a file like this:  1,768,12,46576457,7898 1,123,435,134,146 2,345,6756856,12312,1311 5,234,567465,12341,1341 1,3245,4356345,2442,13 9,423,2342,121,463 9,989,342,121,1212   I would like to list all rows (in bash terminal) such that the value in column 1 appears at least twice (in column 1). The result should be  1,768,12,46576457,7898 1,123,435,134,146 1,3245,4356345,2442,13 9,423,2342,121,463 9,989,342,121,1212 Lightning component quick action - send parameters to the lightning component I have a lightning component that is available for use as lightning component quick action. I need to use this component from various object actions, for example, I will add a lightning component quick action to account object and to contact object. Now on the lightning component itself, I want to know if it was invoked from the account object or from the contact object, but I cannot find a way to do that. I have found a way to get the record Id by adding &lt;aura:attribute name=&quot;recordId&quot; type=&quot;String&quot; /&gt; (see code snippet below) It is working but not good enough. What I really need is to send a parameter from the lightning component quick action invocation:  And get it in my component: &lt;aura:component implements=&quot;force:lightningQuickAction,force:hasRecordId,flexipage:availableForAllPageTypes&quot;&gt;     &lt;aura:attribute name=&quot;recordId&quot; type=&quot;String&quot; /&gt;     &lt;aura:attribute name=&quot;param&quot; type=&quot;String&quot;/&gt; &lt;/aura:component&gt;  Is this possible? And if not - any workaround for achieving that? Is it possible to do vector calculus in Mathematica? I am trying to balance underbraces in the equation below, how can I ensure that both underbraces at the same depth?  \begin{equation} y = \underbrace{ \left [ x^2 + r^2 (a^2+\frac{a^{0.3}}{b}) \right]}_\text{growth rate} \times  \underbrace{ C_0}_\text{initial} \end{equation} How do you log the machine name via log4net? I am using Log4Net with the AdoNetAppender to log messages from a simple systray application into a SQL Server 2005 database.  I want to log the machine name along with the log message because this application will be running on multiple machines and I need to know on which one the message originated.  But, I cannot find a way to expose this information via the log4net.Layout.PatternLayout that I am using with the appender.  Is there a way to log the machine name via log4net in this manner? How would I give a simple example of a function $f$ differentiable in a deleted neighborhood of $x_0$ such that $\lim_{x\to x_0}f^\prime(x)$ does not exist? I cannot seem to think of an example.  A delete neighborhood is an open interval about $x_0$ which does not contain $x_0$. So, $(x_0-\delta,x_0+\delta)-\{x_0\}$ for some $\delta&gt;0$.  How would something be differentiable in a deleted neighborhood if at the point of the derivative, the limit does not exist. Presumably, the derivative ends up looking something like $\lim_{x\to x_0} \dfrac{1}{x}$, if it does not exist. What is the standard team composition for a conquest game? I'm very new to Smite, and I'm wondering if there is some kind of standard team composition in high level play, comparable to the top, jungle, mid, dual lane meta in LoL.  What are the roles, and where should they go to start the game? Logistic regression cost surface not convex I am building a simple logistic regression model on 2D data. Here is the input I use.    I built a logistic regression model using this data and it successfully is able to find the discriminating line between these two classes. Here is the separating line found by my program:    Also, just for debugging, I plotted number of iterations vs J(theta), which also looks fine:    Now, confusing part comes into play. I am investigating the cost surface of this model that the logistic regressions is doing the gradient descent on. I am considering three different loss functions. Sum-of-squared loss, hinge-loss, log-loss.  Hinge loss:    Log-loss:    Sum-of-squared loss:    As far as I know, both hinge loss, sum-of-squared loss and log-loss should produce a convex surface. When I look at my surfaces, however, sum-of-squared surface does not look convex to me. Why is that the case?  For convenience, here is the two critical functions from my code:  function retval = J(X, y, theta)     M = size(y, 1);     % sum of squared error     retval = (1/(2*M)) * sum((h(X, theta) - y).^2);  endfunction  function retval = h (X, theta)     % logistic     retval =  1 ./ (1+ exp(-1 * (X * theta))); endfunction Please help identify this 2-part TV movie: Alien woman crash-lands on earth, falls in love, 199x How do split panes in Terminal work? Many To Many Relationships I am working on a conceptual model for a database. I have the following entities:  Student (id, name, date of birth, department)  Subject (id, name)   This is a many-to-many relationship, one student may be enrolled in many courses, each course has many students. From what I understand, as I should break this many-to-many relationship by introducing a new into a entity, say 'registered' which allows a one-to-one relationship or one-to-many relationship?  Is this correct design decision? Is a strong background in maths a total requisite for ML? I'm starting to want to advance my own skillset and I've always been fascinated by machine learning. However, six years ago instead of pursuing this I decided to take a completely unrelated degree to computer science.   I have been developing software and applications for about 8-10 years now, so I have a good handle but I just can't seem to penetrate the maths side of machine learning/probabilities/statistics.   I start looking at learning material and on the first page it might include something which confuses me and immediately sets up a barrier in my learning.   Is a strong background in maths a total requisite for ML? Should I try and fill in the blanks of my maths before continuing with ML? Can self learning really work for just a developer without any hard computer science background?    Related question: